Commit Graph

741819 Commits

Author SHA1 Message Date
Alexis Beingessner
f82cc936bd Bug 1682723 - Increase WPT timeouts for tsan. r=decoder,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D102316
2021-01-22 14:20:04 +00:00
Alexis Beingessner
172561237f Bug 1682723 - enable wpt-reftest under tsan. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D102315
2021-01-22 14:19:56 +00:00
Alexis Beingessner
3650f4b3cf Bug 1682723 - enable wpt under tsan. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D102314
2021-01-22 14:19:54 +00:00
Marco Castelluccio
8c4cb8607c Bug 1688039 - Build grcov with Clang. r=calixte DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D102723
2021-01-22 13:40:56 +00:00
Marco Castelluccio
7020d58eb3 Bug 1688039 - Update grcov to version 0.7.1. r=calixte DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D102722
2021-01-22 13:34:59 +00:00
Sebastian Hengst
18fe5553ef Bug 1688097 - update web-platform-test reftest annotations on Windows after latest wptsync. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D102721
2021-01-22 13:31:09 +00:00
William Durand
212085ec25 Bug 1687375 - Fix add-on "line" badge title. r=rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D102624
2021-01-22 13:07:21 +00:00
Freya Mehta
247edad6ea Bug 1611195 - Fixed closing of HTML tags in about:networking to not try to be XHTML, r=valentin,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61409
2021-01-22 13:10:41 +00:00
Kershaw Chang
6051668e53 Bug 1684038 - Add new SVCParam: ODoHConfig r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D101683
2021-01-22 12:59:24 +00:00
Valentin Gosu
12a094a091 Bug 1688076 - Reset TRR skipped reason when re-resolving a DNS record r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102694
2021-01-22 11:11:00 +00:00
André Bargull
e8a0a75978 Bug 1687463 - Part 7: Clean-up includes to mozilla/ArrayUtils.h. r=jonco
Only include "mozilla/ArrayUtils.h" when actually needed.

Differential Revision: https://phabricator.services.mozilla.com/D102305
2021-01-22 09:31:19 +00:00
André Bargull
685f6726c7 Bug 1687463 - Part 6: Remove mozilla::ArrayLength in loop with std::find_if. r=jonco
Instead of just replace `mozilla::ArrayLength` with `std::size`, replace the
whole loop statement with a call to `std::find_if`.

Differential Revision: https://phabricator.services.mozilla.com/D102304
2021-01-21 17:08:18 +00:00
André Bargull
6fa36e8494 Bug 1687463 - Part 5: Replace mozilla::ArrayEnd with std::end. r=jonco
Replace `mozilla::ArrayEnd()` with the stl function `std::end()`.

Differential Revision: https://phabricator.services.mozilla.com/D102300
2021-01-21 17:08:18 +00:00
André Bargull
c1874dcf8c Bug 1687463 - Part 4: Replace mozilla::ArrayLength with std::size. r=jonco
Replace all other uses of `mozilla::ArrayLength()` with the stl function
`std::size()`.

Differential Revision: https://phabricator.services.mozilla.com/D102299
2021-01-21 17:08:17 +00:00
André Bargull
24276fcab9 Bug 1687463 - Part 3: Remove no longer needed code for old libstdc++ versions. r=jonco
We're already using the `constexpr` calls to `std::char_traits<T>::length()` in
other code, so this fallback code doesn't seem necessary anymore.

(The code in "NumberFormat.cpp" predates the GCC version bump in bug 1536848.)

Differential Revision: https://phabricator.services.mozilla.com/D102297
2021-01-21 17:08:17 +00:00
André Bargull
306d6ababa Bug 1687463 - Part 2: Replace mozilla::ArrayLength with js_strlen. r=jonco
Calling `mozilla::ArrayLength()` on strings requires to subtract one to account
for the trailing null-character. This isn't necessary when `js_strlen` is used.

`constexpr` evaluation of `js_strlen` requires its input to be a `constexpr`
string. A handful of strings were therefore changed from `const` to `constexpr`.

Differential Revision: https://phabricator.services.mozilla.com/D102296
2021-01-21 17:33:20 +00:00
André Bargull
30d8fa220d Bug 1687463 - Part 1: Replace mozilla::ArrayLength with ranged for-loops. r=jonco
Replaces calls to `mozilla::ArrayLength` with ranged for-loops.

Differential Revision: https://phabricator.services.mozilla.com/D102295
2021-01-21 17:08:17 +00:00
Timothy Nikkel
cf1910bbf7 Bug 1688127. Fix warning spam in Document::GetParentFeaturePolicy. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D102690
2021-01-22 11:08:22 +00:00
Olli Pettay
991f9a986e Bug 1688109 - BroadcastChannel doesn't reliably remove the page from BFCache when a message is received, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D102657
2021-01-22 10:57:42 +00:00
Mark Banner
bd614382bd Bug 1664847 - Log the search access point for searches with ads and ad clicks. r=daleharvey
Depends on D102441

Differential Revision: https://phabricator.services.mozilla.com/D102443
2021-01-22 10:45:26 +00:00
Mark Banner
27451fd1c0 Bug 1664847 - Use a map for the search source translation in BrowserSearchTelemetry to make the code simpler. r=daleharvey
Depends on D102440

Differential Revision: https://phabricator.services.mozilla.com/D102441
2021-01-21 23:19:06 +00:00
Mark Banner
9a1e222770 Bug 1664847 - Change BrowserSearchTelemetry.recordSearch to take a browser rather than tabbrowser as that is more accurate. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D102440
2021-01-21 23:08:09 +00:00
Dorel Luca
7ebc24b0b5 Merge mozilla-central to autoland. CLOSED TREE 2021-01-22 12:26:13 +02:00
Sebastian Hengst
7c03e28b3d Bug 1688097 - update web-platform-test reftest annotations on Windows after latest wptsync. a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D102705
2021-01-22 10:06:08 +00:00
Dorel Luca
ebdd5669fe Merge autoland to mozilla-central. a=merge 2021-01-22 12:14:46 +02:00
Dorel Luca
dea3f6541e Backed out changeset 0c0b1e3fab14 (bug 1645695) for regressing Bug 1687979. a=backout 2021-01-22 12:05:02 +02:00
moz-wptsync-bot
4686dd384e Bug 1688097 - [wpt-sync] Update web-platform-tests to 64cc817eedc570d93adc05dd63fad957da908cd8, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 64cc817eedc570d93adc05dd63fad957da908cd8
wpt-type: landing
2021-01-22 04:14:16 +00:00
Aleks Totic
970a7f5165 Bug 1687556 [wpt PR 27245] - [TablesNG] Fix DCHECKs when painting rows/sections with absolute children, a=testonly
Automatic update from web-platform-tests
[TablesNG] Fix DCHECKs when painting rows/sections with absolute children

Painting code assument that:
- all child fragments of a section are rows
- all child fragments of a row are cells

This is not true when row/section is a absolute container.

Modified wpt test to trigger the crash

Change-Id: Ife8102412a2ef3f2d5bae07a6031739759c3c994
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2636881
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845792}

--

wpt-commits: 64cc817eedc570d93adc05dd63fad957da908cd8
wpt-pr: 27245
2021-01-22 04:14:16 +00:00
Xianzhu Wang
5acca64d0e Bug 1688052 [wpt PR 27277] - Add external/wpt/svg/extensibility/foreignObject/will-change-in-foreign-object-paint-order.html, a=testonly
Automatic update from web-platform-tests
Add external/wpt/svg/extensibility/foreignObject/will-change-in-foreign-object-paint-order.html

It fails in pre-CompositeAfterPaint and succeeds in CompositeAfterPaint.

Bug: 148499
Change-Id: I8c755bb3c12d01a7187bd175aa5b871e83e16766
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2643045
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845781}

--

wpt-commits: d5f6b408a32761e5864b97ba80d4a89d315e5e3a
wpt-pr: 27277
2021-01-22 04:14:15 +00:00
Fredrik Söderqvist
fa8a9d808a Bug 1687978 [wpt PR 27275] - Prevent underinvalidation of <pattern> with template, a=testonly
Automatic update from web-platform-tests
Prevent underinvalidation of <pattern> with template

