747185 Commits

Author SHA1 Message Date
Ting-Yu Lin
a58d1f2bd9 Bug 1690701 Part 1.5 - Check |frame| instead of |styleFrame| for abspos in GetUnretargetedOffsetsFor(). r=emilio
When `aElement` is a <table>, `styleFrame` is the inner table frame. It
has the abspos style, but not the `NS_FRAME_OUT_OF_FLOW bit`. The bit is
set on the table wrapper frame in the `frame` variable.

When determining whether the <table> is absolutely positioned, we should
check `frame` instead of `styleFrame`. Otherwise we'll break <table>
element's offsetParent property after applying Part 2.

Without this patch, running `./mach test dom/html/test/test_bug375003-1.html`
can generate the following exception.

  dom/html/test/test_bug375003-1.html | uncaught exception -
  TypeError: can't access property "id", p is null at
  t3@http://mochi.test:8888/tests/dom/html/test/test_bug375003-1.html:39:3

Differential Revision: https://phabricator.services.mozilla.com/D106746
2021-03-04 00:34:03 +00:00
Ting-Yu Lin
a0be0aea13 Bug 1690701 Part 1 - Check floating style when determining whether it is a floating first letter. r=layout-reviewers,emilio
IsFontSizeInflationContainer() is a helper of nsIFrame::Init(). That is,
when it is called from a caller like
nsCSSFrameConstructor::CreateFloatingLetterFrame(), the
`NS_FRAME_OUT_OF_FLOW` bit is not set yet. There is also a hint at the
call site
https://searchfox.org/mozilla-central/rev/362676fcadac37f9f585141a244a9a640948794a/layout/generic/nsIFrame.cpp#770

To fix it, we need to change the condition to check only the
floating style.

layout/reftests/bidi/with-first-letter-2b.html is one of the testcases
that can trigger the following assertion without this patch.

  ###!!! ASSERTION: should not be container for font size inflation

Differential Revision: https://phabricator.services.mozilla.com/D106579
2021-03-04 00:34:03 +00:00
Butkovits Atila
2ef5de0d65 Bug 1686884 - disable multiple.html for frequent failures. r=intermittent-reviewers,jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D106752
2021-03-04 00:24:43 +00:00
Neil Deakin
0a6f2c6e96 Bug 1691860, move code that hides separators in the content area context menu into a single place that just hides duplicates, r=Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D104615
2021-03-04 00:16:16 +00:00
Butkovits Atila
9ca372253f Backed out changeset 858bc4755aae (bug 1695765) for causing failures at xpcAccessibleGeneric.h. CLOSED TREE 2021-03-04 02:17:36 +02:00
Butkovits Atila
7b7716c928 Backed out 8 changesets (bug 1687095, bug 1696205) for causing Spidermonkey failures. CLOSED TREE
Backed out changeset 9ea9e1c55a78 (bug 1696205)
Backed out changeset 9419ba69b445 (bug 1687095)
Backed out changeset d7815415080c (bug 1687095)
Backed out changeset 075c72b787a2 (bug 1687095)
Backed out changeset 4f27f5ca8656 (bug 1687095)
Backed out changeset 1f89cffbd3d5 (bug 1687095)
Backed out changeset 34a37bdb73ac (bug 1687095)
Backed out changeset aef34d5f65e6 (bug 1687095)
2021-03-04 01:54:45 +02:00
Mike Conley
06e88e30db Bug 1695707 - Update copy for DRM panel buttons and migrate to Fluent. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D106819
2021-03-03 23:12:13 +00:00
Tooru Fujisawa
b44e421a8f Bug 1696205 - Rewind CompilationState.scriptExtra field. r=tcampbell
Depends on D107014

Differential Revision: https://phabricator.services.mozilla.com/D107126
2021-03-03 23:00:06 +00:00
Ted Campbell
ad18ff3784 Bug 1687095 - Use CompilationStencil& argument to incremental-encoder. r=arai
Since merging stencils is a read-only operation for the source delazification
stencil and we already have a borrowed stencil at caller, it is more
consistent with our conventions to pass a CompilationStencil& instead of an
ExtensibleCompilationStencil&.

