summaryrefslogtreecommitdiffstats
path: root/devtools/client/storage/test/storage-unsecured-iframe.html
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-03-03 19:42:25 +0100
committerGitHub <noreply@github.com>2018-03-03 19:42:25 +0100
commitd252c5b2320859c58900b68a7f5ac82199aa1e83 (patch)
treebee56152ced9b7485267debb8d50fca952d9c447 /devtools/client/storage/test/storage-unsecured-iframe.html
parentc3039dadd95f5487e84311a9719604fa901aacd7 (diff)
parent8114b67b64e17482e46c2eaa77dd6a6156130dba (diff)
downloadUXP-d252c5b2320859c58900b68a7f5ac82199aa1e83.tar
UXP-d252c5b2320859c58900b68a7f5ac82199aa1e83.tar.gz
UXP-d252c5b2320859c58900b68a7f5ac82199aa1e83.tar.lz
UXP-d252c5b2320859c58900b68a7f5ac82199aa1e83.tar.xz
UXP-d252c5b2320859c58900b68a7f5ac82199aa1e83.zip
Merge pull request #36 from janekptacijarabaci/devtools_import-from-moebius_2
Port across devtools enhancements - 2
Diffstat (limited to 'devtools/client/storage/test/storage-unsecured-iframe.html')
-rw-r--r--devtools/client/storage/test/storage-unsecured-iframe.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/client/storage/test/storage-unsecured-iframe.html b/devtools/client/storage/test/storage-unsecured-iframe.html
index a69ffdfd1..cd08a6164 100644
--- a/devtools/client/storage/test/storage-unsecured-iframe.html
+++ b/devtools/client/storage/test/storage-unsecured-iframe.html
@@ -9,7 +9,10 @@ Iframe for testing multiple host detetion in storage actor
<body>
<script>
"use strict";
+let cookieExpiresTime = 2000000000000;
document.cookie = "uc1=foobar; domain=.example.org; path=/";
+document.cookie = "uc2=foobar-2; expires=" +
+ new Date(cookieExpiresTime).toGMTString() + "; path=/; domain=.example.org";
localStorage.setItem("iframe-u-ls1", "foobar");
sessionStorage.setItem("iframe-u-ss1", "foobar1");
sessionStorage.setItem("iframe-u-ss2", "foobar2");