Randell Jesup
358cf4735b
Bug 1785123: Enable Origin Private File System (OPFS) by default on Nightly r=dom-storage-reviewers,asuth,jari,jstutte,janv,dom-worker-reviewers
...
Intent to prototype sent to dev-platform on Aug 19, 2022:
https://groups.google.com/a/mozilla.org/g/dev-platform/c/gc4BxcgkN7E
Intent to ship sent to dev-platform on Nov 10, 2022:
https://groups.google.com/a/mozilla.org/g/dev-platform/c/dsRxP4liTek
Differential Revision: https://phabricator.services.mozilla.com/D154818
2023-01-10 03:52:11 +00:00
Marian-Vasile Laza
31c9b3f6c3
Backed out changeset bc0b215802bb (bug 1785123) for causing mochitest failures on test_privateWin.html. CLOSED TREE
2023-01-10 00:44:31 +02:00
Randell Jesup
d42eaceade
Bug 1785123: Enable Origin Private File System (OPFS) by default on Nightly r=dom-storage-reviewers,asuth,jari,jstutte,janv,dom-worker-reviewers
...
Intent to prototype sent to dev-platform on Aug 19, 2022:
https://groups.google.com/a/mozilla.org/g/dev-platform/c/gc4BxcgkN7E
Intent to ship sent to dev-platform on Nov 10, 2022:
https://groups.google.com/a/mozilla.org/g/dev-platform/c/dsRxP4liTek
Differential Revision: https://phabricator.services.mozilla.com/D154818
2023-01-09 20:43:44 +00:00
Mark Banner
c3e3ee14cc
Bug 1806500 - Automatically replace Cu.reportError with console.error (uriloader dom). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D165067
2023-01-05 15:03:55 +00:00
Marian-Vasile Laza
3310c3d69c
Backed out changeset 4be804d1c686 (bug 1806500) for causing mochitest failures on test_has_permissions.html. CLOSED TREE
2022-12-20 22:52:57 +02:00
Mark Banner
099830ac94
Bug 1806500 - Automatically replace Cu.reportError with console.error (uriloader dom). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D165067
2022-12-20 18:34:36 +00:00
Sandor Molnar
119b025cf4
Backed out changeset 146a11389a42 (bug 1806500) for causing mochitest failures in dom/console/tests/test_bug659625.html CLOSED TREE
2022-12-20 10:32:26 +02:00
Mark Banner
dfc3bdb42a
Bug 1806500 - Automatically replace Cu.reportError with console.error (uriloader dom). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D165067
2022-12-20 07:43:44 +00:00
Joshua Marshall
aa87b835c9
Bug 1558098 - postMessage to a redundant service worker should drop silently r=dom-worker-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D162596
2022-11-22 22:02:44 +00:00
Joshua Marshall
e33b525327
Bug 1643611 - Stop intercepting requests in embed and object elements r=edenchuang
...
Differential Revision: https://phabricator.services.mozilla.com/D162023
2022-11-21 17:33:13 +00:00
Frederik Braun
2248137774
Bug 1775194 - disable reporting API r=ckerschb,emilio,freddyb
...
This disables the outdated, incorrect implementation of the
Reporting API. The current implementation was only enabled
on Nightly builds, but given its current state it does not
even make sense there.
Differential Revision: https://phabricator.services.mozilla.com/D149873
2022-11-16 08:35:58 +00:00
Mark Banner
18753bfe42
Bug 1798212 - Convert consumers of downloads code to ES modules. r=mak,geckoview-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D161013
2022-11-07 17:56:10 +00:00
Kagami Sascha Rosylight
aff6666c68
Bug 1798369 - Part 5: Esmify dom/serviceworkers/test r=dom-worker-reviewers,asuth
...
Depends on D160827
Differential Revision: https://phabricator.services.mozilla.com/D160828
2022-11-01 12:05:25 +00:00
Eden Chuang
66c572f595
Bug 1793940
- Disconnect StreamFilters on HttpChannelChild before relink ServiceWorker fallback channel. r=necko-reviewers,valentin
...
Since in D159582, the original HttpChannelChild/HttpChannelParent is reused instead of creating a new one. We need to clean up the StreamFilters which are already attached.
In original logic, this would be handled when StreamFilterParent::OnStartRequest is called(). By comparing the stored StreamFilterParent::mChannel and nsIRequest passed into StreamFilterParent::OnStartRequest, StreamFilterParent can know if the redirection happens or not, such that StreamFilterParent can decide should disconnect or not in OnStartRequest(). However, after D159582, since HttpChannelChild is reused, the logic would not work for ServiceWorker fallback redirection.
Opening the new nsHttpChannel in the parent process makes StreamFilters be attached to the original HttpChannelChild again, and it would send duplicate messages (OnStartRequest, OnDataAvailable, OnStopRequest) to the extension. So we need to remove the previous attached StreamFilters before opening the new channel.
In this patch, we introduce a new IPC method PHttpBackgroundChannel::DetachStreamFilters to inform the corresponding HttpChannelChild to disconnect StreamFilters. Unfortunately this introduces that HttpChannelChild needs to keep weak references of StreamFilters since we have no way to traverse the HttpChannelChild's listener chain and do special handling in StreamFilterParent only.
Depends on D159582
Differential Revision: https://phabricator.services.mozilla.com/D160203
2022-10-28 00:33:47 +00:00
Joel Maher
7d57e8ce58
Bug 1797751 - carry over skip-if conditions from win10 to win11. r=bxbrenden,necko-reviewers,settings-reviewers,credential-management-reviewers,valentin,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D160529
2022-10-28 00:00:40 +00:00
Mark Banner
7f41141c4b
Bug 1796143 - Update *.sjs files for imports that have already been transitioned to ES module files. r=arai,extension-reviewers,credential-management-reviewers,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D159709
2022-10-25 07:10:55 +00:00
Iulian Moraru
7f78673181
Backed out 3 changesets (bug 1796143) for causing mochitest failures on test_double_submit.html. CLOSED TREE
...
Backed out changeset d02d2c2ad921 (bug 1796143)
Backed out changeset 680008b18ad1 (bug 1796143)
Backed out changeset 61a9ae6c1a8f (bug 1796143)
2022-10-20 22:59:56 +03:00
Mark Banner
41fe0ea28c
Bug 1796143 - Update *.sjs files for imports that have already been transitioned to ES module files. r=arai,extension-reviewers,credential-management-reviewers,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D159709
2022-10-20 18:13:11 +00:00
Eden Chuang
9fa4d4b7c6
Bug 1762078 - Blocking SerivceWorker interception for no_cors cross-origin range request. r=dom-worker-reviewers,karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D146553
2022-10-19 21:38:04 +00:00
Yulia Startsev
a23d8dce11
Bug 1792984 - Introduce aggressive cancellation r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D158558
2022-10-18 16:20:12 +00:00
Kagami Sascha Rosylight
e57f7c9bcd
Bug 1794508 - Replace GetStorageAccess with IsInPrivateBrowsing r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D159002
2022-10-17 17:17:47 +00:00
Iulian Moraru
2fbc819c7a
Backed out changeset 822f257fe870 (bug 1762078) for causing wpt failures related to service workers.
2022-10-10 23:38:03 +03:00
Eden Chuang
fefb5e894a
Bug 1762078 - Blocking SerivceWorker interception for no_cors cross-origin range request. r=dom-worker-reviewers,karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D146553
2022-10-10 16:29:22 +00:00
Eden Chuang
2aa93e45f4
Bug 1658869 - Propagate the InterceptedHttpChannel information to fetch's channel casued by FetchEvent.request. r=dom-worker-reviewers,dragana,jesup
...
When a network load needs to be intercepted by ServiceWorker, we extract the Request from the InterceptedHttpChannel, and propagate the Request through FetchEvent.request.
However, some needed information is not extracted or is modified during the Request propagation, so getting the wrong result when using the Request to fetch resources in the ServiceWorker script.
Differential Revision: https://phabricator.services.mozilla.com/D145969
2022-09-30 22:39:23 +00:00
Eden Chuang
0176a4f784
Bug 1715547 - Remove ServiceWorkerPrivate::Inner r=asuth,dom-worker-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D139274
2022-09-29 18:26:00 +00:00
Eden Chuang
f75605f282
Bug 1715547 - Remove ServiceWorker::Inner r=dom-worker-reviewers,asuth
...
Depends on D138999
Differential Revision: https://phabricator.services.mozilla.com/D139000
2022-09-29 18:26:00 +00:00
Eden Chuang
cac584a66d
Bug 1715547 - Remove ServiceWorkerContainer::Inner r=dom-worker-reviewers,asuth
...
Depends on D117344
Differential Revision: https://phabricator.services.mozilla.com/D138999
2022-09-29 18:25:59 +00:00
Eden Chuang
eb9c853d1f
Bug 1715547 - Remove ServiceWorkerRegistration::Inner r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D117344
2022-09-29 18:25:59 +00:00
Edgar Chen
11cbd68fa5
Bug 1708354 - Disallow showing notification from cross-origin iframes; r=smaug
...
We disallow notification permission requests from cross-origin iframes (see bug 1560741).
It makes sense that we also disallow showing notification from cross-origin iframes,
even if user has granted the notification permission on that origin.
Differential Revision: https://phabricator.services.mozilla.com/D158147
2022-09-29 09:00:29 +00:00
Peter Van der Beken
b8156bbc41
Bug 1777145 - Don't expose Wrap for WebIDL iterable iterator objects outside of binding code. r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D156348
2022-09-22 18:28:18 +00:00
Sandor Molnar
141cdeeed6
Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE
...
Backed out changeset 8acabb924ef7 (bug 1782400)
Backed out changeset e3d452e99f77 (bug 1782400)
Backed out changeset 5727bc4895d2 (bug 1777145)
Backed out changeset cf375034e2b8 (bug 1777145)
Backed out changeset a50fd5608d8d (bug 1777145)
Backed out changeset f24853cacd7a (bug 1777145)
Backed out changeset c714f3a35b11 (bug 1777145)
Backed out changeset 56682c253427 (bug 1788969)
Backed out changeset edaf37ffc49d (bug 1788969)
Backed out changeset d19caa9f062b (bug 1788969)
Backed out changeset 18b26912dc03 (bug 1788969)
2022-09-22 19:13:01 +03:00
Peter Van der Beken
8dbae0a524
Bug 1777145 - Don't expose Wrap for WebIDL iterable iterator objects outside of binding code. r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D156348
2022-09-22 15:02:25 +00:00
Eden Chuang
824cd20a74
Bug 1791034 - Do not cancel NavigationPreload before FetchEvent completed. r=dom-worker-reviewers,asuth
...
FetchEvent.preloadResponse should not be cancel after FetchEvent.respondWith()
Differential Revision: https://phabricator.services.mozilla.com/D157482
2022-09-21 08:48:26 +00:00
Butkovits Atila
3f4c8378ae
Backed out 4 changesets (bug 1715547) for frequent autoland crashes. CLOSED TREE
...
Backed out changeset 64e584ac229b (bug 1715547)
Backed out changeset b02cb05ea06c (bug 1715547)
Backed out changeset 6d0a9db1638c (bug 1715547)
Backed out changeset 93250012e5ac (bug 1715547)
2022-09-14 22:53:43 +03:00
Eden Chuang
61f0922684
Bug 1715547 - Remove ServiceWorkerPrivate::Inner r=asuth,dom-worker-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D139274
2022-09-13 09:03:41 +00:00
Eden Chuang
1167c570ae
Bug 1715547 - Remove ServiceWorker::Inner r=dom-worker-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D139000
2022-09-13 09:03:41 +00:00
Eden Chuang
dfe432e118
Bug 1715547 - Remove ServiceWorkerContainer::Inner r=dom-worker-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D138999
2022-09-13 09:03:40 +00:00
Eden Chuang
13f1fc0f79
Bug 1715547 - Remove ServiceWorkerRegistration::Inner r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D117344
2022-09-13 09:03:40 +00:00
Dana Keeler
7ff44a2c39
Bug 1789494 - use the concrete type nsITransportSecurityInfo instead of IPCChannelInfo r=mccr8
...
See bug 1787319. Before this change, IPCChannelInfo consisted solely of
`nsCString securityInfo`. Now, instead of using IPCChannelInfo,
nsITransportSecurityInfo is used directly.
Differential Revision: https://phabricator.services.mozilla.com/D156607
2022-09-09 22:14:18 +00:00
Kershaw Chang
d164608d66
Bug 1760580 - P2: Provide a reason when request is cancelled with NS_BINDING_ABORTED, r=necko-reviewers,media-playback-reviewers,valentin,chunmin
...
Differential Revision: https://phabricator.services.mozilla.com/D156071
2022-09-08 09:11:19 +00:00
Olli Pettay
93acdfad59
Bug 1777574, automate CC zone handling, r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D155084
2022-09-07 11:22:51 +00:00
Joshua Marshall
ac5a503928
Bug 1714533 - Remove onerror event handler from ServiceWorkerContainer r=dom-worker-reviewers,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D156499
2022-09-06 19:36:28 +00:00
Mark Banner
783a2f2187
Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D155965
2022-09-02 11:05:17 +00:00
Kagami Sascha Rosylight
32a02a7021
Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
...
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.
Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-24 10:58:46 +00:00
Marian-Vasile Laza
e32b8c70e9
Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html. CLOSED TREE
...
Backed out changeset cd284ba05fbb (bug 1784590)
Backed out changeset 2f714355a8c8 (bug 1784590)
2022-08-23 01:26:37 +03:00
Kagami Sascha Rosylight
ee9aec5cb9
Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
...
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.
Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 20:48:33 +00:00
Marian-Vasile Laza
b92a6b8396
Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html.
...
Backed out changeset 36d36e75930f (bug 1784590)
Backed out changeset 35dbbd6dbb70 (bug 1784590)
2022-08-22 22:50:41 +03:00
Kagami Sascha Rosylight
bfc04ec1a4
Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
...
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.
Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 18:48:12 +00:00
Kagami Sascha Rosylight
0c2f2d038f
Bug 1486949 - Part 5: Implement Text{Decoder,Encoder}Stream r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D153782
2022-08-12 15:59:05 +00:00
Csoregi Natalia
3f2ae76b30
Backed out 6 changesets (bug 1486949) for causing hazard bustage on TextDecoderStream.cpp. CLOSED TREE
...
Backed out changeset e3dc48b94eef (bug 1486949)
Backed out changeset 57edeeebac29 (bug 1486949)
Backed out changeset f86c3b21e21c (bug 1486949)
Backed out changeset 862135f6c27f (bug 1486949)
Backed out changeset 8dd9f5b9e042 (bug 1486949)
Backed out changeset 7cb29e4feb27 (bug 1486949)
2022-08-12 06:36:41 +03:00