Chromium Code Reviews| 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 58% |
| copy from chrome/test/data/popup_blocker/check-windowfeatures.html |
| copy to chrome/test/data/popup_blocker/check-sessionstorage.html |
| index 901ce081aa02e67325474829ae1533837e59fe2d..8a46ddc65da6a3ce405e3f852c069d63d8600f4d 100644 |
| --- a/chrome/test/data/popup_blocker/check-windowfeatures.html |
| +++ b/chrome/test/data/popup_blocker/check-sessionstorage.html |
| @@ -1,15 +1,15 @@ |
| <!DOCTYPE html> |
| <html> |
| <head> |
| -<title>Check that window features are set</title> |
| +<title>Check that the session storage namespace is correct</title> |
|
awong
2013/07/31 20:21:42
is accessible is maybe better?
Charlie Reis
2013/08/01 18:13:34
Not accessible, right? The test below is making s
jochen (gone - plz use gerrit)
2013/08/01 19:48:51
Done.
|
| </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; |