Граф коммитов

1239 Коммитов

Автор SHA1 Сообщение Дата
Andreea Pavel 7738a75fdd Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa 8cd6ed7409 Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa 03b55aae15 Bug 1667455 - Part 10: Stop importing Services.jsm from chrome-priv HTML code, multi-line cases. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150899
2022-07-11 12:41:53 +00:00
Tooru Fujisawa 7539547097 Bug 1667455 - Part 8: Stop importing Services.jsm from chrome-priv JS code, other cases. r=kmag,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150897
2022-07-11 12:41:52 +00:00
Tooru Fujisawa bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Andrew Osmond ae6ec0a611 Bug 1746110 - Enable OffscreenCanvas by default on nightly. r=emilio
This patch turns on FontFaceSet in workers and OffscreenCanvas on
workers and the main thread in nightly only.

Differential Revision: https://phabricator.services.mozilla.com/D151409
2022-07-11 11:08:01 +00:00
Andrew Osmond 2104bee398 Bug 1777287 - Integrate FontFaceSet with OffscreenCanvas on workers. r=emilio,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D150640
2022-07-08 17:34:47 +00:00
Joel Maher 537a5a0dc8 Bug 1777549 - remove remaining e10s conditions in manifest files. r=gbrown,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D150820
2022-07-01 13:49:42 +00:00
Csoregi Natalia e3f6b53b3b Backed out changeset 1491786f8402 (bug 1775194) for multiple reporting failures. CLOSED TREE 2022-06-30 17:25:47 +03:00
Kagami Sascha Rosylight 48adbee64d Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-30 11:33:56 +00:00
Kagami Sascha Rosylight 6786c826fa Bug 1776109 - Part 2: Add ServiceWorkersEnabled() for service worker interfaces exposure r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D150441
2022-06-30 11:33:56 +00:00
Frederik Braun 9861c6626a Bug 1775194 - disable reporting API r=ckerschb,emilio
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-06-30 10:41:48 +00:00
Iulian Moraru 23c0c3baed Backed out 3 changesets (bug 1776109) for causing hazzard build bustages on ServiceWorker.cpp.
Backed out changeset b6222b68a403 (bug 1776109)
Backed out changeset 80fb3c3a5a40 (bug 1776109)
Backed out changeset 021a94a72d0c (bug 1776109)
2022-06-30 09:53:28 +03:00
Kagami Sascha Rosylight 30b8df0dc0 Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-30 01:35:13 +00:00
Kagami Sascha Rosylight e772d23751 Bug 1776109 - Part 2: Add ServiceWorkersEnabled() for service worker interfaces exposure r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D150441
2022-06-30 01:35:13 +00:00
criss a78fdd3dc0 Backed out 3 changesets (bug 1776109) for causing multiple failures. CLOSED TREE
Backed out changeset 8e76401f7c43 (bug 1776109)
Backed out changeset 1cdbbad1d996 (bug 1776109)
Backed out changeset 66bb4c49d615 (bug 1776109)
2022-06-30 03:23:01 +03:00
Kagami Sascha Rosylight 4c9ef0bb36 Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-29 22:52:39 +00:00
Kagami Sascha Rosylight 5b064cfafd Bug 1776109 - Part 2: Add ServiceWorkersEnabled() for service worker interfaces exposure r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D150441
2022-06-29 22:52:39 +00:00
Hannah Peuckmann 7c1bad4edc Bug 1764761 - Remove/replace the network.cookie.lifetimePolicy. r=pbz,necko-reviewers,mkaply,dom-storage-reviewers,agi,asuth,dragana
Differential Revision: https://phabricator.services.mozilla.com/D144548
2022-06-29 17:33:37 +00:00
Hannah Peuckmann b233155a3b Bug 1759665 - Remove usage of StaticPref::network.cookie.lifetimePolicy.r=necko-reviewers,pbz,janv,dragana,timhuang,asuth
Differential Revision: https://phabricator.services.mozilla.com/D143062
2022-06-29 17:33:37 +00:00
Tom Schuster 0d488d2e8e Bug 1776414 - Change nsIHttpChannelInternal corsMode to requestMode. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D150243
2022-06-29 14:09:57 +00:00
Andreea Pavel c1bd8b581d Bug 1717091 - update disabling condition to include mac and opt builds r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D150261
2022-06-29 06:55:45 +00:00
Marian-Vasile Laza 15ac25bb3a Backed out changeset 068f148f46f2 (bug 1775194) for causing wpt failures on document-write-reporting-tentative.html. CLOSED TREE 2022-06-29 04:12:50 +03:00
Frederik Braun c2f658a2a5 Bug 1775194 - disable reporting API r=ckerschb,emilio
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-06-28 15:12:03 +00:00
smolnar 93116c49d3 Backed out changeset c3682c83547e (bug 1775194) for causing wpt failures in /deprecation-reporting/idlharness.any.html CLOSED TREE 2022-06-28 17:26:58 +03:00
Frederik Braun 42577edfb2 Bug 1775194 - disable reporting API r=ckerschb,emilio
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-06-28 12:44:00 +00:00
smolnar 8576c9f534 Backed out changeset e883552f154d (bug 1775194) for causing multiple wpt failures. 2022-06-28 14:20:11 +03:00
Frederik Braun 5958a136b0 Bug 1775194 - disable reporting API r=ckerschb,emilio
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-06-28 09:40:44 +00:00
Joel Maher 5bf232d7af Bug 1776212 - cleanup e10s in manifest conditions for bc/dt. r=aryx,necko-reviewers,extension-reviewers,preferences-reviewers,dragana,zombie
Differential Revision: https://phabricator.services.mozilla.com/D150127
2022-06-23 17:49:07 +00:00
Olli Pettay a8c8f73787 Bug 1735875, ServiceWorkers + bfcache: evict bfcache in certain cases, to pass the existing WPTs, and add a new test for Client.postMessage, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D148481
2022-06-15 12:45:08 +00:00
Luca Greco d3851fd23d Bug 1593931 - Only show ServiceWorkerContainer to WebExtension principals if extensions.serviceWorkerRegister.allowed is true. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D149152
2022-06-14 19:29:57 +00:00
Joel Maher 8411de78e3 Bug 1769257 - run a subset of mochitests with a conditioned profile. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D148651
2022-06-10 19:57:36 +00:00
Nika Layzell 6c2d8c7bf5 Bug 1773088 - Part 3: Remove StealFromAndBuildClonedMessageData, r=asuth
This API should no longer be necessary, as there's nothing tied to a specific
actor in the serialized IPCBlob form any longer, so the value can be directly
transferred without special handling or re-serialization.

