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

49711 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 26ff4f10b7 Bug 1661381 - Disable scroll-to-text-fragment/redirects.html for frequently failure with different failures. r=jmaher DONTBUILD
Further failures:
- bug 1662311
- bug 1662312

Differential Revision: https://phabricator.services.mozilla.com/D89358
2020-09-08 13:55:05 +00:00
Edgar Chen 885dfc77da Bug 1621855 - Disable wpt pointerevents/pointerlock/pointerevent_movementxy.html; r=jgraham
Due to the lack of touch support in geckodriver, see https://bugzilla.mozilla.org/show_bug.cgi?id=1543337.

Differential Revision: https://phabricator.services.mozilla.com/D89427
2020-09-08 13:57:13 +00:00
Sebastian Hengst c61c4c47aa Bug 1661697 - adjust expectations on beta and release for document-policy tests which depend on ReportingObserver (only enabled in Nightly). r=ckerschb DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89389
2020-09-08 07:00:05 +00:00
moz-wptsync-bot de555667b1 Bug 1663435 - [wpt-sync] Update web-platform-tests to 932a43117541867438e2ede4be21ec70ba97a241, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 932a43117541867438e2ede4be21ec70ba97a241
wpt-type: landing
2020-09-08 10:31:32 +00:00
moz-wptsync-bot b26cf38eca Bug 1662662 [wpt PR 25353] - File API: make manual IDL test use idl_test, a=testonly
Automatic update from web-platform-tests
File API: make manual IDL test use idl_test

--

wpt-commits: ffca9d1f7193365c79a1274b81eac97864fec872
wpt-pr: 25353
2020-09-08 10:31:32 +00:00
Antonio Sartori f1cb978c0a Bug 1662412 [wpt PR 25322] - Fix CSP source list intersection for CSPEE in blink, a=testonly
Automatic update from web-platform-tests
Fix CSP source list intersection for CSPEE in blink

As explained in https://github.com/w3c/webappsec-cspee/pull/18,
Content-Security-Policy: Embedded Enforcement source list intersection
algorithm sometimes computes a wrong intersection of two lists of
source expressions.

Additionally, blink CSPEE source intersection algorithm was computing
a wrong intersection for http://*.com and http://*.example.com.

We fix those problems and add a unit test and WP tests.

Change-Id: Ie7b85d8c7e978af6b5e87141d257c66e5556be95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2385458
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803799}

--

wpt-commits: 953dd708a465fc3f89a6c74812cc18b62bbfc724
wpt-pr: 25322
2020-09-08 10:31:32 +00:00
Anne van Kesteren 65d1259eb7 Bug 1662679 [wpt PR 25356] - Navigation Timing: adopt idl_test, a=testonly
Automatic update from web-platform-tests
Navigation Timing: adopt idl_test

--

wpt-commits: 34fe8e37c1f8830867ebe7ebeee37cdc9b852856
wpt-pr: 25356
2020-09-08 10:31:31 +00:00
Anne van Kesteren af94e48ff6 Bug 1662659 [wpt PR 25352] - Idle Detection: use idl_test more, a=testonly
Automatic update from web-platform-tests
Idle Detection: use idl_test more (#25352)

Also move the IDL file to /interfaces/.
--

wpt-commits: 13ac6246600671e8fa54c4b083c350b1d8aa5eee
wpt-pr: 25352
2020-09-08 10:31:31 +00:00
Xianzhu Wang df5507fea4 Bug 1662316 [wpt PR 25311] - More accurate layout shift tracking for texts, a=testonly
Automatic update from web-platform-tests
More accurate layout shift tracking for texts

Previously when a text shifted, we assumed the whole area below the
text in the containing block shifted, which might report too big
shifted area, e.g. if the text shift was just in one line.

Now pass the logical height of the shifted text and calculate the
shifted area for the text only. Shifts of other texts below are
checked separately.

Bug: 1121405
Change-Id: I029c5dfcf6d0537a9be4f8c33cac9d63bd4b4f1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386842
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803755}

--

wpt-commits: b715a02c61e2af6a66c42c7db837fad8682acdc5
wpt-pr: 25311
2020-09-08 10:31:30 +00:00
moz-wptsync-bot 069ba9948d Bug 1662598 [wpt PR 25344] - Update wpt metadata, a=testonly
wpt-pr: 25344
wpt-type: metadata
2020-09-08 10:31:30 +00:00
Olivier Yiptong af0502353a Bug 1662598 [wpt PR 25344] - FontAccess: Require User Activation only when showing permission prompt, a=testonly
Automatic update from web-platform-tests
FontAccess: Require User Activation only when showing permission prompt

