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

745185 Коммитов

Автор SHA1 Сообщение Дата
Renovate Bot bd82b1c554 no bug - Update dependency pylint to v2.6.2 r=linter-reviewers,andi DONTBUILD
Depends on D105298

Differential Revision: https://phabricator.services.mozilla.com/D105299
2021-02-16 12:57:04 +00:00
moz-wptsync-bot 82b205b3af Bug 1692936 - [wpt-sync] Update web-platform-tests to 4e40ddcf74f404619016b333cd47c1ac58c6bc95, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 4e40ddcf74f404619016b333cd47c1ac58c6bc95
wpt-type: landing
2021-02-16 12:57:48 +00:00
Aleks Totic 530fad4cfd Bug 1692836 [wpt PR 27631] - [TablesNG] clusterfuzz multicol causes illegal table layout trees, a=testonly
Automatic update from web-platform-tests
[TablesNG] clusterfuzz multicol causes illegal table layout trees

The cause of the crash is legacy LayoutTableColumn inside
LayoutNGTable. This triggers bad typecast, wrong methods get called...

The fix is to propagate SetShouldForceLegacyLayoutForChild
correctly. It was only propagating until it found parent
with legacy layout.

Note: SetShouldForceLegacyLayoutForChild flag never gets cleared.

Also added DCHECKs to detect mixed table trees earlier.

Bug: 1178263
Change-Id: Ifebaaccbad4006819ca66fed8310ddeb59e1aa64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2692390
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#854106}

--

wpt-commits: 4e40ddcf74f404619016b333cd47c1ac58c6bc95
wpt-pr: 27631
2021-02-16 12:57:47 +00:00
Xianzhu Wang 28dc9b51e7 Bug 1690670 [wpt PR 27467] - Consider transform change countering layout shift, a=testonly
Automatic update from web-platform-tests
Consider transform change countering layout shift

This is to ignore layout shift when transform and location change at the
same time, and visual representation is kept unchanged. This happens in
many websites containing carousel UI.

Summary of layout_shift.cluster_telemetry
https://ct.skia.org/results/cluster-telemetry/tasks/chromium_perf_runs/wangxianzhu-ChromiumPerf-5629/html/index.html:
mainFrameCumulativeLayoutShift	-4.5%
overallCumulativeLayoutShift	-2.5%

Bug: 1169326
Change-Id: Icb8f5748e927753ef244429699cc1396d8cb7f71
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2673965
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#854104}

--

wpt-commits: 363d949874454dc5a93c817b7eaa8c0427f9c0b5
wpt-pr: 27467
2021-02-16 12:57:47 +00:00
Stephen McGruer c1accd5def Bug 1675508 [wpt PR 26414] - Add interfaces/idle-detection.idl and update test, a=testonly
Automatic update from web-platform-tests
Add interfaces/idle-detection.idl and update test (#26414)

Closes https://github.com/web-platform-tests/wpt/pull/26360
--

wpt-commits: f2dd4d76f32ee16a61b5b914c9bff3f7f2114e66
wpt-pr: 26414
2021-02-16 12:57:46 +00:00
autofoolip ab572120d9 Bug 1691939 [wpt PR 27565] - Update interfaces/html.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/html.idl (#27565)

Source: https://github.com/w3c/webref/blob/16294ab/ed/idl/html.idl
Build: https://travis-ci.org/w3c/webref/builds/216653567
--

wpt-commits: 13c7c7d7c009eab5650db49a7cff3990c07fd4fe
wpt-pr: 27565
2021-02-16 12:57:46 +00:00
moz-wptsync-bot 505311f125 Bug 1692822 [wpt PR 27629] - Update wpt metadata, a=testonly
wpt-pr: 27629
wpt-type: metadata
2021-02-16 12:57:45 +00:00
Harald Alvestrand 62eb1a7db0 Bug 1692822 [wpt PR 27629] - Adds more tests for DC availability during ICE restart, a=testonly
Automatic update from web-platform-tests
Adds more tests for DC availability during ICE restart

Bug: chromium:1165692
Change-Id: Ica1a5c055652cbace43d2daec077f15ceccdba43
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2632993
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#854084}

--

wpt-commits: 2f07270fe6487f2627a9d5280f19b0a0e6109784
wpt-pr: 27629
2021-02-16 12:57:45 +00:00
moz-wptsync-bot 5a5615f563 Bug 1692859 [wpt PR 27633] - Update wpt metadata, a=testonly
wpt-pr: 27633
wpt-type: metadata
2021-02-16 12:57:44 +00:00
Harald Alvestrand 838c2a1ad5 Bug 1692859 [wpt PR 27633] - Adds a test for use of datachannel after handover., a=testonly
Automatic update from web-platform-tests
Adds a test for use of datachannel after handover.

This particular pattern works. There are others that do not.

Bug: chromium:1165692
Change-Id: Ifef02d6b5e41f6b3179aed5a0af3258be394bcfd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2695350
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#854052}

--

wpt-commits: da00061247e7d6d63e0f5d1802e45001c3bd2c98
wpt-pr: 27633
2021-02-16 12:57:44 +00:00
Aleks Totic eafc6566de Bug 1692740 [wpt PR 27624] - [TablesNG] clusterfuzz empty cells crash, a=testonly
Automatic update from web-platform-tests
[TablesNG] clusterfuzz empty cells crash

If all cells in a table column were empty, collapsed border
dimensions were computed incorrectly.

Fix: do not skip empty cells when dimensioning borders.

Bug: 1178110
Change-Id: I55b099c095b163d198a8dac5cfc7f172e6046a20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2694726
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853950}

--

wpt-commits: a8c6d1fe99eb0ab6ea4e4c19d7a918616e22bb82
wpt-pr: 27624
2021-02-16 12:57:43 +00:00
Hayato Ito 593d29a944 Bug 1690451 [wpt PR 27452] - Support a crossorigin= attribute for webundle subresource loading, a=testonly
Automatic update from web-platform-tests
Support a crossorigin= attribute for webundle subresource loading

There are several changes in this CL. Let me summarize at first.

The current behavior is:

- No support crossorigin= attribute
- request's mode is set to "cors" in default.
- request's creditial-mode is "omit"; UA never sends a credential.

This CL changes the behavior as follows:

- If crossorigin= attribute is not specified,
  - request's mode is set to "no-cors"
  - request's credential-mode is set to "include"
- If crossorigin= attribute is "anonymous" or empty (See [1] for details)
  - request's mode is set to "cors"
  - request's credential-mode is set to "same-origin"
- If crossorigin= attribute is "use-credential",
  - request's mode is set to "cors"
  - request's credential-mode is set to "include"

Note: In the current implementation, subresources can be loaded from a
cross-origin bundle which the server returns without a valid
"Access-Control-Allow-Origin" response header. That should be considered
as a bug. This Cl changes request's mode to no-cors correctly in
default.

Regarding tests,

A general behavior of a crossorigin attribute is well tested in existing
tests, such as fast/dom/HTMLLinkElement/link-crossOrigin.htm.

This CL tests only the effects of crossorign= attributes for a bundle
as follows:

1. Test for credentials:
   subresource-loading-credential.tentative.sub.html
2. Test for CORS behavior:
    subresource-loading-cors.tentative.html
3. Test for CORS behavior (error case):
   subresource-loading-cors-error.tentative.html

The existing test, subresource-loading-cross-origin.tentative.html is
rewritten and split into 2 and 3.

Due to https://crbug.com/1168449, the test 3 is marked as TIMEOUT.
This bug will be fixed as another CL.

[1]: https://html.spec.whatwg.org/multipage/#cors-settings-attribute

BUG=1149816, 1168449

Change-Id: I354e203a3a536bc829ef7ba6a97d4edd6a6340a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2670486
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Commit-Queue: Hayato Ito <hayato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853942}

--