Differential Revision: https://phabricator.services.mozilla.com/D107014
2021-03-03 23:00:06 +00:00
Tooru Fujisawa
f1595f205a Bug 1687095 - Part 6: Merge BaseCompilationStencil and CompilationStencil. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D105157
2021-03-03 23:00:05 +00:00
Tooru Fujisawa
ef51743b26 Bug 1687095 - Part 5: Remove gcOutputForDelazification. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D105156
2021-03-03 23:00:05 +00:00
Tooru Fujisawa
750ccbdb2a Bug 1687095 - Part 4: Remove StencilDelazificationSet. r=tcampbell
Now all stencils don't have associated delazification.

Differential Revision: https://phabricator.services.mozilla.com/D105155
2021-03-03 23:00:04 +00:00
Tooru Fujisawa
ab7aa35aac Bug 1687095 - Part 3: Use CompilationStencilMerger in XDRIncrementalStencilEncoder. r=tcampbell
Also add XDRStencilEncoder for non-incremental case, and
cleanup XDRStencilDecoder.

StencilDelazificationSet and gcOutputForDelazification become unused,
and will be removed by later patches.

Differential Revision: https://phabricator.services.mozilla.com/D105154
2021-03-03 23:00:04 +00:00
Tooru Fujisawa
c33af1473a Bug 1687095 - Part 2: Add CompilationStencilMerger. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D105153
2021-03-03 23:00:03 +00:00
Tooru Fujisawa
b1c04b9666 Bug 1687095 - Part 1: Add {CompilationStencil,ExtensibleCompilationStencil}::steal. r=tcampbell
To make it possible to convert them each other.

Differential Revision: https://phabricator.services.mozilla.com/D105909
2021-03-03 23:00:03 +00:00
Eitan Isaacson
a02fa2061c Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D104927
2021-03-03 22:56:45 +00:00
Glenn Watson
fceee43490 Bug 1696089 - Clip chains can incorrectly propagate to inner primitives in some cases. r=gfx-reviewers,kvark,bradwerth
Fix a bug that can occur when:
 - Parent stacking context is considered redundant
 - Parent stacking context has a transform
 - Parent stacking context establishes a raster root
 - Parent stacking context has a clip
 - Child stacking context has a filter (or other feature requiring a surface)

In these cases, the clips would be incorrectly propagated to the
primitives inside the child stacking context, instead of applied
to the child stacking context surface itself. This can cause correctness
issues when raster roots are established, and potential performance
issues if raster roots are not established.

Differential Revision: https://phabricator.services.mozilla.com/D107024
2021-03-03 22:51:37 +00:00
Emily McDonough
4924ceb1f9 Bug 1696215 - Add basic parsing web platform tests for page-size r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D107085
2021-03-03 22:45:46 +00:00
Mark Banner
04281bb9b8 Bug 1575649 - When removing a default engine, calculate and notify the new default engine straight away. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105031
2021-03-03 22:23:20 +00:00
Mark Banner
1462541c2b Bug 1575649 - Add notification checks to default engine fallback tests. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106626
2021-03-03 22:23:19 +00:00
Mark Banner
e41ec3c3b9 Bug 1575649 - Rewrite default search engine fallback tests to make them clearer, and add docs for removing the default engine. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106625
2021-03-03 22:23:19 +00:00
Mark Banner
6c1040c583 Bug 1695588 - When a new search engine alias is set, only notify the engine has changed if the alias is different. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106782
2021-03-03 22:23:19 +00:00
alwu
f30fcad49e Bug 1685463 - rearrange the check order. r=stransky
`IsDMABufEnabled()` will call `Configure()` from which we will possibly call into the driver code in `nsGbmLib::CreateDevice()`.

In order to prevent from calling the driver code in RDD process which has been sandboxed, we should reorder those checks.

Differential Revision: https://phabricator.services.mozilla.com/D107086
2021-03-03 21:58:26 +00:00
Mike Hommey
425f502cde Bug 1696191 - Remove leftovers from bug 1694318. r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D107117
2021-03-03 21:53:23 +00:00
Andrew Halberstadt
37df082745 Bug 1695083 - [taskgraph] Don't limit fission tasks to tasks that run on central, r=jmaher
This check was likely added to try and limit the types of tasks that can be
created with fission. However it doesn't make sense to be filtering tasks based
on the project during the transforms stage. Tasks filtered out here don't exist
at all, so it's not possible to even schedule them on try with --full. This
type of filtering should be left to the target tasks stage of generation.

