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

Unified Diff: chrome_frame/test/data/no_interference/javascript_redirect.html

Issue 2173002: Add chrome frame tests for common navigation cases to ensure IE is not broken. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: final Created 10 years, 7 months 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_frame/test/chrome_frame_test_utils.cc ('k') | chrome_frame/test/data/no_interference/link.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/data/no_interference/javascript_redirect.html
diff --git a/chrome_frame/test/data/no_interference/javascript_redirect.html b/chrome_frame/test/data/no_interference/javascript_redirect.html
new file mode 100755
index 0000000000000000000000000000000000000000..4ea73ef72339fd8e7b46d6706b371db70c7fd70d
--- /dev/null
+++ b/chrome_frame/test/data/no_interference/javascript_redirect.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ <script type="text/javascript">
+ window.onload = function() {
+ var url = "" + window.location;
+ window.location = url.substring(0, url.lastIndexOf("/") + 1) +
+ "empty.html";
+ }
+ </script>
+ </head>
+</html>
« no previous file with comments | « chrome_frame/test/chrome_frame_test_utils.cc ('k') | chrome_frame/test/data/no_interference/link.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698