823576 Commits

Author SHA1 Message Date
Michael Froman
767e43ff9d Bug 1805697 - add git rebase conflict detection to fast-forward-libwebrtc.sh r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164695
2022-12-14 16:39:25 +00:00
Jonathan Kew
64df3d06dc Bug 1803059 - Remove obsolete patch files from gfx/cairo, and create patch files to record locally-applied fixes. r=gfx-reviewers,lsalzman DONTBUILD
When we did the major cairo update in bug 739096, most of our old patch files were superseded
and no longer relevant, but I failed to clean them up at the time. So here, we remove all the
old patch files, and create new ones just for the fixes we've applied on top of the new code
from upstream.

I've omitted patch files for fixes that I am aware have already landed upstream, as those will
automatically be included in any future update we take. (It's possible more of the new patch
files will also be obsolete by the time we try pulling a new version, but at least they should
provide a starting point.)

Differential Revision: https://phabricator.services.mozilla.com/D164680
2022-12-14 16:18:01 +00:00
Meg Viar
0106dc3610 Bug 1805387 - On Firefox locales with long strings the title of the PDF callout message overlaps with the X button r=jprickett
Move the dismiss button in Feature Callouts so it cannot overlap the title of the message.

Differential Revision: https://phabricator.services.mozilla.com/D164607
2022-12-14 16:17:01 +00:00
Myeongjun Go
cd1efaa98c Bug 1799184 - Add a flag for single-run pushes without comparisons r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D164339
2022-12-14 16:08:35 +00:00
Denis Palmeiro
43e980ac99 Bug 1805671: Update jitdump documentation with additional call graph collection details. r=jrmuizel DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164676
2022-12-14 16:01:09 +00:00
yoenzhang
1f13f08c6e Bug 1801973 Remove Colorways Specific messages and targeting attributes r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D163342
2022-12-14 15:57:30 +00:00
Joshua Marshall
0c31096f34 Bug 1498259 - Remove ClassifierDummyChannel hack r=dom-worker-reviewers,necko-reviewers,asuth,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D164222
2022-12-14 15:55:38 +00:00
Cristian Tuns
da50134a78 Backed out changeset d647be139836 (bug 1798591) for causing build bustages on FontFaceSetImpl.cpp CLOSED TREE 2022-12-14 10:26:07 -05:00
Mark Banner
640699e64b Bug 1801813 - Improve search engine load path reporting for add-ons, user and enterprise policy engines. r=mcheang,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D162700
2022-12-14 15:12:10 +00:00
Jonathan Kew
3372e411f9 Bug 1645990 - Treat table rows as separate blocks for Find-in-page purposes, rather than matching continuously across row boundaries. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D164640
2022-12-14 15:05:22 +00:00
Yury Delendik
5e99b0a03c Bug 1803381 - Replace refAsNonNull checks in Ion with signal handler. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D164141
2022-12-14 14:57:24 +00:00
Otto Länd
0f613f9546 Bug 1247687, 1247687, 1247687, 1247687, 1247687, 1247687, 1247687, 1247687, 1247687, 1247687, 1247687, 1247687, 1247687, 1247687, 1247687: apply code formatting via Lando
# ignore-this-changeset
2022-12-14 14:59:18 +00:00
Yulia Startsev
5bb6aea234 Bug 1247687 - Update mozilla wpt meta files with new expectations; r=asuth
Depends on D162742

Differential Revision: https://phabricator.services.mozilla.com/D162743
2022-12-14 14:55:39 +00:00
Yulia Startsev
d61af5316d Bug 1247687 - Update wpt code to enable worker static-import templates to set CSP; r=asuth
Depends on D162741

Differential Revision: https://phabricator.services.mozilla.com/D162742
2022-12-14 14:55:39 +00:00
Yulia Startsev
71d36004e1 Bug 1247687 - Copy over csp related web-platform test files and metadata; r=asuth
Depends on D156102