Following feedback from partners, requiring UA each time
navigator.fonts.query() is invoked is cumbersome for UX.

This change ensures that User Activation is checked before showing a
permission prompt, but isn't checked if the permission status is
either granted or denied.

Bug: 1043306
Change-Id: I37a848feaf7c02e881bb4a63f53594a3636a9f96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388982
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803729}

--

wpt-commits: 5b45e1ee6f423f9c4a017b274bec9fafa0141778
wpt-pr: 25344
2020-09-08 10:31:29 +00:00
Olivier Yiptong 55c9a7cf8e Bug 1662562 [wpt PR 25339] - FontAccess: ChromeOS and Linux platform implementation, a=testonly
Automatic update from web-platform-tests
FontAccess: ChromeOS and Linux platform implementation

This change implements font enumeration for ChromeOS and Linux platforms.
Both platforms make use of fontconfig for enumeration.

Font Data Access is already supported by a previous change adding
@font-face src local matching.

Bug: 1043306
Change-Id: I4a04f94e488e481d2d444469b225178f44f907fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388103
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803715}

--

wpt-commits: 793c39e8200da1ec954488af9f69704567665831
wpt-pr: 25339
2020-09-08 10:31:29 +00:00
Vladimir Levin 31c9dc258a Bug 1662257 [wpt PR 25303] - ContentVisibility: Make the lifecycle tasks run only on full lifecycle., a=testonly
Automatic update from web-platform-tests
ContentVisibility: Make the lifecycle tasks run only on full lifecycle.

This patch changes the behavior of willstart- an didfinish- lifecycle
callbacks, as well as when the start of lifecycle tasks are run.

Previously, they would run on any call to the lifecycle update.
However, the intent of this is to document when the main frame
lifecycle runs (ie to PaintClean).

R=szager@chromium.org, chrishtr@chromium.org

Fixed: 1121965
Change-Id: I83bfa7142ca3fc9a94adbd0e5dfbe0245da3c9be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386222
Reviewed-by: Stefan Zager <szager@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803637}

--

wpt-commits: 17f8f001c7643155b38725ff8f3a827dec798a86
wpt-pr: 25303
2020-09-08 10:31:28 +00:00
Morten Stenshorne 1c4f43c091 Bug 1662511 [wpt PR 25335] - A column-spanning legend isn't part of the flow thread., a=testonly
Automatic update from web-platform-tests
A column-spanning legend isn't part of the flow thread.

The containing block of a spanner is always the multicol container
itself.

Bug: 1123710, 1123792
Change-Id: I3486e6ad2484396548f8682c842a6fb8a731e058
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386799
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803609}

--

wpt-commits: 43847c61ef7d3cf326d63439eb2df286bd1463c0
wpt-pr: 25335
2020-09-08 10:31:28 +00:00
Ian Kilpatrick 38dfc70dce Bug 1662565 [wpt PR 25341] - [layout] Make an OOF table-layout:fixed not report an infinite max-size, a=testonly
Automatic update from web-platform-tests
[layout] Make an OOF table-layout:fixed not report an infinite max-size

Previously tables ignored the given fixed-inline-size. However due to
a fix for grid/flex:
a0b54e201c
they started respecting them.

The uncovered a bug in the NG out-of-flow calculation, (given that these
set a fixed-inline-size on children).

An OOF table with "table-layout: fixed", and a %-width will force its
max-content size to infinity, consuming all available space.

This patch only performs this adjustment if the table *isn't* OOF.

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

--

wpt-commits: f135c6d792d0d5a50a8bf948f2eaf19a96d48787
wpt-pr: 25341
2020-09-08 10:31:28 +00:00
Rouslan Solomakhin 1ba1f0f372 Bug 1662543 [wpt PR 25338] - [Web Payment] Very long instrumentId string test., a=testonly
Automatic update from web-platform-tests
[Web Payment] Very long instrumentId string test.

This patch adds a test for JSON serialization of a very long string
being passed into PaymentRequest API.

