Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/testcases/generic/index.html

Issue 29325987: Issue 616 - Add some tests for generic hide + block (Closed)
Patch Set: Created Sept. 5, 2015, 3:27 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pages/testcases/generic/06.md ('k') | static/abp-test-suite-filters.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/testcases/generic/index.html
diff --git a/pages/testcases/generic/index.html b/pages/testcases/generic/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..b30ced7d05b2ea60a9a3c454ea0338517add003b
--- /dev/null
+++ b/pages/testcases/generic/index.html
@@ -0,0 +1,29 @@
+title=ABP Test Pages
+template=blank
+
+<head>
+ <style>
+ html, body { margin: 0; height: 100%; }
+ #iframe { display: block; width: 100%; height: 100%; border: none; }
+ </style>
+</head>
+
+<iframe id="iframe"></iframe>
kzar 2015/09/05 15:36:53 I've created this page so that we can load test ca
rossg 2015/09/10 11:06:08 I applied the patch set successfully, however some
kzar 2015/09/10 11:12:06 My mistake, should be fixed now for both www.testp
+
+<script type="text/javascript">
+ var iframe = document.getElementById("iframe")
+ function update_iframe_location()
+ {
+ var hash = window.location.hash;
+ if (hash)
+ {
+ var url = window.location.href.
+ substr(0, window.location.href.length - hash.length).
+ replace("testpages", "www.testpages") + hash.substring(1);
+
+ iframe.src = url;
+ }
+ }
+ window.addEventListener("hashchange", update_iframe_location);
+ update_iframe_location();
+</script>
« no previous file with comments | « pages/testcases/generic/06.md ('k') | static/abp-test-suite-filters.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld