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

Unified Diff: chrome_frame/test/data/mshtml_refresh_test_popup.html

Issue 3433026: Add a unit test for refresh in mshtml to see where we're not tagging the user... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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/data/mshtml_refresh_test.html ('k') | chrome_frame/test/test_with_web_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/data/mshtml_refresh_test_popup.html
===================================================================
--- chrome_frame/test/data/mshtml_refresh_test_popup.html (revision 0)
+++ chrome_frame/test/data/mshtml_refresh_test_popup.html (revision 0)
@@ -0,0 +1,20 @@
+<html>
+<script>
+function refreshOpener() {
+ window.opener.location.reload();
+ // Same behavior:
+ // window.opener.location.href = window.opener.location.href;
+ return false;
+}
+
+function onLoad() {
+ window.setTimeout(refreshOpener, 100);
+}
+
+window.onload = onLoad;
+</script>
+<body>
+ <p>$UA$</p>
+ <a href="#" onclick="return refreshOpener();">Refresh Opener</a>
+</body>
+</html>
Property changes on: chrome_frame\test\data\mshtml_refresh_test_popup.html
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome_frame/test/data/mshtml_refresh_test.html ('k') | chrome_frame/test/test_with_web_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698