If the pattern resource is marked for layout via a mechanism that does
not invalidate its attributes - for example by changing a style property
that only requires paint invalidation - a call to
LayoutSVGResourceContainer::InvalidateCacheAndMarkForLayout() will fail
to properly invalidate attributes, which leaves the pattern in an
inconsistent state.
Drop the early-out check for SelfNeedsLayout() in said method so that
RemoveAllClientsFromCache() is called in the above case as well.

Bug: 1167563
Change-Id: Ib5896da9e52a103b86dc6eb7ad08e30a572b6d22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2642777
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#845766}

--

wpt-commits: 26f07871f053fdf2b3d3b6c2015f9e63babbfc3c
wpt-pr: 27275
2021-01-22 04:14:15 +00:00
jgraham
187c264c29 Bug 1688068 [wpt PR 27278] - Mark multiTouchPointsReleaseSecondPoint as flaky in Chrome, a=testonly
Automatic update from web-platform-tests
Mark multiTouchPointsReleaseSecondPoint as flaky in Chrome (#27278)

This is needed for infra PRs to merge
--

wpt-commits: b1a922114610f076c71e6e10813b9b0228058a23
wpt-pr: 27278
2021-01-22 04:14:14 +00:00
Luca Casonato
8a14529e99 Bug 1685118 [wpt PR 27050] - fix: default to ShellTestEnvironment, a=testonly
Automatic update from web-platform-tests
fix: default to ShellTestEnvironment

--

wpt-commits: 3bb66241b7e3066c6d4ebfca14379e1c8f650385
wpt-pr: 27050
2021-01-22 04:14:14 +00:00
Stephen McGruer
594d476f19 Bug 1687945 [wpt PR 27273] - [resources] Fix conftest.py for pytest>6, a=testonly
Automatic update from web-platform-tests
[resources] Fix conftest.py for pytest>6

Handle the shift away from Node constructors to from_parent, whilst
keeping a backwards-compatible path for earlier versions of pytest.

See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent

--

wpt-commits: 28b0b6f4ab415d4632d028339e8df6ee657bc4cc
wpt-pr: 27273
2021-01-22 04:14:13 +00:00
moz-wptsync-bot
fe7a8a14a8 Bug 1687734 [wpt PR 27257] - Update wpt metadata, a=testonly
wpt-pr: 27257
wpt-type: metadata
2021-01-22 04:14:13 +00:00
arthursonzogni
6b1d629cea Bug 1687734 [wpt PR 27257] - Deflake wpt test about CSPEE., a=testonly
Automatic update from web-platform-tests
Deflake wpt test about CSPEE.

The test was timing out. This is likely caused by not running as "slow"
and having many promise_test running in sequence.

This patch:
- Make them run in parallel.
- Fix an error "is-disallowed" vs "is-not-allowed"
- Fix an error HTTP vs HTTPS. The "same-origin" case is now useful.
- For injecting a script, prefer document.write over javascript-url. The
  Javascript-url might be canceled by
  Document::CancelPendingJavaScriptUrls() and this might be another
  reason to explain the flakes.

Bug: chromium:1163751
Change-Id: Id0fe915c551cc464df23fa4235090216b8f701ad
Fixed: chromium:1163751
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2640615
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845706}

--

wpt-commits: c788d7b979d0e2791c298da4b7c1aa9bc844f803
wpt-pr: 27257
2021-01-22 04:14:13 +00:00
Blink WPT Bot
daedd0e1f4 Bug 1685540 [wpt PR 27076] - Move CSPEE to the NavigationRequest., a=testonly
Automatic update from web-platform-tests
Move CSPEE to the NavigationRequest. (#27076)

Move CSPEE code from the AncestorThrottle toward the NavigationRequest.
Why?

1) AncestorThrottle is a NavigationThrottle. NavigationThrottle doesn't
   run for several URLs like about:blank. This fixes two two test case
   introduced recently for bug 1163174

2) CSPEE can add a 'sandbox' directive. This might modify the origin.
   The origin needs to be computed before running the
   NavigationThrottle. So this isn't possible to check CSPEE in the
   NavigationThrottle. Taking CSPEE into accounts for sandbox will be
   fixed in a follow-up.

Bug: 1163174
Change-Id: I193d7821b7819339912a6ba92bdb28e8fa893256
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611269
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Reviewed-by: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845560}

Co-authored-by: arthursonzogni <arthursonzogni@chromium.org>
--

wpt-commits: 3f78171b9b3d1799efc24ae12ad5c0865b336805
wpt-pr: 27076
2021-01-22 04:14:12 +00:00
Stephen McGruer
72857b9c4f Bug 1687558 [wpt PR 27246] - [wptserve] Change the default log level for 'wpt serve' to INFO, a=testonly
Automatic update from web-platform-tests
[wptserve] Change the default log level for 'wpt serve' to INFO (#27246)

Fixes https://github.com/web-platform-tests/wpt/issues/26461
--

wpt-commits: f6d908e34788102b65f98a0516c4dc8559ab9367
wpt-pr: 27246
2021-01-22 04:14:12 +00:00
autofoolip
f90bb9c754 Bug 1687858 [wpt PR 27266] - Update interfaces/selection-api.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/selection-api.idl (#27266)

Source: https://github.com/w3c/webref/blob/8bffe73/ed/idl/selection-api.idl
Build: https://travis-ci.org/w3c/webref/builds/213874125
--

wpt-commits: 6ebe99cc62211bf0dd1488c2fe577299edac18d8
wpt-pr: 27266
2021-01-22 04:14:11 +00:00
moz-wptsync-bot
a7bb7817df Bug 1687571 [wpt PR 27250] - Update wpt metadata, a=testonly
wpt-pr: 27250
wpt-type: metadata
2021-01-22 04:14:11 +00:00
Lan Wei
76e5bb35fd Bug 1687571 [wpt PR 27250] - Remove document.createEvent("touchevent"), a=testonly
Automatic update from web-platform-tests
Remove document.createEvent("touchevent") (#27250)

--

wpt-commits: b36a20a58dbfaf7d1c17ffdb191dd33f238f390f
wpt-pr: 27250
2021-01-22 04:14:10 +00:00
moz-wptsync-bot
df328caae5 Bug 1687861 [wpt PR 27268] - Update wpt metadata, a=testonly
wpt-pr: 27268
wpt-type: metadata
2021-01-22 04:14:10 +00:00
Asami Doi
c86fca3da5 Bug 1687861 [wpt PR 27268] - PlzDedicatedWorker: Add clients.claim() tests for nested blob URL worker, a=testonly
Automatic update from web-platform-tests
PlzDedicatedWorker: Add clients.claim() tests for nested blob URL worker

This CL adds 3 test cases for clients.claim():
1) a blob URL worker (parent) creates a blob URL worker (child)
2) a blob URL worker (parent) creates a worker (child)
3) a worker (parent) creates a blob URL worker (child)

Bug: 1017034
Change-Id: Iaef9c84661f0fe1c1b10a4a6f8cccc5e839355c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2638960
Commit-Queue: Asami Doi <asamidoi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845533}

--

wpt-commits: 3b17f29d98e9f39a4836a7450f9fe992f3cc0e7b
wpt-pr: 27268
2021-01-22 04:14:09 +00:00
moz-wptsync-bot
8edd4c8b6c Bug 1687849 [wpt PR 27265] - Update wpt metadata, a=testonly
wpt-pr: 27265
wpt-type: metadata
2021-01-22 04:14:09 +00:00
Aleks Totic
838fb2cf50 Bug 1687849 [wpt PR 27265] - wpt computing-row-measure-0.html fix, a=testonly
Automatic update from web-platform-tests
wpt computing-row-measure-0.html fix

2 tests in this test suite seem inconsistent:

test#2 asserts that

tbody.height=10px > tr.height=1px > td.height=1px
implies td.offsetHeight = 1px

test#4 asserts that

tbody.height=10px > tr > td.height=1px
implies td.offsetHeight = 10px

Edge 17 is the only browser that agrees with #2 and #4
FF agrees with #2, but not #4
Chrome agrees with #4, but not #2
Safari agrees with #4, but not #2

To me, #2 and #4 seem to be in conflict.
Either tbody height propagates to rows, or it does not.

