Revision 162e9dda47d694596620b69c5fb23cc7f0f87126 authored by Philip Jägenstedt on 04 April 2018, 06:14:57 UTC, committed by GitHub on 04 April 2018, 06:14:57 UTC
1 parent 2b3f901
document-domain.html
<!doctype html>
<title>localStorage and document.domain</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<iframe></iframe>
<script>
async_test(function(t) {
frames[0].addEventListener("storage", function(e) {
t.step(function() {
localStorage.clear()
t.done()
})
})
frames[0].document.domain = document.domain
localStorage.setItem("test", "test")
})
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...