Commit Graph

39 Commits

Author SHA1 Message Date
Ben Kelly
80b1443c29 Bug 1472005 Don't resolve ready promise until the registration has reached the right state version. r=mrbkap 2018-07-05 13:13:48 -04:00
Ben Kelly
eaad94a43e Bug 1471929 P3 Remove the old updatefound infrastructure in favor of always updating the registration state and auto-dispatch. r=mrbkap 2018-07-05 13:13:48 -04:00
Ben Kelly
d8bd013954 Bug 1471929 P2 Delay dispatching updatefound events until any pending update() promises resolve. r=mrbkap 2018-07-05 13:13:47 -04:00
Ben Kelly
0ffcae301b Bug 1471929 P1 Automatically fire updatefound events when the ServiceWorkerRegistration gets a new installing worker. r=mrbkap 2018-07-05 13:13:47 -04:00
Ben Kelly
b08089a60d Bug 1471912 Set ServiceWorker objects to redundant state when RegistrationRemoved() is called. r=mrbkap 2018-07-05 13:13:47 -04:00
Ben Kelly
ccf7ef2ef4 Bug 1472008 Make ServiceWorkerRegistration.unregister() resolve false instead of rejecting for most errors. r=mrbkap 2018-06-28 14:18:00 +03:00
Ben Kelly
7a87044e1d Bug 1462772 P4 Route ServiceWorker state changes through the ServiceWorkerRegistration. r=mrbkap 2018-07-02 07:44:18 -07:00
Jeff Gilbert
70a22b2878 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Ben Kelly
8e4409a404 Bug 1466681 P6 Make ServiceWorkerRegistration::Inner::Unregister() use callbacks instead of MozPromise. r=asuth 2018-06-15 12:21:33 -07:00
Ben Kelly
6511a8f2f9 Bug 1466681 P5 Make ServiceWorkerRegistration::Inner::Update() use callbacks instead of MozPromise. r=asuth 2018-06-15 12:21:33 -07:00
Ben Kelly
6b7db68d37 Bug 1455695 P5 Remove unused ErrorResult argument from ServiceWorkerRegistration::Inner::Update(). r=baku 2018-04-30 07:55:02 -07:00
Ben Kelly
0c2ffb7ff9 Bug 1455695 P4 Remove ServiceWorkerRegistration::Inner::GetNotifications(). r=baku 2018-04-30 07:55:01 -07:00
Ben Kelly
701d1d8121 Bug 1455695 P3 Remove ServiceWorkerRegistration::Inner::ShowNotification(). r=baku 2018-04-30 07:55:01 -07:00
Ben Kelly
a7f21e8a5a Bug 1455695 P2 Remove ServiceWorkerRegistration::Inner::GetPushManager(). r=baku 2018-04-30 07:55:01 -07:00
Ben Kelly
ff234089ac Bug 1455695 P1 Make ServiceWorkerRegistration::Inner::Unregister() use MozPromise. r=baku 2018-04-30 07:55:01 -07:00
Ben Kelly
7c97f8c49d Bug 1456466 P5 Make ServiceWorkerRegistration::Update() use DOMMozPromiseRequestHolder. r=baku 2018-04-26 13:52:30 -07:00
Ben Kelly
8cfd7c3f40 Bug 1456466 P4 Make service worker MozPromise types reject with CopyableErrorResult. r=baku 2018-04-26 13:52:30 -07:00
Ben Kelly
88406357b4 Bug 1456466 P2 Make ServiceWorkerRegistration::Inner::Update() use MozPromise and IPC-safe types. r=baku 2018-04-26 13:52:28 -07:00
Ben Kelly
f5637fb217 Bug 1450274 P2 Make ServiceWorkerRegistration use DETH::KeepAliveIfHasListenersFor(). r=asuth 2018-04-10 11:00:56 -07:00
Andrea Marchesini
57bd27d751 Bug 1445554 - Remove the raw pointer WorkerPrivate from ServiceWorkerRegistrationImpl, r=catalinb 2018-03-15 08:57:05 +01:00
Ben Kelly
6ec8fa1eb5 Bug 1438211 P6 Add an integer identifier to each ServiceWorkerRegistrationDescriptor. r=asuth 2018-03-02 13:02:50 -08:00
Ben Kelly
650ad0da5e Bug 1438211 P4 Actually set the worker global on ServiceWorkerRegistration. r=asuth 2018-03-02 13:02:50 -08:00
Ben Kelly
573a9d0b89 Bug 1438211 P2 Implement nsGlobalWindowInner::GetOrCreateServiceWorkerRegistration(). r=asuth 2018-03-02 13:02:49 -08:00
Ben Kelly
d1e74e121d Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor 2018-02-22 14:28:39 -08:00
Ben Kelly
d0bc218506 Bug 1434701 P11 Make ServiceWorkerDescriptor use an Inner class with main and worker thread implementations. r=asuth 2018-02-14 14:23:17 -05:00
Ben Kelly
cc18a7eb86 Bug 1434701 P9 move UpdateViaCache() into ServiceWorkerRegistration. r=asuth 2018-02-14 14:23:16 -05:00
Ben Kelly
c74325ac01 Bug 1434701 P8 Make ServiceWorkerRegistration own the ServiceWorker references itself and handle the descriptor update. r=asuth 2018-02-14 14:23:16 -05:00
Ben Kelly
039f344fc2 Bug 1434701 P7 Store the registration descriptor in ServiceWorkerRegistration. r=asuth 2018-02-14 14:23:16 -05:00
Ben Kelly
4a2d7da614 Bug 1434701 P6 Make ServiceWorkerRegistrationListener updates take a ServiceWorkerRegistrationDescriptor. r=asuth 2018-02-14 14:23:16 -05:00
Ben Kelly
5fe77ef1c5 Bug 1434701 P5 Move main thread and worker implementation code into ServiceWorkerRegistrationImpl.cpp. r=asuth 2018-02-14 14:23:16 -05:00
Ben Kelly
77e7f90e8a Bug 1434701 P4 Move ServiceWorkerRegistrationListener into its own header. r=asuth 2018-02-14 14:23:15 -05:00
Ben Kelly
c340d23e3f Bug 1434701 P3 Pass ServiceWorkerRegistrationDescriptor to ServiceWorkerRegistration::CreateForWorker(). r=asuth 2018-02-14 14:23:15 -05:00
Ben Kelly
a7f8b06286 Bug 1434701 P1 Make ServiceWorkerRegistration::CreateForMainThread() take a ServiceWorkerRegistrationDescriptor. r=catalinb r=asuth 2018-02-14 14:23:15 -05:00
Andrea Marchesini
ddb4518ad1 Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly 2018-02-05 19:55:07 +01:00
Andrea Marchesini
3e08265e73 Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug 2018-01-31 08:25:30 +01:00
Andrea Marchesini
30cbccd56d Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug 2018-01-31 08:23:44 +01:00
Andrea Marchesini
8a21b54e4a Bug 1413112 - Renaming Workers.h to WorkerCommon.h, r=bkelly 2018-01-30 10:10:04 +01:00
Ben Kelly
52ca083d1d Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
Ben Kelly
96d040ae04 Bug 1430139 P1 Move code, tests, and moz.build rules to dom/serviceworkers. r=asuth 2018-01-26 13:08:57 -08:00