summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/browser/browser_storage_updates.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-04 01:35:21 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-04 01:35:21 +0100
commita53fe8f5c92ceeb091df55ce41b69f49f7d6c6d6 (patch)
treed9738081fe4e6e3cc3d29eea6e9d71c5c30dcc06 /devtools/server/tests/browser/browser_storage_updates.js
parentbba13e3d3404473373d9d2122608a90e0aa2ca9f (diff)
downloadUXP-a53fe8f5c92ceeb091df55ce41b69f49f7d6c6d6.tar
UXP-a53fe8f5c92ceeb091df55ce41b69f49f7d6c6d6.tar.gz
UXP-a53fe8f5c92ceeb091df55ce41b69f49f7d6c6d6.tar.lz
UXP-a53fe8f5c92ceeb091df55ce41b69f49f7d6c6d6.tar.xz
UXP-a53fe8f5c92ceeb091df55ce41b69f49f7d6c6d6.zip
Bug 1302989: Make storage inspector work with file:// when # is in the URL
Issue #31
Diffstat (limited to 'devtools/server/tests/browser/browser_storage_updates.js')
-rw-r--r--devtools/server/tests/browser/browser_storage_updates.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/devtools/server/tests/browser/browser_storage_updates.js b/devtools/server/tests/browser/browser_storage_updates.js
index 01a35cefc..4a1604787 100644
--- a/devtools/server/tests/browser/browser_storage_updates.js
+++ b/devtools/server/tests/browser/browser_storage_updates.js
@@ -6,7 +6,7 @@
const {StorageFront} = require("devtools/shared/fronts/storage");
const beforeReload = {
- cookies: ["test1.example.org", "sectest1.example.org"],
+ cookies: ["http://test1.example.org", "https://sectest1.example.org"],
localStorage: ["http://test1.example.org", "http://sectest1.example.org"],
sessionStorage: ["http://test1.example.org", "http://sectest1.example.org"],
};
@@ -27,7 +27,7 @@ const TESTS = [
expected: {
added: {
cookies: {
- "test1.example.org": [
+ "http://test1.example.org": [
getCookieId("c1", "test1.example.org",
"/browser/devtools/server/tests/browser/"),
getCookieId("c2", "test1.example.org",
@@ -53,7 +53,7 @@ const TESTS = [
expected: {
changed: {
cookies: {
- "test1.example.org": [
+ "http://test1.example.org": [
getCookieId("c1", "test1.example.org",
"/browser/devtools/server/tests/browser/"),
]
@@ -82,7 +82,7 @@ const TESTS = [
expected: {
deleted: {
cookies: {
- "test1.example.org": [
+ "http://test1.example.org": [
getCookieId("c2", "test1.example.org",
"/browser/devtools/server/tests/browser/"),
]
@@ -123,7 +123,7 @@ const TESTS = [
expected: {
added: {
cookies: {
- "test1.example.org": [
+ "http://test1.example.org": [
getCookieId("c3", "test1.example.org",
"/browser/devtools/server/tests/browser/"),
]
@@ -139,7 +139,7 @@ const TESTS = [
},
deleted: {
cookies: {
- "test1.example.org": [
+ "http://test1.example.org": [
getCookieId("c1", "test1.example.org",
"/browser/devtools/server/tests/browser/"),
]
@@ -175,7 +175,7 @@ const TESTS = [
expected: {
deleted: {
cookies: {
- "test1.example.org": [
+ "http://test1.example.org": [
getCookieId("c3", "test1.example.org",
"/browser/devtools/server/tests/browser/"),
]