Index: chrome/test/data/popup_blocker/check-sessionstorage.html |
diff --git a/chrome/test/data/popup_blocker/check-windowfeatures.html b/chrome/test/data/popup_blocker/check-sessionstorage.html |
similarity index 54% |
copy from chrome/test/data/popup_blocker/check-windowfeatures.html |
copy to chrome/test/data/popup_blocker/check-sessionstorage.html |
index 901ce081aa02e67325474829ae1533837e59fe2d..826642417da86a677078ea673701feb3208af3ee 100644 |
--- a/chrome/test/data/popup_blocker/check-windowfeatures.html |
+++ b/chrome/test/data/popup_blocker/check-sessionstorage.html |
@@ -1,15 +1,17 @@ |
<!DOCTYPE html> |
<html> |
<head> |
-<title>Check that window features are set</title> |
+<title> |
+ Check that the session storage namespace of the parent is not accessible |
+</title> |
</head> |
<body> |
<div id="console"></div> |
<script> |
var log = document.querySelector("#console"); |
var result; |
- if (window.locationbar.visible) |
- result = "FAIL: window features not set"; |
+ if (sessionStorage.getItem("key") == "set") |
+ result = "FAIL: popup can access session storage namespace"; |
else |
result = "PASS"; |
log.innerText = result; |