Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10018)

Unified Diff: chrome/test/data/sdch/base-page.html

Issue 423813002: Sdch view for net-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix component linkage Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/sdch/dict » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/sdch/dict » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698