Commit Graph

827812 Commits

Author SHA1 Message Date
Mark Banner
25fef6e5d5 Bug 1811797 - Change browser_Troubleshoot.js to use add_task rather than spinning it's own async handling. r=mossop
Depends on D167516

Differential Revision: https://phabricator.services.mozilla.com/D167517
2023-01-23 18:09:02 +00:00
Mark Banner
60852a03b7 Bug 1811797 - Make Troubleshoot.snapshot an async function, rather than using a callback. r=mossop,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D167516
2023-01-23 18:09:02 +00:00
Jonatan Klemets
822c7b989a Bug 1811737 - Move processAssertions before append in ModuleBuilder::appendModuleRequest r=jonco
We need to call `processAssertions` before we append `moduleRequests_` because
the append will invoke the `StencilModuleRequest` copy constructor.

Differential Revision: https://phabricator.services.mozilla.com/D167489
2023-01-23 17:50:03 +00:00
Drew Willcoxon
96b4e10392 Bug 1811373 - Cache weather suggestion l10n strings and allow L10nCache to cache strings only by ID. r=dao
This caches weather suggestion l10n strings by adding `cacheable: true` to the
view update object returned by the provider. Doing so hooks into UrlbarView's
dynamic result type functionality [here](https://searchfox.org/mozilla-central/rev/738b761bb2847f609f9cacc550680071cdc53637/browser/components/urlbar/UrlbarView.sys.mjs#1737-1739).

w/r/t l10n strings and caching, weather suggestions are a bit of a new case
because most of these strings take arguments that can't be known in advance and
that will change over time. For a string with arguments, L10nCache creates a
cache key by concating the string's ID and the values of its arguments. That
makes sense for strings whose values are things like search engine names, where
the set of possible argument values is small and where we may need to show
different translated strings when for example the search engine changes. For
those strings, we want to cache the translated strings separately using
different keys.

Weather suggestion strings like "20°C" are a different story. The ideal UX for
these strings is: While the UI is waiting for the string to be re-localized with
new argument values, it should show the previous localized string with the old
argument values. If the argument values have changed, there will still be some
flicker as the old values are replaced with the new ones, but it's the best we
can do, and at least there won't be empty space in the UI.

This isn't possible with L10nCache right now due to how it creates cache keys,
as mentioned earlier. So I added a new option that tells it to cache strings by
ID only, excluding argument values. That way only one translated string is
cached regardless of whatever argument values it was cached with.

Differential Revision: https://phabricator.services.mozilla.com/D167318
2023-01-23 17:49:55 +00:00
Michael Froman
f598c00e27 Bug 1811881 - remove trailing spaces in third_party/libwebrtc/modules/desktop_capture/BUILD.gn r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D167574
2023-01-23 17:28:40 +00:00
Noemi Erli
86d59c0b78 Backed out changeset c37b70009a8b (bug 1804264) for causing failures in Geolocation.cpp CLOSED TREE 2023-01-23 19:11:47 +02:00
Drew Willcoxon
d77207c430 Bug 1811387 - Set width and height on weather suggestion icons. r=dao
I didn't realize before now that most of these SVGs have a height of 23 but six
of them have a height of 22.

Differential Revision: https://phabricator.services.mozilla.com/D167323
2023-01-23 17:07:01 +00:00
cdengler
3a2b24f085 Bug 1807831 - Add a check to make sure that we don't regress the number of warnings r=sylvestre,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D167528
2023-01-23 16:49:17 +00:00
ogiorgis
1dfa7e23a3 Bug 1557020 - Don't remove unaccounted files while building docs r=sylvestre
While copying sphinx files, some unmodified static files were deleted.

Differential Revision: https://phabricator.services.mozilla.com/D167397
2023-01-23 16:40:07 +00:00
Gregory Pappas
e8231395b2 Bug 1804264 - Refactor PermissionUI to use JS class r=pbz
Also, esmify.

Differential Revision: https://phabricator.services.mozilla.com/D167074
2023-01-23 16:30:32 +00:00
Bilal
a3d0c20309 Bug 1798634 - Converted AboutHttpsOnlyError JSM modules to ESM. r=kpatenio,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D167450
2023-01-23 16:26:37 +00:00
Butkovits Atila
cfb5b51ba3 Backed out changeset b3389fd511a0 (bug 1795506) for causing failures complaining about transferFromImageBitmap. CLOSED TREE 2023-01-23 18:30:42 +02:00
Emilio Cobos Álvarez
e8d9ad8d88 Bug 1811487 - Clean-up popup hide / rollup APIs. r=cmartin
I'm about to extend them for bug 1811486, where I want to force in some
cases the rolled up popups to hide synchronously. These APIs use a ton
of boolean arguments that make them error prone, so refactor them a bit
to use strongly typed enums and flags.

Differential Revision: https://phabricator.services.mozilla.com/D167381
2023-01-23 16:15:00 +00:00
Olli Pettay
0807bf1f0e Bug 1811822 - nsFrameLoader::LoadContext() may return null, yet the webidl binding doesn't expect that., r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D167534
2023-01-23 16:07:01 +00:00
Emilio Cobos Álvarez
32352440fc Bug 1811487 - Clean-up some popup opening/closing code. r=tnikkel
No behavior change, but while I was going through this code I cleaned it
up a bit.

Differential Revision: https://phabricator.services.mozilla.com/D167380
2023-01-23 16:03:30 +00:00
Dão Gottwald
05e5fefb46 Bug 1810647 - Prepare for enable urlbar result menu in Nightly. r=mak,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D167004
2023-01-23 15:54:53 +00:00
Marco Bonardo
dcf59d8716 Bug 1760074 - Frequent failure of test_MigrationUtils_timedRetry.js. r=Gijs
For how much it may sound strange, sometimes all the reads just happen before
the write, so they won't see the table.
Also fixes a wrong check on previousException.

Differential Revision: https://phabricator.services.mozilla.com/D167478
2023-01-23 15:44:10 +00:00
Angus Sawyer
ebb3edc329 Bug 1795506 Throw from transferFromImageBitmap when bitmap is detached, r=smaug
Thow expected error when attempting to use bitmap that has been detached with an imageBitmapRenderingContext.

Differential Revision: https://phabricator.services.mozilla.com/D166552
2023-01-23 15:42:38 +00:00
Gregory Pappas
5d44f7a543 Bug 1811347 - Remove useless parameter from TextEncoder constructor r=emk,webdriver-reviewers,extension-reviewers,credential-management-reviewers,dimi,jdescottes,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D167488
2023-01-23 15:41:49 +00:00
Greg Stoll
9e889916c5 no bug - fx doc: update blocklisting page for new GPU_PROCESSES capability r=gsvelto DONTBUILD
This was added in bug 1804023 and I forgot to update the docs

Differential Revision: https://phabricator.services.mozilla.com/D167567
2023-01-23 15:38:37 +00:00
Andreas Pehrson
21a9e61935 Bug 1800942 - Switch to stdout as it will get logged by the mochitest runner. r=mjf
Also log `this` to distinguish between potentially more than one extrapolator.

Differential Revision: https://phabricator.services.mozilla.com/D167548
2023-01-23 15:36:16 +00:00
Hanna Jones
411e26c16f Bug 1809457 - disable wonky Storybook addons r=mstriemer
These addons either no longer work with our custom element wrapper, or never really worked:

* backgrounds - isn't super useful because it doesn't follow theme and now doesn't have any visible effect
* mesaure - this one breaks when you click on it, it seems to be looking for a specific root element
* outline - this stil works on the docs page but isn't really useful on the main story page anymore

Differential Revision: https://phabricator.services.mozilla.com/D167295
2023-01-23 15:22:08 +00:00
Neil Deakin
a042feb376 Bug 1809840, tabs sharing devices menu is not showing captured windows, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D167355
2023-01-23 15:14:22 +00:00
Neil Deakin
1d2e8169a6 Bug 1808918, use Untitled as the default filename when saving a file rather than index, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D167028
2023-01-23 14:53:21 +00:00
Greg Stoll
126f48a2b0 Bug 1811271 - sort blocked DLLs at the top of the list r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D167292
2023-01-23 14:51:45 +00:00
Jonathan Kew
dfdbb650e6 Bug 1810099 - Avoid unnecessary static_cast in SVGClipPathFrame::GetBBoxForClipPathFrame. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D167556
2023-01-23 14:46:44 +00:00
Kelly Cochrane
69725bd383 Bug 1792017 - Prevent ability to multiselect hidden tabs such as Fx View r=sclements
Differential Revision: https://phabricator.services.mozilla.com/D167306
2023-01-23 14:44:23 +00:00
Jonas Jenwald
0836248908 Bug 1811457 - Transfer, rather than copy, PDF-data to the viewer. r=pdfjs-reviewers,robwu,calixte
In order to reduce overall memory usage, we should transfer PDF-data from the platform code to the PDF Viewer.

Differential Revision: https://phabricator.services.mozilla.com/D167368
2023-01-23 14:26:38 +00:00
Andreas Pehrson
88784e3a63 Bug 1808680 - Report some input variables to get clues on the crash. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D167553
2023-01-23 14:04:50 +00:00
Benjamin VanderSloot
07553571da Bug 1811747 - Fix Crash in [@ mozilla::IdentityCredentialStorageService::Observe] - r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D167549
2023-01-23 14:18:25 +00:00
Julian Seward
e661c6d404 Bug 1811024 - wasm-baseline: speed up creation of stack maps. r=rhunt.
The wasm baseline compiler slows down significantly when compiling code that
has extensive need of stack maps, for example the Dart-Barista benchmark.
This is because StackMapGenerator::createStackMap spends a lot of time
iterating over a vector of booleans, one element at a time, to identify
reftyped stack slots.

This patch gives `class MachineStackTracker` its own iterator class `Iter` to
hide the details.  This provides fast(er) iteration by scanning backwards
through the vector of booleans until the scan-index becomes 8-aligned.  After
that, it jumps backwards in steps of 8 elements to the extent possible.

For a --no-threads --wasm-compiler=baseline compilation only of Barista 3,
this reduces compilation time from 0.110 to 0.082 user seconds (Intel Core i5
1135G7).

Differential Revision: https://phabricator.services.mozilla.com/D167288
2023-01-23 13:54:34 +00:00
Valentin Gosu
732dbdcf90 Bug 1790287 - Update WPT expectations r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D166767
2023-01-23 13:53:57 +00:00
Valentin Gosu
b42cdb564f Bug 1790287 - Search for xn-- prefix ignoring case r=necko-reviewers,kershaw
The crash was caused by us loading `http://a.b.c.XN--pokxncvks/`
Because we searched for xn-- case sensitively, the first time around
the URL would parse, and would be lowercased, but when deserializing
the nsIPrincipal we would then fail to parse it.

Differential Revision: https://phabricator.services.mozilla.com/D166649
2023-01-23 13:53:56 +00:00
Gabriele Svelto
ca827af9eb Bug 1811442 - Automatically reject requests for MIDI access when no implementation is present r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D167452
2023-01-23 13:41:47 +00:00
Butkovits Atila
8ee1c95687 Backed out 2 changesets (bug 1811487) for causing failures at browser_PanelMultiView_keyboard.js. CLOSED TREE
Backed out changeset 88c5316c2183 (bug 1811487)
Backed out changeset 6350911c1c8d (bug 1811487)
2023-01-23 16:18:50 +02:00
ffxbld
f365a6d384 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D167533
2023-01-23 13:00:58 +00:00
Ho Cheung
7263b6c141 Bug 1811225 - Remove unused parameters from CheckRecursiveLoad r=manuel
Remove unused parameters from CheckRecursiveLoad in DocumentLoadListener.cpp

Differential Revision: https://phabricator.services.mozilla.com/D167348
2023-01-23 12:55:31 +00:00
Ho Cheung
68d6709804 Bug 1777218 - Remove unused XMLHTTPRequestMainThread::SetRequestObserver() r=manuel
Remove unused XMLHTTPRequestMainThread::SetRequestObserver() in code

Differential Revision: https://phabricator.services.mozilla.com/D167347
2023-01-23 12:55:30 +00:00
Manuel Bucher
34ec504f65 Bug 1811234 - Split up browser_103_preload to avoid intermittents on TV OSX r=necko-reviewers,valentin
Depends on D166937

Differential Revision: https://phabricator.services.mozilla.com/D167250
2023-01-23 12:35:45 +00:00
Manuel Bucher
929062561e Bug 1810546 - Early Hints: Honor network.preload config by not preloading when disabled r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D166937
2023-01-23 12:35:45 +00:00
Emilio Cobos Álvarez
5c3fc07c2e Bug 1811487 - Clean-up popup hide / rollup APIs. r=cmartin
I'm about to extend them for bug 1811486, where I want to force in some
cases the rolled up popups to hide synchronously. These APIs use a ton
of boolean arguments that make them error prone, so refactor them a bit
to use strongly typed enums and flags.

Differential Revision: https://phabricator.services.mozilla.com/D167381
2023-01-23 11:58:25 +00:00
Emilio Cobos Álvarez
f525107cb0 Bug 1811487 - Clean-up some popup opening/closing code. r=tnikkel
No behavior change, but while I was going through this code I cleaned it
up a bit.

Differential Revision: https://phabricator.services.mozilla.com/D167380
2023-01-23 11:58:24 +00:00
Tom Schuster
1d0c52ff34 Bug 1810964 - Replace callers of nsContentUtils::ResistFingerprinting. r=tjr,emilio
Differential Revision: https://phabricator.services.mozilla.com/D167169
2023-01-23 11:52:56 +00:00
Lu Yahan
a2bed06bf8 Bug 1800431 - Add riscv64 backend.r=nbp,jseward,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D161986
2023-01-23 11:51:35 +00:00
Lu Yahan
affd777c4d Bug 1800431 - Add riscv64 backend about non riscv64 file.r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D163407
2023-01-23 11:51:35 +00:00
Lu Yahan
7bbe78478c Bug 1800431 - Add jit build condig for riscv64.r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D163406
2023-01-23 11:51:34 +00:00
William Durand
a1f393ad66 Bug 1799009 - Remove gUnifiedExtensions.isEnabled. r=rpl,mconley
Depends on D166923

Differential Revision: https://phabricator.services.mozilla.com/D166934
2023-01-23 10:39:29 +00:00
William Durand
242047174f Bug 1799009 - Remove promiseEnableUnifiedExtensions() in test files. r=mconley,rpl
Depends on D166908

Differential Revision: https://phabricator.services.mozilla.com/D166923
2023-01-23 10:39:29 +00:00
Emilio Cobos Álvarez
236a544bba Bug 1793747 - Address comment nits that I forgot to upload.
DONTBUILD

MANUAL PUSH: Trivial change CLOSED TREE
2023-01-23 11:40:23 +01:00
Jan de Mooij
881f4bf5a7 Bug 1811231 part 2 - Fix source location for bytecode emitted in FunctionScriptEmitter::emitEndBody. r=arai
This now matches what we do for the `RetRval` at the end of the function: the
location is the closing '}'.

Differential Revision: https://phabricator.services.mozilla.com/D167257
2023-01-23 10:27:17 +00:00