Bug: 1110324, 1115091
Change-Id: Ia6690b2f41ff99190afed4431854515b167056b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2348411
Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
Reviewed-by: Nick Burris <nburris@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#797165}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2359155
Cr-Commit-Position: refs/heads/master@{#803617}

--

wpt-commits: a7831be8db72dd936070f2c221a7f9f3c5a0c73b
wpt-pr: 25338
2020-09-08 10:31:27 +00:00
Mike Hommey aa86bba7ac Bug 1662601 - Remove fileid. r=gsvelto
The last thing that was using fileid was fix-stacks, which, as of bug
1662037, doesn't anymore.

Differential Revision: https://phabricator.services.mozilla.com/D89076
2020-09-05 05:31:28 +00:00
Henrik Skupin 3880aa3e82 Bug 1663429 - [marionette] Only throw NoSuchWindow error in "WebDriver:SwitchToWindow". r=marionette-reviewers,jgraham
There is a race condition in the "WebDriver:SwitchToWindow" command
that would throw an UnknownError instead of NoSuchWindowError when
the window gets closed at the same time as the command gets called.

Differential Revision: https://phabricator.services.mozilla.com/D89377
2020-09-07 15:29:42 +00:00
Jonathan Kew 94149fadd5 Bug 1533462 - Enable the cross-process shared fontlist by default on Nightly builds. r=jwatt
Also add explicit line-height to a localized-family-names test for better consistency.

Differential Revision: https://phabricator.services.mozilla.com/D79963
2020-09-07 17:20:58 +00:00
Sylvestre Ledru da34b6a58e Bug 1661514 - Reformat some python files with black 20.8b1 r=rstewart
# ignore-this-changeset

Depends on D88711

Differential Revision: https://phabricator.services.mozilla.com/D88712
2020-09-07 14:05:10 +00:00
Masayuki Nakano 3ed5c1ea83 Bug 1658702 - part 9: Add `AutoDeleteRangesHandler::ComputeRangesToDeleteHRElement()` to compute the target range for deleting `<hr>` element r=m_kato
This patch corresponds to:
* https://searchfox.org/mozilla-central/rev/0c682c4f01442c3de0fa6cd286e9cadc8276b45f/editor/libeditor/HTMLEditSubActionHandler.cpp#3362-3375
* https://searchfox.org/mozilla-central/rev/0c682c4f01442c3de0fa6cd286e9cadc8276b45f/editor/libeditor/HTMLEditSubActionHandler.cpp#3679-3695
* https://searchfox.org/mozilla-central/rev/0c682c4f01442c3de0fa6cd286e9cadc8276b45f/editor/libeditor/HTMLEditSubActionHandler.cpp#3728-3742

Note that the complicated cases (surrounded by invisible `<br>` element and/or
surrounded by invisible white-spaces) are handled as deleting non-collapsed
range so that this improves only the simple cases.

And also this adds a pref to disable the Gecko specific complicated `<hr>`
element handling.

Differential Revision: https://phabricator.services.mozilla.com/D88969
2020-09-07 03:09:30 +00:00
Christoph Kerschbaumer c6241df6d4 Bug 1661672: Remove use of security.view-source.reachable-from-inner-protocol r=Gijs,emilio
Differential Revision: https://phabricator.services.mozilla.com/D89163
2020-09-07 13:51:44 +00:00
Razvan Maries ba64673af1 Bug 1663108 - Update column-balancing-paged-001-print.html expectation. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89292
2020-09-07 13:22:42 +00:00
Masayuki Nakano dc906b0477 Bug 1658702 - part 8: Add `AutoDeleteRangesHandler::ComputeRangesToDeleteAtomicContent()` to compute atomic content deleting target range r=m_kato
This patch corresponds to the following part:
* https://searchfox.org/mozilla-central/rev/0c682c4f01442c3de0fa6cd286e9cadc8276b45f/editor/libeditor/HTMLEditSubActionHandler.cpp#3346-3360
* https://searchfox.org/mozilla-central/rev/0c682c4f01442c3de0fa6cd286e9cadc8276b45f/editor/libeditor/HTMLEditSubActionHandler.cpp#3750-3761
* https://searchfox.org/mozilla-central/rev/0c682c4f01442c3de0fa6cd286e9cadc8276b45f/editor/libeditor/WSRunObject.cpp#1075-1113

Let's return a range selecting the deleting atomic content (i.e., between
`EditorDOMPoint(&content)` and `EditorDOMPoint::After(content)`).

For doing it, we need to shrink the computed range after
`AutoRangeArray::ExtendAnchorFocusRangeFor()` because layout code puts
range boundaries to start or end of text node in this case.

Then, surprisingly, our deletion code have not used
`HandleDeleteCollapsedSelectionAtAtomicContent()` in most cases because
`AutoRangeArray::ExtendAnchorFocusRangeFor()` makes the collapsed range
to non-collapsed.  For making the deletion faster and simpler, this patch
shrinks the result of `AutoRangeArray::ExtendAnchorFocusRangeFor()` if
it has only one range and selects only one atomic content node.

Differential Revision: https://phabricator.services.mozilla.com/D88968
2020-09-07 04:59:22 +00:00
Emilio Cobos Álvarez a517c1994a Bug 1663283 - Fix printing of nested iframes. r=smaug
Cloning of the nested documents should be recursive, I am dum dum.

Differential Revision: https://phabricator.services.mozilla.com/D89313
2020-09-06 17:56:05 +00:00
Dorel Luca e2729fcc1b Backed out changeset 6645926d8c62 (bug 1663283) for web platform test failures in /html/browsers/windows/iframe-nested-print.html. CLOSED TREE 2020-09-06 20:52:15 +03:00
Emilio Cobos Álvarez 5721e02e22 Bug 1663283 - Fix printing of nested iframes. r=smaug
Cloning of the nested documents should be recursive, I am dum dum.

Differential Revision: https://phabricator.services.mozilla.com/D89313
2020-09-06 16:34:46 +00:00
Bogdan Tara 9d94551083 Backed out changeset 697a0ad573c6 (bug 1661174) for PromptDelegateTest failures CLOSED TREE 2020-09-06 14:21:38 +03:00
Marcos Cáceres d7901374c5 Bug 1661174 - restrict schemes supported by Web Share API r=edgar
Restrict to "loadable" URLs. Also exclude blob URLs.

Edgar,

This includes Marcos' fix.  Apparently I can push revisions without commandeering it, so the last few are mine alone.  What appears to have happened is that the fix bounced due to Windows builders not being configured to support sharing (I ran these locally and they pass).  Including these as expected failures on Windows seems to work (I ran this on try, and missed a test, as you can see from history).

Try run here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3ebecf71d5732d4dc0438f4d7b714f94b881353a (I since added wss to the expected failures).

Differential Revision: https://phabricator.services.mozilla.com/D88371
2020-09-02 11:52:16 +00:00
Emilio Cobos Álvarez 0cc4b1a206 Bug 1663231 - Make @font-face and @counter-style serialization closer other browsers and style rules. r=xidorn
Style rules serialize on one line and so should @font-face blocks.

Part of https://github.com/w3c/csswg-drafts/issues/4828.

Differential Revision: https://phabricator.services.mozilla.com/D89302
2020-09-05 00:42:43 +00:00
Masayuki Nakano f1c2353722 Bug 1658702 - part 7: Make `AutoDeleteRangesHandler::ComputeRangesToDelete()` compute text deletion range from a collapsed range r=m_kato
Just for computing the deletion range, we can use new path for the Blink-compat
white-space normalizer.

This patch corresponds to:
* https://searchfox.org/mozilla-central/rev/ce21a13035623c1d349980057d09000e70669802/editor/libeditor/HTMLEditSubActionHandler.cpp#3278-3284
* https://searchfox.org/mozilla-central/rev/ce21a13035623c1d349980057d09000e70669802/editor/libeditor/HTMLEditSubActionHandler.cpp#3298-3344
* https://searchfox.org/mozilla-central/rev/ce21a13035623c1d349980057d09000e70669802/editor/libeditor/HTMLEditSubActionHandler.cpp#3422-3455

Differential Revision: https://phabricator.services.mozilla.com/D88941
2020-09-04 11:30:52 +00:00
Jeff Gilbert ce92c2ec3c Bug 1653060 - Increase RDD leak threshold to 4000 for now. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D89263
2020-09-03 22:47:45 +00:00
Kagami Sascha Rosylight 8fb6badd8c Bug 1623413 - Part 1: Skip selection point check when called from JS r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D88702
2020-09-03 11:55:22 +00:00
Mihai Alexandru Michis 0600dacd03 Backed out 3 changesets (bug 1623413) for causing failures in Selection_collapse.html
CLOSED TREE

