Commit Graph

2443 Commits

Author SHA1 Message Date
Terrence Cole
d475e5ed08 Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug 2015-12-30 08:52:14 -08:00
Lars T Hansen
6a33cd43a1 Bug 1231333 - part 2, DOM: only allow futexWait in workers. r=khuey 2015-12-23 13:44:00 +01:00
Kit Cambridge
9785f44f12 Bug 1234054 - Enable Push and service worker notifications on Desktop release builds. r=ehsan 2016-01-04 14:32:33 -07:00
Ehsan Akhgari
f3b0f45787 Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm 2016-01-04 16:30:02 -05:00
Ehsan Akhgari
9bf7562885 Bug 1214305 - Part 5: Use the secure upgraded channel URI in FetchEventRunnable::Init; r=jdm
This ensures that FetchEvent.request.url will have the correct value
for secure upgraded channels.
2016-01-04 16:30:02 -05:00
Ehsan Akhgari
7defe73038 Bug 1214305 - Part 4: Use the secure upgraded channel URI in ServiceWorkerManager::PrepareFetchEvent; r=jdm
This is needed to ensure that the ServiceWorkerManager uses the
correct URI for non-subresource requests.  Note that we're relying
on the property that non-secure non-subresource requests can never
be intercepted, so we don't need to check the request type explicitly.
2016-01-04 16:30:02 -05:00
Ehsan Akhgari
e28045dcff Bug 1226384 - Reject the promise returned from ServiceWorkerRegistration.update() if the registration is being uninstalled; r=bkelly 2016-01-04 14:50:57 -05:00
Ehsan Akhgari
2ad5769e79 Bug 1235896 - Make it possible to run browser_download.js with --run-until-failure; r=bkelly 2016-01-04 14:50:57 -05:00
Wes Kocher
c9a8c6a192 Backed out 10 changesets (bug 1214305) for leaks on linux debug m-e10s(bc7)
Backed out changeset 1f482566235a (bug 1214305)
Backed out changeset 001b31489756 (bug 1214305)
Backed out changeset 4e94d2088219 (bug 1214305)
Backed out changeset fba4a5bcea41 (bug 1214305)
Backed out changeset 100f8e249007 (bug 1214305)
Backed out changeset a59c453192dc (bug 1214305)
Backed out changeset 2daa86fc1fb9 (bug 1214305)
Backed out changeset c04efb57b0ed (bug 1214305)
Backed out changeset 52046e843c60 (bug 1214305)
Backed out changeset ac4fd6615828 (bug 1214305)
2016-01-04 10:34:24 -08:00
Ehsan Akhgari
2ae596c85b Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm 2016-01-04 09:52:49 -05:00
Ehsan Akhgari
688d641533 Bug 1214305 - Part 5: Use the secure upgraded channel URI in FetchEventRunnable::Init; r=jdm
This ensures that FetchEvent.request.url will have the correct value
for secure upgraded channels.
2016-01-04 09:52:44 -05:00
Ehsan Akhgari
5d88f104b5 Bug 1214305 - Part 4: Use the secure upgraded channel URI in ServiceWorkerManager::PrepareFetchEvent; r=jdm
This is needed to ensure that the ServiceWorkerManager uses the
correct URI for non-subresource requests.  Note that we're relying
on the property that non-secure non-subresource requests can never
be intercepted, so we don't need to check the request type explicitly.
2016-01-04 09:52:42 -05:00
Jeff Walden
0195fbed46 Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence 2015-12-28 16:15:52 -06:00
Andrea Marchesini
bb44958f9a Bug 1235629 - Remove dead code in WorkerFeature.h, r=smaug 2015-12-29 20:35:21 +00:00
Ben Kelly
1b318ce917 Bug 1220681 P6 Use clients.claim() in browser_download.js to avoid worker unregister race. r=jdm 2015-12-23 12:20:53 -08:00
Ben Kelly
c61a152372 Bug 1220681 P2 Test synthetic responses that trigger downloads. r=ehsan 2015-12-23 12:20:53 -08:00
Carsten "Tomcat" Book
964743cfcf Backed out changeset 9441286007c4 (bug 1211903) for assertion failures/crashes 2015-12-22 14:11:27 +01:00
Eddy Bruel
f5aca55fd2 Bug 1211903 - WorkerDebugger should live on the main thread;r=khuey 2015-12-22 12:46:57 +01:00
Ben Kelly
832e1be6b1 Bug 1232444 Only store service worker registrations after install is successful. r=baku 2015-12-18 11:04:40 -05:00
Ben Kelly
22c95b5ce1 Bug 1231974 P6 Abort update-triggered install jobs if the service worker script has changed. r=baku 2015-12-18 11:04:40 -05:00
Ben Kelly
34d99b639c Bug 1231974 P4 Lazy load registration and verify it does not change in service worker jobs. r=baku 2015-12-18 11:04:40 -05:00
Ben Kelly
bb7d89240b Bug 1231974 P3 Store the principal on the ServiceWorkerJobBase. r=baku 2015-12-18 11:04:39 -05:00
Ben Kelly
99e072fb40 Bug 1231974 P2 Store scope on ServiceWorkerJobBase. r=baku 2015-12-18 11:04:39 -05:00
Ben Kelly
a67905ed5f Bug 1231974 P1 Remove unneeded ServiceWorkerScriptJobBase abstract class. r=baku 2015-12-18 11:04:39 -05:00
Andrea Marchesini
0962b374a9 Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd 2015-12-18 08:44:00 +00:00
Morris Tseng
a009840cee Bug 1172796 - Part 8: Add ImageBitmapRenderingContext to test_intefaces.html r=smaug 2015-12-18 14:52:17 +08:00
Ben Kelly
aeccd63407 Bug 1233171 Cancel channel when ScriptLoader is aborted during service worker script load. r=khuey 2015-12-17 10:11:26 -05:00
Sebastian Hengst
18829a9e77 Backed out changeset 30839ee209e8 (bug 901097) for mochitest failures on Android and Mulet. r=backout 2015-12-17 14:13:59 +01:00
Andrea Marchesini
1a046036d9 Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd 2015-12-17 12:00:35 +00:00
Wes Kocher
08358b3f37 Backed out changeset 84c8783b8518 (bug 901097) for test_fileReader.html crashes CLOSED TREE 2015-12-16 09:43:42 -08:00
Andrea Marchesini
26c1938206 Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd 2015-12-16 12:37:31 +00:00
Carsten "Tomcat" Book
88a5cd026e Backed out changeset d74d1e794421 (bug 901097) for bustage on a CLOSED TREE 2015-12-16 11:48:40 +01:00
Andrea Marchesini
a0d04dad85 Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd 2015-12-16 10:15:03 +00:00
Wes Kocher
e34ff37906 Merge inbound to central, a=merge 2015-12-15 15:47:20 -08:00
Ben Kelly
efe05a31fc Backout ae46539dbbc9 (bug 1232444) for bustage. r=me 2015-12-15 10:07:26 -05:00
Ben Kelly
1a74c414ed Bug 1232444 Only store service worker registrations after install is successful. r=baku 2015-12-15 09:50:02 -05:00
Alexandre Poirot
5fb8101bee Bug 1228382 - Expose an API to relate nsIWorkerDebugger to its nsIServiceWorkerInfo instance. r=ejpbruel 2015-12-15 03:10:53 -08:00
Fernando Jimenez
4ef14f30ee Bug 1225121 - [B2G] All the rest of content processes crash if user tries to run app that uses Service Workers after restart. r=baku 2015-11-24 19:38:48 +01:00
Ben Kelly
b0f1420e24 Bug 1226443 P6 Ignore update() called during top level service worker script evaluation. r=ehsan 2015-12-11 14:53:11 -05:00
Ben Kelly
da61400d46 Bug 1226443 P5 Always use first scheduled update timer instead of rescheduling on new events. r=ehsan 2015-12-11 14:53:11 -05:00
Ben Kelly
46617253a4 Bug 1226443 P4 Cleanup ServiceWorkerScriptCache objects when initialization fails. r=ehsan 2015-12-11 14:53:11 -05:00
Ben Kelly
83782f29a2 Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan 2015-12-11 14:53:11 -05:00
Ben Kelly
9c6f03b75d Bug 1226443 P1 Add a timer based mechanism for firing service worker updates. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
9ebe58a83f Bug 1227015 P7 Supress unused ErrorResult exception if the worker runnable failed to dispatch. r=catalinb 2015-12-11 14:53:10 -05:00
Ben Kelly
ab9b468dcd Bug 1227015 P6 Abort updates if the script spec has changed. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
c665c11ffc Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
e31d5bc482 Bug 1227015 P4 Make register job always require an explicit script spec. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
7905330494 Bug 1227015 P3 Require a script spec on install jobs. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
a9bc50c527 Bug 1227015 P2 Move mScriptSpec from registration job into script job base. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
85f3594027 Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan 2015-12-11 14:53:10 -05:00