Closed Bug 1624481 Opened 5 years ago Closed 3 years ago

Enable file hash check on v2 inside worker

Categories

(Firefox :: New Tab Page, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: thecount, Assigned: thecount)

References

Details

Attachments

(1 file, 1 obsolete file)

Right now we hash check attachments downloaded from remote settings before downloading it again, in case the contents changed.

The current way to do this doesn't work inside a promise worker yet, so once the v2 stuff for promise worker lands, I'm going to do a follow up where we put back the hash check.

This involves adding a tiny bit of code to promise worker to enable promises inside the worker, so we can use SubtleCrypto.

Assignee: nobody → sdowne
Depends on: 1621018
Depends on: 1624622
Priority: -- → P2
Priority: P2 → P1
Priority: P1 → P2
Attachment #9135303 - Attachment is obsolete: true
Pushed by sdowne@getpocket.com: https://hg.mozilla.org/integration/autoland/rev/3ffe49f20d3b Pocket newtab personalization hash checker for remote settings attachments r=gvn
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
See Also: → 1768911
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: