Index: chrome/test/data/sdch/base-page.html |
diff --git a/chrome/test/data/sdch/base-page.html b/chrome/test/data/sdch/base-page.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fadcc626f17f4557634f90fe17869e26adeea61c |
--- /dev/null |
+++ b/chrome/test/data/sdch/base-page.html |
@@ -0,0 +1,13 @@ |
+<html> |
+<title>Base page containing iframe with SDCH-encoded content</title> |
+<body> |
+ <iframe></iframe> |
+ <script> |
+ var iframe = document.querySelector('iframe'); |
+ var re = /[&?]iframe_url=([^&?#]*)/; |
+ var result = re.exec(document.location.search); |
+ iframe.src = 'http://sub.testdomain.com:' + document.location.port + |
+ decodeURI(result[1]); |
+ </script> |
+</body> |
+</html> |