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

747097 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange de9c44a290 Bug 1694853 - Replace getter and setter calls with property gets and sets. r=harry
This does the same but looks more modern.

Differential Revision: https://phabricator.services.mozilla.com/D106371
2021-03-04 01:24:55 +00:00
Markus Stange 48c3f3447c Bug 1694853 - Use UniquePtr in more places. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106370
2021-03-04 01:24:54 +00:00
Markus Stange 107415a9dd Bug 1694853 - Move nsMenuX::Create into the constructor. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106369
2021-03-04 01:24:54 +00:00
Markus Stange 0bdf1ba9a1 Bug 1694853 - Move nsMenuItemX::Create into the constructor. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106368
2021-03-04 01:24:53 +00:00
Markus Stange 43f5a7408d Bug 1694853 - Make nsMenuIconX non-refcounted. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106367
2021-03-04 01:24:53 +00:00
Butkovits Atila dbf24a6c16 Backed out changeset 278e12bc4406 (bug 1696215) for causing failure at size-001.html. CLOSED TREE 2021-03-04 03:06:30 +02:00
Mike Conley f1a82bcd16 Bug 1696286 - Make it possible for PopupNotifications to be visually unopinionated. r=Gijs
Being 'visually unopinionated' means not showing distinct styling for the main action.

Differential Revision: https://phabricator.services.mozilla.com/D107128
2021-03-04 00:54:01 +00:00
Mats Palmgren 4547bafea1 Bug 1695530 part 1 - Don't create an INCREMENT counter node when the increment is zero because it has no effect. r=emilio
Also, fix Dump() so that it logs the right type for INCREMENT/SET nodes.

Differential Revision: https://phabricator.services.mozilla.com/D107097
2021-03-04 00:37:59 +00:00
Makoto Kato 642a244fdf Bug 1693477 - notifyPush needs messageId. r=geckoview-reviewers,agi
This is simple typo when payload is nothing.

Also, we should add unit tests for this since we don't run mochitest in
dom/push/test. The mochitest requires mock's implementation, but we doesn't
have it.

Differential Revision: https://phabricator.services.mozilla.com/D107067
2021-03-04 00:36:44 +00:00
Ting-Yu Lin ea9685fb41 Bug 1690701 Part 4 - Replace rarely used ReflowInput::IsFloating() with nsStyleDisplay::IsFloating(). r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D106583
2021-03-04 00:34:04 +00:00
Ting-Yu Lin 252b93c3a9 Bug 1690701 Part 3 - Check NS_FRAME_OUT_OF_FLOW bit in nsIFrame::IsFloating(). r=emilio
Similar to Part 1, I assume nsIFrame::IsFloating()'s callers really want
to check whether a frame is a real float.

Differential Revision: https://phabricator.services.mozilla.com/D106582
2021-03-04 00:34:04 +00:00
Ting-Yu Lin 7e74c47006 Bug 1690701 Part 2 - Check NS_FRAME_OUT_OF_FLOW bit in nsIFrame::IsAbsolutelyPositioned(). r=emilio
I assume nsIFrame::IsAbsolutelyPositioned()'s callers really want to
check whether a frame is a real abspos frame, not just check a frame has
a abspos style. This could potentially change the behavior, but I feel
its the right thing to do.

Differential Revision: https://phabricator.services.mozilla.com/D106580
2021-03-04 00:34:03 +00:00
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