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

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: update 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..efe814a113d49a227fb862573239fc894312c24d
--- /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 blocked popup
Charlie Reis 2013/08/01 20:23:08 nit: 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>

Powered by Google App Engine
This is Rietveld 408576698