wpt-commits: cf9a213635193035a3409436a594995e84e5346d
wpt-pr: 27452
2021-02-16 12:57:43 +00:00
Kenichi Ishibashi c925db606b Bug 1692802 [wpt PR 27626] - Fix a link in WPT quic handler README, a=testonly
Automatic update from web-platform-tests
Fix a link in WPT quic handler README

Bug: N/A
Change-Id: I36d70b3f0570051a02e9409be196d6bf62efb2ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2695087
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Auto-Submit: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853936}

--

wpt-commits: 17439a93d434f9af5009c5144129f8dadf93323b
wpt-pr: 27626
2021-02-16 12:57:42 +00:00
Xianzhu Wang ef3d4e5f78 Bug 1692571 [wpt PR 27615] - Let OverflowClip instead of ScrollTranslation create layout shift root, a=testonly
Automatic update from web-platform-tests
Let OverflowClip instead of ScrollTranslation create layout shift root

This avoids layout shift root status change (causing layout shifts in
descendants ignored) when the existence of ScrollTranslation changes,
e.g. when overflowing status changes or scroll offset changes from 0 to
non-zero.

Summary of layout_shift.cluster_telemetry
https://ct.skia.org/results/cluster-telemetry/tasks/chromium_perf_runs/wangxianzhu-ChromiumPerf-5625/html/index.html:
mainFrameCumulativeLayoutShift	1.441%
overallCumulativeLayoutShift	0.519%

Bug: 1165353
Change-Id: I61cb5994e9d70c751a2767de417b8e70aab79def
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2690998
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853843}

--

wpt-commits: 9b0d1ce0412c990e8d1e715c88ad37a6d88ebf0b
wpt-pr: 27615
2021-02-16 12:57:42 +00:00
Frédéric Wang bb4a00b772 Bug 1692454 [wpt PR 27604] - Stricter mixed content check for blob and filesystem URLs, a=testonly
Automatic update from web-platform-tests
Stricter mixed content check for blob and filesystem URLs

The mixed content spec relies on the concept of potentially trustworthy
URLs which checks trustworthiness of blob and filesystem by checking the
origin of the context in which they were created [1] [2]. Concretely,
"blob:https://" is trustworthy while "blob:http://" is not. Currently
Chromium treats any blob: or filesystem: URLs as trustworthy. This CL
updates the behavior to match the stricter rule from the specification.

[1] https://w3c.github.io/webappsec-mixed-content/
[2] https://w3c.github.io/webappsec-secure-contexts/#is-url-trustworthy
[3] https://groups.google.com/a/chromium.org/g/blink-dev/c/nrpl_ewkmaQ

Bug: 1172988
Change-Id: I6fe6d47d0436d405294194e0fcdd4d48461ad7b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2662116
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853814}

--

wpt-commits: 06098389364eb8c5046ea0f62db58fd6b05754cc
wpt-pr: 27604
2021-02-16 12:57:42 +00:00
moz-wptsync-bot 701c7620d5 Bug 1692387 [wpt PR 27600] - Update wpt metadata, a=testonly
wpt-pr: 27600
wpt-type: metadata
2021-02-16 12:57:41 +00:00
Eugene Zemtsov 4f04a2da5f Bug 1692387 [wpt PR 27600] - webcodecs: Make AudioEncoder emit decoder config with extra_data, a=testonly
Automatic update from web-platform-tests
webcodecs: Make AudioEncoder emit decoder config with extra_data

Bug: 1177021
Change-Id: I6d6fe69433b954b65cfec3fd6bc6dc78564ee168
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2691321
Commit-Queue: Eugene Zemtsov <eugene@chromium.org>
Reviewed-by: Thomas Guilbert <tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853747}

--

wpt-commits: d419c96b5cf1f8be6747f62379d87f9759aa0a70
wpt-pr: 27600
2021-02-16 12:57:41 +00:00
Adithya Srinivasan 002470f32e Bug 1690607 [wpt PR 27461] - Portals: focus() inside portal should change active element, a=testonly
Automatic update from web-platform-tests
Portals: focus() inside portal should change active element

Allows a portal document's activeElement to update when focus is called.
Note that focus events won't be dispatched as the portal doesn't get
page focus, and the portal WebContents isn't set as the focused
WebContents (with the exception of orphaned portals). Updating the
activeElement also means an autofocused element inside a portal will
receive focus when the portal is activated.

More discussion here: https://github.com/WICG/portals/issues/257

Change-Id: If67be1f424114653983b473a80c515337d49596a
Bug: 1059404
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566072
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Reviewed-by: Lucas Gadani <lfg@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: David Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853647}

--

wpt-commits: a507854e826d126010758ba44847d1b67fb29c01
wpt-pr: 27461
2021-02-16 12:57:40 +00:00
moz-wptsync-bot 65ded6de07 Bug 1690443 [wpt PR 27450] - Update wpt metadata, a=testonly
wpt-pr: 27450
wpt-type: metadata
2021-02-16 12:57:39 +00:00
Ian Kilpatrick 843423e62c Bug 1690443 [wpt PR 27450] - [GridNG] Resolve both min-length & max-length for auto repetitions., a=testonly
Automatic update from web-platform-tests
[GridNG] Resolve both min-length & max-length for auto repetitions.

As above. This also considers transferred sizes from the aspect-ratio.
The new tests are for dynamic changes which were previously untested
(and for some cases not working), and for aspect-ratio.

Bug: 1045599
Change-Id: I061e97a15190225616ceb18c031029f8c0791641
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2664997
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Ethan Jimenez <ethavar@microsoft.com>
Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#853613}

--

wpt-commits: 333c487de3e5912deb80dc55c31bf467f97df6d2
wpt-pr: 27450
2021-02-16 12:57:39 +00:00
Xida Chen e4e120da54 Bug 1692511 [wpt PR 27611] - Fix paint2d-gradient.https.html, a=testonly
Automatic update from web-platform-tests
Fix paint2d-gradient.https.html

The test has a linear gradient, together with OOP-R enabled
everyone, it seems we have very subtle pixel difference where
human eyes cannot see. Here is a picture shows what the diff
looks like:
https://drive.google.com/file/d/15dU0JLc2lj00J_eoN6PQQ3lZMpymQrMm/view?usp=sharing

I changed the test to be fuzzy matching, this should fix the
test. The fix is this line:
<meta name=fuzzy content="0-5;3000-4000">

It means that when there is a pixel diff, the diff for each
color channel is between 0-5. And there are 3000-4000 pixels
diff.

Bug: 1034807
Change-Id: Iae83f00815c4231c1073a812e7f62f3abe3e4c5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2692506
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853600}

--

wpt-commits: 2d2308f7f690c310e542dcac941eb2c86a64c7c0
wpt-pr: 27611
2021-02-16 12:57:38 +00:00
Christian Biesinger 9ae7f6c211 Bug 1692500 [wpt PR 27609] - Also map width/height to aspect-ratio for <input type=image>, a=testonly
Automatic update from web-platform-tests
Also map width/height to aspect-ratio for <input type=image>

See also https://crrev.com/c/2495560 and
https://github.com/whatwg/html/pull/6032

Bug: 1137004
Change-Id: I17ff2c6f96b2cb9058858a0dc2439885f62ef414
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2690929
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853591}

--

wpt-commits: 04bcfa1e0caff138eb7a86e4aae15f0888429b55
wpt-pr: 27609
2021-02-16 12:57:38 +00:00
Stephen McGruer ec2593585d Bug 1692515 [wpt PR 27612] - [python3] Fix regen_certs.yml for the python3 migration, a=testonly
Automatic update from web-platform-tests
[python3] Fix regen_certs.yml for the python3 migration (#27612)

This was trying to call 'wpt' with python 2, which is now rejected.
--

wpt-commits: 94e17303bfa24d017d68eb4e81984bd145fb0a73
wpt-pr: 27612
2021-02-16 12:57:37 +00:00
Stephen McGruer 61c738ef95 Bug 1692549 [wpt PR 27529] - Cleanup unnecessary `__init__.py` files, a=testonly
Automatic update from web-platform-tests
Cleanup unnecessary `__init__.py` files

Now that we are Py3-only and have PEP 420, we should not need paths of
__init__.py files to file handlers.

Fixes #26552

--

wpt-commits: 3586ff740b00aa1fa82ab00cccbc36cca0bb8ccb
wpt-pr: 27529
2021-02-16 12:57:37 +00:00
Morten Stenshorne 3198e497ac Bug 1692488 [wpt PR 27608] - [LayoutNGTable] Cells and captions are never suitable engine boundaries., a=testonly
Automatic update from web-platform-tests
[LayoutNGTable] Cells and captions are never suitable engine boundaries.

We need to check for this also when marking the ancestry, and not just
at the target element.

Bug: 1177684
Change-Id: I0543d2a8a1791282aeb81757a1e82f8f6e918c52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2690854
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853547}

--

wpt-commits: 13610f951cb8d2d1750d1feaf98c89b486b0c6ba
wpt-pr: 27608
2021-02-16 12:57:36 +00:00
Ian Clelland 0469c9ee08 Bug 1692478 [wpt PR 27607] - Clear reports in WPT collector when queried., a=testonly
Automatic update from web-platform-tests
Clear reports in WPT collector when queried.

This fixes a bug in the WPT report collector where reports are not
removed from the stash when queried, as they were intended to be.

There was one test in the Network Error Logging suite which relied on
this bug, and tested reports in two passes, which could now fail if all
reports are received before the first query is performed, so this CL
also fixes that test by adding an optional 'retain' query parameter to
the report collector.

Bug: 1177757
Change-Id: I945325f15a2ce633cfa32bcebeedb5be5afaa860
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2689369
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853528}

--

