Closed
Bug 1153433
(nsec-sw)
Opened 10 years ago
Closed 8 years ago
[META] Tracking bug for Service Workers implementation of New Security Model
Categories
(Firefox OS Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jgong, Unassigned)
References
Details
(Whiteboard: [newsecurity])
User Story
This is a V3 initiative for a New Security Model. https://wiki.mozilla.org/FirefoxOS/New_security_model This Meta Bug is for tracking the "Service Workers" implementation, a sub-component of the bigger New Security Model project. https://wiki.mozilla.org/FirefoxOS/New_security_model#Service_Workers ***** Service Workers One of the central pieces of the new Gaia architecture is the use of service workers. This isn't just to support offline for gaia apps, but also to support dynamic generation of page markup, and the ability to run logic in order to decide what resource to return for a given URL. In order to make service workers work with the package update logic we should couple package update with service worker update. When the ServiceWorker spec require the browser to check for updates of, or download updates of, the ServiceWorker script, we instead update the full signed package. This means that both when we do an "automatic" ServiceWorker update check, such as when the user visit a page which uses the ServiceWorker, and when the ServiceWorkerRegistration.update() function is called, that we update the full package rather than just the ServiceWorker script. Once a new package has been downloaded, we go through the normal ServiceWorker update cycle. I.e. Gecko fire both "install" and "activate" events on the ServiceWorker. This will happen any time that a package is updated, even if the contents of the ServiceWorker script hasn't changed. Gecko need to still serve the previous package content until the "activate" event for the new ServiceWorker version fires. I.e. until the new version has been installed, the old version of the package needs to be served for any network requests.
This is a V3 initiative for a New Security Model. https://wiki.mozilla.org/FirefoxOS/New_security_model
This Meta Bug is for tracking the "Service Workers" implementation, a sub-component of the bigger New Security Model project. https://wiki.mozilla.org/FirefoxOS/New_security_model#Service_Workers
Reporter | ||
Updated•10 years ago
|
User Story: (updated)
No longer depends on: nsec-signing
Reporter | ||
Updated•10 years ago
|
User Story: (updated)
Reporter | ||
Updated•10 years ago
|
Blocks: nsec-origins
Reporter | ||
Updated•10 years ago
|
No longer blocks: nsec-origins
Reporter | ||
Updated•10 years ago
|
Blocks: nsec-signing
Reporter | ||
Updated•10 years ago
|
Blocks: nsec-origins
Reporter | ||
Updated•10 years ago
|
Blocks: nsec-isolation
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Updated•10 years ago
|
Blocks: nsec-installing
No longer depends on: nsec-installing
Reporter | ||
Updated•10 years ago
|
Blocks: nsec-signing
No longer depends on: nsec-signing
Reporter | ||
Updated•10 years ago
|
Blocks: nsec-verify
No longer depends on: nsec-verify
Reporter | ||
Updated•10 years ago
|
Whiteboard: [NewSecurity] → [newsecurity]
Reporter | ||
Updated•10 years ago
|
Priority: -- → P1
Updated•10 years ago
|
Blocks: nga-toolkit-service-workers
Updated•9 years ago
|
No longer blocks: nsec-signing
Updated•9 years ago
|
No longer blocks: nsec-verify
Updated•9 years ago
|
No longer blocks: nsec-installing
Updated•9 years ago
|
Alias: nsec-sw
Updated•9 years ago
|
No longer depends on: nsec-isolation, nsec-origins
Updated•9 years ago
|
blocking-b2g: --- → 2.5+
Updated•9 years ago
|
blocking-b2g: 2.5+ → ---
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → All
Updated•8 years ago
|
Component: Security → General
Product: Firefox → Firefox OS
Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•