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

753002 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 9d38e5590e Bug 1704167 - When a pattern ends in whitespace, try to collapse adjacent white-space. r=jfkthame
This I'm not 100% sure. Should be harmless, but it's a bit subtle.
Maybe we should special-case it with "we're at the beginning of the
pattern"? Reasoning below:

The previous patch restores the performance of the original test-case.

However, if you go to the reduced test-case and try to type " re" in the
findbar, we still take a long time. The reason for that is not that the
previous patch is not effective, but that the findbar sends find
requests as soon as you type, and thus we end up with a request to find
" ", which matches a gazillion spaces in the page and causes us to use
tons of memory and time. Finding " re" is actually super-fast :-)

This fixes it, but it is a bit subtle, so thoughts? Perhaps the findbar
should wait a bit to perform the search before sending a query for " "
instead or something? But I'd rather make it fast.

Differential Revision: https://phabricator.services.mozilla.com/D111634
2021-04-12 16:11:21 +00:00
Bryce Seager van Dyk 4437e99191 Bug 1697641 - Gracefully handle webms with bogus timecodes that conflict other metadata. r=kinetik
This expands on existing checks when getting a webms buffered intervals. The
additional check ensures we don't end up with end < start due to our code that
clamps end at duration.

This patch moves those checks into their own helper function so as to reduce
clutter in GetBuffered.

Differential Revision: https://phabricator.services.mozilla.com/D111152
2021-04-12 16:07:07 +00:00
Valentin Gosu fffedbcc06 Bug 1703216 - Get rid of network.trr.bootstrapAddress pref r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D110913
2021-04-12 16:07:06 +00:00
Emilio Cobos Álvarez f31b6993b8 Bug 1704167 - Don't rewind if we're still at the beginning of the pattern. r=jfkthame
This can happen with whitespace, and can cause us to scan whitespace
exponentially. Should be straight-forward and have no behavior change.

This restores the performance characteristics of the findbar before
the regressing bug.

Differential Revision: https://phabricator.services.mozilla.com/D111633
2021-04-12 16:04:02 +00:00
Lars T Hansen 5d07bd825d Bug 1691886 - Remove BufferSize. r=jandem
Remove the BufferSize abstraction, replace it with size_t everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D111101
2021-04-12 16:01:57 +00:00
Lars T Hansen 5cdb591a55 Bug 1703505 - Flip pref for large ArrayBuffer. r=jandem
Do the minimal amount of work to flip the default sense of the pref from false
to true.

One test case had to be tweaked because it assumed a 2GB max and we had not
stressed this with the --large-arraybuffer switch.

Added a test for the --no-large-arraybuffer switch.

Various test cases had to be tweaked to use the largeArrayBufferEnabled
predicate to guard tests that assumed specific buffer sizes, when those tests
could not easily be updated.

Differential Revision: https://phabricator.services.mozilla.com/D111100
2021-04-12 16:01:57 +00:00
Molly Howell a38e5f8c1b Bug 1704169 - Prevent app menu notification text from running directly against the icon. r=desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D111503
2021-04-12 15:56:13 +00:00
Jonathan Kew 9134a606cf Bug 1704273 - Activate supplemental fonts in all processes on older versions of macOS. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D111603
2021-04-12 15:53:53 +00:00
Tooru Fujisawa 9976fc6782 Bug 1704507 - Specify the MOZ_OBJDIR in debug build mozconfig in documentation. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D111636
2021-04-12 15:49:51 +00:00
Emilio Cobos Álvarez a9c33bfa5b Bug 1703735 - Use assertSnapshots to get the screenshots when the test fails. r=Gijs
This should allow us to diagnose why is it failing.

Differential Revision: https://phabricator.services.mozilla.com/D111646
2021-04-12 15:48:05 +00:00
Julian Seward 2288cd2d95 Bug 1686626 - Enable Ion by default for wasm on AArch64. r=lth.
This patch enables Ion by default as the optimising compiler for wasm on
AArch64, and disables Cranelift.  Cranelift is still available if the build is
configured with --enable-cranelift.  In that case, *only* Cranelift is
available.  There are no configuration flags to enable both Ion and Cranelift
simultaneously.