wpt-commits: be055c46bb610b18e2c3f5612aff388f9003750f
wpt-pr: 27607
2021-02-16 12:57:36 +00:00
moz-wptsync-bot 87648868b2 Bug 1692507 [wpt PR 27610] - Update wpt metadata, a=testonly
wpt-pr: 27610
wpt-type: metadata
2021-02-16 12:57:35 +00:00
Sergio 83a9044189 Bug 1692507 [wpt PR 27610] - Fix expectations of a recently committed test, a=testonly
Automatic update from web-platform-tests
Fix (#27610)

In PR #27520 we landed a new test for buttons with children with percentage heights called percentage-descendant-of-anonymous-flex-item.html

In the review process the height: 100% was replaced by height: 100px. However that was a bad decision because every UA styles buttons in a different way (even the same UA in different platforms) meaning that due to margins and paddings that height could be smaller than 100px. Switching back to the percentage height in the expectations.
--

wpt-commits: f3a7512a062994d1d2f4f0fbc7fe89c011e6ee4a
wpt-pr: 27610
2021-02-16 12:57:35 +00:00
Paul Adenot a0ba032449 Bug 1686914 - Add a WPT. r=bryce
Depends on D101937

Differential Revision: https://phabricator.services.mozilla.com/D101938
2021-02-16 12:39:35 +00:00
Paul Adenot 5852688096 Bug 1686914 - Don't reset currentSrc when aborting a load in HTMLMediaElement, and reset it when it should be reset. r=bryce
Roughly:
- Don't reset on load
- Don't reset on URL parsing error
- Reset when playing a MediaStream, a MediaSource
- Otherwise follow the resource selection algorithm, and set it to what has been selected

Differential Revision: https://phabricator.services.mozilla.com/D101937
2021-02-16 12:39:34 +00:00
Nicolas Chevobbe 97f2c010a9 Bug 1692992 - [devtools] Add a test to assert rule view location links after navigating to a different origin. r=jdescottes.
This test highlights the issue reported in Bug 1673829, where the location links
in the rule view are incorrect after navigating, when `devtools.testing.enableServerWatcherSupport`
is true.
At the moment, this test fails when we try to enable the stylesheet resource
watcher support (Bug 1685268).

Differential Revision: https://phabricator.services.mozilla.com/D105286
2021-02-16 12:39:28 +00:00
Sebastian Hengst 35344e2bbe Bug 1693012 - set iframe-inheritance-about-blank.html as fuzzy on Windows debug. DONTBUILD
Test expectation got updated in latest synchronization of web-platform-tests
with upstream repository in bug 1692513.

Differential Revision: https://phabricator.services.mozilla.com/D105296
2021-02-16 12:19:01 +00:00
Jon Coppeard b8dbeb621f Bug 1692221 - Update list of free committed arenas in TenuredChunk::decommitFreeArenasWithoutUnlocking r=sfink
This adds methods to verify the chunk metadata very GC in debug builds (held relocated arenas mess things up because they're mprotected so it's checked after we free those).

The code in question was hard to exercise and I had to update reportLargeAllocationFailure to take a byte count so we could avoid calling the shell's large allocation failure callback, which causes the shell to exit (see JSRuntime::onOutOfMemoryCanGC).

It's debateable whether it's worth handling OOM from MarkPagesUnusedSoft. If we assume pages have been been successfully marked unused regardless of failure I think the worst that happens is that we don't reuse them immediately... I ended up handling this anyway though, and rebuilding the list rather than clearing it entirely in decommitFreeArenasWithoutUnlocking.

Differential Revision: https://phabricator.services.mozilla.com/D104837
2021-02-16 11:59:16 +00:00
Narcis Beleuzu 9a0c3c6009 Backed out changeset b472dea7eb0c (bug 1691755) for bc failures on browser_viewsourceprefs.js . CLOSED TREE 2021-02-16 13:53:17 +02:00
Julian Descottes a7273446f2 Bug 1669114 - [devtools] Do not involve the inspector in browser_toolbox_options_disable_js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D105285
2021-02-16 11:31:35 +00:00
Benjamin Beurdouche 6dfa84bd39 Bug 1688685 - land NSS NSS_3_62_BETA1 UPGRADE_NSS_RELEASE, r=mt
```
2021-02-05  Danh  <congdanhqx@gmail.com>

	* gtests/manifest.mn:
	Bug 1688374 - Fix parallel build NSS-3.61 with make. r=kjacobs

	[a5c857139b37] [NSS_3_62_BETA1]

2021-02-05  Robert Relyea  <rrelyea@redhat.com>

	* lib/libpkix/pkix/util/pkix_tools.c:
	Bug 1682044 pkix_Build_GatherCerts() + pkix_CacheCert_Add() can
	corrupt "cachedCertTable"

	Patch by Andrew Cagney Preliminary Review by Ryan Sleevie Tested
	against all.sh rrelyea. r=kjacobs

	(this bug is old)

	pkix_Build_GatherCerts() has two code paths for creating the list
	"certsFound":

	 pkix_CacheCert_Lookup() this sets "certsFound" to a new list
	"certsFound" and "cachedCertTable" share items but not the list

	 pkix_CacheCert_Add(pkix_pl_Pk11CertStore_CertQuery()) this sets
	"certsFound" to a new list; and then adds the list to
	"cachedCertTable" "certsFound" and "cachedCertTable" share a linked
	list

	Because the latter doesn't create a separate list, deleting list
	elements from "certsFound" can also delete list elements from within
	"cacheCertTable". And if this happens while pkix_CacheCert_Lookup()
	is trying to update the same element's reference, a core dump can
	result.

	In detail (note that reference counts may occasionally seem off by
	1, its because data is being captured before function local
	variables release their reference):

	pkix_Build_GatherCerts() calls pkix_pl_Pk11CertStore_CertQuery()
	(via a pointer) to sets "certsFound":

	 PKIX_CHECK(getCerts (certStore, state->certSel, state->verifyNode,
	&nbioContext, &certsFound, plContext), PKIX_GETCERTSFAILED);

	it then calls:

	 PKIX_CHECK(pkix_CacheCert_Add (certStore, certSelParams,
	certsFound, plContext), PKIX_CACHECERTADDFAILED);
	[dafda4eee75c]
```

Differential Revision: https://phabricator.services.mozilla.com/D105209
2021-02-16 10:39:36 +00:00
Emilio Cobos Álvarez a228cdaaa6 Bug 1691428 - Stop claiming we support the Menuitem widgets in nsNativeBasicTheme.cpp. r=mstange
We don't.

Depends on D104874

Differential Revision: https://phabricator.services.mozilla.com/D104875
2021-02-16 10:36:18 +00:00
Dorel Luca 847a939bb4 Backed out changeset 56ce2feb53e7 (bug 1688813) for Browser-chrome failures in browser_panelUINotifications_multiWindow.js. CLOSED TREE 2021-02-16 12:36:20 +02:00
Emilio Cobos Álvarez ca89009775 Bug 1692721 - nsNativeBasicTheme should handle outline-offset like non-auto outline does. r=mstange
I thought we didn't support outline-offset on auto-style outline.

The rect we get is already inflated, so we just got to compute the
radius using that.

Differential Revision: https://phabricator.services.mozilla.com/D105125
2021-02-16 10:25:32 +00:00
Sebastian Hengst d9fd906046 Bug 1692950 - update expectations for structured-clone.any.worker.html?101-last. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D105281
2021-02-16 10:10:36 +00:00
Jonathan Kew 4a675c2c2f Bug 1692498 - Let the emoji font pref override Unicode presentation style only if it's explicitly user-set. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D105102
2021-02-16 10:06:10 +00:00
Kagami Sascha Rosylight 104874c6e2 Bug 1691755 - Move view-source context menu items to nsContextMenu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104956
2021-02-16 09:49:32 +00:00
Timothy Nikkel d6c5347d8b Bug 1691878. Modify gfx/layers/apz/test/mochitest/helper_scrollframe_activation_on_load.html to test the activate all scroll frames code better. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D104657
2021-02-16 09:32:21 +00:00
Robert Mader daafa866da Bug 1668805: Enable opaque region if new GDK API is availabe, r=stransky
From GTK 3.24.25 on we have a new API that allows us to savely apply
opaque regions to our own surfaces without risking to freeze GDK.

Differential Revision: https://phabricator.services.mozilla.com/D102835
2021-02-16 09:04:47 +00:00
Sebastian Hengst da690f85ed Bug 1692969 - set 2d.imageData.get.source.outside.html as also passing on Android WebRender opt. DONTBUILD
Expectation to timeout got set in latest synchronization with upstream
repository of web-platform-tests (bug 1692513).

Depends on D105275

Differential Revision: https://phabricator.services.mozilla.com/D105276
2021-02-16 09:02:12 +00:00
Sebastian Hengst a87785f4a8 Bug 1692968 - set document-has-system-focus.html as passing on Linux WebRender shippable. DONTBUILD
Expectation as timeout got set in latest synchronization with upstream
web-platform-tests repository (bug 1692513).

Depends on D105274

Differential Revision: https://phabricator.services.mozilla.com/D105275
2021-02-16 09:02:12 +00:00
Sebastian Hengst 14b96921d9 Bug 1692966 - set double-content-security.https.html as passing on Linux WebRender shippable. DONTBUILD
Expectation to time out got set with latest synchronization of
web-platform-tests with upstream in bug 1692513.

Differential Revision: https://phabricator.services.mozilla.com/D105274
2021-02-16 09:02:11 +00:00
Simon Giesecke 767b2bb664 Bug 1689680 - Add StorageDBUpdater::CreateCurrentSchema and call that if we know we have a fresh database file. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D104716
2021-02-16 08:55:15 +00:00
Simon Giesecke 338908171d Bug 1692846 - Remove redundant nullptr checks of return value of infallible new in accessible/. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D105174
2021-02-16 08:43:57 +00:00
Sebastian Hengst ae517d5b6d Bug 1692513 - set iframe-inheritance-about-blank.html as intermittent on Android. DONTBUILD
Expectations got modified in latest web-platform-test synchronization.

Differential Revision: https://phabricator.services.mozilla.com/D105273
2021-02-16 08:40:11 +00:00