Backed out changeset d3d67293f115 (bug 1623413)
Backed out changeset 75ed1b8a5c67 (bug 1623413)
Backed out changeset 0eef32d6a454 (bug 1623413)
2020-09-03 05:37:49 +03:00
Hiroyuki Ikezoe b15a8fe457 Bug 1661873 - Add wpts and mochitests to make sure downloadable font is properly printed or rendered in print preview. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D89095
2020-09-03 01:31:36 +00:00
Ting-Yu Lin 1f00be3d53 Bug 1652112 Part 6 - Move remaining shape-outside reftests to wpt, and delete w3c-css/submitted/shapes1 folder. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D85020
2020-09-02 20:24:51 +00:00
Ting-Yu Lin f7a0b67ef8 Bug 1652112 Part 5 - Move shape-outside polygon reftests into wpt. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D85019
2020-09-02 20:23:55 +00:00
Ting-Yu Lin 3e3e17c3f6 Bug 1652112 Part 4 - Move shape-outside inset reftests into wpt. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D85018
2020-09-02 20:18:14 +00:00
Ting-Yu Lin ff2b86c068 Bug 1652112 Part 3 - Move shape-outside ellipse reftests into wpt. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D85017
2020-09-02 20:17:16 +00:00
Ting-Yu Lin 93ad2862e1 Bug 1652112 Part 2 - Move shape-outside circle reftests into wpt. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D85016
2020-09-02 21:32:10 +00:00
Ting-Yu Lin 2d4f738f49 Bug 1652112 Part 1 - Move shape-outside shape-box reftests into wpt. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D85014
2020-09-02 20:10:07 +00:00
Ting-Yu Lin c30df13722 Bug 1652112 Part 0 - Delete vendor-imports/mozilla-central-reftests/shapes1/ in wpt. r=dholbert
Delete both the reftests and ini files.

Differential Revision: https://phabricator.services.mozilla.com/D87207
2020-09-02 20:02:39 +00:00
Mihai Alexandru Michis 8c92fd7398 Backed out 7 changesets (bug 1658359) for causing failures in browser_html_discover_view_clientid.js
Backed out changeset 85e7a3055098 (bug 1658359)
Backed out changeset 31334123ea1c (bug 1658359)
Backed out changeset 96c56797e427 (bug 1658359)
Backed out changeset 854803822b86 (bug 1658359)
Backed out changeset 40745945aadf (bug 1658359)
Backed out changeset 3882f59a56e0 (bug 1658359)
Backed out changeset 50b9c91c0939 (bug 1658359)
2020-09-03 04:12:42 +03:00
Kagami Sascha Rosylight 1e311a886d Bug 1623413 - Part 1: Skip selection point check when called from JS r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D88702
2020-09-01 09:28:26 +00:00
Mihai Alexandru Michis 7fb69eef2a Backed out changeset 71edbf86ce85 (bug 1662855) for causing xpcshell failures.
CLOSED TREE
2020-09-03 01:56:09 +03:00
Karl Tomlinson 01543eaa25 Bug 1659201 Test AudioWorkletNode subclass with parameters r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D87555
2020-09-02 15:06:11 +00:00
Geoff Brown a2e1392505 Bug 1390884 - Enable all test-verify chaos modes except TimerScheduling; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D89214
2020-09-02 21:13:40 +00:00
Andrew McCreight ecb1dff94b Bug 1661173 - Use browserId instead of the BC for BrowserTestUtils.addContentEventListener. r=kmag
The browserId is stable across navigations, but the browsing context
itself might not be if we are not preserving the BC across navigations.

It might seem like this change would mean that we'd start getting notified
about events for subframes, but the old code was passing in the BC of the
top level frame anyways, so that's not a change in behavior.

Differential Revision: https://phabricator.services.mozilla.com/D89179
2020-09-02 21:09:45 +00:00
James Willcox b8fb1213a4 Bug 1662528 - Make ContentDelegate.onCloseRequest() work again r=geckoview-reviewers,agi
This also adds a test.

Differential Revision: https://phabricator.services.mozilla.com/D89026
2020-09-02 20:02:52 +00:00
Kris Maglione d2863ca956 Bug 1662855: Remove defunct httpd.manifest file. r=mccr8,necko-reviewers,valentin
The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.

Differential Revision: https://phabricator.services.mozilla.com/D89197
2020-09-02 20:14:12 +00:00