Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: http3 OR http2
- Manifest: dom/tests/mochitest/localstorage/mochitest.toml
<head>
<title>localStorage equal origins</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="interOriginTest2.js"></script>
<!--
This test loads two frames from the same origin, clears in one frame,
sets a single key in another and then checks key(0) in the first frame.
-->
<script type="text/javascript">
function startTest()
{
masterFrame.location = masterFrameOrigin + framePath + "frameKeySync.html?1";
slaveFrame.location = slaveFrameOrigin + framePath + "frameKeySync.html?2";
}
</script>
</head>
<body onload="startTest();">
<iframe src="" name="masterFrame"></iframe>
<iframe src="" name="slaveFrame"></iframe>
</body>
</html>