Differential Revision: https://phabricator.services.mozilla.com/D148533
2022-06-08 15:24:28 +00:00
Nika Layzell 7eef772214 Bug 1773088 - Part 2: Stop requiring an actor to serialize StructuredCloneData over IPC, r=asuth
This is largely a straightforward find and replace of various methods, with the
unnecessary arguments removed and compiler errors fixed.

Differential Revision: https://phabricator.services.mozilla.com/D148532
2022-06-08 15:24:27 +00:00
Jens Stutte 99c9ff330f Bug 1602393: Fake ShutdownComplete() for all error conditions of ServiceWorkerRegistrar::ProfileStopped. r=dom-worker-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D146301
2022-05-23 14:43:29 +00:00
Tom Schuster 4525afaf9f Bug 1740263 - Implement the CSP checking callback for WASM. r=dom-worker-reviewers,smaug,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D141979
2022-05-19 14:13:50 +00:00
Iulian Moraru 4d59317ca4 Backed out 6 changesets (bug 1740263) for causing bp-hybrid bustages on nsScriptSecurityManager. CLOSED TREE
Backed out changeset 2f5ec6ad0f81 (bug 1740263)
Backed out changeset a1e7766cdb94 (bug 1740263)
Backed out changeset 3978ccb95455 (bug 1740263)
Backed out changeset e34ba774b3f8 (bug 1740263)
Backed out changeset 8365b10be28e (bug 1740263)
Backed out changeset d923462c9cd0 (bug 1740263)
2022-05-19 03:28:08 +03:00
Tom Schuster 5c808859fa Bug 1740263 - Implement the CSP checking callback for WASM. r=dom-worker-reviewers,smaug,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D141979
2022-05-18 21:39:29 +00:00
Kagami Sascha Rosylight 6b5d893c68 Bug 1767507 - Enable TransformStream by default r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D145973
2022-05-18 11:58:46 +00:00
Andrew McCreight c8c5c819df Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
This patch won't actually build, because a few bits of code are used
for both nsIFactory::createInstance and static components, and static
components are not fixed until the next patch.

The first place is nsLoadGroupConstructor, which uses an nsIFactory
macro to create a static component constructor. (This could be worked
around by expanding the macro to the state before this patch.)

The other issue is that nsAppShellConstructor is used in an nsIFactory
on OSX, but as a static component on all other platforms. This could
be worked around by wrapping nsAppShellConstructor in an adaptor that
passes in the extra null argument to nsAppShellConstructor.

