Closed Bug 1159378 Opened 9 years ago Closed 9 years ago

Set the security info on the service worker cache entries cached from the network

Categories

(Core :: DOM: Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(4 files)

This is about making https fetches work for such service worker scripts, IOW, doing what bug 1156847 did for the current code to the code being added in bug 1154494.
This helper script will allow us to run the same test across both HTTP
and HTTPS origins.  This patch also uses postMessage instead of a direct
function call on the parent window, because in the HTTPS case, that
window will be cross-origin.  It also moves the code to trigger the
update and get the corresponding updatefound event to
wait_for_update.html, since getting the service worker registration
cross-origin is not possible.
Attachment #8598874 - Flags: review?(nsm.nikhil)
The reason why this test is interesting here is that it tests the code
path added in the part 2 of this bug.
Attachment #8598882 - Flags: review?(nsm.nikhil)
Attachment #8598872 - Flags: review?(mcmanus) → review+
Depends on: 1163945
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: