Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / sdch / base-page.html
blobfadcc626f17f4557634f90fe17869e26adeea61c
1 <html>
2 <title>Base page containing iframe with SDCH-encoded content</title>
3 <body>
4 <iframe></iframe>
5 <script>
6 var iframe = document.querySelector('iframe');
7 var re = /[&?]iframe_url=([^&?#]*)/;
8 var result = re.exec(document.location.search);
9 iframe.src = 'http://sub.testdomain.com:' + document.location.port +
10 decodeURI(result[1]);
11 </script>
12 </body>
13 </html>