As a side effect, this patch enables the following tasks on autoland:
> test-linux1804-64-qr/debug-mochitest-webgpu-fis-e10s
> test-linux1804-64-qr/opt-web-platform-tests-print-reftest-fis-e10s
> test-linux1804-64-qr/opt-web-platform-tests-reftest-fis-e10s-1
> test-linux1804-64-qr/opt-web-platform-tests-reftest-fis-e10s-2
> test-linux1804-64-qr/opt-web-platform-tests-reftest-fis-e10s-3
> test-linux1804-64-qr/opt-web-platform-tests-reftest-fis-e10s-4
> test-linux1804-64-qr/opt-web-platform-tests-reftest-fis-e10s-5
> test-linux1804-64-qr/opt-web-platform-tests-reftest-fis-e10s-6
> test-linux1804-64/opt-marionette-fis-e10s
> test-linux1804-64/opt-marionette-headless-fis-e10s
> test-windows10-64-qr/opt-web-platform-tests-print-reftest-fis-e10s
> test-windows10-64-qr/opt-web-platform-tests-reftest-fis-e10s-1
> test-windows10-64-qr/opt-web-platform-tests-reftest-fis-e10s-2
> test-windows10-64-qr/opt-web-platform-tests-reftest-fis-e10s-3
> test-windows10-64-qr/opt-web-platform-tests-reftest-fis-e10s-4
> test-windows10-64/opt-marionette-fis-e10s

And the following tasks on central:
> test-linux1804-64-qr/debug-mochitest-webgpu-fis-e10s
> test-linux1804-64/debug-mochitest-webgpu-fis-e10s

While this change would ideally happen in a separate commit, fission team
indicated it was desirable to enable these tasks anyway, so I decided not
to spend effort disabling them here, only to enable them again later.

Depends on D107113

Differential Revision: https://phabricator.services.mozilla.com/D107114
2021-03-03 21:52:32 +00:00
Andrew Halberstadt
82bbbe6843 Bug 1695083 - [ci] Don't run raptor-unity-webgl on fission, r=perftest-reviewers,sparky
This task gets enabled as a side effect of the last patch in this stack. This
patch preserves the status quo.

Depends on D107112

Differential Revision: https://phabricator.services.mozilla.com/D107113
2021-03-03 21:52:31 +00:00
Andrew Halberstadt
aafe6e7cd9 Bug 1695083 - [ci] Don't run talos profiling tasks with fission, r=perftest-reviewers,sparky
These -profiling tasks are not currently running on fission. But the last patch in this stack
enables them as a side effect. This patch preserves the status quo.

Depends on D107107

Differential Revision: https://phabricator.services.mozilla.com/D107112
2021-03-03 21:52:31 +00:00
Andrew Halberstadt
97072fb98d Bug 1695083 - [ci] Ensure browsertime tp6 ignores non-shippable fission platforms, r=perftest-reviewers,sparky
All the other browsertime tasks ignore non-shippable platforms except for this
one. It was causing problems for a later patch in this stack.

Differential Revision: https://phabricator.services.mozilla.com/D107107
2021-03-03 21:52:30 +00:00
Butkovits Atila
4a2aa0080e Merge mozilla-central to autoland. CLOSED TREE 2021-03-04 00:23:06 +02:00
Butkovits Atila
7846407933 Backed out 4 changesets (bug 1658419) for causing failures at test_check_timestamp.html. CLOSED TREE
Backed out changeset d2688bd29cba (bug 1658419)
Backed out changeset 7db6f9ba1fe6 (bug 1658419)
Backed out changeset 8d3c6d538b7b (bug 1658419)
Backed out changeset 11e3f0658049 (bug 1658419)
2021-03-04 00:13:56 +02:00
Andreea Pavel
002023eb26 Merge autoland to mozilla-central a=merge 2021-03-03 23:49:23 +02:00
Andrew Osmond
68a3be8287 Bug 1696269 - Ship Software WebRender to release for some Linux users without WebRender. r=jrmuizel
This patch ships Software WebRender to release to a small set (< 10%) of
Linux users whom we are unlikely to ever ship WebRender to. This
compromises of llvmpipe users with small screens and AVX2 support, and
NVIDIA binary driver users with small screens, AVX2 support and a driver
older than 460.32.3.

All of these users would be getting Software WebRender today in nightly
and early beta.