Differential Revision: https://phabricator.services.mozilla.com/D146456
2022-05-17 20:24:19 +00:00
Molnar Sandor 4fd6d28fda Backed out 4 changesets (bug 1715547) for causing leakcheck failures in ServiceWorkerPrivate. CLOSED TREE
Backed out changeset c2114b608577 (bug 1715547)
Backed out changeset c8985e7c6a71 (bug 1715547)
Backed out changeset 8af1f4a4be08 (bug 1715547)
Backed out changeset 85b20f601145 (bug 1715547)
2022-05-17 02:27:10 +03:00
Eden Chuang 8c76de0197 Bug 1715547 - Remove ServiceWorkerPrivate::Inner r=asuth,dom-worker-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D139274
2022-05-16 22:52:24 +00:00
Eden Chuang 79cfeaf33c Bug 1715547 - Remove ServiceWorker::Inner r=dom-worker-reviewers,asuth
Depends on D138999

Differential Revision: https://phabricator.services.mozilla.com/D139000
2022-05-16 22:52:24 +00:00
Eden Chuang 2b97dacb22 Bug 1715547 - Remove ServiceWorkerContainer::Inner r=dom-worker-reviewers,asuth
Depends on D117344

Differential Revision: https://phabricator.services.mozilla.com/D138999
2022-05-16 22:52:23 +00:00
Eden Chuang de30e4ecdc Bug 1715547 - Remove ServiceWorkerRegistration::Inner r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D117344
2022-05-16 22:52:23 +00:00
Andrew McCreight d449570829 Bug 1769438 - Disable browser_userContextId_openWindow.js because it always fails. r=dom-worker-reviewers,jesup DONTBUILD
This test always fails, and it should be always disabled, but for some reason
it is run in verify mode, on most (but not all) platforms.

Differential Revision: https://phabricator.services.mozilla.com/D146385
2022-05-16 14:03:05 +00:00
Tom Schuster c256578f28 Bug 1522136 - Remove javascript.options.streams and other legacy prefs. r=mgaudet,webidl,edgar
Differential Revision: https://phabricator.services.mozilla.com/D145810
2022-05-13 18:58:48 +00:00
Nika Layzell 1aa11ffed6 Bug 1754004 - Part 11: Simplify the IPCStream serialization API, r=asuth,necko-reviewers,kershaw
As serializing IPCStream no longer requires a manager or FileDescriptor array,
the arguments are no longer necessary, and can be removed. The AutoIPCStream
helper can also be removed, as managed actors are no longer used for
serialization, so a delayed start callback is not necessary.

The delayed start parameter is also removed from nsIIPCSerializableInputStream
instances, but is still present as `aAllowLazy` on the toplevel serialization
methods.

Differential Revision: https://phabricator.services.mozilla.com/D141048
2022-05-13 14:16:13 +00:00
Nika Layzell 76b98a65e4 Bug 1754004 - Part 7: Consistently normalize upload streams passed to HTTP channels, r=asuth,necko-reviewers,dragana
Unfortunately, upload streams used by necko have various odd behaviours
and requirements which happened to be usually preserved by the previous
IPC serialization logic, but were not consistently preserved. This
includes requiring the stream to be synchronous (as some consumers such
as WebExtensions and DevTools appear to read it assuming Available() is
the stream length), seekable (as it needs to be rewound in various
places), and cloneable (as the stream information is often handed out to
other components).

In addition, the WebExtension WebRequest code makes assumptions about
the specific topology of the input stream for optimization purposes,
meaning that nsMultiplexInputStreams need to be preserved.

The way this was previously handled was by copying the entire payload
into a nsStorageStream as an async operation. This happened very
infrequently in out test suite, however, and had some issues. It could
lead to data loss if the stream was a nsMIMEInputStream (as the metadata
would be lost), and would destroy the topology required by WebRequest.

This patch changes the code to instead manually walk and replace streams
in the input stream's data structure, to efficiently copy only the
required data, preserve the invariants, and make the type seekable
before AsyncOpen continues. This helps keep the complexity of the
invariants HTTPChannel depends on out of generic input stream handling
code.

In addition, due to how early this happens, it replaces the need for
PartiallySeekableInputStream which will be removed a later part.

Differential Revision: https://phabricator.services.mozilla.com/D141044
2022-05-13 14:16:11 +00:00
Nika Layzell 95a883d65d Bug 1754004 - Part 3: Move RemoteLazyInputStream to its own toplevel protocol, r=asuth,necko-reviewers,dragana
This is a complete rewrite of RemoteLazyInputStream to run off of its own
toplevel protocol, rather than being managed by other protocols like
PBackground or PContent. This should improve performance thanks to no longer
needing to operate on a main or worker thread, and due to no longer needing the
migration step for the stream actor.

This also acts as a step towards no longer requiring a manager actor to
serialize input streams, as the type is now actor-agnostic, and should support
being sent over IPC between any pair of processes.

Differential Revision: https://phabricator.services.mozilla.com/D141040
2022-05-13 14:16:10 +00:00