Brindusan Cristian
d2592042f8
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-08-23 01:02:39 +03:00
Brindusan Cristian
d21b936680
Merge inbound to mozilla-central. a=merge
2018-08-23 01:00:10 +03:00
Blake Kaplan
f91879804f
Bug 1480965 - Fix review nit. r=asuth
...
--HG--
extra : rebase_source : 5403d4a11f6753d086fcc7a64314b72e31419a30
2018-08-22 15:34:16 -04:00
Yaron Tausky
7d9fd70298
Bug 1455078: Implement [SecureContext] for ServiceWorkerContainer r=asuth
...
The spec mandates that ServiceWorkerContainer only be visible in a secure context,
yet currently it is (almost) always visible, but rejects calls to register() in
non-secure contexts. This commit moves the context check to a [Func] function, thus
implementing the behavior exactly as specified.
This commit uses the same mechanism used by [SecureContext] bindings instead of the
current ad hoc implementation.
Differential Revision: https://phabricator.services.mozilla.com/D2950
--HG--
extra : moz-landing-system : lando
2018-08-22 15:22:40 +00:00
Yaron Tausky
c97b9eb29f
Bug 1455078: Make ServiceWorker test check interface availability with lowered privileges r=asuth
...
The test as it is currently written checks whether navigator.serviceWorker
exists with system privileges. By using eval(), this commit makes it
perform the check with the content's privileges.
Differential Revision: https://phabricator.services.mozilla.com/D3596
--HG--
extra : moz-landing-system : lando
2018-08-22 13:12:52 +00:00
Yaron Tausky
814ab6a3e3
Bug 1455078: Enable service worker testing in test r=asuth
...
This preference must be enabled since the test creates an insecure context, in
which navigator.serviceWorker is undefined.
Differential Revision: https://phabricator.services.mozilla.com/D3594
--HG--
extra : moz-landing-system : lando
2018-08-22 13:15:18 +00:00
Blake Kaplan
1f4f71fbc2
Bug 1472303 - Block self-update from top level scripts. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D3221
--HG--
extra : moz-landing-system : lando
2018-08-22 20:00:19 +00:00
Blake Kaplan
ca85669dab
Bug 1482921 - The ServiceWorkerManager should no longer use these types. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D3220
--HG--
extra : moz-landing-system : lando
2018-08-14 07:59:11 +00:00
Jean-Yves Avenard
f5fbe2c29b
Bug 1480190 - Enable media-capablities extension by default. r=drno,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D3061
--HG--
extra : moz-landing-system : lando
2018-08-11 17:37:08 +00:00
Coroiu Cristina
c82bf65856
Backed out changeset 62e358f53fdd (bug 1480190) for mochitest failures at dom/workers/test/test_navigator.html
2018-08-11 12:53:27 +03:00
Jean-Yves Avenard
6e729aa19e
Bug 1480190 - Enable media-capablities extension by default. r=drno,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D3061
--HG--
extra : moz-landing-system : lando
2018-08-11 09:04:25 +00:00
Perry Jiang
35942af79c
Bug 1479592 - Remove unused PromiseWindowProxy r=mrbkap
...
Remove unused PromiseWindowProxy code and nsGlobalWindowInner::AddPendingPromise and nsGlobalWindowInner::RemovePendingPromise
Differential Revision: https://phabricator.services.mozilla.com/D2621
--HG--
extra : moz-landing-system : lando
2018-08-02 17:00:35 +00:00
Boris Zbarsky
754087a992
Bug 1446940 part 5. Stop getting docshells from windows via getInterface in dom/editor/etc code. r=kmag
2018-08-01 13:07:11 -04:00
Jan de Mooij
ed16c87a11
Bug 1478306 - Actually use the sandbox we create in CacheCreator::CreateCacheStorage. r=baku
...
AutoSafeJSContext enters the unprivileged junk scope, so CreateSandbox returned a wrapper and then we used the wrapper's global instead of the sandbox global. We now use AutoJSAPI with a null realm.
2018-08-01 11:25:49 +02:00
Kris Maglione
031076f2f3
Bug 1463291: Move docShell getter from Document to Window. r=bz
...
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.
MozReview-Commit-ID: LUj1H9nG3QL
--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Kris Maglione
02ba563399
Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
...
MozReview-Commit-ID: FRRAdxLHRtG
--HG--
extra : source : 0d69b4fb1ed43751cfcbc0b4f2fe3b6a49bc0494
extra : histedit_source : d0ce31513ffaae2fd7f01f6567a97b6d2d96b797%2Cfff837de7a00fa90809d2c3e755097180dfd56d8
2018-05-20 18:10:16 -07:00
Narcis Beleuzu
561ccb2ceb
Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
...
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
cb1ee1e34d
Bug 1463291: Move docShell getter from Document to Window. r=bz
...
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.
MozReview-Commit-ID: LUj1H9nG3QL
--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Kris Maglione
636f1839e5
Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
...
MozReview-Commit-ID: FRRAdxLHRtG
--HG--
extra : rebase_source : 36565ef5e74360aad14062005e5bdab2939e888b
2018-05-20 18:10:16 -07:00
Benjamin Bouvier
962d9c7182
Bug 1416723: Remove SIMD.js support; r=luke, r=nbp
...
--HG--
extra : rebase_source : d0af6d791d53015f9da0b70ebeda640a4ad5952a
2018-07-24 15:15:01 +02:00
Boris Zbarsky
2b22720daf
Bug 1478390. Simplify service worker script cache code now that sandbox nsIGlobalObjects hold on to their JS global. r=mrbkap
2018-07-25 18:56:14 -04:00
Valentin Gosu
7937c7c4cc
Bug 1476928
- Remove nsIURI.CloneIgnoringRef and nsIURI.CloneWithNewRef r=JuniorHsu
...
The patch introduces NS_GetURIWithNewRef and NS_GetURIWithNewRef which perform the same function.
Differential Revision: https://phabricator.services.mozilla.com/D2239
--HG--
extra : moz-landing-system : lando
2018-07-23 11:28:47 +00:00
Andrea Marchesini
057b294956
Bug 1469566 - Port ServiceWorkers to WorkerRef - part 2 - KeepAliveHandler, r=bkelly
2018-07-13 18:26:29 +02:00
Andrea Marchesini
fbd07c7a9d
Bug 1469566 - Port ServiceWorkers to WorkerRef - part 1 - LifeCycleEventWatcher, r=bkelly
2018-07-13 18:25:58 +02:00
Andrea Marchesini
bc5414c5f3
Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap
2018-07-12 19:33:41 +02:00
Andi-Bogdan Postelnicu
88cc63910d
Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv
...
--HG--
extra : rebase_source : 249fc26e50bded4e94f5effa4308af0f1e54b908
2018-06-16 17:21:46 +03:00
Blake Kaplan
f88af095a8
Bug 1474898 - Fix typo in null-check. r=asuth
...
I probably should have caught this in review.
Differential Revision: https://phabricator.services.mozilla.com/D2078
--HG--
extra : moz-landing-system : lando
2018-07-11 19:06:21 +00:00
Blake Kaplan
4188ff378b
Bug 1473074 - Don't assume these are non-null. r=asuth
...
I guess because, in the old world, registrations were propagated everywhere we
could end up in a state with an old ServiceWorkerRegistrationInfo while our
ServiceWorkerRegistration thought that everything was up to date. I think that
what should eventually happen will be that when we eventually get our updated
Info, we'll update the state of the ServiceWorkerRegistration accordingly and
things should work themselves out.
Differential Revision: https://phabricator.services.mozilla.com/D2077
--HG--
extra : moz-landing-system : lando
2018-07-11 21:11:01 +00:00
Ben Kelly
a99ba38721
Bug 1469048 Disable service worker propagation when e10s pref is enabled. r=mrbkap
...
--HG--
extra : rebase_source : f7a11d459a7f54ecc8b71746ff2810a7bb276692
2018-07-09 16:02:41 -07:00
Ben Kelly
87bf0f7f23
Bug 1459209 P15 Implement RemoteServiceWorkerContainerImpl::GetReady() across IPC to the parent-side SWM. r=mrbkap
...
--HG--
extra : rebase_source : 119a1cb66828c3dbb21cce86aca67793f0657321
2018-07-09 16:02:41 -07:00
Ben Kelly
d7b64230f7
Bug 1459209 P14 Implement RemoteServiceWorkerContainerImpl::GetRegistrations() across IPC to the parent-side SWM. r=mrbkap
...
--HG--
extra : rebase_source : 464a53e3e0c3eb37cdc7f4c73a43140fba4d5794
2018-07-09 16:02:41 -07:00
Ben Kelly
be03ee0457
Bug 1459209 P13 Implement RemoteServiceWorkerContainerImpl::GetRegistration() across IPC to the parent-side SWM. r=mrbkap
...
--HG--
extra : rebase_source : 60f674e9d1d5c0701f6ed3145427ad8fc7012e55
2018-07-09 16:02:40 -07:00
Ben Kelly
4207daa618
Bug 1459209 P12 Implement RemoteServiceWorkerContainerImpl::Register() across IPC to the parent-side SWM. r=mrbkap
...
--HG--
extra : rebase_source : 4c57b9b8006ab4378c5a0be4a7c13136152f80b0
2018-07-09 16:02:40 -07:00
Ben Kelly
e9dc1bae32
Bug 1459209 P11 Propogate registration state changes back from the parent to the child. r=mrbkap
...
--HG--
extra : rebase_source : 86bea6e7bcf6376d1fc5366a1a07b208f3805ce0
2018-07-09 16:02:40 -07:00
Ben Kelly
39b1a104c9
Bug 1459209 P10 Implement RemoteServiceWorkerRegistrationImpl::Unregister() across IPC to the parent-side SWM. r=mrbkap
...
--HG--
extra : rebase_source : 8411bc26ff172a9888e040fc09b21cab745e4161
2018-07-09 16:02:40 -07:00
Ben Kelly
94f85205a9
Bug 1459209 P9 Implement RemoteServiceWorkerRegistrationImpl::Update() across IPC to the parent-side SWM. r=mrbkap
...
--HG--
extra : rebase_source : 87d77ea7472b59b7e0d243d714ad19158cd7c332
2018-07-09 16:02:40 -07:00
Ben Kelly
6323d7c413
Bug 1459209 P8 Implement RemoteServiceWorkerImpl::PostMessage() across IPC and to the parent-side SWM. r=mrbkap
...
--HG--
extra : rebase_source : d38628cc7b8822b4213c8034f0c1dd783585ddfb
2018-07-09 16:02:40 -07:00
Ben Kelly
fd93586372
Bug 1459209 P7 Scaffold a ServiceWorkerContainerProxy class to connect the parent actor to the main thread SWM. r=mrbkap
...
--HG--
extra : rebase_source : 4693118c6b7bfe93ea772e4ab21f79c6a2448598
2018-07-09 16:02:40 -07:00
Ben Kelly
5e3089171b
Bug 1459209 P6 Scaffold a ServiceWorkerRegistrationProxy class to connect the parent actor to the main thread SWM. r=mrbkap
...
--HG--
extra : rebase_source : 355d278c7b891ae8de0a136d5c7db024ad0d0a76
2018-07-09 16:02:40 -07:00
Ben Kelly
d6345919a0
Bug 1459209 P5 Scaffold a ServiceWorkerProxy class to connect the parent actor to the main thread SWM. r=mrbkap
...
--HG--
extra : rebase_source : 555963a72a75785fc2aa43d7fa2abedeb758289d
2018-07-09 16:02:40 -07:00
Ben Kelly
e486332066
Bug 1459209 P4 Scaffold RemoteServiceWorkerRegistrationImpl to connect the binding registration to the actor. r=mrbkap
...
--HG--
extra : rebase_source : 6e113ac5ead01a50d8dcdd5c0124c42901b84c5e
2018-07-09 16:02:39 -07:00
Ben Kelly
9797d85bc5
Bug 1459209 P3 Scaffold RemoteServiceWorkerContainerImpl to connect the binding ServiceWorkerContainer to the PServiceWorkerContainerChild actor. r=mrbkap
...
--HG--
extra : rebase_source : b0a51ce7bbc1b9b27531584d0647ae28d56b15e2
2018-07-09 16:02:39 -07:00
Ben Kelly
09c855d41b
Bug 1459209 P2 Scaffold RemoteServiceWorkerImpl to connect the binding ServiceWorker to the PServiceWorkerChild actor. r=mrbkap
...
--HG--
extra : rebase_source : 07ec45d8d019e708be144464302168ce331518e9
2018-07-09 16:02:39 -07:00
Ben Kelly
b970b0c8cc
Bug 1459209 P1 Add IPC actor boilerplate for PServiceWorker, PServiceWorkerContainer, and PServiceWorkerRegistration. r=mrbkap
...
--HG--
extra : rebase_source : 10106a76c6e9188238a89821d59bdcbf4eedbab6
2018-07-09 16:02:39 -07:00
Andrea Marchesini
d983dd1bcd
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
Margareta Eliza Balazs
c37b51f523
Backed out 9 changesets (bug 1469993) for causing bustage in build/srcdom/base/nsGlobalWindowInner.cpp on a CLOSED TREE
...
Backed out changeset e89192032fe2 (bug 1469993)
Backed out changeset 4b261595099d (bug 1469993)
Backed out changeset 37182cfe869c (bug 1469993)
Backed out changeset 5b9870995c73 (bug 1469993)
Backed out changeset 55499fcd9738 (bug 1469993)
Backed out changeset 8c1c838d54ba (bug 1469993)
Backed out changeset 12b9c8bfa41f (bug 1469993)
Backed out changeset 04ab7d6c169a (bug 1469993)
Backed out changeset 53885d61244e (bug 1469993)
2018-07-10 11:32:34 +03:00
Andrea Marchesini
dd80ba24d3
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
Ben Kelly
d2e065fc4e
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
4405c076b5
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
d7514a28d7
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
31107e3988
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
1ab4221865
Bug 1471912 Set ServiceWorker objects to redundant state when RegistrationRemoved() is called. r=mrbkap
2018-07-05 13:13:47 -04:00
Ben Kelly
fd8f441dbc
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
8dacbc94b9
Bug 1471706 P2 Maintain a version list of ServiceWorkerRegistrationInfo state changes. r=mrbkap
2018-07-02 07:44:19 -07:00
Ben Kelly
c38d6a18a2
Bug 1471706 P1 Track each registration state change with a version number stored on the descriptor. r=mrbkap
2018-07-02 07:44:19 -07:00
Ben Kelly
241115d614
Bug 1471631 Move ServiceWorkerManager::AddRegistrationEventListener() code to ServiceWorkerRegistrationInfo. r=mrbkap
2018-07-02 07:44:19 -07:00
Ben Kelly
4b564b329e
Bug 1462772 P5 Remove now-unused Listener logic in ServiceWorkerInfo. r=mrbkap
2018-07-02 07:44:18 -07:00
Ben Kelly
aa573bca77
Bug 1462772 P4 Route ServiceWorker state changes through the ServiceWorkerRegistration. r=mrbkap
2018-07-02 07:44:18 -07:00
Ben Kelly
f3b6e1d527
Bug 1462772 P3 Make ServiceWorker binding objects get or create a handle to their associated registration. r=mrbkap
2018-07-02 07:44:18 -07:00
Ben Kelly
4866ecedf2
Bug 1462772 P2 Add the registration Id to the ServiceWorkerDescriptor. r=mrbkap
2018-07-02 07:44:18 -07:00
Ben Kelly
78b42d6228
Bug 1469873 Make ClientSource::Control() fail if storage access is not available and make claim() respect the result. r=mrbkap
2018-06-28 12:58:23 -07:00
Brindusan Cristian
c20abdcc34
Backed out changeset b610acdb4ead (bug 1469873) for mochitest crashes on xul.dll. CLOSED TREE
2018-06-28 20:09:59 +03:00
Brindusan Cristian
bdd678b8f1
Backed out 2 changesets (bug 1394102) for wpt failures on sw.https.window.html. CLOSED TREE
...
Backed out changeset bad873c0dbbe (bug 1394102)
Backed out changeset afbadca69031 (bug 1394102)
2018-06-28 20:08:54 +03:00
Andrea Marchesini
d4f78055f3
Bug 1394102 - FetchEvent Request.signal should be aborted when the corrisponding nsIChannel is canceled r=bkelly
2018-06-27 14:51:43 +02:00
Ben Kelly
a17ff40103
Bug 1469873 Make ClientSource::Control() fail if storage access is not available and make claim() respect the result. r=mrbkap
2018-06-28 06:27:57 -07:00
Margareta Eliza Balazs
df6ed17445
Backed out 2 changesets (bug 1394102) for wpt failures in /fetch/api/abort/serviceworker-intercepted.https.html
...
Backed out changeset 63b21854d800 (bug 1394102)
Backed out changeset 834072e2974e (bug 1394102)
2018-06-28 13:51:18 +03:00
Andrea Marchesini
bd7f80e102
Bug 1394102 - FetchEvent Request.signal should be aborted when the corrisponding nsIChannel is canceled r=bkelly
2018-06-27 14:51:43 +02:00
Dorel Luca
66a9ac9f63
Backed out 2 changesets (bug 1394102) for Web platform test failures. CLOSED TREE
...
Backed out changeset 4133f5b222de (bug 1394102)
Backed out changeset 39784ddfdbb0 (bug 1394102)
2018-06-27 17:53:26 +03:00
Andrea Marchesini
81a7e68e79
Bug 1394102 - FetchEvent Request.signal should be aborted when the corrisponding nsIChannel is canceled r=bkelly
2018-06-27 14:51:43 +02:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Chris Peterson
2afd829d0f
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Ben Kelly
eba4bb71ff
Bug 1462466 P4 Remove stale sandbox code from ServiceWorkerPrivate. r=baku
2018-06-25 07:03:18 -07:00
Ben Kelly
7a83803a3a
Bug 1462466 P2 Make ServiceWorker::PostMessage() code use the ServiceWorkerCloneData class. r=baku
2018-06-25 07:03:18 -07:00
Ben Kelly
f2e4fded62
Bug 1462466 P1 Add a ServiceWorkerCloneData type with threadsafe ref-counting. r=baku
2018-06-25 07:03:18 -07:00
Ben Kelly
05c034e494
Bug 1468853 Note inherited controller in the parent process when the service worker e10s pref is flipped. r=mrbkap
2018-06-22 07:22:59 -07:00
Coroiu Cristina
8b1b996950
Backed out changeset 85d2aec2f4b6 (bug 1469566) for multiple failures at dom/serviceworkers/test/test_install_event_gc.html on a CLOSED TREE
2018-06-19 23:07:15 +03:00
Coroiu Cristina
e9bd6999bd
Backed out changeset 258a2da40ef0 (bug 1469566) for failing dom/push/test/test_subscription_change.html
2018-06-19 22:06:48 +03:00
Andrea Marchesini
e1393db7da
Bug 1469566 - Port 2 ServiceWorker WorkerHolders to WorkerRef - part 2, r=bkelly
2018-06-19 13:08:12 -04:00
Andrea Marchesini
2e17f3559b
Bug 1469566 - Port 2 ServiceWorker WorkerHolders to WorkerRef - part 1, r=bkelly
2018-06-19 13:08:12 -04:00
Ben Kelly
aaf7e6d9c3
Bug 1469024
Define service worker parent intercept pref in StaticPrefList and read it once at startup. r=asuth
2018-06-19 11:26:25 -04:00
Ben Kelly
cf73683dcf
Bug 1466681 P6 Make ServiceWorkerRegistration::Inner::Unregister() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:33 -07:00
Ben Kelly
d9f9837869
Bug 1466681 P5 Make ServiceWorkerRegistration::Inner::Update() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:33 -07:00
Ben Kelly
0fed96cd14
Bug 1466681 P4 Make ServiceWorkerContainer::Inner::GetRegistrations() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:33 -07:00
Ben Kelly
285d32a9aa
Bug 1466681 P3 Make ServiceWorkerContainer::Inner::GetReady() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:33 -07:00
Ben Kelly
a65f650d11
Bug 1466681 P2 Make ServiceWorkerContainer::Inner::GetRegistration() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:33 -07:00
Ben Kelly
639857f640
Bug 1466681 P1 Make ServiceWorkerContainer::Inner::Register() use callbacks instead of MozPromise. r=asuth
2018-06-15 12:21:32 -07:00
Andrea Marchesini
e39f6cd8a9
Bug 1468592 - use nsIEffectiveTLDService::hasRootDomain instead of custom hasRootDomain implementations, r=valentin
2018-06-14 04:31:14 -07:00
Joel Maher
50b91c0a14
Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown
2018-06-10 05:01:47 -04:00
Karl Tomlinson
9e0c1c7c2b
bug 1442776 make CycleCollectedJSContext accessible from JSContext private r=peterv
...
Inheriting PerThreadAtomCache on CycleCollectedJSContext permits use of
static_cast, avoiding one level of indirection compared to adding a
CycleCollectedJSContext* to PerThreadAtomCache.
PerThreadAtomCache is over 18kB, and so WorkerJSContext and WorkletJSContext
are moved from the stack to the heap.
MozReview-Commit-ID: 6jdJeZcviK4
--HG--
extra : rebase_source : 3c2accb71faf3f017a44c405ae0484e57aaf039c
2018-05-10 17:04:12 +12:00
Ben Kelly
4f4a0da820
Bug 1465670 P8 Convert WorkerPrivate::LoadScriptAsPartOfLoadingServiceWorkerScript() to simply IsLoadWorkerScript(). r=asuth
2018-06-05 10:49:13 -07:00
Ben Kelly
3e6d759447
Bug 1465670 P5 Fix test_serviceworker_interfaces.html to expect spec importScript behavior. r=asuth
2018-06-05 10:49:12 -07:00
Ben Kelly
41c8439346
Bug 1465670 P4 Fix test_importscript.html to expect spec behavior. r=asuth
2018-06-05 10:49:12 -07:00
Dorel Luca
535f1df913
Merge mozilla-central to mozilla-inbound
2018-06-04 21:48:29 +03:00
Ben Kelly
f5141d8667
Bug 1462069 P1 Make ServiceWorkerManager::MaybeClaimClient() take a ClientInfo instead of nsIDocument. r=baku
2018-06-04 09:10:50 -07:00
Ben Kelly
30c31f92b2
Bug 1462069 P0 Allow ServiceWorkerParentInterceptEnabled() to be used off-main-thread. r=asuth
2018-06-04 09:10:49 -07:00
Miko Mynttinen
4c85ef17cc
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab
7e765f798b
Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
...
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Emilio Cobos Álvarez
1e9c395548
Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
...
Same approach as the other bug, mostly replacing automatically by removing
'using mozilla::Forward;' and then:
s/mozilla::Forward/std::forward/
s/Forward</std::forward</
The only file that required manual fixup was TestTreeTraversal.cpp, which had
a class called TestNodeForward with template parameters :)
MozReview-Commit-ID: A88qFG5AccP
2018-06-02 09:33:26 +02:00
Gurzau Raul
dd2e67b482
Backed out 3 changesets (bug 1462069) for build bustage on /src/dom/clients/manager/ClientManagerService.cpp on a CLOSED TREE
...
Backed out changeset 999be9379af3 (bug 1462069)
Backed out changeset 457cb3f8a0d9 (bug 1462069)
Backed out changeset ec66aff745a8 (bug 1462069)
2018-06-01 23:57:36 +03:00