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

Unified Diff: chrome/test/data/popup_blocker/popup-sessionstorage.html

Issue 20924002: Try to restore window.opener when opening blocked popups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 5 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
Index: chrome/test/data/popup_blocker/popup-sessionstorage.html
diff --git a/chrome/test/data/popup_blocker/popup-sessionstorage.html b/chrome/test/data/popup_blocker/popup-sessionstorage.html
new file mode 100644
index 0000000000000000000000000000000000000000..d413c17e35764e5d81394395dda797ddda4ced26
--- /dev/null
+++ b/chrome/test/data/popup_blocker/popup-sessionstorage.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+<title>
+ Check that the session storage namespace is not accessible to a blocked popup
+</title>
+<script>
+function test() {
+ sessionStorage.setItem("key", "set");
+ window.open("check-sessionstorage.html");
+}
+</script>
+</head>
+<body onload="test()">
+pop-up test page
+</body>
+</html>
« no previous file with comments | « chrome/test/data/popup_blocker/popup-openersuppressed.html ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698