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

Unified Diff: chrome/test/data/click-noreferrer-links.html

Issue 10344028: Support cross-process window.close() messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « no previous file | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/click-noreferrer-links.html
diff --git a/chrome/test/data/click-noreferrer-links.html b/chrome/test/data/click-noreferrer-links.html
index f60f1edc14d4cb3d8e9348f6d25fd9213ef0706e..867279ac11be0278cbc08ae3a823bcf5626ee472 100644
--- a/chrome/test/data/click-noreferrer-links.html
+++ b/chrome/test/data/click-noreferrer-links.html
@@ -33,11 +33,19 @@
}
function testScriptAccessToWindow() {
+ // Grab a reference to the existing foo window and access its location.
var w = window.open("", "foo");
var url = w.location.href;
return url != undefined;
}
+ function testCloseWindow() {
+ // Grab a reference to the existing foo window and close it.
+ var w = window.open("", "foo");
+ w.close();
+ return true;
+ }
+
</script>
</head>
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698