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

49794 Коммитов

Автор SHA1 Сообщение Дата
Punam Dahiya 744a5e4c1e Bug 1659150 - Remove about:welcome trailhead, full page and ReturnToAMO templates r=perftest-reviewers,Mardak,mkaply,nanj,sparky
Differential Revision: https://phabricator.services.mozilla.com/D89077
2020-09-11 00:31:11 +00:00
Narcis Beleuzu f837964009 Backed out 3 changesets (bug 1661809, bug 1662706, bug 1663417) for SM bustages. CLOSED TREE
Backed out changeset 96e69574f7ee (bug 1662706)
Backed out changeset a584b11a503a (bug 1663417)
Backed out changeset 655ce94f20f3 (bug 1661809)
2020-09-11 01:50:09 +03:00
Csoregi Natalia 67eb265e55 Backed out changeset db6f7a903c64 (bug 1651725) for spidermonkey bustage on /basic.js. CLOSED TREE 2020-09-10 19:43:00 +03:00
Jessica Tallon fa54b8f87f Bug 1651725 - Add 'minimum' argument to WASM's Memory & Table r=lth
This adds a 'minimum' argument to the JS-API for the WebAssembly.Memory
and WebAssembly.Table objects. This parameter represents the minimum
size of the object which was specified by the 'initial' parameter. This
supports using either initial or minimum to specify the parameter.

This commit is part of the work to add type reflections to the
WebAssembly JS-API as specified in the js-types proposal.

Differential Revision: https://phabricator.services.mozilla.com/D85887
2020-09-10 14:24:35 +00:00
Chris H-C 1776c98e00 Bug 1658359 - Suppress Glean-sent pings in tests that redirect Telemetry r=janerik
I would redirect Glean-sent pings instead of suppressing them, but network
errors seem to be causing unrelated failures in
toolkit/mozapps/extensions/test/browser/browser_html_discover_view_clientid.js

Differential Revision: https://phabricator.services.mozilla.com/D88980
2020-09-09 20:01:06 +00:00
Tarek Ziadé 282632b3a0 Bug 1662706 - add a fuzzy runner r=sparky,necko-reviewers,rstewart DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89123
2020-09-10 11:36:29 +00:00
Emilio Cobos Álvarez a3c20c9800 Bug 1662703 - Make appearance: button behave like auto. r=heycam
As per https://github.com/w3c/csswg-drafts/issues/5174.

Differential Revision: https://phabricator.services.mozilla.com/D89119
2020-09-10 08:58:09 +00:00
Razvan Maries f0ac3ad62a Backed out changeset baab244deeb0 (bug 1662703) for perma failures on 482681.xhtml. CLOSED TREE 2020-09-10 04:50:23 +03:00
Emilio Cobos Álvarez af8bc3472b Bug 1662703 - Make appearance: button behave like auto. r=heycam
As per https://github.com/w3c/csswg-drafts/issues/5174.

Differential Revision: https://phabricator.services.mozilla.com/D89119
2020-09-08 23:03:58 +00:00
Razvan Maries 0fe0c37f5a Backed out changeset 5ca78eb969aa (bug 1649099) for perma failures on activeelement-after-focusing-different-site-iframe-contentwindow.html. CLOSED TREE 2020-09-09 21:59:57 +03:00
Myeongjun Go b53336d5a4 Bug 1653326 - [perfdocs] Add documentation about individual mozperftest tests to perfdocs r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86488
2020-09-09 17:58:39 +00:00
Sebastian Hengst a331186a1d Bug 1592459 - Set a step of the-autofocus-attribute/first-when-later.html as intermittent on Windows 10 opt. r=jmaher DONTBUILD
Depends on D89631

