Commit Graph

2486 Commits

Author SHA1 Message Date
Kit Cambridge
9e4ed15128 Bug 1239584, Part 1 - Add nsIPushNotifier and nsIPushMessage interfaces. r=dragana
--HG--
extra : commitid : HD2fDINypFu
extra : rebase_source : 477ab56822deb5e6423c8f9b36f1a5c119d07951
2016-01-13 22:19:51 -07:00
Boris Zbarsky
c136be558a Bug 1242040. Fix the GlobalObject usage in ExtendableEvent::GetPromise. r=bkelly 2016-01-23 00:37:34 -05:00
Kit Cambridge
f398300afc Back out out 3 changesets (bug 1239584) for B2G build failures on a CLOSED TREE.
--HG--
extra : commitid : 74RywJW7UVo
extra : amend_source : 2088096e01cb7b6fda50c87f05d427cd79147554
2016-01-22 11:06:14 -08:00
Kit Cambridge
ecc52d87d2 Bug 1239584, Part 1 - Add nsIPushNotifier and nsIPushMessage interfaces. r=dragana
--HG--
extra : commitid : F7MFsrMAXQy
extra : rebase_source : 3333eed45b538bccbdf2761a91fb5fada8fcf922
2016-01-13 22:19:51 -07:00
Andrea Marchesini
26837f359d Bug 1241725 - about:serviceworkers "Active Cache Name" UUID should not contain null bytes, r=bkelly 2016-01-22 17:39:14 +00:00
Ben Kelly
7f77e20519 Bug 1241531 - Part 4: Make service worker unregister job respect cancelation. r=ehsan 2016-01-21 08:50:00 -05:00
Ben Kelly
c36cdf7710 Bug 1241531 - Part 3: Call Cancel() on all service worker jobs. r=ehsan 2016-01-21 08:49:00 -05:00
Ben Kelly
000a5ee768 Bug 1241531 - Part 2: Move Cancel() to ServiceWorkerJob base class. r=ehsan 2016-01-21 08:49:00 -05:00
Ben Kelly
65b8a0eec8 Bug 1241531 - Part 1: Only pop jobs from the queue when the correct job completes. r=ehsan 2016-01-21 08:48:00 -05:00
Andrea Marchesini
ee9c7a0bee Bug 1240365 - FileReader should use the global scope correctly in ChromeWorkers, r=smaug, r=khuey 2016-01-20 18:17:57 +00:00
Chris Peterson
c824bef9fe Bug 1240265 - Annotate intentional switch fallthroughs in dom/. r=mrbkap
dom/base/Element.cpp:2920:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/Element.cpp:2935:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:6595:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7631:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7922:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsGlobalWindow.cpp:7573:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsXMLContentSerializer.cpp:1393:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/cache/AutoUtils.cpp:487:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3808:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3836:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/storage/DOMStorageDBThread.cpp:224:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/workers/ScriptLoader.cpp:1994:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