Differential Revision: https://phabricator.services.mozilla.com/D162741
2022-12-14 14:55:38 +00:00
Yulia Startsev
4916e53611 Bug 1247687 - Implement csp for Module Workers; r=evilpie,asuth,rpl,ckerschb
Depends on D155691

Differential Revision: https://phabricator.services.mozilla.com/D156102
2022-12-14 14:55:38 +00:00
Yulia Startsev
83a3dfbc18 Bug 1247687 - Initial wpt-tests; r=jonco,asuth
Depends on D155568

Differential Revision: https://phabricator.services.mozilla.com/D155691
2022-12-14 14:55:37 +00:00
Yulia Startsev
51d7d18a24 Bug 1247687 - Handle cancellation of long running modules; r=jonco
This is a slightly annoying thing that can happen. When we abruptly cancel (such as an infinitely
running script being forcibly terminated) we will be in a state where the EvaluateModule call will
finish _after_ the loader is destroyed. So, instead we track if there has been a forcible
cancelation, and exit early.

Depends on D155690

Differential Revision: https://phabricator.services.mozilla.com/D155568
2022-12-14 14:55:37 +00:00
Yulia Startsev
904f7c679e Bug 1247687 - Use requestCredentials to set secFlags for modules; r=jonco
This implements the specified request credentials behavior from the spec, and is tested in wpt.

Depends on D155566

Differential Revision: https://phabricator.services.mozilla.com/D155690
2022-12-14 14:55:37 +00:00
Yulia Startsev
5ac66699bc Bug 1247687 - Implement requestCredentials for Module Workers; r=jonco
This weaves credentials through from the private to script creation.

Depends on D155567

Differential Revision: https://phabricator.services.mozilla.com/D155566
2022-12-14 14:55:36 +00:00
Yulia Startsev
d3ca0aecd0 Bug 1247687 - Implement correct referrer for modules; r=jonco
In our implementation, we do not have "client" as a referrer, so we resolve the URI directly as part
of ScriptLoadRequest creation.

Depends on D147327

Differential Revision: https://phabricator.services.mozilla.com/D155567
2022-12-14 14:55:36 +00:00
Yulia Startsev
3d4f58ac76 Bug 1247687 - Implement initial Static Module Loading for Workers; r=jonco
This is the first pass of getting static module loading to work. This roughly implements
https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-worklet/module-worker-script-graph --
without some of the settings objects correctly set.

Th WorkerModuleLoader itself is implementing step 5, with the StartFetch method handling moving the work back to the main thread. The algorithm in step 5 is generic to all modules.

Depends on D147329

Differential Revision: https://phabricator.services.mozilla.com/D147327
2022-12-14 14:55:35 +00:00
Yulia Startsev
33b96ee278 Bug 1247687 - Disallow ImportScripts from module workers; r=jonco
ImportScripts should be disallowed for module works, which are initialized in the following way:
`new Worker("url", { module:true})`. We set the WorkerType for workers accordingly, and can use that
to detect if import scripts are being incorrectly used.

Depends on D147326

Differential Revision: https://phabricator.services.mozilla.com/D147329
2022-12-14 14:55:35 +00:00
Yulia Startsev
a40b702d6e Bug 1247687 - Implement InitModuleLoader methods for WorkerScriptLoader and WorkerGlobalScope; r=jonco
This implements a method to initialize the moduleLoader for workers. This will initialize only once, for all worker types (module and classic).

Depends on D147324

Differential Revision: https://phabricator.services.mozilla.com/D147326
2022-12-14 14:55:35 +00:00
Yulia Startsev
5b3b7e0007 Bug 1247687 - Add WorkerModuleLoader skeleton; r=jonco
Initial Skeleton for module loader work.

Depends on D134052

Differential Revision: https://phabricator.services.mozilla.com/D147324
2022-12-14 14:55:34 +00:00
Yulia Startsev
ad075e13e3 Bug 1247687 - Update WebIDL to accept module workers; r=asuth
Depends on D163239

