Debian Codegraph @

closure-library/closure/goog/net/iframeio_different_base_test.html

raw
1 <!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!--
2 Copyright 2017 The Closure Library Authors. All Rights Reserved.
3
4 Use of this source code is governed by the Apache License, Version 2.0.
5 See the COPYING file for details.
6 --><html><head><meta charset="UTF-8">
7
8 <script src="../base.js"></script>
9
10 <script>goog.require('goog.net.iframeIoDifferentBaseTest');</script>
11 <title>Closure Unit Tests - goog.net.iframeIoDifferentBaseTest</title><!--
12 Copyright 2017 The Closure Library Authors. All Rights Reserved.
13
14 Use of this source code is governed by the Apache License, Version 2.0.
15 See the COPYING file for details.
16 -->
17 <script>
18 // We use a different base to reproduce the conditions of crbug.com/66987
19 var href = window.location.href;
20 var newHref = href.replace(/net.*/, '');
21 document.write('<base href="' + newHref + '">');
22
23 var baseScript = 'base.js';
24 document.write('<script src="' + baseScript + '"><\/script>');
25 </script>
26 </head><body></body></html>