--HG--
extra : rebase_source : ba9bd93b2c65e2db05b26e7b4c203dd7710516f3
2015-11-25 23:26:32 -08:00
dimi
feb64fd688 Bug 1229795 - P3. Migrate service worker registrar data between version 2 and version 3. r=baku 2016-01-20 09:34:26 +08:00
dimi
7a5ce67080 Bug 1229795 - P2. Remove waitingCacheName from registartion data. r=baku 2016-01-13 09:31:23 +08:00
dimi
6b8c972908 Bug 1229795 - P1. Remove scriptSpec from registration data. r=baku, bkelly 2016-01-15 10:27:01 +08:00
Ehsan Akhgari
d08dcc913c Bug 1209081 - Part 1: Implement the "navigate" value for RequestMode; r=bkelly 2016-01-19 17:46:10 -05:00
Luke Wagner
72ea23c63e Bug 1239601 - improve the UniquePtr situation (r=jandem)
--HG--
extra : commitid : JegWAoGsuQ9
extra : rebase_source : 995c1b6ab8e4fd3b83c44741cd84a2d7b0d934d7
2016-01-15 18:26:20 -06:00
Ben Kelly
c1888990fc Bug 1232931 Return null instead of throwing if swm.getWorkerByID() cannot find the worker. r=ochameau IGNORE IDL for comment only change 2016-01-15 09:37:34 -08:00
Carsten "Tomcat" Book
7e52b24fab merge mozilla-inbound to mozilla-central a=merge 2016-01-15 11:46:47 +01:00
Ehsan Akhgari
df420183a8 Bug 1201664 - Avoid using Request's constructor when creating FetchEvent.request; r=bkelly
This enables us to avoid a number of checks in Request::Constructor
which don't make sense for exposing FetchEvent.request.
2016-01-14 13:08:36 -05:00
Alexandre Poirot
c7c2eba05c Bug 1158264 - Send an observer service event when a service worker intercept a request. r=bkelly 2016-01-14 05:53:00 -08:00
Kit Cambridge
9298b42468 Bug 1234054 - Only enable service worker notifications on Desktop and non-release B2G/Android. r=ehsan
--HG--
extra : commitid : J5ruuRyO0K8
extra : rebase_source : b115b91a5d809b3b73fea5e1b45a3602a1fb5748
2016-01-05 15:53:43 -07:00
Lars T Hansen
1b2551c10b Bug 1231337 - part 2, conditionally enable shared memory for dedicated workers. r=khuey
--HG--
extra : rebase_source : 9da6daa1211937d0fe1ca11eccce4ea90ca0e637
extra : histedit_source : 4d08c392a2766d46dcb41b14dea24d4c4f9be855
2016-01-06 16:31:38 +01:00
Ben Kelly
60a79638ce Bug 1238990 P2 Try to ensure service worker jobs do not run during shutdown. r=ehsan 2016-01-12 16:04:18 -08:00
Ben Kelly
bdd438123b Bug 1238990 P1 ServiceWorkerManager should trigger automatic updates in current process. r=ehsan 2016-01-12 16:04:18 -08:00
Andrea Marchesini
7167daa292 summary: Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug 2016-01-12 18:16:59 +00:00
Ehsan Akhgari
7a3453ad7a Bug 1237363 - Part 1: Unregister all service workers registered in mochitests at the end of the test; r=jdm 2016-01-12 09:51:19 -05:00
Carsten "Tomcat" Book
00abd66130 Backed out changeset 6d08ab04a77c (bug 1231378) 2016-01-12 15:48:53 +01:00
Andrea Marchesini
98f16784c5 Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug 2016-01-12 13:57:37 +00:00
Ehsan Akhgari
25594f6881 Bug 1238213 - Make FetchEvent.request non-nullable; r=baku 2016-01-11 13:21:23 -05:00
Ehsan Akhgari
cddea9ec89 Bug 1236933 - Return null from FetchEvent.clientId for non-subresource network requests; r=bkelly 2016-01-08 21:53:37 -05:00
Ben Kelly
f2bc2e331e Bug 1230030 Don't replace active worker unnecessarly after saving registration in e10s mode. r=ehsan 2016-01-08 11:18:41 -08:00
Ehsan Akhgari
ec2c39ef0c Bug 1142768 - Return the original document URI from ServiceWorkerClient.url; r=bkelly 2016-01-08 14:16:47 -05:00
Andrea Marchesini
4fd7346fa1 Bug 1237674 - Rename nsFormData to mozilla::dom::FormData, r=smaug
--HG--
rename : dom/base/nsFormData.cpp => dom/base/FormData.cpp
rename : dom/base/nsFormData.h => dom/base/FormData.h
2016-01-07 19:30:36 +00:00
Andrea Marchesini
1e9d936689 Bug 1228456 - add 'override' to the Cancel() method of a nsICancelableRunnable, rs=me 2016-01-07 18:45:09 +00:00
Andrea Marchesini
7ac7825383 Bug 1228456 - SharedWorker should close the MessagePort in case the connecting runnable is not dispatched, r=smaug 2016-01-07 18:01:56 +00:00
Eddy Bruel
4a221d8be9 Bug 1211903 - WorkerDebugger should live on the main thread;r=khuey 2016-01-07 13:35:31 +01:00
Carsten "Tomcat" Book
c3c9e7c565 merge mozilla-inbound to mozilla-central a=merge 2016-01-07 11:50:57 +01:00
Yoshi Huang
bd65e48e3f Bug 1233644 - use pattern matching when listening clear-origin-data. r=baku 2015-12-18 18:58:41 +08:00
Jonathan Griffin
59f626fe96 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Ehsan Akhgari
40c82fa10c Bug 1236686 - Remove nsIFetchEventDispatcher; r=jdm 2016-01-05 15:04:41 -05:00
Terrence Cole
bb224242a8 Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
--HG--
extra : rebase_source : 27afd7eecd5a13f8d28b888b64d5e44b3c4a74a5
2015-12-30 08:52:14 -08:00
Lars T Hansen
68ea3c1b16 Bug 1231333 - part 2, DOM: only allow futexWait in workers. r=khuey
--HG--
extra : rebase_source : d5019bc4ec839427bc9d86f58542f107adc97988
2015-12-23 13:44:00 +01:00
Kit Cambridge
8f689a5c00 Bug 1234054 - Enable Push and service worker notifications on Desktop release builds. r=ehsan
--HG--
extra : commitid : 6vRoS2CYj3v
extra : rebase_source : a2d776215cfbc97b583afeb83141c7878b014d34
2016-01-04 14:32:33 -07:00
Ehsan Akhgari
d7bfbd4a1d Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm 2016-01-04 16:30:02 -05:00
Ehsan Akhgari
603bdd57fd 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
ba3d9b7d66 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
5b3ebf89d1 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
46b8636a0e 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
dbbade6e75 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)

--HG--
extra : commitid : ILmaVumvmvH
2016-01-04 10:34:24 -08:00
Ehsan Akhgari
5740e920d4 Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm 2016-01-04 09:52:49 -05:00