Differential Revision: https://phabricator.services.mozilla.com/D134052
2022-12-14 14:55:34 +00:00
Yulia
4763aa8e30 Bug 1247687 - Call EnsureAndLoadStringBundle from Worker ScriptLoaderRunnable; r=allstarschh
Depends on D163238

Differential Revision: https://phabricator.services.mozilla.com/D163239
2022-12-14 14:55:33 +00:00
Andrew Osmond
fcb0efab8b Bug 1798591. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D163295
2022-12-14 14:31:20 +00:00
Benjamin VanderSloot
c823b35008 Bug 1803245 - Add Timeout nsiTimer onto the Document to track active IdentityCredential requests, r=timhuang
This doesn't actually move the timer onto the document.
Instead it is the correct manual juggling of pointers via `.forget()` and `NS_RELEASE()` and some additional testing to make sure it works properly.
This passes tests where we resolve, reject immediately, and reject on timeout and has no leaks in all of those cases.
Putting the timer on the document also required putting the pending promise onto the document with it and that had further wrinkles.
I call that good enough.

Differential Revision: https://phabricator.services.mozilla.com/D164260
2022-12-14 14:02:57 +00:00
Kershaw Chang
de079e859b Bug 1769635 - Make sure AsyncAbort is always called, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D164449
2022-12-14 13:58:30 +00:00
Ryan VanderMeulen
ca77fe1c0b Bug 1805536 - Align TSAN scheduling more closely with ASAN and enable more passing suites. r=webdriver-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D164600
2022-12-14 13:41:19 +00:00
Cristian Tuns
b638ccfac9 Backed out 2 changesets (bug 1805415) for causing dt failures on browser_net_telemetry_throttle_changed.js CLOSED TREE
Backed out changeset 5056d7df9f1e (bug 1805415)
Backed out changeset e13513500184 (bug 1805415)
2022-12-14 08:52:21 -05:00
Jan Varga
39e6e07c86 Bug 1805135 - Fix FileSystemWritableFileStream to use the default writer for all IO operations; r=dom-storage-reviewers,webidl,smaug,jari
Differential Revision: https://phabricator.services.mozilla.com/D164444
2022-12-14 13:20:45 +00:00
Jan de Mooij
7c53022279 Bug 1805199 part 3 - Support more setters on the global in CacheIR. r=iain
Similar to the previous patch, but for setters.

The `WindowProxy` optimization for `SetProp` currently only supports data properties,
so there's only the set-name case we have to change.

Differential Revision: https://phabricator.services.mozilla.com/D164542
2022-12-14 12:41:34 +00:00
Jan de Mooij
c7a50ca556 Bug 1805199 part 2 - Support more getters on the global in CacheIR. r=iain
Before this patch, we supported only native getters that can take the global object
as `this` argument (DOM getters) for `GetProp` on `WindowProxy` and `GetGName`.

This patch extends this to also support getters (native and scripted) that need
the `WindowProxy` if we have one.

Differential Revision: https://phabricator.services.mozilla.com/D164541
2022-12-14 12:41:33 +00:00
Jan de Mooij
171921e93d Bug 1805199 part 1 - Pass getter kind to EmitCallGetterResultNoGuards. r=iain
This way we don't have to recompute the `kind` by calling `IsCacheableGetPropCall`
a second time. We still assert the values match in debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D164540
2022-12-14 12:41:33 +00:00
Henri Sivonen
d33b99a1f7 Bug 1801862 - Remove the pref to run the HTML parser on the main thread. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D162723
2022-12-14 11:58:02 +00:00
Emilio Cobos Álvarez
17acc3543e Bug 1805415 - Revert most changes to browser_page_style_menu_update.js since the native menu bar is hard.
Trivial-ish backout (with a change from click() to doCommand(), which
also works around the issue described in the original commit).

