mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Bug 1302989: Make storage inspector work with file:// when # is in the URL
Issue #31
This commit is contained in:
parent
fab2253b26
commit
b95939dd3c
16 changed files with 271 additions and 84 deletions
|
|
@ -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/"),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue