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
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
d467cc6ebd
Bug 1466681 P4 Make ServiceWorkerContainer::Inner::GetRegistrations() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:33 -07:00
Ben Kelly
097256bb74
Bug 1466681 P3 Make ServiceWorkerContainer::Inner::GetReady() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:33 -07:00
Ben Kelly
ecfc82f4cb
Bug 1466681 P2 Make ServiceWorkerContainer::Inner::GetRegistration() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:33 -07:00
Ben Kelly
e1a1d90676
Bug 1466681 P1 Make ServiceWorkerContainer::Inner::Register() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:32 -07:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrea Marchesini
c8b49ba5dd
Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot
2018-05-30 21:21:17 +02:00
Ben Kelly
352e350f20
Bug 1456981 Use DOMMozPromiseRequestHolder in ServiceWorkerContainer. r=baku
2018-04-26 13:53:20 -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
ab2e9a9d0c
Bug 1436812 P9 Implement the ServiceWorkerContainer::Register() method using the inner class. r=baku
2018-04-23 09:46:55 -07:00
Ben Kelly
dab38e0c31
Bug 1436812 P8 Move storage permission check and other window specific code to ServiceWorkerContainer. r=baku
2018-04-23 09:46:55 -07:00
Ben Kelly
ca457e69b4
Bug 1436812 P7 Move many checks into ServiceWorkerScopeAndScriptAreValid() utility method. r=baku
2018-04-23 09:46:55 -07:00
Ben Kelly
7fcd49ffc1
Bug 1436812 P6 Move the NS_CheckContentLoadPolicy() from ServiceWorkerManager to ServiceWorkerContainer. r=baku
2018-04-23 09:46:54 -07:00
Ben Kelly
2077e2686a
Bug 1436812 P5 Move the IsFromAuthenticatedOrigin() check from the ServiceWorkerManager to the ServiceWorkerContainer. r=baku
2018-04-23 09:46:54 -07:00
Ben Kelly
7975a988df
Bug 1436812 P4 Add the ServiceWorkerContainer::GetBaseURIFromGlobal() method. r=baku
2018-04-23 09:46:54 -07:00
Ben Kelly
93e8c7fe42
Bug 1436812 P3 Refactor ServiceWorkerContainer::GetGlobalIfValid() to accomodate Register() usage. r=baku
2018-04-23 09:46:54 -07:00
Ben Kelly
a0ac37b62d
Bug 1436812 P1 Make ServiceWorker MozPromise types exclusive so they can reject with ErrorResult values. r=baku
2018-04-23 09:46:53 -07:00
Ben Kelly
2b3a89af6f
Bug 1454646 P5 Implement ServiceWorkerContainer::GetRegistrations() via the inner class. r=baku
2018-04-17 07:46:15 -07:00
Ben Kelly
f7103edd49
Bug 1454646 P4 Factor out a method for checking global validity in ServiceWorkerContainer to reduce code duplication. r=baku
2018-04-17 07:46:14 -07:00
Ben Kelly
302b9e6660
Bug 1454646 P3 Implement ServiceWorkerContainer::GetRegistration() via the inner clas. r=baku
2018-04-17 07:46:14 -07:00
Ben Kelly
4a2c8a79be
Bug 1454646 P2 Implement ServiceWorkerContainer::GetReady() via the Inner class. r=baku
2018-04-17 07:46:14 -07:00
Ben Kelly
679dbc1cc0
Bug 1454646 P1 Add a ServiceWorkerContainer::Inner scaffold. r=baku
2018-04-17 07:46:14 -07:00
Ben Kelly
35c9319e85
Bug 1448012 P4 Remove stale service worker ready promise code. r=asuth
2018-03-22 13:03:22 -07:00
Ben Kelly
cb26932375
Bug 1448012 P3 Add new ServiceWorkerContainer.ready mechanism based on MozPromise. r=asuth
2018-03-22 13:03:22 -07:00
Ben Kelly
3709e5b645
Bug 1448012 P2 Eagerly create the ServiceWorkerContainer.controller. r=asuth
2018-03-22 13:03:22 -07:00
Ben Kelly
2d5d8b9e1f
Bug 1448012 P1 Add ServiceWorkerContainer::Create() factory method. r=asuth
2018-03-22 13:03:22 -07:00
Ben Kelly
b85169b8d8
Bug 1434342 P7 Use the global to GetOrCreate the ServiceWorker DOM instance. r=asuth
2018-01-31 09:10:27 -08: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
bcf3407d3d
Bug 1430139 P2 Make the tree compile again after moving the code to dom/serviceworkers. r=asuth
2018-01-26 13:08:58 -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