The problem is that #2 is overconstrained.

My suggestion is that tbody height always propagates to tr.

Bug: 958381
Change-Id: I28bfd108c67968d31d0372b536c316c997d2d958
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2586097
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845515}

--

wpt-commits: 133ca044f481c49a8efd3f14f34f4b6a1b316f58
wpt-pr: 27265
2021-01-22 04:14:08 +00:00
Hayato Ito
d9d34921f7 Bug 1687649 [wpt PR 27254] - Add more tests for cross-origin WebBundles, a=testonly
Automatic update from web-platform-tests
Add more tests for cross-origin WebBundles

A follow-up to https://crrev.com/c/2617167.

Note that the test fails in the current implementation.
See the https://crbug.com/1168449 for details.
The test is now marked as Timeout.

Bug: 1149816, 1168449

Change-Id: I2552f64ea12ac5030c9740f30a94edef2760986c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2639337
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Commit-Queue: Hayato Ito <hayato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845498}

--

wpt-commits: 72aeb6e4a223fb29d1b485c668e50284df8490ca
wpt-pr: 27254
2021-01-22 04:14:08 +00:00
Ian Kilpatrick
9829a12b96 Bug 1686544 [wpt PR 27158] - [GridNG] Apply justify-content, alignment-content., a=testonly
Automatic update from web-platform-tests
[GridNG] Apply justify-content, alignment-content.

As above. This patch implements the core content alignment logic. E.g.
determining the offset at which the tracks should start, and the space
between them (gutter-size - this include the grid-gap if any).

Creates a new struct "TrackAlignmentGeometry" which contains these
two values. Effectively the process is now:
GridGap -> TrackAlignmentGeometry -> SetOffsets.

The most significant difference is that TrackAlignmentGeometry includes
the grid-gap, and the BorderScrollPadding start offset.

Bug: 1045599
Change-Id: Idb4d550f0d8b2aca306945a46d41b5a30a20bca4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622586
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@{#845494}

--

wpt-commits: c71b45a1c65da368339f4db424a3740d7f8ea7f3
wpt-pr: 27158
2021-01-22 04:14:07 +00:00
moz-wptsync-bot
09eb669a23 Bug 1687049 [wpt PR 27206] - Update wpt metadata, a=testonly
wpt-pr: 27206
wpt-type: metadata
2021-01-22 04:14:07 +00:00
Alison Maher
de6bb02dc2 Bug 1687049 [wpt PR 27206] - Stop-color, flood-color, and lighting-color in forced colors mode, a=testonly
Automatic update from web-platform-tests
Stop-color, flood-color, and lighting-color in forced colors mode

When investigating CL:2627779, I had noticed a few other color
properties we weren't adjusting for in forced colors mode:
stop-color, flood-color, and lighting-color. In most cases, this
shouldn't make a difference since SVG elements are set to
'forced-color-adjust: none' by default, but I figured these would
be good to include for consistency.

Bug: 1166911
Change-Id: I47d16b20309565d28e24e1410115b5a36f22a662
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2633944
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#845474}

--

wpt-commits: e4ccc12bbc1d948057d9931ccc2aa06c83d43313
wpt-pr: 27206
2021-01-22 04:14:06 +00:00
moz-wptsync-bot
bfb46f54bb Bug 1686799 [wpt PR 27191] - Update wpt metadata, a=testonly
wpt-pr: 27191
wpt-type: metadata
2021-01-22 04:14:06 +00:00
Olivier Yiptong
6c07f0c0c7 Bug 1686799 [wpt PR 27191] - FontAccess: Selection option support for chooser, a=testonly
Automatic update from web-platform-tests
FontAccess: Selection option support for chooser

This change restricts the fonts displayed to the user when a chooser is
shown. This constraint to the list is implemented as an exact-match
with items supplied in a list with the postscript names of the available
fonts.

Fixed: 1164077
Change-Id: If3e3e0cba91de83bc0a39ffe382f13cb38f7be35
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626117
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Auto-Submit: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845473}

--

wpt-commits: 0b8a55a5131c7c9e104457ec8b929374ab948c64
wpt-pr: 27191
2021-01-22 04:14:05 +00:00