MANUAL PUSH: Test-only to keep the tree green CLOSED TREE
2022-12-14 12:32:16 +01:00
Hannah Peuckmann
707e77be7a Bug 1797513 - Remove TCP Toggle/Default rollout prefs. r=pbz,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D162108
2022-12-14 10:50:03 +00:00
Hannah Peuckmann
b4b023f8bc Bug 1797513 - TCP rollout clean up TCP-in-standard checkbox. r=pbz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D161683
2022-12-14 10:50:02 +00:00
Sebastian Zartner
56c0b6b468 Bug 1764439 - Handled errors in custom formatters. r=nchevobbe
Errors in custom formatters are now logged to the web console to notify users so they can correct the errors.

Differential Revision: https://phabricator.services.mozilla.com/D162084
2022-12-14 10:33:28 +00:00
Dale Harvey
90d8a9aa13 Bug 1805075 - Show QuickActions in actions search mode. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D164618
2022-12-14 10:33:21 +00:00
Emilio Cobos Álvarez
be1f057109 Bug 1805415 - Use activateItem() rather than click() to activate menuitems. r=Gijs,extension-reviewers,pip-reviewers,search-reviewers
Bug 1805414 will move menu event handling to the DOM.

With that change the current synthetic click behavior of XUL menuitems
breaks. On current central, we rely on nsMenuFrame::HandleEvent not
getting called at all for synthetic clicks, and instead we just fire a
command event synchronously here:

  https://searchfox.org/mozilla-central/rev/a0d4f8f112c5c792ae272bf6ce50763ddd23ffa2/dom/xul/nsXULElement.cpp#1071

After my patch the command event is fired properly (potentially
asynchronously too) by the regular menu activation machinery, which is
preferable.

 * They fire a command event synchronously (even though on some
   platforms like macOS activating a context menu item is async).

 * They use a totally different codepath from what a user does.

 * They don't deal with native menus, etc.

We have a proper API for this (activateItem) which takes a much more
closer codepath to what users do, requires that the menu is shown, etc.
Use that API instead for testing.

As a benefit, tests now do not need to close the context menu manually
when clicking on a menu item (because we trigger the same code path as
users clicking the menu).

Differential Revision: https://phabricator.services.mozilla.com/D164567
2022-12-14 10:25:17 +00:00
Tom Schuster
d1f7b26d1e Bug 1570722 - CSP: Ignore directives with non-ASCII tokens. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D164457
2022-12-14 10:20:46 +00:00
Julian Descottes
38a84730f7 Bug 1742607 - Add initial documentation for MessageHandler architecture r=webdriver-reviewers,whimboo,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D164393
2022-12-14 10:17:47 +00:00
Cristian Tuns
9c0220e715 Backed out 3 changesets (bug 1805199) for causing multiple failures on GlobalObject.h CLOSED TREE
Backed out changeset 01e995a2bb73 (bug 1805199)
Backed out changeset 91bd3ba3870f (bug 1805199)
Backed out changeset 4718eaf6f421 (bug 1805199)
2022-12-14 05:24:24 -05:00
sunil mayya
66311d259c Bug 1800439 - disable fetch private network access tests. r=necko-reviewers,kershaw DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164503
2022-12-14 10:08:28 +00:00
Kartikaya Gupta
61991f05a4 Bug 1805128 - Update servo/webrender CI to pass again. r=jrmuizel
This updates the docker image used for CI on the github.com webrender
repository, so that updates to the WebRender code can continue to be
propagated to github.

Differential Revision: https://phabricator.services.mozilla.com/D164458
2022-12-14 10:07:50 +00:00
Kershaw Chang
2594e65711 Bug 1767298 - Make sure we always stop wss and proxy server, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D164048
2022-12-14 09:56:50 +00:00
Kershaw Chang
31ed59d68a Bug 1767298 - Make the behavior of TLSTransportLayer more like SocketTransport, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D163438
2022-12-14 09:56:49 +00:00