Debian Codegraph @

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

raw
1 <!--
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 -->
7 <script>
8 // We use a different base to reproduce the conditions of crbug.com/66987
9 var href = window.location.href;
10 var newHref = href.replace(/net.*/, '');
11 document.write('<base href="' + newHref + '">');
12
13 var baseScript = 'base.js';
14 document.write('<script src="' + baseScript + '"><\/script>');
15 </script>