summaryrefslogtreecommitdiffstats
path: root/devtools/client/storage/test/storage-unsecured-iframe.html
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-02 16:38:25 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-02 16:38:25 +0100
commit26e53627d6922b3b965afd76fc5d72e3cc1d9ba5 (patch)
treef894fd8f5077620e694058995b180c6d1c60dca6 /devtools/client/storage/test/storage-unsecured-iframe.html
parentf0175fb7abd0aad3054236fb1a0cc430c6d05db9 (diff)
downloadUXP-26e53627d6922b3b965afd76fc5d72e3cc1d9ba5.tar
UXP-26e53627d6922b3b965afd76fc5d72e3cc1d9ba5.tar.gz
UXP-26e53627d6922b3b965afd76fc5d72e3cc1d9ba5.tar.lz
UXP-26e53627d6922b3b965afd76fc5d72e3cc1d9ba5.tar.xz
UXP-26e53627d6922b3b965afd76fc5d72e3cc1d9ba5.zip
moebius#337: Added option to remove all session cookies for a specific domain
Issue #31 https://github.com/MoonchildProductions/moebius/pull/337
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");