Commit Graph

766363 Commits

Author SHA1 Message Date
Harry Twyford
d98d1e3baa Bug 1724878 - Apply fill:currentColor to #urlbar-search-mode-indicator-close. r=dao
This fixes the bug but retains the fix for the unfiled bug I mentioned in [this](https://phabricator.services.mozilla.com/D117029#inline-649451) Phabricator comment. Basically we want fill:var(--toolbar-field-color) when the Urlbar is unfocused and fill:var(--toolbar-field-focus-color) when it's focused.

Differential Revision: https://phabricator.services.mozilla.com/D122480
2021-08-13 14:05:11 +00:00
Mike Conley
cc5a65967c Bug 1725489 - Add loadType flags to nsITopLevelNavigationDelegate.shouldNavigate. r=smaug
This will, for example, make it possible to behave differently for a normal navigation,
a reload navigation, a history navigation, and a pushstate navigation.

Differential Revision: https://phabricator.services.mozilla.com/D122532
2021-08-13 13:59:28 +00:00
Jon Coppeard
68d56c9d2a Bug 1725584 - Update JS_SetGCParametersBasedOnAvailableMemory with reasonable current values r=sfink
This function is only used by the shell, and then only when --avilable-memory
is passed, but it could be used as a source of parameter values for low memory
systems so we should make them resonable at least.

Looking at this the current normal values are out of date with the defaults,
and one parameter is repeated several times. I'm not sure what happened here.

Depends on D122601

Differential Revision: https://phabricator.services.mozilla.com/D122602
2021-08-13 13:58:25 +00:00
Jon Coppeard
3ae7384840 Bug 1725584 - Add browser prefs for more GC parameters r=smaug
Depends on D122600

Differential Revision: https://phabricator.services.mozilla.com/D122601
2021-08-13 13:58:25 +00:00
Jon Coppeard
1d3904469d Bug 1725584 - Rename urgent threshold parameter to reflect that the value is in MB r=sfink
Depends on D122599

Differential Revision: https://phabricator.services.mozilla.com/D122600
2021-08-13 13:58:24 +00:00
Jon Coppeard
82c0457d03 Bug 1725584 - Support getting the urgent threshold parameter r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D122599
2021-08-13 13:58:24 +00:00
Nicolas Chevobbe
cd3938e734 Bug 1723958 - [devtools] Use targetActor.originalWindow instead of window in bfcache navigation. r=jdescottes.
During the pagehide event, we're checking that the target we're navigating away
from is the expected one.
We previously used the window property, but this is a getter that is updated when
a document is selected in the iframe picker.
Since the goal is to check the actual document the target was created for, we
can use the originalWindow property instead.

A test is added, which is failing without the fixes of this patch.

We take this as an opportunity to clear the iframe picker list on will-navigate,
(as the test was failing on Fission without this), which allows us to remove the
`_notifyDocShellDestroyAll` method of the `BrowsingContextTargetActor` that was
also called before emitting the `will-navigate` event.

Differential Revision: https://phabricator.services.mozilla.com/D121727
2021-08-13 13:50:44 +00:00
Hubert Boma Manilla
e4899f2938 Bug 1722337 - [devtools] Fix intermittent failures on browser_net_stacktraces-visibility.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D122114
2021-08-13 13:46:37 +00:00
Andrew McCreight
afce156471 Bug 1723391 - Use RefPtr in ContentChild::RecvGetFilesResponse. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D122306
2021-08-13 13:41:16 +00:00
Lars T Hansen
2327ca692e Bug 1720650 - Fix codegen problem in narrowing. r=yury
The ARM64 architecture uses two instructions to implement SIMD narrowing,
SQXTN and SQXTN2 (and their unsigned-saturation variants).  These are not
quite symmetric: the former will clear the upper bits of the output register
and set the lower bits, while the latter will just set the upper bits.
To implement an across-the-vector narrowing, the former must be executed
before the latter.

For some operations, we execute them in the other order to save a move.
But this is incorrect, so this patch reintroduces the move when it
is required.  This effectively makes the three-address operations the
same as the two-address operations and it's possible we want to
propagate the fix higher up in the stack to avoid the duplication of
code, but for now a local fix seems best.

Differential Revision: https://phabricator.services.mozilla.com/D122587
2021-08-13 13:38:55 +00:00
Masayuki Nakano
2b288fd8d0 Bug 1636541 - Add reported testcase into the tree r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D122548
2021-08-13 12:16:33 +00:00
Masayuki Nakano
8f7d5cd728 Bug 1626002 - Add reported testcase into the tree r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D122547
2021-08-13 12:16:32 +00:00
Masayuki Nakano
ba5f5f3c5d Bug 1623166 - Add reported testcase into the tree r=m_kato
The test causes different assertion count between platforms.  As the comment in
crashtests.list, the difference is whether "removeList" command enabled check
is run at getting focus or not.  Perhaps, the difference is caused by whether
HTML commands are initialized before or after executing "indent" command.

Differential Revision: https://phabricator.services.mozilla.com/D122546
2021-08-13 12:16:32 +00:00
Henri Sivonen
10374eb129 Bug 1724101 - Protect nsHtml5StreamListener::mDelegate with a monitor. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D122471
2021-08-13 12:13:48 +00:00
Christoph Kerschbaumer
56f30defc0 Bug 1722871: Do not explicitly call popPrefEnv after test finishes when annotated with https_first_disabled r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D121167
2021-08-13 12:05:47 +00:00
sanketh
0689bd0869 Bug 531915 - part 6 - optionally use fdlibm's sin, cos, and tan in jsmath r=tjr,arai
Adds a new preference javascript.options.use_fdlibm_for_sin_cos_tan (default
false) and uses fdlibm for Math.sin, Math.cos, and Math.tan conditioned on it.

Differential Revision: https://phabricator.services.mozilla.com/D119426
2021-08-13 11:57:07 +00:00
sanketh
84f294db2b Bug 531915 - part 5 - build and export sin, cos, and tan from fdlibm r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119425
2021-08-13 11:57:06 +00:00
sanketh
3fe5fa4059 Bug 531915 - part 4 - rem pio2 fixups r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119424
2021-08-13 11:57:06 +00:00
sanketh
6ce4ce9c3b Bug 531915 - part 3 - add back needed rounding helpers and emulate freebsd internal double types ?tjr r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119423
2021-08-13 11:57:06 +00:00
sanketh
2c782c8089 Bug 531915 - part 2 - update fdlibm local patches 4, 8, and 9 r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119422
2021-08-13 11:57:05 +00:00
sanketh
8d898c13b9 Bug 531915 - part 1 - update fdlibm to import files needed for sin, cos, and tan r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119420
2021-08-13 11:57:05 +00:00
Emilio Cobos Álvarez
ad5e89ee0d Bug 1722886 - Add a way to override prefers-color-scheme for content without messing with widget values. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D122455
2021-08-13 11:02:38 +00:00
Cosmin Sabou
87e906e19d Backed out changeset 94d021b67f6f (bug 1716594) for causing Bug 1725458. CLOSED TREE 2021-08-13 13:52:09 +03:00
Lars T Hansen
33c3e47f98 Bug 1724201 - Relaxed SIMD FMA/FMS for x86 and arm64. r=yury
Implement the fused multiply-add and fused multiply-sub relaxed SIMD
operations.

See https://github.com/WebAssembly/relaxed-simd/issues/27 for proposed
spec of these operations.

There's no wat support for this yet - it will comes in separately - so
the test cases are a little rudimentary for now.  More tests will
appear later.

Differential Revision: https://phabricator.services.mozilla.com/D121870
2021-08-13 10:09:48 +00:00
Lars T Hansen
ec888b630d Bug 1724201 - Repurpose the vector bitselect node as a general ternary op node. r=yury
For FMA and FMS we will need a ternary node, and bitselect already has
the right shape and logic.  We just need to rename it and generalize
it slightly with the SIMD op as a parameter, as we have for many other
nodes.

Drive-by fix: bitselect on arm64 does not actually need a temp
register.

Differential Revision: https://phabricator.services.mozilla.com/D122080
2021-08-13 10:09:48 +00:00
Lars T Hansen
f4d6e12ab0 Bug 1724201 - Drive-by cleanup, remove some dead code. r=yury
The "experimental" feature is no longer defined and this predicate can
just go away - it should have been removed with the feature.

Differential Revision: https://phabricator.services.mozilla.com/D122079
2021-08-13 10:09:47 +00:00
Butkovits Atila
865f0eadc3 Backed out changeset 3c045e65fad4 (bug 1725523) for causing failures at browser_default_audio_filename.js. CLOSED TREE 2021-08-13 13:16:47 +03:00
hmh
6a32d03871 Bug 1725496 - Remove obsolete GTK/X11 event compression. r=stransky,emilio
According to the GTK/GDK docs:
https://docs.gtk.org/gdk3/method.Window.set_event_compression.html event
compression is enabled by default and there is no need to manually remove
motion events anymore.

Differential Revision: https://phabricator.services.mozilla.com/D122534
2021-08-13 09:52:53 +00:00
Christoph Kerschbaumer
4c90be2a98 Bug 1685479 - Flip pref dom.block_download_insecure r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100993
2021-08-13 09:33:15 +00:00
Tim Huang
9d48a53b5d Bug 1698195 - Part 2: Enable test_classifier.html for fission. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D122518
2021-08-13 09:32:36 +00:00
Tim Huang
165194b9ae Bug 1698195 - Part 1: Change the test domain to mochi.test for test_classifier.html to comply with principal vetting. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D122517
2021-08-13 09:32:36 +00:00
Sebastian Hengst
536ae6da1a Merge mozilla-central to autoland. CLOSED TREE 2021-08-13 11:38:25 +02:00
Sebastian Hengst
95d8478112 Merge autoland to mozilla-central. a=merge 2021-08-13 11:26:38 +02:00
Jan de Mooij
36c82d06aa Bug 1725348 part 12 - Optimize Array allocation with slotSpan == 0 a bit more. r=jonco
Depends on D122431

Differential Revision: https://phabricator.services.mozilla.com/D122432
2021-08-13 09:20:37 +00:00
Jan de Mooij
67bbfcddf9 Bug 1725348 part 11 - Make ArrayObject::createArray more consistent with other allocation functions. r=jonco
Rename to just "create" and add missing call to debugCheckNewObject for consistency
with JSFunction, NativeObject, TypedObject.

Depends on D122430

Differential Revision: https://phabricator.services.mozilla.com/D122431
2021-08-13 09:20:37 +00:00
Jan de Mooij
3e70201e92 Bug 1725348 part 10 - Inline createArrayInternal in its sole caller. r=jonco
Depends on D122429

Differential Revision: https://phabricator.services.mozilla.com/D122430
2021-08-13 09:20:36 +00:00
Jan de Mooij
bef512c230 Bug 1725348 part 9 - Inline finishCreateArray in its sole caller. r=jonco
Depends on D122428

Differential Revision: https://phabricator.services.mozilla.com/D122429
2021-08-13 09:20:36 +00:00
Jan de Mooij
685c06a707 Bug 1725348 part 8 - Rename arrayShape to arrayShapeWithDefaultProto. r=jonco
This is more descriptive and more consistent with code added in the previous patch.

Depends on D122427

Differential Revision: https://phabricator.services.mozilla.com/D122428
2021-08-13 09:20:36 +00:00
Jan de Mooij
b7e3fbdf3b Bug 1725348 part 7 - Simplify CreateArrayPrototype by using NewArrayWithProto. r=jonco
This requires moving some code around because of the function definition order.

Depends on D122426

Differential Revision: https://phabricator.services.mozilla.com/D122427
2021-08-13 09:20:35 +00:00
Jan de Mooij
2c269aed61 Bug 1725348 part 6 - Rewrite NewArray to be based on the per-global cached shape. r=jonco
This is more robust and simpler than the NewObjectCache.

Change AddLengthProperty to add the property directly to the shape, instead of
defining the property on the object and then getting its shape.

Differential Revision: https://phabricator.services.mozilla.com/D122426
2021-08-13 09:20:35 +00:00
Jan de Mooij
1db21fca88 Bug 1725348 part 5 - Remove unnecessary code in ArrayConstructorImpl. r=jonco
A nullptr `proto` is already interpreted as "use the builtin Array.prototype" by
the constructing path, so we can rely on this also for the non-constructing case.

Depends on D122424

Differential Revision: https://phabricator.services.mozilla.com/D122425
2021-08-13 09:20:35 +00:00
Jan de Mooij
e77109188f Bug 1725348 part 4 - Remove proto argument from NewDenseCopiedArray. r=jonco
Depends on D122423

Differential Revision: https://phabricator.services.mozilla.com/D122424
2021-08-13 09:20:34 +00:00
Jan de Mooij
1504d10044 Bug 1725348 part 3 - Simplify NewDenseCopiedArray by relying on assertions in initDenseElements. r=jonco
Depends on D122422

Differential Revision: https://phabricator.services.mozilla.com/D122423
2021-08-13 09:20:34 +00:00
Jan de Mooij
e1fea4fb13 Bug 1725348 part 2 - Remove proto argument from NewDensePartlyAllocatedArray. r=jonco
Depends on D122421

Differential Revision: https://phabricator.services.mozilla.com/D122422
2021-08-13 09:20:33 +00:00
Jan de Mooij
8f534aeca8 Bug 1725348 part 1 - Remove proto argument from some array allocation functions. r=jonco
All callers just want Array.prototype as proto. This lets us optimize more in
later patches.

Differential Revision: https://phabricator.services.mozilla.com/D122421
2021-08-13 09:20:33 +00:00
Sebastian Hengst
30cca9cb15 Backed out changeset f912045db98d (bug 1706347) for causing content crashes (bug 1725558). a=backout DONTBUILD 2021-08-13 11:19:42 +02:00
Gijs Kruitbosch
3f4ca6437f Bug 1698332 - fix clear button in input type=search on android, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122541
2021-08-13 09:17:26 +00:00
Christoph Kerschbaumer
9f4c1bef48 Bug 1722888: Allow BrowserTestUtils to handle https-first upgraded loads r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121170
2021-08-13 09:00:43 +00:00
Jon Coppeard
ad3265b0c9 Bug 1725357 - Use the same GC threshold regardless of whether the last GC was a shrinking GC r=sfink
This removes the condition from GCHeapThreshold::computeZoneTriggerBytes.

Differential Revision: https://phabricator.services.mozilla.com/D122454
2021-08-13 08:43:04 +00:00
Hubert Boma Manilla
068b4237cf Bug 1725546 - [devtools] Disable grid panel updates triggered by reflow r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D122566
2021-08-13 08:38:27 +00:00