Differential Revision: https://phabricator.services.mozilla.com/D107118
2021-03-03 21:21:50 +00:00
Mark Banner
55369ab2d1 Bug 1692153 - Improve browser_searchbar_smallpanel_keyboard_navigation.js so that it runs standalone and avoids possible intermittent failures. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106805
2021-03-03 21:12:19 +00:00
Mike Hommey
7371edb7fa Bug 1696097 - Add missing sysroot dependency to source-test tasks. r=andi,sheehan
Differential Revision: https://phabricator.services.mozilla.com/D107036
2021-03-03 21:10:56 +00:00
Matthew Gaudet
5d1ab7641a Bug 1693594 - Acquire monitor before setting script for mainthread decode r=kmag
This can race with ScriptPreloader::WriteCache on the mScript field.

Differential Revision: https://phabricator.services.mozilla.com/D105828
2021-03-03 20:30:17 +00:00
Emilio Cobos Álvarez
fb8ed00645 Bug 1695081 - Update geolocation permission panel strings. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107055
2021-03-03 20:19:31 +00:00
Emilio Cobos Álvarez
3c880a8573 Bug 1695299 - Update strings in midi permission prompt. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107066
2021-03-03 20:17:46 +00:00
Emilio Cobos Álvarez
abf614f578 Bug 1695085 - Update IndexedDB permission prompt. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107060
2021-03-03 20:17:22 +00:00
Erica Wright
61de2a5817 Bug 1695706 - Polish styles on subview back button. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106942
2021-03-03 20:10:23 +00:00
Kate Hudson
e05ab643bf Bug 1656568 - Use a specific event object for nimbus events r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D106619
2021-03-03 19:54:52 +00:00
Jeff Muizelaar
06df30e913 Bug 1696235 - Fix bug number.
Differential Revision: https://phabricator.services.mozilla.com/D107103
2021-03-03 18:59:03 +00:00
Jan Varga
117488daa2 Bug 1694231 - Add support for nested mozStorageTransaction using savepoints; r=dom-storage-reviewers,sg
The nesting level is tracked on the storage connection. The thread safety is
ensured by holding a lock while a transaction is being started/commited/rolled
back. For these purposes, the sharedDBMutex has been exposed on
mozIStorageConnection interface and additional helper methods have been added
to the interface as well.

Differential Revision: https://phabricator.services.mozilla.com/D106019
2021-03-03 18:53:14 +00:00
Drew Willcoxon
1fe22b7cde Bug 1696084 - Open help links in a new tab. r=harry
Depends on D107015

Differential Revision: https://phabricator.services.mozilla.com/D107021
2021-03-03 18:52:48 +00:00
Emilio Cobos Álvarez
a491a4b14d Bug 1696172 - Tweak fuzz range.
Differential Revision: https://phabricator.services.mozilla.com/D107102
2021-03-03 18:49:11 +00:00
Christoph Kerschbaumer
e1cad01b80 Bug 1688815: Update GetSiteOriginNoSuffix() to handle view-source correctly. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D102200
2021-03-03 18:47:53 +00:00
Micah Tigley
99ac1f352b Bug 1695402 - Support image-set() on the cursor property. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D106745
2021-03-03 18:34:46 +00:00
Butkovits Atila
043c0bbe2d Backed out changeset 40a2cb2f242b (bug 1694020) on request from beurdouche, UPGRADE_NSS_RELEASE CLOSED TREE 2021-03-03 20:41:33 +02:00
Emilio Cobos Álvarez
ffbcb28118 Bug 1696161 - Use appearance: none for buttons and text inputs in a marionette test, to prevent win7 fuzziness. r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107092
2021-03-03 18:27:36 +00:00
Chris Martin
71e2d8d3af Bug 1658419 - Use shared memory for gamepad state on Windows r=handyman
Finally, use the primitives from the previous change to deliver gamepad changes.

If the shared memory shortcut is available, all gamepad changes will be
delivered over it. When the children receive the signal, they will diff their
last-known state against the new state and generate events to update JS.

Differential Revision: https://phabricator.services.mozilla.com/D105129
2021-03-03 18:26:48 +00:00
Chris Martin
b6e93b9fd7 Bug 1658419 - Add a skeleton GamepadStateBroadcast r=handyman
Add the scaffolding to setup the shared memory GamepadState between the
GamepadPlatformService and GamepadManager. The next changeset will actually
integrate the new broadcast infrastructure into the gamepad code.

Differential Revision: https://phabricator.services.mozilla.com/D105128
2021-03-03 18:26:47 +00:00