This mostly reverts the Phase 0 and Phase 1 patches that are bug 1678097
D102420 and D101867 respectively.

The command line option --wasm-force-ion has been removed.

With this patch in place, users of the shell should specify
`--wasm-compiler=optimizing` to get an optimising wasm compiler.  Which one is
provided depends on the configuration options as described above.
`--wasm-compiler=cranelift` and `--wasm-compiler=ion` are now only accepted
when the relevant compiler has been enabled, and so neither is a "safe" way to
request an optimising tier.

For that reason, test directories that previously requested
also-with-Ion-please by stating `test-also=--wasm-compiler=ion;` in their
`directives.txt` file, have been changed to use
`test-also=--wasm-compiler=optimizing;`.

In places where the JSContextOptions are set, the non-selected compiler (Ion
or CL) is explicitly set to `false` (eg, `.setWasmIon(false)`).  This may be
overly conservative, but seems wise given that it's not immediately obvious
what the previous value of that flag is, and given the recent difficulties
with incorrect option propagation/handling (eg, bug 1697560).

Differential Revision: https://phabricator.services.mozilla.com/D101695
2021-04-12 15:46:46 +00:00
Marco Bonardo 3271b9d803 Bug 1702034 - Extension buttons in the location bar are very hard to see with the Proton Dark theme. r=harry,desktop-theme-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D111422
2021-04-12 15:42:15 +00:00
Falguni Islam 5ccde0b7a0 Bug 1702579: fix eslint browser/extensions/screenshots/test/browser/injection-page.html r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D110760
2021-04-12 15:38:46 +00:00
Tom Schuster af15083e8c Bug 1704293 - Use Maybe<PropertyDescriptor> for SetPropertyIgnoringNamedGetter. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D111538
2021-04-12 15:34:19 +00:00
Lee Salzman a282f72724 Bug 1669314 - Adjust fuzz more for layout/reftests/css-grid/grid-fragmentation-dyn2-031. r=aosmond,gfx-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D111532
2021-04-12 15:29:06 +00:00
Lee Salzman 7da7463df3 Bug 1704235 - Avoid CString conversions in WR CrashAnnotationGuard. r=aosmond
We seem to be hitting a surprising amount of allocator contention just allocating
and converting the CString inside CrashAnnotationGuard. This just modifies the
previous patch to cache that conversion so that we never have to do it dynamically.

Differential Revision: https://phabricator.services.mozilla.com/D111537
2021-04-12 15:28:33 +00:00
Emilio Cobos Álvarez 5d21f0d4b1 Bug 1704491 - SwTile::dirty_rect is never read. r=gfx-reviewers,bradwerth
This warns with rust nightly.

Differential Revision: https://phabricator.services.mozilla.com/D111626
2021-04-12 15:25:22 +00:00
Edgar Chen 9fe82157a7 Bug 1662723 - Wait for APZ get stable in test_focus_blur_on_click_in_cross_origin_iframe.html; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D111259
2021-04-12 15:23:02 +00:00
Edgar Chen 23160e3980 Bug 1681368 - Wait for APZ get stable in test_focus_blur_on_click_in_deep_cross_origin_iframe.html; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D111267
2021-04-12 15:22:26 +00:00
Mark Banner ea5cbfaf4b Bug 1688088 - Update Bing logo for top sites. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D111630
2021-04-12 15:20:45 +00:00
Jamie Nicol 7abb7ce304 Bug 1615574 - Disable webrender shader cache on Adreno 3xx. r=aosmond
Loading cached shaders with glProgramBinary fails consistently for all
but the most trivial of our shaders on Adreno 3xx, so caching and
attempting to load them is a waste of time. Chromium and other
projects also appear to have disabled their shader caches on Adreno
3xx due to bugs.

This patch moves the gfx.webrender.program-binary-disk pref
declaration from all.js to StaticPrefList.yaml. Rather than directly
using the value of the pref to decide whether to create the shader
cache, we now initialize a Feature in gfxConfigManager with a default
value from the pref and then configure it from the blocklist. On
Android we block the feature on Adreno 3xx devices. The pref remains
true by default on Android and Windows, and false by default on Linux
and Macos.

Differential Revision: https://phabricator.services.mozilla.com/D111427
2021-04-12 15:14:12 +00:00
ffxbld 0a36f70ec9 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D111640
2021-04-12 15:03:20 +00:00
Harry Twyford 4742946250 Bug 1702773 - Align Urlbar row spacing with spec. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D111472
2021-04-12 14:53:31 +00:00
Jan de Mooij 044325a91e Bug 1704357 - Move testing functions outside JS_TRACE_LOGGING ifdef. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D111582
2021-04-12 14:35:33 +00:00
Francesco Lodolo (:flod) f39ec97e9f Bug 1704315 - Change l10n IDs for "Stop" button in process hang infobar, r=florian
Only the label was changed in bug 1694229, causing issues with the existing access key (still used in <89 for "Stop it").
Changing both IDs to force retranslation.

Differential Revision: https://phabricator.services.mozilla.com/D111576
2021-04-12 13:51:01 +00:00
Chris H-C df5ab241a1 Bug 1704106 - Expose timespan's set_raw API to all FOG languages r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D111489
2021-04-12 13:49:16 +00:00
Chris H-C b6ba57df3c Bug 1704106 - Update Glean SDK to v36.0.1 r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D111488
2021-04-12 13:49:15 +00:00
Geoff Brown c792752b09 Bug 1704245 - Dump less device info in android test logs; r=jmaher
Make android test logs simpler and easier to read by removing less helpful diagnostic info.

Differential Revision: https://phabricator.services.mozilla.com/D111526
2021-04-12 13:38:28 +00:00
Hubert Boma Manilla 2b7c7fb741 Bug 1697437 - [devtools] Check if the listener has already been cleaned up r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D107808
2021-04-12 13:23:36 +00:00
Sarah Ukoha 7dcc588638 Bug 1700890 - Add a row of space between the 'Logins and passwords imported to Firefox' description and the 'Learn more' link on the 'Import Summary Report' page r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D111475
2021-04-12 13:09:27 +00:00
Gabriele Svelto fdfba1f074 Bug 1682516 - Fix resizing the crash reporter client window when the URL field is not present r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D109347
2021-04-12 13:08:52 +00:00
Itiel ed2ba64f44 Bug 1704101 - Remove top border from first item in about:certificate r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D111419
2021-04-12 13:05:10 +00:00
Sebastian Hengst 057f58ef49 Bug 1703853 - set background-color-animation-with-table3.html as intermittently timing out on all platforms. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D111625
2021-04-12 12:19:38 +00:00
Paul Zuehlcke 6c972eed88 Bug 1698991 - Merge tab level proxy auth prompts with window prompts with matching auth-realm. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D110396
2021-04-12 12:18:24 +00:00
stransky 732d2f9a2f Bug 1703765 [Wayland] Use widget.wayland.test-workarounds.enabled pref to apply Wayland focus workaround, r=jhorak
Use widget.wayland.test-workarounds.enabled pref to apply Wayland focus workaround - hide/show nsWindow.
Delay nsWindow::Show() operation to avoid Gtk merge both operations to one which may result to no-op.

Depends on D111600

Differential Revision: https://phabricator.services.mozilla.com/D111601
2021-04-12 12:11:20 +00:00
stransky a2e4e7df61 Bug 1703765 [Wayland] Use widget.wayland.test-workarounds.enabled pref to specify Wayland test environment. r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D111600
2021-04-12 12:11:19 +00:00
Luca Greco 8060cca36a Bug 1703889 - Move disabled action fill-opacity rule into non Proton CSS rules. r=mak
In the Proton UI the disabled extension pageActions are not available in both the urlbar
and the urlbar overflow menu, and non or the builtin actions seems to be visible when
disabled in Proton. And so this particular rule isn't needed in Proton and can be moved
into the group of stylesheet rules restricted to the non-Proton UI.

Differential Revision: https://phabricator.services.mozilla.com/D111602
2021-04-12 12:07:00 +00:00
Luca Greco 1bdc1299b6 Bug 1703889 - Ensure hidden extension pageAction are not visible in the urlbar overflow menu on Proton. r=mixedpuppy,mak
Differential Revision: https://phabricator.services.mozilla.com/D111423
2021-04-12 12:06:59 +00:00
Kershaw Chang c34f63634c Bug 1660307 - Get rid off nsSupportsWeakReference for WebSocketImpl, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D111059
2021-04-12 11:50:35 +00:00
Nicolas Silva ca6fff0666 Bug 1702638 - Add the test case. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D111135
2021-04-12 11:22:10 +00:00
Nicolas Silva c7fd490fc2 Bug 1702638 - Set a maximum resolution for conic gradients. r=gw
This patch avoids rasterizing huge conic gradient render tasks by setting a max resolution on each axis and passing a scale factor to the shader (simply reducing the resolution and stretching a conic gradient would be incorrect when the scaling isn't the same on the x and y axis).

Differential Revision: https://phabricator.services.mozilla.com/D111134
2021-04-12 11:22:10 +00:00
Nicolas Silva 139b65259c Bug 1702638 - Avoid rendering large gradients when stretch_size is larger than the primitive rect. r=gw"
Differential Revision: https://phabricator.services.mozilla.com/D111133
2021-04-12 11:22:10 +00:00
Valentin Gosu bd3be306ce Bug 1700866 - Call UpdatePrivateBrowsing() unconditionally in AsyncOpen r=necko-reviewers,dragana
See https://bugzilla.mozilla.org/show_bug.cgi?id=1670506#c10
The loadInfo mPrivateBrowsingId value could have changed between the creation
of the channel and calling AsyncOpen, so it's best to call it unconditionally.

Differential Revision: https://phabricator.services.mozilla.com/D111109
2021-04-12 11:07:51 +00:00
Gabriel Luong f12235b53c Bug 1692840 - Add "Open a New Tab" at the top of the tabstrip context menu. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D108365
2021-04-12 10:28:46 +00:00
championshuttler 7f636f4e6c Bug 1704061 - Fix FileNotFoundError code-coverage-grcov.zip.r=marco
Differential Revision: https://phabricator.services.mozilla.com/D111586
2021-04-12 09:21:34 +00:00
Sarah Ukoha 6a9d25cca9 Bug 1663143 - Display The Avif file Type as avif in about:telemetry#events-tab r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D111584
2021-04-12 09:13:37 +00:00
Sebastian Hengst 1906ce5aed Bug 1704265 - set upgrade-insecure-requests/gen/srcdoc-inherit.meta/unset/sharedworker-import.https.html as passing on Linux tsan. DONTBUILD
The timeout expectation got added after the synchronization of
web-platform-tests with the upstream repository in bug 1702830.

Differential Revision: https://phabricator.services.mozilla.com/D111585
2021-04-12 09:00:17 +00:00
Yoshi Cheng-Hao Huang 181f0dc91b Bug 1703181 - Part 2: Dispatch to TaskController. , r=KrisWright
We also call setHelperThreadTaskCallback earlier, now it's done in
XPCJSContext::Initialize. So GlobalHelperThreadState could know earlier
if we're dispatching to a external thread pool.

Differential Revision: https://phabricator.services.mozilla.com/D110924
2021-04-12 08:31:50 +00:00
Yoshi Cheng-Hao Huang 09d607f872 Bug 1703181 - Part 1: Remove HelperThreadPool. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D110923
2021-04-12 08:31:50 +00:00
Ed Lee 4af649ea1a Bug 1699237 - Show Pin instead of Default screen for Windows. r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D108836
2021-04-12 08:30:53 +00:00