Closed Bug 1647316 Opened 4 years ago Closed 2 years ago

Have a test like dom/localstorage/test/unit/test_originInit.js for DOM Cache to test padding files and database

Categories

(Core :: Storage: Cache API, task, P2)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: tt, Unassigned)

References

Details

Attachments

(5 files)

See details in https://phabricator.services.mozilla.com/D80001

"it would be better to have a standalone test for this in dom/cache/test/xpcshell, similar to https://searchfox.org/mozilla-central/rev/1304678d837c17811617754fd446794b774afe94/dom/localstorage/test/unit/test_originInit.js"

Note that Jan also suggested a way to create storage for named origin in DOM Cache:
"I think I found a solution how to create DOM cache for a named origin (using a sandbox):
https://searchfox.org/mozilla-central/rev/1304678d837c17811617754fd446794b774afe94/dom/quota/test/xpcshell/make_unknownFiles.js#106"

Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Priority: P3 → P2
Blocks: 1648399
Blocks: 1655953
Keywords: leave-open
Pushed by ttung@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d4ce5e1ff2e2 Have a test to ensure origin initialization should succeed; r=dom-workers-and-storage-reviewers,janv,sg https://hg.mozilla.org/integration/autoland/rev/f9b28a22bc19 Treat all usages in DOM Cache as database usages; r=dom-workers-and-storage-reviewers,sg

The leave-open keyword is there and there is no activity for 6 months.
:tt, maybe it's time to close this bug?

Flags: needinfo?(ttung)

We can close this bug once D80823 and D80824 are landed. At the moment, D80823 hasn't been reviewed yet. :)

Flags: needinfo?(ttung)
Depends on: 1700676
Attachment #9158810 - Attachment description: Bug 1647316 - Align the InitOrigin for Cache with other client's; → WIP: Bug 1647316 - Align the InitOrigin for Cache with other client's;
Attachment #9158811 - Attachment description: Bug 1647316 - Revert the change for test_initTemporaryStorage.js since we have test_originInit.js; → WIP: Bug 1647316 - Revert the change for test_initTemporaryStorage.js since we have test_originInit.js;
Attachment #9211297 - Attachment description: Bug 1647316 - Update expected file layout for test_originMismatch since the padding file will be removed if the caches.sqlite doesn't exist after initializing; → WIP: Bug 1647316 - Update expected file layout for test_originMismatch since the padding file will be removed if the caches.sqlite doesn't exist after initializing;
Attachment #9158810 - Attachment description: WIP: Bug 1647316 - Align the InitOrigin for Cache with other client's; → Bug 1647316 - Align the InitOrigin for Cache with other client's;
Attachment #9158811 - Attachment description: WIP: Bug 1647316 - Revert the change for test_initTemporaryStorage.js since we have test_originInit.js; → Bug 1647316 - Revert the change for test_initTemporaryStorage.js since we have test_originInit.js;
Attachment #9211297 - Attachment description: WIP: Bug 1647316 - Update expected file layout for test_originMismatch since the padding file will be removed if the caches.sqlite doesn't exist after initializing; → Bug 1647316 - Update expected file layout for test_originMismatch since the padding file will be removed if the caches.sqlite doesn't exist after initializing;
Pushed by shes050117@gmail.com: https://hg.mozilla.org/integration/autoland/rev/594560c6b278 Align the InitOrigin for Cache with other client's; r=dom-workers-and-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/1f2481edad7a Revert the change for test_initTemporaryStorage.js since we have test_originInit.js; r=dom-workers-and-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/3fde1586e802 Update expected file layout for test_originMismatch since the padding file will be removed if the caches.sqlite doesn't exist after initializing; r=dom-storage-reviewers,janv

The leave-open keyword is there and there is no activity for 6 months.
:jstutte, maybe it's time to close this bug?

Flags: needinfo?(jstutte)

(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #12)

:jstutte, maybe it's time to close this bug?

Is it, Jan?

Flags: needinfo?(jstutte) → needinfo?(jvarga)

The bug assignee didn't login in Bugzilla in the last 7 months.
:jstutte, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: shes050117 → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(jstutte)
Flags: needinfo?(jstutte)

The leave-open keyword is there and there is no activity for 6 months.
:edenchuang, maybe it's time to close this bug?
For more information, please visit auto_nag documentation.

Flags: needinfo?(echuang)

I have no idea why the leave-open flag is still there.
It seems we can remove the leave-open flag and close it.

Flags: needinfo?(echuang)
Status: NEW → RESOLVED
Closed: 2 years ago
Keywords: leave-open
Resolution: --- → FIXED

(In reply to Jens Stutte [:jstutte] from comment #13)

(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #12)

:jstutte, maybe it's time to close this bug?

Is it, Jan?

The remaining work has been done in bug 1706350 I think.

Flags: needinfo?(jvarga)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: