blob: 40ce7a8656edd770725ad9bdcc066ab73022546c [file] [log] [blame]
<!DOCTYPE html>
<script>
window.localStorage.setItem("local", "storage");
var newWindow = window.open("about:blank");
if (newWindow)
window.webkit.messageHandlers.testHandler.postMessage("local:" + newWindow.localStorage.getItem("local"));
else
window.webkit.messageHandlers.testHandler.postMessage("open window fails");
</script>