Tom Tung
699c7a419a
Bug 1562663 - P3 - Have agent cluster Ids for workers; r=perry,nika
...
Dedicated workers should be in the same agent cluster with its parent/creator.
The other workers (ShareWorker/ServiceWorker/ChromeWorker) create another agent
cluster when they are created from the creator.
Differential Revision: https://phabricator.services.mozilla.com/D43241
--HG--
extra : moz-landing-system : lando
2019-09-23 09:57:23 +00:00
Boris Zbarsky
14c30e58d6
Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D45391
--HG--
extra : moz-landing-system : lando
2019-09-11 14:35:28 +00:00
Thomas Nguyen
bbd6f51a56
Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D41955
--HG--
extra : moz-landing-system : lando
2019-08-21 13:28:23 +00:00
Thomas Nguyen
32ab8293ff
Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug
...
ReferrerPolicy gets tossed back and forth as a uint32_t and
ReferrerPolicy enum in header file. Expose ReferrerPolicyValues from
webidl file and use consistently in native code.
Differential Revision: https://phabricator.services.mozilla.com/D41954
--HG--
extra : moz-landing-system : lando
2019-08-21 13:24:45 +00:00
Thomas Nguyen
fe6a6a4285
Bug 1567940 Apply ReferrerInfo to Download and fix Go to Download Page button r=Gijs,dimi
...
In the old way, if referrer is ommited we will not be able to go to
download page. In that case, we should use originalReferrer in
ReferrerInfo object
Differential Revision: https://phabricator.services.mozilla.com/D39875
--HG--
extra : moz-landing-system : lando
2019-08-20 16:22:44 +00:00
Perry Jiang
4d1b5b9a5c
Bug 1552945 - Start Service Workers in the parent process with parent-intercept. r=asuth,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D32492
--HG--
extra : moz-landing-system : lando
2019-08-20 15:21:11 +00:00
Perry Jiang
538903d0db
Bug 1574457 - Remove unused variable in optimized Beta/Release builds in ServiceWorkerPrivate.cpp r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D42380
--HG--
extra : moz-landing-system : lando
2019-08-17 01:14:08 +00:00
Perry Jiang
f916ba9388
Bug 1231213 - Make ServiceWorkerPrivate use ServiceWorkerPrivateImpl when parent-intercept is enabled. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26177
--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:37 +00:00
Perry Jiang
bbc5dad9a8
Bug 1231213 - Implement ServiceWorkerOp and its subclasses. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26172
--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:08 +00:00
Perry Jiang
5b603200f7
Bug 1231213 - Implement PFetchEventOp(Proxy) IPDL protocols and FetchEventOp(Proxy){Parent,Child}. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26171
--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:07 +00:00
Dorel Luca
73975f1d28
Backed out 22 changesets (bug 1231213) for Browser-chrome failures on /workers/remoteworkers/RemoteWorkerChild.cpp
...
Backed out changeset 7e09ad9ceea6 (bug 1231213)
Backed out changeset a275eb0b1a19 (bug 1231213)
Backed out changeset 906b80778539 (bug 1231213)
Backed out changeset 6a40ab6852cb (bug 1231213)
Backed out changeset 216591953f97 (bug 1231213)
Backed out changeset 1de357bc1921 (bug 1231213)
Backed out changeset 8e3fedf6502a (bug 1231213)
Backed out changeset 1b9a8b022fce (bug 1231213)
Backed out changeset 85df1959eb98 (bug 1231213)
Backed out changeset 666bf4260046 (bug 1231213)
Backed out changeset 0b03a19a6dc1 (bug 1231213)
Backed out changeset 11f010e6d6e7 (bug 1231213)
Backed out changeset 6ed55807374f (bug 1231213)
Backed out changeset 395062aef2ec (bug 1231213)
Backed out changeset bacf8499ba7b (bug 1231213)
Backed out changeset bf5d60c7a85a (bug 1231213)
Backed out changeset cd434b787ce6 (bug 1231213)
Backed out changeset ee4565104217 (bug 1231213)
Backed out changeset 581653ef33dd (bug 1231213)
Backed out changeset 2d5628a0e52d (bug 1231213)
Backed out changeset 3449c2eba4c6 (bug 1231213)
Backed out changeset ae221b628899 (bug 1231213)
2019-08-15 01:04:46 +03:00
Perry Jiang
31ebe4cc35
Bug 1231213 - Make ServiceWorkerPrivate use ServiceWorkerPrivateImpl when parent-intercept is enabled. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26177
--HG--
extra : moz-landing-system : lando
2019-08-14 16:20:40 +00:00
Perry Jiang
d89bee1b4e
Bug 1231213 - Implement ServiceWorkerOp and its subclasses. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26172
--HG--
extra : moz-landing-system : lando
2019-08-14 16:20:15 +00:00
Perry Jiang
7631234594
Bug 1231213 - Implement PFetchEventOp(Proxy) IPDL protocols and FetchEventOp(Proxy){Parent,Child}. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26171
--HG--
extra : moz-landing-system : lando
2019-08-14 16:20:08 +00:00
Cosmin Sabou
85a8083871
Backed out 22 changesets (bug 1231213) for build bustages on /mozilla/Attributes.h CLOSED TREE
...
Backed out changeset 4a45f2c447fd (bug 1231213)
Backed out changeset bcb4d348a847 (bug 1231213)
Backed out changeset ae78ac86cc86 (bug 1231213)
Backed out changeset d681c92a7f05 (bug 1231213)
Backed out changeset 1ac9661e7fb4 (bug 1231213)
Backed out changeset 796c617b989f (bug 1231213)
Backed out changeset c46b31113adb (bug 1231213)
Backed out changeset ea7334da65d9 (bug 1231213)
Backed out changeset 6e9273940bf5 (bug 1231213)
Backed out changeset 7df0e0ff9a82 (bug 1231213)
Backed out changeset 12aba06d169c (bug 1231213)
Backed out changeset e7d6d8d64e8a (bug 1231213)
Backed out changeset 097a29f3ff9a (bug 1231213)
Backed out changeset 1b7169b75760 (bug 1231213)
Backed out changeset 0fd1fd7c3f06 (bug 1231213)
Backed out changeset 3d539eb7faff (bug 1231213)
Backed out changeset 419f9bb7be3c (bug 1231213)
Backed out changeset caede0e4e888 (bug 1231213)
Backed out changeset 778eade5085d (bug 1231213)
Backed out changeset a84b262ff6f8 (bug 1231213)
Backed out changeset 97328368da02 (bug 1231213)
Backed out changeset 9c845d7e3b29 (bug 1231213)
2019-08-14 00:10:48 +03:00
Perry Jiang
1015fd48c8
Bug 1231213 - Make ServiceWorkerPrivate use ServiceWorkerPrivateImpl when parent-intercept is enabled. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26177
--HG--
extra : moz-landing-system : lando
2019-08-13 19:57:44 +00:00
Perry Jiang
7fafaf781d
Bug 1231213 - Implement ServiceWorkerOp and its subclasses. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26172
--HG--
extra : moz-landing-system : lando
2019-08-13 19:56:24 +00:00
Perry Jiang
50acf4ec15
Bug 1231213 - Implement PFetchEventOp(Proxy) IPDL protocols and FetchEventOp(Proxy){Parent,Child}. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26171
--HG--
extra : moz-landing-system : lando
2019-08-13 19:59:48 +00:00
Cosmin Sabou
f870af790d
Backed out 22 changesets (bug 1231213) for build bustages on RemoteWorkerChild.cpp. CLOSED TREE
...
Backed out changeset 06dba269fcfe (bug 1231213)
Backed out changeset 20b1ec70a6d0 (bug 1231213)
Backed out changeset be99adfb84ab (bug 1231213)
Backed out changeset 8cb30e5ef8d7 (bug 1231213)
Backed out changeset bdeff3d76292 (bug 1231213)
Backed out changeset 783bd2856798 (bug 1231213)
Backed out changeset e52869704d4d (bug 1231213)
Backed out changeset df97ea0bbe79 (bug 1231213)
Backed out changeset 822ade495b97 (bug 1231213)
Backed out changeset 06281fe76994 (bug 1231213)
Backed out changeset c8c1d3aa27c6 (bug 1231213)
Backed out changeset b96a12cd2c73 (bug 1231213)
Backed out changeset a1dcf2ea83be (bug 1231213)
Backed out changeset 6e2934410f95 (bug 1231213)
Backed out changeset d4ffae32539b (bug 1231213)
Backed out changeset d99f2cbe0ed2 (bug 1231213)
Backed out changeset 3bbea49c6d03 (bug 1231213)
Backed out changeset dac29b0340ce (bug 1231213)
Backed out changeset 0591a2a0cc41 (bug 1231213)
Backed out changeset afc3b2b9d472 (bug 1231213)
Backed out changeset 89fffd7b8740 (bug 1231213)
Backed out changeset 30b9a65a6294 (bug 1231213)
2019-08-13 21:30:20 +03:00
Perry Jiang
4a40312190
Bug 1231213 - Make ServiceWorkerPrivate use ServiceWorkerPrivateImpl when parent-intercept is enabled. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26177
--HG--
extra : moz-landing-system : lando
2019-08-13 04:57:40 +00:00
Perry Jiang
be36c41e08
Bug 1231213 - Implement ServiceWorkerOp and its subclasses. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26172
--HG--
extra : moz-landing-system : lando
2019-08-13 04:57:49 +00:00
Perry Jiang
eab9df21ec
Bug 1231213 - Implement PFetchEventOp(Proxy) IPDL protocols and FetchEventOp(Proxy){Parent,Child}. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26171
--HG--
extra : moz-landing-system : lando
2019-08-13 05:16:58 +00:00
Narcis Beleuzu
f53affe1cb
Backed out 22 changesets (bug 1231213) for build bustages on RemoteWorkerChild.cpp . CLOSED TREE
...
Backed out changeset 6f25a7e73fe2 (bug 1231213)
Backed out changeset 5e88c3855fb6 (bug 1231213)
Backed out changeset a78d7b3e44af (bug 1231213)
Backed out changeset eb7f3a9b0a42 (bug 1231213)
Backed out changeset 87575a180ad5 (bug 1231213)
Backed out changeset 4e8369314e87 (bug 1231213)
Backed out changeset 039c34bc043c (bug 1231213)
Backed out changeset 0528ab68d94e (bug 1231213)
Backed out changeset 670e7d61d95c (bug 1231213)
Backed out changeset d61b9d65bd0a (bug 1231213)
Backed out changeset 9042ea694d40 (bug 1231213)
Backed out changeset bc0607e0d50b (bug 1231213)
Backed out changeset 196ee18781cb (bug 1231213)
Backed out changeset 4b588dec466b (bug 1231213)
Backed out changeset be6031a6fca7 (bug 1231213)
Backed out changeset 12e04c22f52f (bug 1231213)
Backed out changeset fd146f327f2d (bug 1231213)
Backed out changeset f2af7b66f50d (bug 1231213)
Backed out changeset 71d93fc98d3f (bug 1231213)
Backed out changeset 280271806864 (bug 1231213)
Backed out changeset ca4e828345a2 (bug 1231213)
Backed out changeset e41b984510ad (bug 1231213)
2019-08-13 07:47:05 +03:00
Perry Jiang
a981db8c7e
Bug 1231213 - Make ServiceWorkerPrivate use ServiceWorkerPrivateImpl when parent-intercept is enabled. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26177
--HG--
extra : moz-landing-system : lando
2019-08-13 04:04:32 +00:00
Perry Jiang
d19b151fac
Bug 1231213 - Implement ServiceWorkerOp and its subclasses. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26172
--HG--
extra : moz-landing-system : lando
2019-08-13 04:04:05 +00:00
Perry Jiang
7e8cc2fc96
Bug 1231213 - Implement PFetchEventOp(Proxy) IPDL protocols and FetchEventOp(Proxy){Parent,Child}. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26171
--HG--
extra : moz-landing-system : lando
2019-08-13 04:03:58 +00:00
Perry Jiang
96edc2a092
Bug 1557244 - Disallow resurrection of unregistered ServiceWorkerRegistrations r=asuth
...
- Remove `ServiceWorkerRegistration`s' pending uninstall flag.
- Rename `ServiceWorkerRegistrationListener`'s `RegistrationRemoved` method to
`RegistrationCleared`; registrations are no longer necessarily consider
invalid when they are removed from the "scope to registration map", but rather
when they're both removed from the map and not controlling clients (at which
point `Clear` is called).
- Maintain the invariant that no `ServiceWorkerRegistrationInfo` in
`ServiceWorkerManager::RegistrationDataPerPrincipal::mInfos` (i.e. the "scope
to registration map") is in the unregistered state. Assertions check this in
`ServiceWorkerManager::AddScopeAndRegistration` and
`ServiceWorkerRegistrationInfo::SetUnregistered`.
- Fix some incorrect web platform tests.
Differential Revision: https://phabricator.services.mozilla.com/D38684
--HG--
extra : moz-landing-system : lando
2019-07-26 18:41:48 +00:00
Nicholas Nethercote
18fae65f38
Bug 1563139 - Remove StaticPrefs.h. r=glandium
...
This requires replacing inclusions of it with inclusions of more specific prefs
files.
The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.
Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.
Differential Revision: https://phabricator.services.mozilla.com/D39138
--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Boris Zbarsky
5062731c15
Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37968
--HG--
extra : moz-landing-system : lando
2019-07-15 13:39:51 +00:00
Christoph Kerschbaumer
242bf62249
Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33499
--HG--
extra : moz-landing-system : lando
2019-06-06 20:19:56 +00:00
Bogdan Tara
bde97b25f5
Backed out 2 changesets (bug 1555050) for test_reloadInFreshProcess.html failures CLOSED TREE
...
Backed out changeset f5e954d593f8 (bug 1555050)
Backed out changeset b5b99e78b753 (bug 1555050)
2019-06-06 23:13:52 +03:00
Christoph Kerschbaumer
a9912a9803
Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33499
--HG--
extra : moz-landing-system : lando
2019-06-06 18:09:03 +00:00
Ehsan Akhgari
98960a9c41
Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32556
--HG--
extra : moz-landing-system : lando
2019-05-27 14:06:49 +00:00
Christoph Kerschbaumer
b282f81f84
Bug 965637: Move CSP from Principal into Client, part 2: worker changes. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27655
--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:50 +00:00
Thomas Nguyen
b0bfbd85aa
Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D22786
--HG--
extra : moz-landing-system : lando
2019-05-02 12:33:55 +00:00
Ehsan Akhgari
408ff64e4d
Bug 1547889 - Part 3: Require the caller of the AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(nsIPrincipal*) API pass in a cookie setting object; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29321
--HG--
extra : moz-landing-system : lando
2019-04-30 14:27:43 +00:00
Sebastian Streich
a2d3e618af
Bug 1546913 - Remove GetLoadInfo callsites r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D27647
--HG--
extra : moz-landing-system : lando
2019-04-25 12:16:35 +00:00
Andrea Marchesini
ad7d593761
Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D25778
--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:36 +00:00
Andrea Marchesini
79ac7cee82
Bug 1536411 - StoragePrincipal - part 2 - Worker and StoragePrincipal, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24026
--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:25 +00:00
Andrea Marchesini
57535d8c79
Bug 1536411 - StoragePrincipal - part 0 - WorkerPrivate::StorageAccess, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24024
--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:40 +00:00
Cosmin Sabou
af07021e88
Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
...
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Andrea Marchesini
677630aa7c
Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D25778
--HG--
extra : moz-landing-system : lando
2019-04-11 16:29:13 +00:00
Andrea Marchesini
dfe371cba0
Bug 1536411 - StoragePrincipal - part 2 - Worker and StoragePrincipal, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24026
--HG--
extra : moz-landing-system : lando
2019-04-11 16:27:30 +00:00
Andrea Marchesini
4b6aa5b40f
Bug 1536411 - StoragePrincipal - part 0 - WorkerPrivate::StorageAccess, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24024
--HG--
extra : moz-landing-system : lando
2019-04-11 16:26:49 +00:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Andrea Marchesini
8e20bbbc9a
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-08 09:04:11 +00:00
Ciure Andrei
712dd2bb8c
Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
...
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Andrea Marchesini
6856f88972
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-07 10:21:15 +00:00
Olli Pettay
1b790f3246
Bug 1522316, use medium high priority queue for worker->main thread control messages, r=baku
...
If main thread is busy handling runnables in the normal priority queue, control-type of messages from
workers are possibly postponed to run after those. That can lead to bad performance, if the page
expects workers to be able to proceed simultanously with the main thread.
This patch makes the control messages to use medium high priority queue in order to try to
ensure they are handled in timely manner.
Pref dom.worker.use_medium_high_event_queue can be set to false to disable this new behavior.
Differential Revision: https://phabricator.services.mozilla.com/D22128
--HG--
extra : rebase_source : 447dec6dbcccaa0206a1815c21ccf713c523fc91
2019-03-05 18:47:05 +02:00
Andrea Marchesini
64d3f6f9da
Bug 1487113 - nsICacheInfoChannel.preferAlternativeDataType() should expose alt-data as optional if required, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20200
--HG--
extra : moz-landing-system : lando
2019-02-20 10:05:42 +00:00