Differential Revision: https://phabricator.services.mozilla.com/D89632
2020-09-09 16:48:41 +00:00
moz-wptsync-bot 16a0eff2a9 Bug 1663892 - [wpt-sync] Update web-platform-tests to 15ea2bb29faf54d1da7ff7781825a0c4ef7d6715, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 15ea2bb29faf54d1da7ff7781825a0c4ef7d6715
wpt-type: landing
2020-09-09 16:52:18 +00:00
moz-wptsync-bot 41cbcab12a Bug 1663098 [wpt PR 25401] - webrtc wpt: fix wrong assert description, a=testonly
Automatic update from web-platform-tests
webrtc wpt: fix wrong assert description

copy-paste probably

BUG=chromium:1124967

Change-Id: Iba5fc35c093489724fb3bf6759e8417bb212a550
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391076
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#804747}

--

wpt-commits: 8561786ac4f527e5ca2249934bcb1479856825bf
wpt-pr: 25401
2020-09-09 16:52:17 +00:00
Stephen McGruer a0b803b390 Bug 1663358 [wpt PR 25418] - [Safari Tech Preview] Skip web-share test that makes STP crash, a=testonly
Automatic update from web-platform-tests
[Safari Tech Preview] Skip web-share test that makes STP crash (#25418)

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

wpt-commits: 40ced81e61a70172447cfe892c1f15c85ec07ecb
wpt-pr: 25418
2020-09-09 16:52:17 +00:00
Christoph Kerschbaumer d29c3dd45d Bug 1654258: Package all activity-stream css files and load them using the internal chrome: protocol. r=mconley,k88hudson,perftest-reviewers,zombie,sparky
Differential Revision: https://phabricator.services.mozilla.com/D85022
2020-09-09 16:11:28 +00:00
Kashav Madan 3a55fcf792 Bug 1663792 - Remove stale fission intermittent annotations, r=jgraham
These tests haven't failed in the past 6 months according to ActiveData[1], so
it's probably fine to remove their fission-specific annotations.

The data was collected with [2].

[1] https://docs.google.com/spreadsheets/d/1ocuISt4aRCdu4v5x_bqYDNYbqBI73FyuQNuYziUOu0A/
[2] https://git.io/JUnhs

Differential Revision: https://phabricator.services.mozilla.com/D89526
2020-09-09 16:25:34 +00:00
Henri Sivonen dc1acec1a6 Bug 1649099 - Add WPTs for testing the effect on activeElement of the containing doc when calling .focus() and .blur() on an OOP iframe. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D81497
2020-09-09 15:26:13 +00:00
Dragana Damjanovic 7433c1b34d Bug 1618849 - Add separate AltSvc for http2 and http3 and prefer http3 if allowed. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D86934
2020-09-09 10:32:22 +00:00
Cosmin Sabou 735a53ee64 Bug 1663770 - Set pointerevent_pointerlock_supercedes_capture.html to pass on linux qr. r=jgraham DONTBUILD DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89527
2020-09-09 09:44:55 +00:00
Sebastian Hengst 48aef80df5 Bug 1663751 - set idle-detection/idlharness.https.window.html expected failures. r=jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89562
2020-09-09 10:17:16 +00:00
James Graham 0116c32dbb Bug 1663653 - Make wptrunner use the same manifest for non-gecko products, r=whimboo
This utilises the fact that we can now specify the manifest
independently of the metadata path, which wasn't possible before. We
need to edit the default (i.e. Firefox) configuration to update the
metadata path (only) to point at something product-specific so we
don't end up using fx metadata for everything.

Differential Revision: https://phabricator.services.mozilla.com/D89461
2020-09-09 09:44:22 +00:00
Henrik Skupin 5a88335ebc Bug 1606637 - [marionette] Use plain Promise instead of TimedPromise for Sleep. r=marionette-reviewers,maja_zf
TimedPromise logs a warning if the timeout exceeded and not error
should be raised. Given that Sleep always runs into that condition
a lot of inappropriate log entries are made that also causes
confusion for our users when commands (especially actions) don't
work as expected.

Differential Revision: https://phabricator.services.mozilla.com/D89354
2020-09-09 09:35:50 +00:00
Bogdan Tara d5746a62fe Backed out changeset 7813723422bf (bug 1618849) for browser_staticPartition_network.js failures CLOSED TREE 2020-09-09 04:58:46 +03:00
Bogdan Tara f32777f722 Backed out changeset cb50aecf4bad (bug 1606637) for perform_actions/pointer* failures CLOSED TREE 2020-09-09 04:57:03 +03:00
Henrik Skupin 9aae0f1df6 Bug 1660881 - [marionette] Use defineLazyGetter to define global objects. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D89398
2020-09-08 18:32:37 +00:00
Henrik Skupin 89d8db7e53 Bug 1660881 - [marionette] Use defineLazyServiceGetter to define global services. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D89397
2020-09-08 18:30:40 +00:00
Henrik Skupin e9c734cfdc Bug 1660881 - [marionette] Always define lazy getter for Log as "logger". r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D89396
2020-09-08 18:28:44 +00:00
Henrik Skupin 4f4259b645 Bug 1660881 - [marionette] Use XPCOMUtils.defineLazyModuleGetters() to defer loading of not immediately necessary modules. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D89395
2020-09-08 18:22:43 +00:00
Henrik Skupin ed215b010b Bug 1660881 - [marionette] Declare EXPORTED_SYMBOLS at the top of the file. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D89394
2020-09-08 18:19:32 +00:00
Henrik Skupin a345bf0d0f Bug 1606637 - [marionette] Use plain Promise instead of TimedPromise for Sleep. r=marionette-reviewers,maja_zf
TimedPromise logs a warning if the timeout exceeded and not error
should be raised. Given that Sleep always runs into that condition
a lot of inappropriate log entries are made that also causes
confusion for our users when commands (especially actions) don't
work as expected.

Differential Revision: https://phabricator.services.mozilla.com/D89354
2020-09-08 18:36:52 +00:00
Dragana Damjanovic 821dfeec6a Bug 1618849 - Add separate AltSvc for http2 and http3 and prefer http3 if allowed. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D86934
2020-09-08 18:30:58 +00:00
Andreea Pavel b51ef49138 Bug 1642532 - Update k-rate-dynamics-compressor-connections.html expectation on linux 32 r=intermittent-reviewers,jmaher DONTBUILD CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D87945
2020-08-25 21:07:37 +00:00
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
Chris H-C ed7847a59f Bug 1658359 - Point Glean-sent pings to localhost for tests that redirect Telemetry r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D88980
2020-09-02 19:05:07 +00:00
Ricky Stewart 4c6985333a Bug 1659539 - [python-test] Remove '--python' and stop using pipenv to manage virtualenvs r=ahal
Pipenv is heavy weight and overkill for the purposes it is being used. We'd like to remove it from the tree and |mach python-test| was one of the last remanining use cases.

Remove the `--python` command-line argument as a result. Users who wish to run unit tests with Python 2 can do `MACH_PY2=1 ./mach python-test ...` or `python2 ./mach python-test ...`.

Also update a few unit tests that would break otherwise in the presence of this change.

There were a couple lines in the `setup.py` for `mozlog` that were problematic for tests and was resulting in errors due to the `mozlog` plugin being loaded by `pytest` more than once. We just delete those lines and bump up the major version number of the package to fix it.

Differential Revision: https://phabricator.services.mozilla.com/D88296
2020-09-02 17:05:24 +00:00
Mark Banner 552793d2cc Bug 1619926 - Remove remnants of Search geo-location handling now it is handled by Region.jsm. r=daleharvey
Depends on D88021

Differential Revision: https://phabricator.services.mozilla.com/D88022
2020-09-01 18:08:46 +00:00
Gregory Mierzwinski b763a59e98 Bug 1661545 - Add a geckoview and desktop live site test on autoland. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D88680
2020-09-02 14:11:41 +00:00
James Graham 984c41ed4a Bug 1662539 - Mark history navigation test as intermittent on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D89134
2020-09-02 16:28:09 +03:00
James Graham 9596989193 Bug 1662539 - Mark content-type test as intermittent on Win32,
Differential Revision: https://phabricator.services.mozilla.com/D89132
2020-09-02 16:14:38 +03:00
James Graham 3e90721194 Bug 1662539 - Revert changes to report-only-same-origin.https.html.ini,
Differential Revision: https://phabricator.services.mozilla.com/D89129
2020-09-02 16:03:45 +03:00
James Graham 2475fdafd3 Bug 1662539 - Revert android metadata for screen-orientation,
Differential Revision: https://phabricator.services.mozilla.com/D89125
2020-09-02 15:26:15 +03:00
James Graham 7c9dc2f7c0 Bug 1662539 - Update metadata. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D89117
2020-09-02 11:04:08 +00:00
moz-wptsync-bot 2551cc23e9 Bug 1662539 - [wpt-sync] Update web-platform-tests to 1ab7a4ebcf4a9c7eae8fad7ba8565ca3ae15ca27, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 1ab7a4ebcf4a9c7eae8fad7ba8565ca3ae15ca27
wpt-type: landing
2020-09-02 08:23:26 +00:00
Camille Lamy ddfb3a10f7 Bug 1659787 [wpt PR 25072] - COOP: add reporting to redirects, a=testonly
Automatic update from web-platform-tests
COOP: add reporting to redirects

This CL allows reporting browsing context group switches triggered by
redirects and updates the reports sent in this case to the latest
version of the spec PR (https://github.com/whatwg/html/pull/5518). Since
the status of COOP was becoming hard to track, I moved it to its own
class for better encapsulation.

Bug: 1059303
Change-Id: Ifafb23073301bd05cd9ce83fdb0b748c28e8a51f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352880
Commit-Queue: Camille Lamy <clamy@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799863}

--

wpt-commits: 677c57c0e8816b0892cc3ae1c2772189b1bdcf65
wpt-pr: 25072
2020-09-02 08:23:25 +00:00
Amr Aboelkher 2d09f5a20e Bug 1661302 [wpt PR 25248] - [Sheriff] Revert "[Perfect Negotiation] Surface session descriptions at the right time.", a=testonly
Automatic update from web-platform-tests
[Sheriff] Revert "[Perfect Negotiation] Surface session descriptions at the right time."

This reverts commit 3bc91ccc927f8eb887a84a1e59f34c88518ce2ab.

Reason for revert: Failure of WebKit Linux ASAN build, and that's the suspect for root cause. See https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20ASAN/17329

Original change's description:
> [Perfect Negotiation] Surface session descriptions at the right time.
>
> This fixes another timing related issue that blocks Perfect Negotiation.
>
> Before this CL, current/pending local/remote description attributes do
> blocking-invokes on the webrtc thread, fetching the most up-to-date
> states. This can prematurely expose the result of "in-parallel"
> operations that have not surfaced yet, such as:
> - setLocalDescription
> - setRemoteDescription
> - addIceCandidate
>
> This CL fixes that by copying the SDP states when any of these
> operations complete on the WebRTC thread and carry them over in the
> PostTask to the main thread. Here, we store these snapshots in
> "internal slots" (variables living on the main thread). With this CL,
> reading SDP attributes from RTCPeerConnection is non-blocking and
> spec-compliant.
>
> WPT test coverage added for the exact timing of SLD/SRD and other test
> expectations are updated. addIceCandidate updating the SDP is already
> covered by old WPTs.
>
> Bug: chromium:1110347
> Change-Id: Id41ec354465525c6cedf631fe2209fe097148f60
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2323359
> Commit-Queue: Henrik Boström <hbos@chromium.org>
> Reviewed-by: Harald Alvestrand <hta@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#801798}

TBR=hta@chromium.org,hbos@chromium.org

Change-Id: I4af12fd1430773ea3d134cfc37b9c5e736f20ed0
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1110347
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377715
Reviewed-by: Amr Aboelkher <amraboelkher@google.com>
Commit-Queue: Amr Aboelkher <amraboelkher@google.com>
Cr-Commit-Position: refs/heads/master@{#801822}

--

wpt-commits: dc1106492705bb07a14a066eab757981159cb7b9
wpt-pr: 25248
2020-09-02 08:23:25 +00:00
Kevin Ellis 30bbf066e0 Bug 1660497 [wpt PR 25182] - Fix test flake in animation-state-changes-positive-playback-rate.html, a=testonly
Automatic update from web-platform-tests
Fix test flake in animation-state-changes-positive-playback-rate.html

The flake is caused by limited precision of timeline times. When
comparing times with >=, the boundary time needs to factor in error
tolerance.

The virtual/threaded-no-composited-antialiasing variant of this test
had a recent flake score of 954.

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

--

wpt-commits: ec11bcffbb38f6b10c500f13edeaa5844339f66b
wpt-pr: 25182
2020-09-02 08:23:24 +00:00
Henrik Boström 28bb26f50d Bug 1655987 [wpt PR 24800] - [Perfect Negotiation] Surface session descriptions at the right time., a=testonly
Automatic update from web-platform-tests
[Perfect Negotiation] Surface session descriptions at the right time.

This fixes another timing related issue that blocks Perfect Negotiation.

Before this CL, current/pending local/remote description attributes do
blocking-invokes on the webrtc thread, fetching the most up-to-date
states. This can prematurely expose the result of "in-parallel"
operations that have not surfaced yet, such as:
- setLocalDescription
- setRemoteDescription
- addIceCandidate

This CL fixes that by copying the SDP states when any of these
operations complete on the WebRTC thread and carry them over in the
PostTask to the main thread. Here, we store these snapshots in
"internal slots" (variables living on the main thread). With this CL,
reading SDP attributes from RTCPeerConnection is non-blocking and
spec-compliant.

WPT test coverage added for the exact timing of SLD/SRD and other test
expectations are updated. addIceCandidate updating the SDP is already
covered by old WPTs.

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

--

wpt-commits: 0d794eb31a9920dd63065a1c4de2d14132b986f5
wpt-pr: 24800
2020-09-02 08:23:24 +00:00
moz-wptsync-bot 4da7adddce Bug 1660878 [wpt PR 25215] - Update wpt metadata, a=testonly
wpt-pr: 25215
wpt-type: metadata
2020-09-02 08:23:24 +00:00
jugglinmike 15a2d00893 Bug 1660878 [wpt PR 25215] - [html] Test sequence of navigation failure checks, a=testonly
Automatic update from web-platform-tests
[html] Test sequence of navigation failure checks

This test is in support of this patch to HTML: https://github.com/whatwg/html/pull/5859
--

wpt-commits: 63c8be26e528d19e77819bbb6c9ad7aab5ea5abe
wpt-pr: 25215
2020-09-02 08:23:23 +00:00
Morten Stenshorne 000b97a84b Bug 1661011 [wpt PR 25227] - Never re-use the layout result from the fieldset contents wrapper., a=testonly
Automatic update from web-platform-tests
Never re-use the layout result from the fieldset contents wrapper.

On the layout object side, all children of a fieldset are wrapped inside
an anonymous fieldset contents block. We'll detect during layout which
of the legend children (if any) will become the rendered legend. Unlike
all other in-flow children of a fieldset element, whose containing block
is the wrapper, the containing block of the rendered legend is the
fieldset layout object itself (not the wrapper child), so if we change /
remove the rendered legend, the wrapper won't be marked for layout.

Bug: 1119400
Change-Id: I5b898af8c7b7e3687def6a2333d43a8ba6af09b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2374526
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801772}

--

wpt-commits: 6b6a74e478f36b8039d448d8f44f86033dabefa3
wpt-pr: 25227
2020-09-02 08:23:23 +00:00