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

836592 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 3c43de2d49 Bug 1824166 - Avoid passing thumb-interwork flags to clang for bindgen. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D174554
2023-04-05 00:12:42 +00:00
Mike Hommey 167275da0b Bug 1826279 - Update bomutils to latest master. r=hneiva
The main change is a fix for compilation error with newer compilers.

Differential Revision: https://phabricator.services.mozilla.com/D174572
2023-04-05 00:11:34 +00:00
Narcis Beleuzu dbdb1ea6ad Backed out changeset a021d15b86fe (bug 1639545) for multiple mochitest failures on dom/indexedDB/test/* CLOSED TREE 2023-04-05 01:51:45 +03:00
Daisuke Akatsuka 0072accf27 Bug 1824253: Set enabling/disabling urlbar engagement telemetry via Server Knobs r=mak,TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D173494
2023-04-04 21:57:47 +00:00
Tif Tran 5c94e5d7c4 Bug 1826403 - Fill blocked sponsored tiles with additional ones r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D174669
2023-04-04 21:48:02 +00:00
Gijs Kruitbosch 193d8a5b5a Bug 1691658 - block http redirects to data: protocol, r=necko-reviewers,ckerschb,valentin
This also adds a network.allow_redirect_to_data pref in case we need to turn
this back on for compat reasons.

Differential Revision: https://phabricator.services.mozilla.com/D173988
2023-04-04 21:41:12 +00:00
Daisuke Akatsuka 450764e514 Bug 1826184: Show go-button even if pasting multiline text on urlbar r=adw
The direct reason why the go-button was hidden when pasting text is that
"usertyping" attribute will not be true.
https://searchfox.org/mozilla-central/rev/8433b62e54fd30663e82f090c4d31554531a2e66/browser/base/content/browser.css#754
When pasting data and removing white space or line break, call preventDefault().
https://searchfox.org/mozilla-central/rev/8433b62e54fd30663e82f090c4d31554531a2e66/browser/components/urlbar/UrlbarInput.sys.mjs#3504-3505
The other hand, if not removing any chars, _on_input() will be called because
don't call preventDefault(). And, the attribute is set in _on_input().
https://searchfox.org/mozilla-central/rev/8433b62e54fd30663e82f090c4d31554531a2e66/browser/components/urlbar/UrlbarInput.sys.mjs#3343

So, we set the attribute even if pasting data is changed as same as _on_input().

Differential Revision: https://phabricator.services.mozilla.com/D174576
2023-04-04 21:40:24 +00:00
Narcis Beleuzu 68d2df6fc6 Backed out changeset a817ea947b55 (bug 1822863) for bustages on lower.py . CLOSED TREE 2023-04-05 00:09:21 +03:00
Shravan Narayan 4a3f703dab Bug 1825445: Ensure hunspell spell checker is not invoked with very long strings r=bholley,glandium
Differential Revision: https://phabricator.services.mozilla.com/D174541
2023-04-04 20:59:33 +00:00
Nika Layzell d6481709e6 Bug 1822863 - Use `Span<...>` in IPDL send signatures, r=ipc-reviewers,mccr8
This should make it possible to send data without copying in some
situations.

This requires adding the `rightconst` attribute to the C++ `Type` type
in order to allow specifying `Span<PFoo* const>`, which isn't possible
to specify with a left const. The type is getting very gross with all of
these flags and it's probably worth switching it to be a recursive
type at this point.

Differential Revision: https://phabricator.services.mozilla.com/D173570
2023-04-04 20:43:32 +00:00
Matthew Gregan 2b45e5a7be Bug 1826241 - Update AudioIPC to 0b51291d. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D174543
2023-04-04 20:27:04 +00:00
Narcis Beleuzu 48c7cb60fe Backed out changeset fa117a5fa4cc (bug 1816137) for bc failure on browser_all_files_referenced.js . CLOSED TREE 2023-04-04 23:28:43 +03:00
Calixte 5734c0371d Bug 1826379 - Update PDF.js to new version 184076fe7acfae9c1e5938151d5d4f95e9e94ea5 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D174652
2023-04-04 20:02:07 +00:00
Jonathan Sudiaman a226fa315c Bug 1816137 - Create async API to query for a list of browser history entries r=mak
Differential Revision: https://phabricator.services.mozilla.com/D171906
2023-04-04 19:07:26 +00:00
Mike Conley 3076e0405f Bug 1825573 - Make the visibility of the about:preferences migration wizard something we can control via Nimbus. r=settings-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D174131
2023-04-04 19:02:20 +00:00
Mark Banner 59c0d67e6c Bug 1825507 - Separate out prettier and ESLint to run as different processes. r=linter-reviewers,devtools-reviewers,ahal
This is enough to allow ESLint and Prettier to be run as different processes within the same lint command.
It does not fix all the failures with those two separate - that will be handled in follow-up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D174133
2023-04-04 19:02:13 +00:00
Mozilla Releng Treescript c660ef7817 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
es-CL -> 087d9f6b23acc0946f06395fb9e6ceee61a734be
fr -> 7521a56689369a36a3139c82f02f5f293d02aae5
fur -> 72dcb2da66738ced9f3fe9da002931b28ad110a9
gn -> c77218c2c1bac30dbaa712f789d53f7d88804efa
hu -> 65d84e06936cb4771625555de5d237702fb717c7
ia -> dc690abf6abae2e4e01fb0df0c757d8f88cd1431
it -> 6fe1c2a767fb4d99d668ab22277ce38c0ee5298b
ko -> c9c71a411dbcf65b5e6631d474252d239365eef5
lo -> 140bbfb58e02091d5a0b2108445f54c4a3a104f5
nn-NO -> f29df3d01883513cec843ade9d90c0911fdd2275
pt-BR -> 2227526ccd94324254534baa213d0e529a9addae
tg -> 2fbd1abef36e3ff1a14fabde6069e361f884204f
uk -> bc38b4545c658a434c2ee623b23a8c8ed7c2e4bd
zh-TW -> 4d2e8e7e90320aec5e8af2e77c394d316a592ec8
2023-04-04 19:00:53 +00:00
Jan Varga ee949589d7 Bug 1639545 - Also run IndexedDB mochitests in private browsing mode.r=dom-storage-reviewers,janv
Depends on D76670

Differential Revision: https://phabricator.services.mozilla.com/D170597
2023-04-04 18:52:50 +00:00
Luca Greco 08446af4ea Bug 1826383 - Fix dynamic rules not converted back into Rule class instances when loaded back from DNR store file. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D174641
2023-04-04 18:50:41 +00:00
Niklas Baumgardner 229e52a604 Bug 1822395 - Telemetry for new PiP controls. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D173079
2023-04-04 18:47:08 +00:00
Steve Fink aabb183c44 Bug 1825675 - Fix string flattening when reusing an extensible string buffer that appears at more than one place in the DAG. r=jandem
Includes a test using a new option to the newString() testing function: `newString("...", { capacity: 1000 })` will create an extensible string with 1000-character capacity.

Differential Revision: https://phabricator.services.mozilla.com/D174198
2023-04-04 18:25:55 +00:00
Mike Conley 77f968a1cb Bug 1826360 - Do not include sponsored tiles for about:home startup cache r=mconley,thecount
Differential Revision: https://phabricator.services.mozilla.com/D174646
2023-04-04 18:25:43 +00:00
Steve Fink 177cdbd4d9 Bug 1740598 - When linting, process only the given revision when --rev is present r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D174539
2023-04-04 18:25:13 +00:00
Lata 982d8e5dbc Bug 1818513 - The Learn more text of moz-support-link should not break across lines. r=tgiles,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D174337
2023-04-04 18:13:41 +00:00
Botond Ballo 2740392b19 Bug 1824480 - Remove ScrollMetadata::mBackgroundColor which is no longer used. r=dlrobertson
This field appears to be unused since bug 1349418.

Differential Revision: https://phabricator.services.mozilla.com/D173598
2023-04-04 18:00:38 +00:00
Narcis Beleuzu f14b77c4f9 Backed out changeset 232faa601cbc (bug 1826155) for bc failure on browser_noLoginsView.js . CLOSED TREE 2023-04-04 21:17:27 +03:00
Bryan Thrall dd4ba1e150 Bug 1773319 - Only define isGCSafe for DEBUG builds
It is only used in MOZ_ASSERT, so it was unused in non-DEBUG builds.

Differential Revision: https://phabricator.services.mozilla.com/D174665
2023-04-04 18:11:16 +00:00
Botond Ballo 538557d8e6 Bug 1825887 - Restore documentation for PWebRenderBridge APIs duplicated from PLayerTransaction. r=dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D174347
2023-04-04 17:41:34 +00:00
Bryan Thrall 39fa73615d Bug 1773319 - Assert if ScriptSource::setDisplayURL() is called more than once r=arai
There is no code path currently which will call setDisplayURL() if it has
already been set. The previous code to report a warning could not execute, and
caused the rooting hazard analysis to report a hazard when setDisplayURL() was
called from the CompileScript API. Removing the call to WarnNumberLatin1()
avoids the hazard.

Differential Revision: https://phabricator.services.mozilla.com/D172337
2023-04-04 17:36:52 +00:00
Bryan Thrall 454b80333b Bug 1773319 - Use wrapper around CompilationInput instead of UniquePtr r=arai
Embedders would not be able to use UniquePtr<CompilationInput> since
CompilationInput is opaque to them.

This also resolves a rooting hazard with the UniquePtr because the JS script
might have a 'uses asm' directive, which the hazard analysis reports could be a
problem if CompilationInput has GC pointers. We know the CompilationInput has
no GC pointers, however because we are only compiling to Stencil.

Differential Revision: https://phabricator.services.mozilla.com/D172336
2023-04-04 17:36:52 +00:00
Bryan Thrall 1ed143bc2a Bug 1773319 - Rework FrontendContex::gcSafeCallback so rooting hazard analysis understands it r=arai
Previously, rooting hazard analysis could report calls to gcSafeCallback as
triggering a GC because of the two calls to callback(). Now it understands that
the single call to callback() will not trigger a GC.

Differential Revision: https://phabricator.services.mozilla.com/D172333
2023-04-04 17:36:51 +00:00
Bryan Thrall e9fadb2ebe Bug 1773319 - Add JS::SetSupportedImportAssertions(FrontendContext*) to API r=arai
Differential Revision: https://phabricator.services.mozilla.com/D170083
2023-04-04 17:36:51 +00:00
Bryan Thrall c6ebb17d23 Bug 1773319 - Compile nonsyntactic scopes with FrontendContext only r=arai
I didn't see a way to detect nonsyntactic scope in the Stencil, but there was
an easy way on the instantiated script.

Differential Revision: https://phabricator.services.mozilla.com/D169734
2023-04-04 17:36:51 +00:00
Bryan Thrall 0625ef156b Bug 1773319 - Add CompileModuleScriptToStencil() and use it r=arai
Differential Revision: https://phabricator.services.mozilla.com/D169658
2023-04-04 17:36:50 +00:00
Bryan Thrall 8b896e9557 Bug 1773319 - Get supportedImportAssertions from FrontendContext r=arai
By default, FrontendContext will not list any supportedImportAssertions, but
there is setSupportedImportAssertions() to set that list once (just like
JS::SetSupportedImportAssertions() for JSRuntime).

This allows users of FrontendContext to set different import assertions than
are in the runtime. I don't know if there will be consequences at runtime if
the FrontendContext used to compile a Stencil had different assertions than the
runtime that is executing the Stencil. For now, any uses of FrontendContext for
modules should make sure that the FrontendContext and the runtime have the same
set of import assertions.

Differential Revision: https://phabricator.services.mozilla.com/D169657
2023-04-04 17:36:50 +00:00
Bryan Thrall f07ae9bfd4 Bug 1773319 - Rename optional maybeCx parameters r=arai
CompileGlobalScriptToStencilAndMaybeInstantiate and
ParseModuleToStencilAndMaybeInstantiate, when the output is
CompilationGCOutput, are instantiating the stencil, so we know `maybeCx` must
not be nullptr.

Differential Revision: https://phabricator.services.mozilla.com/D169656
2023-04-04 17:36:49 +00:00
Bryan Thrall eb998f0168 Bug 1773319 - Pass LifoAlloc to ParseModuleToStencil() as parameter r=arai
Heading toward making the JSContext parameter optional.

Differential Revision: https://phabricator.services.mozilla.com/D169655
2023-04-04 17:36:49 +00:00
Bryan Thrall d4eab439c5 Bug 1773319 - Rename CompileGlobalScriptToStencil r=arai
Since CompileGlobalScriptToStencil(FrontendContext*...) is a thin wrapper
around CompileGlobalScriptToStencil(JSContext*...), it makes sense for the
names to match.

jsapi-test testCompileNonsyntactic's test name conflicted with
testCompileScript's, so I renamed it to more precisely match what it is
testing.

Differential Revision: https://phabricator.services.mozilla.com/D169134
2023-04-04 17:36:49 +00:00
Bryan Thrall f3a6025196 Bug 1773319 - Fix segfault when populating delazification cache r=arai
Differential Revision: https://phabricator.services.mozilla.com/D169133
2023-04-04 17:36:48 +00:00
Bryan Thrall a78c22dc14 Bug 1773319 - Check failure propagation out of ParseGlobalScript() r=arai
Differential Revision: https://phabricator.services.mozilla.com/D169132
2023-04-04 17:36:48 +00:00
Bryan Thrall 57da43c57b Bug 1773319 - Use ParseGlobalScript in compileToStencil testing function, add specific tests r=arai
Differential Revision: https://phabricator.services.mozilla.com/D169131
2023-04-04 17:36:47 +00:00
Bryan Thrall 2728626c64 Bug 1773319 - Add PrepareForInstantiate() to API r=arai
The only failure cases for PrepareForInstantiate() are OOM, which will be
checked in a separate commit.

Differential Revision: https://phabricator.services.mozilla.com/D168683
2023-04-04 17:36:47 +00:00
Bryan Thrall eeadf2e623 Bug 1773319 - Handle Global enclosingScope in CompilationInput::dump() r=arai
Differential Revision: https://phabricator.services.mozilla.com/D168682
2023-04-04 17:36:46 +00:00
Bryan Thrall 943de8bda7 Bug 1773319 - Add CompilationInput parameter to ParseGlobalScript r=arai
The CompilationInput will be needed for PrepareForInstantiate().

Differential Revision: https://phabricator.services.mozilla.com/D168681
2023-04-04 17:36:46 +00:00
Bryan Thrall 0a101d14ae Bug 1773319 - Rename maybeCx parameter of frontend::PrepareForInstantiate r=arai
Differential Revision: https://phabricator.services.mozilla.com/D168680
2023-04-04 17:36:46 +00:00
Bryan Thrall 9dfe84719a Bug 1773319 - Intro API to create/destroy FrontendContext, ParseScript r=arai
Need to fill out jsapi-test for more details and use cases.

ParseGlobalScript() has a stackLimit parameter because I don't expect to
know what the limit for the TaskController task is, or even that the function
is being run by TaskController.

Differential Revision: https://phabricator.services.mozilla.com/D167461
2023-04-04 17:36:45 +00:00
Bryan Thrall 00196ec53e Bug 1773319 - Make cx parameter to CompileGlobalScriptToStencilAndMaybeInstantiate optional r=arai
Differential Revision: https://phabricator.services.mozilla.com/D167460
2023-04-04 17:36:45 +00:00
Iain Ireland 9bbd3cfd74 Bug 1825220: Don't crash on unreachable GetInlinedArgument r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D174530
2023-04-04 17:22:32 +00:00
elephanteatsapple b9ac3332aa Bug 1824870 - Fix Sinon usage in browser_safari_permissions.js. r=mconley,kpatenio
This makes it so that we properly use and restore a Sinon sandbox when stubbing out things
on the SafariProfileMigrator, whereas before we were merely stubbing and not restoring.

Differential Revision: https://phabricator.services.mozilla.com/D174647
2023-04-04 17:08:37 +00:00
Cieara Meador d384a9e859 Bug 1811314 - Nimbus PiP first-time toggle integration r=pip-reviewers,mhowell
This patch adds support for a Nimbus experiment to change from the first-time toggle to the icon toggle after a certain number of days (determined by Nimbus variable `displayDuration`). How long a toggle remains is based on the pref `media.videocontrols.picture-in-picture.video-toggle.first-seen-secs`, which is recorded the first time the pip-expanded toggle is shown to a user.

For more context, see https://docs.google.com/document/d/17IdT-NtDmhC6jzE0txRbqcDg3oNDvgXywyA9dJAZfFc/edit?usp=sharing.

Some details about the Nimbus variables can be found here: https://mozilla-hub.atlassian.net/browse/FIDEFE-3251

For a sample Nimbus recipe to test locally, see https://docs.google.com/document/d/17IdT-NtDmhC6jzE0txRbqcDg3oNDvgXywyA9dJAZfFc/edit?usp=sharing.

Differential Revision: https://phabricator.services.mozilla.com/D172070
2023-04-04 17:01:49 +00:00