Files
UXP-Fixed/devtools/client/storage/test/storage-unsecured-iframe.html
T
2018-02-02 04:16:08 -05:00

20 lines
457 B
HTML

<!DOCTYPE HTML>
<html>
<!--
Iframe for testing multiple host detetion in storage actor
-->
<head>
<meta charset="utf-8">
</head>
<body>
<script>
"use strict";
document.cookie = "uc1=foobar; domain=.example.org; path=/";
localStorage.setItem("iframe-u-ls1", "foobar");
sessionStorage.setItem("iframe-u-ss1", "foobar1");
sessionStorage.setItem("iframe-u-ss2", "foobar2");
dump("added cookies and storage from unsecured iframe\n");
</script>
</body>
</html>