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

48464 Коммитов

Автор SHA1 Сообщение Дата
Csoregi Natalia c616dac4f2 Backed out 5 changesets (bug 1612831) for failures on test_navigate.js. CLOSED TREE
Backed out changeset 9df3d6a420fd (bug 1612831)
Backed out changeset 5add96b1bf93 (bug 1612831)
Backed out changeset b066b09fe903 (bug 1612831)
Backed out changeset 2f63e799f5e7 (bug 1612831)
Backed out changeset 33e3f1393d8b (bug 1612831)
2020-07-20 01:49:49 +03:00
Henrik Skupin 063d24e2c9 Bug 1612831 - [marionette] Replace usages of then with await for navigation commands. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D80621
2020-07-19 20:20:41 +00:00
Henrik Skupin bef3ea3f02 Bug 1612831 - [marionette] Do check for load event expected in parent process. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D80620
2020-07-19 20:20:28 +00:00
Henrik Skupin bcd37a0024 Bug 1612831 - [marionette] Switch to top-level frame before checking current URL. r=marionette-reviewers,maja_zf
The navigation command is always executed on the top-level
browsing context. As such the check for a possible load
event should not be done for the currently selected frame.

At the same time the switch to frame call can be moved
to the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D80619
2020-07-19 20:02:24 +00:00
Henrik Skupin 53da104eaf Bug 1612831 - [marionette] Add validation check for url argument. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D80618
2020-07-19 20:02:01 +00:00
Henrik Skupin a607cd88b0 Bug 1612831 - [marionette] Rename WebDriver.get() to WebDriver.navigateTo(). r=marionette-reviewers,maja_zf
get() is used a lot within Marionette for getters,
and as such makes it very hard to find the actual
"WebDriver:NavigateTo" implementation.

Differential Revision: https://phabricator.services.mozilla.com/D80617
2020-07-19 20:01:49 +00:00
Geoff Brown d0b99db72f Bug 1653655 - Use ensure_subprocess_env in xpcshell tests; r=jmaher
Copy ensure_subprocess_env from mozbuild.util (not currently accessible from the
automation mozharness environment) to xpcshell harness, and use it.

Differential Revision: https://phabricator.services.mozilla.com/D84020
2020-07-19 18:06:17 +00:00
Coroiu Cristina ceed9863aa Backed out 5 changesets (bug 1612831) for xpcshell failures at testing/marionette/test/unit/test_navigate.js on a CLOSED TREE
Backed out changeset 5ffd34876862 (bug 1612831)
Backed out changeset 5996678b6d08 (bug 1612831)
Backed out changeset cc9da09e1c78 (bug 1612831)
Backed out changeset 3abf197a31a4 (bug 1612831)
Backed out changeset 8ffd32eb9077 (bug 1612831)
2020-07-19 09:21:35 +03:00
Henrik Skupin 8e7f2129a0 Bug 1612831 - [marionette] Replace usages of then with await for navigation commands. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D80621
2020-07-18 14:07:26 +00:00
Henrik Skupin 3f3b470076 Bug 1612831 - [marionette] Do check for load event expected in parent process. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D80620
2020-07-18 14:06:59 +00:00
Henrik Skupin e64bbc774d Bug 1612831 - [marionette] Switch to top-level frame before checking current URL. r=marionette-reviewers,maja_zf
The navigation command is always executed on the top-level
browsing context. As such the check for a possible load
event should not be done for the currently selected frame.

At the same time the switch to frame call can be moved
to the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D80619
2020-07-18 14:06:41 +00:00
Henrik Skupin 8763d1f577 Bug 1612831 - [marionette] Add validation check for url argument. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D80618
2020-07-18 14:06:24 +00:00
Henrik Skupin 0c597f8b24 Bug 1612831 - [marionette] Rename WebDriver.get() to WebDriver.navigateTo(). r=marionette-reviewers,maja_zf
get() is used a lot within Marionette for getters,
and as such makes it very hard to find the actual
"WebDriver:NavigateTo" implementation.

Differential Revision: https://phabricator.services.mozilla.com/D80617
2020-07-18 14:06:16 +00:00
Bruno Bartolomasi 648c1432e6 Bug 1646087 - [marionette] Fix test_skip_setup.py and run it as part of the unit tests. r=marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D84050
2020-07-18 12:47:06 +00:00
moz-wptsync-bot 2f75c35b64 Bug 1653538 - [wpt-sync] Update web-platform-tests to b2a666d93581a71e9338b2ead5dd4d6ef67f1c0d, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: b2a666d93581a71e9338b2ead5dd4d6ef67f1c0d
wpt-type: landing
2020-07-18 02:09:41 +00:00
Robert Ma 1d9c3058db Bug 1653082 [wpt PR 24615] - Fix path in subresource.py, a=testonly
SKIP_BMO_CHECK

The change was introduced in #24481, which assumed request.GET.get would
return a single value (though not documented explicitly, it's a very
reasonable assumption), but unfortunately it actually returns a list.
This caused widespread timeout in many referrer-policy tests, which were
not caught as affected tests.

This change fixes the immediate issue. #24614 will fix MultiDict to match
the intuition.

wpt-commit: 4ba6bcd3466f36dd4ca1a0c59d558d0555b009ac
wpt-pr: 24615
2020-07-18 02:09:41 +00:00
pyup.io bot f76fb984ed Bug 1652470 [wpt PR 24579] - Update mozrunner to 8.0.0, a=testonly
Automatic update from web-platform-tests
Update mozrunner from 7.8.0 to 8.0.0 (#24579)

--

wpt-commits: b2a666d93581a71e9338b2ead5dd4d6ef67f1c0d
wpt-pr: 24579
2020-07-18 02:09:40 +00:00
Jian Li 15134b0f98 Bug 1652822 [wpt PR 24592] - Revert "[LayoutNG] Move relative position calculation into NG.", a=testonly
Automatic update from web-platform-tests
Revert "[LayoutNG] Move relative position calculation into NG."

This reverts commit 27880cb4012f7a84f7921c1bc3f023211eb032ea.

Reason for revert:

Suspect of blink_web_tests failures in a lot of bots, like this one:

https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Win10/70261

Unexpected Failures:
* fast/css/relative-positioned-block-nested-with-inline-parent-dynamic.html
* fast/css/relative-positioned-block-nested-with-inline-parent.html
* paint/invalidation/compositing/composited-float-under-composited-inline-individual.html
* paint/invalidation/compositing/composited-float-under-composited-inline.html
* paint/invalidation/compositing/stacked-float-under-composited-inline.html

Original change's description:
> [LayoutNG] Move relative position calculation into NG.
>
> This patch moves the relative position calculation into NG. Previously
> we needed to manually account for the relative position of an object
> in many different places, overflow calculation, geometry APIs etc.
>
> This patch directly updates the child's offset (relative to its parent)
> to directly incorporate this additional offset.
>
> This calculation occurs within the NGBoxFragmentBuilder, and if an
> object is *placed* by LayoutNG...
> ...LayoutBoxModelObject::RelativePositionOffset returns an empty offset.
>
> This fixes a few small issues where previously we didn't resolve
> percentages against the correct available size when contained within
> an anonymous block.
>
> Bug: 1070822, 1058690
> Change-Id: I2c623b02cc5a4605d310596f5c60353a21236bff
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214608
> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
> Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
> Reviewed-by: Koji Ishii <kojii@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#787991}

TBR=yosin@chromium.org,wangxianzhu@chromium.org,kojii@chromium.org,ikilpatrick@chromium.org,yosin@google.com,mstensho@chromium.org

Change-Id: I5ca67701222509693d3020fa068c279cef39ecbb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1070822, 1058690
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2296628
Reviewed-by: Jian Li <jianli@chromium.org>
Commit-Queue: Jian Li <jianli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788228}

--

wpt-commits: 65ace390982bb405ee10fbea9ba1c92a22199774
wpt-pr: 24592
2020-07-18 02:09:40 +00:00
moz-wptsync-bot bba815248f Bug 1651855 [wpt PR 24544] - Update wpt metadata, a=testonly
wpt-pr: 24544
wpt-type: metadata
2020-07-18 02:09:39 +00:00
Domenic Denicola 61246cfe37 Bug 1651855 [wpt PR 24544] - Origin isolation: reorganize WPTs, a=testonly
Automatic update from web-platform-tests
Origin isolation: reorganize WPTs

This creates subfolders for certain broad classes of web platform tests,
and establishes a more uniform naming scheme for the tests.

Bug: 1042415
Change-Id: Ifc5b07f56880bec2e2a0963e0b6807d8de28988c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2290697
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Reviewed-by: James MacLean <wjmaclean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788258}

--

wpt-commits: 2cc84007df785cc39ccd11f033b7a35a5efd2f03
wpt-pr: 24544
2020-07-18 02:09:39 +00:00
ziransun 9e2b8e94eb Bug 1647243 [wpt PR 24275] - Python 3: port xhr tests [part 4], a=testonly
Automatic update from web-platform-tests
Python 3: port xhr tests [part 4] (#24275)

--

wpt-commits: f24520a0ff56345417ac5b5965d90d12dcef1e5c
wpt-pr: 24275
2020-07-18 02:09:38 +00:00
Josh Matthews 935dc08da4 Bug 1652807 [wpt PR 24591] - Add Servo dependency to docker., a=testonly
Automatic update from web-platform-tests
Add Servo dependency to docker.

--

wpt-commits: f10f2ba6142d68a7d37736149a71e7e08e55eda3
wpt-pr: 24591
2020-07-18 02:09:38 +00:00
ziransun 4c756e2c4b Bug 1652060 [wpt PR 24562] - Python 3: port tests in webdriver, a=testonly
Automatic update from web-platform-tests
Python 3: port tests in webdriver (#24562)

--

wpt-commits: 2db60bf98d698b410347b65cf38e8cc7a32cff2b
wpt-pr: 24562
2020-07-18 02:09:37 +00:00
Domenic Denicola 898534ff4c Bug 1652146 [wpt PR 24566] - Test that MessagePort owners are current, not incumbent, a=testonly
Automatic update from web-platform-tests
Test that MessagePort owners are current, not incumbent

Follows https://github.com/whatwg/html/pull/5728.
--

wpt-commits: 299084220865342716773d5116880a63711339d7
wpt-pr: 24566
2020-07-18 02:09:37 +00:00
moz-wptsync-bot 6c972bd06e Bug 1652172 [wpt PR 24568] - Update wpt metadata, a=testonly
wpt-pr: 24568
wpt-type: metadata
2020-07-18 02:09:36 +00:00
Domenic Denicola a9400517b6 Bug 1652172 [wpt PR 24568] - Test that BroadcastChannel settings object is current, not incumbent, a=testonly
Automatic update from web-platform-tests
Test that BroadcastChannel settings object is current, not incumbent

Follows https://github.com/whatwg/html/pull/5729.
--

wpt-commits: 74b3f3fcff249affad48bb1bfadf8877154a0f18
wpt-pr: 24568
2020-07-18 02:09:36 +00:00
ziransun 4de3255323 Bug 1647236 [wpt PR 24274] - Python 3: port tests in xhr [part 3], a=testonly
Automatic update from web-platform-tests
Python 3: port tests in xhr [part 3] (#24274)

--

wpt-commits: bf309bb93cb4911e8a35d230195be86acb07b3e0
wpt-pr: 24274
2020-07-18 02:09:35 +00:00
ziransun 59aee2988b Bug 1651020 [wpt PR 24481] - Python 3: port tests in common/security-features [part 2], a=testonly
Automatic update from web-platform-tests
Python 3: port tests in common/security-features [part 2] (#24481)

* Python 3: port tests in common/security-features [part 2]

* Encode path and improve header value type convert function
--

wpt-commits: 3c8965b973ca10f3cf5a6a817c87e32939e4cb6e
wpt-pr: 24481
2020-07-18 02:09:35 +00:00
ziransun 130e20f08b Bug 1652687 [wpt PR 24585] - Python 3: Use bytes for status, a=testonly
Automatic update from web-platform-tests
Python 3: Use bytes for status (#24585)

--

wpt-commits: 0d905012224721a378c987778245bdc871644be9
wpt-pr: 24585
2020-07-18 02:09:35 +00:00
autofoolip 5af2442ee6 Bug 1652629 [wpt PR 24583] - Update interfaces/pointerevents.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/pointerevents.idl (#24583)

Source: https://github.com/tidoust/reffy-reports/blob/23b9aee/ed/idl/pointerevents.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/707832342
--

wpt-commits: 2300345ce7351b14dfd6c86353b5932b6db38554
wpt-pr: 24583
2020-07-18 02:09:34 +00:00
moz-wptsync-bot b8f1142fd5 Bug 1650991 [wpt PR 24479] - Update wpt metadata, a=testonly
wpt-pr: 24479
wpt-type: metadata
2020-07-18 02:09:34 +00:00
Xiaocheng Hu 96625375b0 Bug 1650991 [wpt PR 24479] - Don't skip already loaded custom fonts in FontFallbackIterator, a=testonly
Automatic update from web-platform-tests
Don't skip already loaded custom fonts in FontFallbackIterator

When FontFallbackIterator iterates through a custom font, it checks
RangeSetContributesForHint() and if false, skips the custom font.
While the check was to introduced to prevent unnecesary loading of
fonts that don't load in new characters, it incorrectly blocks already
loaded custom fonts which can be used right away.

Therefore, this patch revises RangeSetContributesForHint() so that we
skip a font only when it's also a pending custom font.

Bug: 1101483
Change-Id: I04ed909d154b137b2bf45e712da199e6a5ddce7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2278648
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788038}

--

wpt-commits: 9f039866171222befc3c77beaae994829554bdf5
wpt-pr: 24479
2020-07-18 02:09:33 +00:00
moz-wptsync-bot 3bca9fff21 Bug 1644956 [wpt PR 24105] - Update wpt metadata, a=testonly
wpt-pr: 24105
wpt-type: metadata
2020-07-18 02:09:33 +00:00
Ian Kilpatrick 3e5a70d902 Bug 1644956 [wpt PR 24105] - [LayoutNG] Move relative position calculation into NG., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Move relative position calculation into NG.

This patch moves the relative position calculation into NG. Previously
we needed to manually account for the relative position of an object
in many different places, overflow calculation, geometry APIs etc.

This patch directly updates the child's offset (relative to its parent)
to directly incorporate this additional offset.

This calculation occurs within the NGBoxFragmentBuilder, and if an
object is *placed* by LayoutNG...
...LayoutBoxModelObject::RelativePositionOffset returns an empty offset.

This fixes a few small issues where previously we didn't resolve
percentages against the correct available size when contained within
an anonymous block.

Bug: 1070822, 1058690
Change-Id: I2c623b02cc5a4605d310596f5c60353a21236bff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214608
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787991}

--

wpt-commits: 4b32cd3ad3d262854efc7628daacb8bc2db9f06f
wpt-pr: 24105
2020-07-18 02:09:32 +00:00
Tab Atkins Jr 5a97eadad8 Bug 1651248 [wpt PR 24506] - grid-auto applies to explicit rows, a=testonly
Automatic update from web-platform-tests
grid-auto applies to explicit rows (#24506)

--

wpt-commits: 2f065974a65c2d88ee2b3197aa9e0de09437e811
wpt-pr: 24506
2020-07-18 02:09:32 +00:00
moz-wptsync-bot 74d21782a3 Bug 1646221 [wpt PR 24175] - Update wpt metadata, a=testonly
wpt-pr: 24175
wpt-type: metadata
2020-07-18 02:09:31 +00:00
Dylan Sleeper b41bb687d0 Bug 1646221 [wpt PR 24175] - Clipboard API: Implement the HTML clipboard reader and writer., a=testonly
Automatic update from web-platform-tests
Clipboard API: Implement the HTML clipboard reader and writer.

This CL adds two subclasses: ClipboardHTMLReader and
ClipboardHTMLWriter. When HTML is read and written it is "sanitized"
which means that all script objects are removed from the html. They
are both entirely synchronous because it is impossible to use HTML
DOM nodes off of the main thread.

Design Doc: https://docs.google.com/document/d/1tzjfckWUKAAxEbKcUjg21uz7LFDMQ7ZDzfTTj3Lp93Y/edit

Bug: 931839
Change-Id: I29b26f1c721102005bcbb5911549a9546aed3006
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2243532
Commit-Queue: Dylan Sleeper <dsleeps@google.com>
Reviewed-by: Jarryd Goodman <jarrydg@chromium.org>
Reviewed-by: Darwin Huang <huangdarwin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787862}

--

wpt-commits: f1d19687599024a2219d35a6ab0fecb4128891ad
wpt-pr: 24175
2020-07-18 02:09:31 +00:00
moz-wptsync-bot 7e36789034 Bug 1652523 [wpt PR 24580] - Update wpt metadata, a=testonly
wpt-pr: 24580
wpt-type: metadata
2020-07-18 02:09:30 +00:00
Raymond Toy cd034d072c Bug 1652523 [wpt PR 24580] - Update test threshold for Mac 10.11, a=testonly
Automatic update from web-platform-tests
Update test threshold for Mac 10.11

The threshold for the -100 Hz sine wave is apparently just a little
too tight for MacOS 10.11.  Adjust the threshold slightly.

Bug: 1104535
Change-Id: I7102093e2641a748d07ca63c05e9e8e63c9f8dce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2295211
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787847}

--

wpt-commits: 025147852df6e1e548866c99ff3ff66effb20c1a
wpt-pr: 24580
2020-07-18 02:09:30 +00:00
moz-wptsync-bot b4a441d952 Bug 1651179 [wpt PR 24493] - Update wpt metadata, a=testonly
wpt-pr: 24493
wpt-type: metadata
2020-07-18 02:09:29 +00:00
Numfor Mbiziwo-Tiapo 9d0c2df597 Bug 1651179 [wpt PR 24493] - Implement putAll and add web platform test, a=testonly
Automatic update from web-platform-tests
Implement putAll and add web platform test

This adds a simple putAll implementation that loops put. A basic web
platform test is added as well.

Change-Id: I8fcc25ffacb64d15855da921eb14f3770df28694
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274217
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Reviewed-by: enne <enne@chromium.org>
Reviewed-by: Olivier Yiptong <oyiptong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787815}

--

wpt-commits: 05c2f1c6fbb22e5c62cd6c83b0ae90880588ce2e
wpt-pr: 24493
2020-07-18 02:09:29 +00:00
Carlos Alberto Lopez Perez e449c34c9c Bug 1652456 [wpt PR 24576] - TC: don't run print tests for WebKitGTK and Servo, a=testonly
Automatic update from web-platform-tests
TC: don't run print tests for WebKitGTK and Servo (#24576)

* print-reftests are currently not supported for this two browsers.
So we need to avoid triggering those runs on taskcluster for them to
avoid failing the whole run. This fixes: #24360 and #24257.
* This patch removes the print-reftest suite from the general block
and adds a new block for it and for the browsers that support this
tests on taskcluster (Chrome and Firefox).

--

wpt-commits: 149ce86ecb408e9df28e1f55c236ae4388e77cc0
wpt-pr: 24576
2020-07-18 02:09:28 +00:00
Robert Ma a745df5525 Bug 1652168 [wpt PR 24567] - [tools] Fix some deprecation warnings, a=testonly
Automatic update from web-platform-tests
[tools] Fix some deprecation warnings (#24567)

Mostly from forgetting to use raw string literals and the
collections.abc move in Python 3
--

wpt-commits: 5418b374cc363c16267515c521524689c9b2d540
wpt-pr: 24567
2020-07-18 02:09:28 +00:00
moz-wptsync-bot cda2cb2e7d Bug 1652099 [wpt PR 24563] - Update wpt metadata, a=testonly
wpt-pr: 24563
wpt-type: metadata
2020-07-18 02:09:27 +00:00
autofoolip 860dad6143 Bug 1652099 [wpt PR 24563] - Update interfaces/image-capture.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/image-capture.idl (#24563)

Source: https://github.com/tidoust/reffy-reports/blob/5233a88/ed/idl/image-capture.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/706989198
--

wpt-commits: 29ccbdbf25c92cf783a1c3a804d723382fb6a50a
wpt-pr: 24563
2020-07-18 02:09:27 +00:00
moz-wptsync-bot a759f9bd79 Bug 1647374 [wpt PR 24289] - Update wpt metadata, a=testonly
wpt-pr: 24289
wpt-type: metadata
2020-07-18 02:09:27 +00:00
Richard Stotz a967e205f5 Bug 1647374 [wpt PR 24289] - NativeIO: Add getLength., a=testonly
Automatic update from web-platform-tests
NativeIO: Add getLength.

Bug: 914488
Change-Id: Iff733bbc24ff8ecf9079bbb2ac37267fa1e488c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2257913
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787472}

--

wpt-commits: e91d7d8c9a1f14438e44000dcd05ce6e658e4ae5
wpt-pr: 24289
2020-07-18 02:09:26 +00:00
Alexander Cooper fa657b61d4 Bug 1652179 [wpt PR 24569] - Remove redundant XrInputSourceArray iterable test, a=testonly
Automatic update from web-platform-tests
Remove redundant XrInputSourceArray iterable test

XRInputSourceArray_Iterable was failing on chromium, since as a ".html"
and not a ".https.html" file, it was not loaded in a secure context, and
thus WebXr wasn't exposed (and the test API doesn't attempt to polyfill
itself in if navigator.xr doesn't exist). However, on closer inspection,
this is a redundant test case that is already covered by the idlharness.

Fixed: 1104347
Change-Id: Ica4d52578571627e18b9a007e5bb461cf3e34ceb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2293227
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787443}

--

wpt-commits: 64d6c9611cba2925370d643167f7b3e93b27fa15
wpt-pr: 24569
2020-07-18 02:09:26 +00:00
Sahir Vellani a36575a96f Bug 1644882 [wpt PR 24096] - Report device pixel content box for SVG elements correctly, a=testonly
Automatic update from web-platform-tests
Report device pixel content box for SVG elements correctly

Currently the device pixel content box for SVG elements is reported as
the same as content box and border box. We change this to report
the device pixel content box size as the bounding box in device pixels.

Bug: 1088497
Change-Id: Iae78c49deb214b516792cefd751a09d57202f9c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2240033
Commit-Queue: Daniel Libby <dlibby@microsoft.com>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Daniel Libby <dlibby@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#787411}

--

wpt-commits: b9d0a6d56c80282ac7e878e0a249e7ed5a56eb50
wpt-pr: 24096
2020-07-18 02:09:25 +00:00
Domenic Denicola 96dc701c9d Bug 1652131 [wpt PR 24565] - Rename some manual dynamic import tests, a=testonly
Automatic update from web-platform-tests
Rename some manual dynamic import tests

This properly follows the filename pattern at https://web-platform-tests.org/writing-tests/manual.html to allow them to be identified as manual.

--

wpt-commits: 859527a3513029d2d529cd42fb5c9f65afe42d58
wpt-pr: 24565
2020-07-18 02:09:25 +00:00
Josh Matthews 346b3acaea Bug 1652031 [wpt PR 24559] - Add missing test path for manifest during WPT syncing., a=testonly
Automatic update from web-platform-tests
Add missing test path for manifest during WPT syncing.

--
Merge loading and updating manifest states when syncing.

--

wpt-commits: 1075231e6c12d2f971fb4321d57db42a62f02216, 04210fcb5e8e84d0c04797a225d94c3a0fac1935
wpt-pr: 24559
2020-07-18 02:09:24 +00:00
Robert Ma 18f71607b6 Bug 1652012 [wpt PR 24557] - Fix tools/ unit tests, a=testonly
Automatic update from web-platform-tests
Fix tools/ unit tests (#24557)

* [lint] Fix a type annotation

This was introduced in #24520 accidentally.

* Skip quic in pytest and coverage

quic/ contains Python 3-only code that leads to warnings when running
`pytest --cov` in Python 2.

* Mark a test as expected to fail on Windows+py3

See #24561 for details.

* Drive-by: change docker-worker schema URL
--

wpt-commits: 8cb1c14b2bac8725dad6dedfb2c8d4af9d1ffbc8
wpt-pr: 24557
2020-07-18 02:09:24 +00:00
moz-wptsync-bot fe2b576624 Bug 1651830 [wpt PR 24541] - Update wpt metadata, a=testonly
wpt-pr: 24541
wpt-type: metadata
2020-07-18 02:09:23 +00:00
Raymond Toy c0d2c5cd4b Bug 1651830 [wpt PR 24541] - Add some basic Oscillator tests, a=testonly
Automatic update from web-platform-tests
Add some basic Oscillator tests

Test the output of the OscillatorNode for a sine wave at various
frequencies (including a negative frequency) against the exact
mathematical output.  The low frequencies are intended to test
Chrome's interpolation algorithm.

Since we use sine waves or custom waves with a very few known
coefficients (without normalization), we know what the exact output
should be.

Bug: 1013118
Change-Id: Ie68ef5a8e6979aab70d0a4d4c24ee31810599f56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2290693
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787297}

--

wpt-commits: 980dc0c7625921634185a5369c05506196102b53
wpt-pr: 24541
2020-07-18 02:09:23 +00:00
Anders Hartvoll Ruud 9db10ac93c Bug 1646979 [wpt PR 24252] - [scroll-animations] Integrate @scroll-timeline with animations, a=testonly
Automatic update from web-platform-tests
[scroll-animations] Integrate @scroll-timeline with animations

Until now it was possible to parse @scroll-timeline rules, but they
did not actually do anything. This CL performs the necessary
integration into StyleEngine and CSSAnimations (partially) to make
something happen.

The applicable StyleRuleScrollTimeline objects are maintained on
StyleEngine. When calculating the animation update, we now take
the animation-timeline property into account, and look for a
rule on StyleEngine corresponding to the specified timeline name.
This rule (if found) then causes a new ScrollTimeline to be created.

This is by no means a fully functional implementation, but it's a
start. The most notable omission is updating timelines, which is
currently not possible (crbug.com/1097053).

Other omissions, flaws, or postponed work are either tracked as
bugs (with TODOs that reference them) or as failing expectations.
This ensures that we don't miss anything before shipping.

Bug: 1074052
Change-Id: I04e75be1dc970ed2f542e60457f8db25bbb0fe7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2253752
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787258}

--

wpt-commits: 5fff9da6c050f3d6a9a3d8bc9d9eff6308826e12
wpt-pr: 24252
2020-07-18 02:09:22 +00:00
moz-wptsync-bot fb0a882f21 Bug 1639897 [wpt PR 23727] - Update wpt metadata, a=testonly
wpt-pr: 23727
wpt-type: metadata
2020-07-18 02:09:22 +00:00
Darwin Huang 23073a861f Bug 1639897 [wpt PR 23727] - Clipboard API: Implement clipboard-read and clipboard-write Feature Policy., a=testonly
Automatic update from web-platform-tests
Clipboard API: Implement clipboard-read and clipboard-write Feature Policy.

Complete and expose previously incomplete feature policy integration.
Also, use separate clipboard-read and clipboard-write feature policies,
as opposed to the previous single clipboard feature policy.

Previously, https://crrev.com/c/1913466 aimed to add Feature Policy
integration to the Clipboard API. Unfortunately, this integration wasn't
complete, so sites didn't have the option to allow cross-origin iframes
to access the clipboard at all after this change.

Complete the integration to allow sites to enable this feature policy.
Also, as feature and permission policies are being merged, use
clipboard-read and clipboard-write as feature policy names, so that the
feature policy and permission names match.

Verified by via automated WPTs, and also manually tested by running this
example[1], which fails without this CL, and succeeds with the CL.

Intent to prototype and ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/IDAapW6w4to/iSH1MXRFCgAJ

[1]: https://smart-flicker-baroness.glitch.me/

Bug: 1074489
Change-Id: I09125d74510ed6c868d84936df595d02326619b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2164248
Commit-Queue: Darwin Huang <huangdarwin@chromium.org>
Reviewed-by: Alex Russell <slightlyoff@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786914}

--

wpt-commits: e2ebd58e4c8071639d939f6dba26ff5e8e7a8084
wpt-pr: 23727
2020-07-18 02:09:22 +00:00
Stephen McGruer 3d950de5fe Bug 1651809 [wpt PR 24540] - Cleanup newline-removal in manifest_build.py, a=testonly
Automatic update from web-platform-tests
Cleanup newline-removal in manifest_build.py (#24540)

This is a small follow-up to d7423b4ef835ac579b2aa6cbd0e88e47ed1c82cd,
which was an attempt at a hotfix that turned out to be the problem. To
tidy up the code, trim the sha at retrieval time and don't trim the tag
(which turned out not to have a newline in it).
--

wpt-commits: 7b2f44248d9955dd11663479a469926969c8884e
wpt-pr: 24540
2020-07-18 02:09:21 +00:00
moz-wptsync-bot 0192dbea64 Bug 1651870 [wpt PR 24548] - Update wpt metadata, a=testonly
wpt-pr: 24548
wpt-type: metadata
2020-07-18 02:09:21 +00:00
Josh Matthews 7728bd68ea Bug 1651870 [wpt PR 24548] - Make XRSession.inputSources iterable, a=testonly
Automatic update from web-platform-tests
dom: Generate iterator symbol for interfaces with indexed getters.

--

wpt-commits: c114ff9b2f781a671261d55ca977075d084a7ebf
wpt-pr: 24548
2020-07-18 02:09:20 +00:00
moz-wptsync-bot c987b4e170 Bug 1650764 [wpt PR 24454] - Update wpt metadata, a=testonly
wpt-pr: 24454
wpt-type: metadata
2020-07-18 02:09:20 +00:00
Rune Lillesveen 85e1b61b70 Bug 1650764 [wpt PR 24454] - Construct StyleResolver in StyleEngine constructor., a=testonly
Automatic update from web-platform-tests
Construct StyleResolver in StyleEngine constructor.

Years ago, the StyleResolver was deleted and re-created for certain
style sheet changes. The current lifetime of the StyleResolver is that it
is created once on first EnsureStyleResolver and only freed when the
StyleEngine is disposed. Instead of checking if it needs to be
constructed every time we access it, create it as part of constructing
the StyleEngine.

We don't create it for documents without a Frame for which we should not
use the StyleResolver.

Change-Id: I1f1d2ef322d2599737f584191550f769dcf6828e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2270209
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787158}

--

wpt-commits: bfe92da84ad0ab55f1ee333f64bd5860e6da5ff5
wpt-pr: 24454
2020-07-18 02:09:19 +00:00
ziransun ec17d147f4 Bug 1649709 [wpt PR 24409] - Python 3: port webappapis and cross-origin tests in html, a=testonly
Automatic update from web-platform-tests
Python 3: port webappapis and cross-origin tests in html (#24409)

* Python 3: port webappapis and cross-origin tests in html

* Correct use of type on name argument for uuid5
--

wpt-commits: c44d7e9b7dbdecfe831e0feca8bd5ffcd02d424a
wpt-pr: 24409
2020-07-18 02:09:19 +00:00
moz-wptsync-bot 9794d35c58 Bug 1646440 [wpt PR 24202] - Update wpt metadata, a=testonly
wpt-pr: 24202
wpt-type: metadata
2020-07-18 02:09:18 +00:00
Stephen McGruer 9a6b6c3860 Bug 1646440 [wpt PR 24202] - Add interfaces/intervention-reporting.idl and test, a=testonly
Automatic update from web-platform-tests
Add interfaces/intervention-reporting.idl and test (#24202)

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

wpt-commits: cce62117eaefe78cf0a1bcb858c2b535ec5d2e0b
wpt-pr: 24202
2020-07-18 02:09:18 +00:00
David Grogan bdf9db1be9 Bug 1651562 [wpt PR 24527] - [FlexNG] Fix % max-height definiteness, a=testonly
Automatic update from web-platform-tests
[FlexNG] Fix % max-height definiteness

A replaced element's % max-height was being ignored when it was the
child of a flex item that acquired its definite height by stretching.

This was flaky though, it only broke when the image was loaded before
the flexbox had laid out. If the flexbox was laid out, _then_ the image
loaded and hence caused a relayout, the image would obey the
definiteness that was cached from the flex item's first layout.

Change-Id: I2b429aed111a1b800311287337f951c15fcc72f2
Fixed: 1092934
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2287370
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787095}

--

wpt-commits: 8e1b09f5bdecd4e9709e2377d4344acef5f9002c
wpt-pr: 24527
2020-07-18 02:09:17 +00:00
Marijn Kruisselbrink 869167f2ed Bug 1651866 [wpt PR 24547] - [NativeFS] Update some tests to getFooHandle., a=testonly
Automatic update from web-platform-tests
[NativeFS] Update some tests to getFooHandle.

http://crrev.com/c/2285670 renamed getFile/getDirectory to getFileHandle
and getDirectoryHandle, this updates some tests that were missed in that
change.

Bug: 1103022
Change-Id: Id4b4a60677424cae59af7626e57acc1f6be4bd29
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2291252
Reviewed-by: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787072}

--

wpt-commits: 319817182b307f3a1637dfddc25d44eb6262a71c
wpt-pr: 24547
2020-07-18 02:09:17 +00:00
Chris Harrelson 5f0c63150c Bug 1651873 [wpt PR 24550] - Re-add paint_invalidation_container in PrePaintTreeWalk., a=testonly
Automatic update from web-platform-tests
Re-add paint_invalidation_container in PrePaintTreeWalk.

This is needed in order to make sure to call
SetNeedsCheckRasterInvalidation() on all GraphicsLayers that
need raster invalidation after an invalidation of paint. To do
this involves finding out into which GraphicsLayer a LayoutObject paints.

We'll be able to remove it in favor of a dirty bit on
CompositingLayerAssigner when pre-paint is moved before compositing.

Bug: 1102733

Change-Id: I506d7e574e802502d9414ad67f14f0d4c072b184
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2290547
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Auto-Submit: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787058}

--

wpt-commits: e67f139c7c1bc14c85c7def4db56e3a1964624d1
wpt-pr: 24550
2020-07-18 02:09:17 +00:00
Marijn Kruisselbrink c9793f5077 Bug 1651853 [wpt PR 24543] - [NativeFS] Add kind enum to replace isFile/isDirectory., a=testonly
Automatic update from web-platform-tests
[NativeFS] Add kind enum to replace isFile/isDirectory.

Following changes in https://github.com/WICG/native-file-system/pull/198

Bug: 1103841
Change-Id: I4c67d6eb6cf605bb10d4ace83594900bfe1157ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2290535
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787046}

--

wpt-commits: 48dce4661e20f18a75440e961b6a5cd51fac19fd
wpt-pr: 24543
2020-07-18 02:09:16 +00:00
autofoolip 4d8ce9549f Bug 1651872 [wpt PR 24549] - Update interfaces/native-file-system.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/native-file-system.idl (#24549)

Source: https://github.com/tidoust/reffy-reports/blob/36f1e58/ed/idl/native-file-system.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/706723894
--

wpt-commits: efbfe977d5a5a4959c0bbc8d36abc26f27e24f28
wpt-pr: 24549
2020-07-18 02:09:16 +00:00
moz-wptsync-bot f3afa8075f Bug 1651201 [wpt PR 24496] - Update wpt metadata, a=testonly
wpt-pr: 24496
wpt-type: metadata
2020-07-18 02:09:15 +00:00
Piotr Bialecki 198c8c840c Bug 1651201 [wpt PR 24496] - WebXR - anchors - add WPTs for more complete coverage of the API, a=testonly
Automatic update from web-platform-tests
WebXR - anchors - add WPTs for more complete coverage of the API

Change-Id: I0a0858835a040161b352f465d68c068a8d4847bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2284094
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786984}

--

wpt-commits: ce7bfaec86b1c6c926bdb0f2150e33a3a1bf1f54
wpt-pr: 24496
2020-07-18 02:09:15 +00:00
Morten Stenshorne 560de515ff Bug 1651805 [wpt PR 24539] - [LayoutNG] Spanner break token and fragmentation improvements., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Spanner break token and fragmentation improvements.

We were creating incorrect outgoing break tokens from column content
that was interrupted by two or more adjacent spanners. The outgoing
break token would point to the second spanner, rather than any column
content that would follow. To fix this, make sure that we don't
interrupt column layout until we have looked past all adjacent spanners,
to find the right place to resume column layout right away.

This gets especially more fun if we're nested inside another
fragmentation context, because then we may not be able to resume column
content layout in the same outer fragmentation. Therefore we need to
keep proper track of all the spanner break tokens.

Introduce a walker to streamline processing of the multicol parts
(spanners and/or column content), and thus make LayoutChildren() easier
to follow. We're now also better at handling parallel flows established
inside spanners.

Bug: 1066617, 829028
Change-Id: I7ad3f8f19f7258e2f8a588034c0002249efdaf20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288705
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786940}

--

wpt-commits: 0b58efec76d3f460dbb65d577e46ba4daf781427
wpt-pr: 24539
2020-07-18 02:09:14 +00:00
Morten Stenshorne 9b05a96dc8 Bug 1651803 [wpt PR 24538] - [LayoutNG] Handle spanner margins correctly across fragments., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Handle spanner margins correctly across fragments.

Use the same AdjustMarginsForFragmentation() utility function as in
regular block layout, so that we handle block-end margins correctly,
i.e. apply them to only one fragment (which may not necessarily be the
last one, if something inside the spanner establishes a parallel flow).

Bug: 829028
Change-Id: I307037a23f960dc4ed4db2c126e41c59de8ae38e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289134
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786948}

--

wpt-commits: 0dc51c3f662dcb23da4c60255abe0bd333c8e37e
wpt-pr: 24538
2020-07-18 02:09:14 +00:00
moz-wptsync-bot 19bf4bd775 Bug 1651213 [wpt PR 24498] - Update wpt metadata, a=testonly
wpt-pr: 24498
wpt-type: metadata
2020-07-18 02:09:13 +00:00
Domenic Denicola 66bb5f4e31 Bug 1651213 [wpt PR 24498] - Origin isolation: add various navigation WPTs, a=testonly
Automatic update from web-platform-tests
Origin isolation: add various navigation WPTs

This adds web platform tests covering various navigation scenarios for
origin isolation. The intention is to cover at least all the non-popup
navigation cases in isolated_origin_browsertest.cc. We also want to
approach the same coverage for navigation as we have for two-iframe
scenarios (i.e. the various parent-child1-child2 tests), but we avoid
doubling the size of the test suite by focusing on the more important
or tricky scenarios instead of just copying all of those.

Bug: 1042415
Change-Id: Ifb937f183af2610f348e4fea036d96aa0504ddab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285258
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Reviewed-by: James MacLean <wjmaclean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786945}

--

wpt-commits: 9d71a04aef33467e378c662d8b58ab1df6ff7719
wpt-pr: 24498
2020-07-18 02:09:13 +00:00
Sam Sneddon 865acfe314 Bug 1651831 [wpt PR 24542] - Add comment to border-width-011 to make it immediately obvious, a=testonly
Automatic update from web-platform-tests
Add comment to border-width-011 to make it immediately obvious (#24542)

--

wpt-commits: fd21e757f91e0858a1a2b3870a3c1fb3a59dbd14
wpt-pr: 24542
2020-07-18 02:09:13 +00:00
Charlie Hu 7ad9af0588 Bug 1650806 [wpt PR 24460] - Change document policy parser to use structured header dictionary, a=testonly
Automatic update from web-platform-tests
Change document policy parser to use structured header dictionary

This CL is based on the spec change on
https://github.com/w3c/webappsec-feature-policy/pull/388/files?short_path=1a56774.

Since the parameter names are removed in this change, feature names
will have to change so that they remain meaningful. This will be
addressed in follow-up CLs.

Change-Id: Ic87dcb5bf26e440dd5041ae31d7b248e7d85d93a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2281104
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Charlie Hu <chenleihu@google.com>
Cr-Commit-Position: refs/heads/master@{#786929}

--

wpt-commits: 78d5125d6c9e0e48accc6040499db5477d5c311b
wpt-pr: 24460
2020-07-18 02:09:12 +00:00
moz-wptsync-bot 81fd729317 Bug 1650049 [wpt PR 24422] - Update wpt metadata, a=testonly
wpt-pr: 24422
wpt-type: metadata
2020-07-18 02:09:12 +00:00
ziransun 484f04acff Bug 1650049 [wpt PR 24422] - Python 3: port tests of content-type, http-cache, metadata, origin in …, a=testonly
Automatic update from web-platform-tests
Python 3: port tests of content-type, http-cache, metadata, origin in fetch (#24422)

--

wpt-commits: ecd73dd12d21e70208f8917079be6f1baada0168
wpt-pr: 24422
2020-07-18 02:09:11 +00:00
Jeremy Roman 2d49731661 Bug 1651773 [wpt PR 24536] - Reland: Abstract portal activation handling to avoid hack of making a fake promise., a=testonly
Automatic update from web-platform-tests
Reland: Abstract portal activation handling to avoid hack of making a fake promise.

This is somewhat verbose, but allows us to avoid the unhandled rejection
being visible to script without having to make this hack even worse.

Instead of actually calling activate(), this mirrors the spec structure
by simply calling to underlying logic, passing a resolver where it makes
sense and not (in this case, passing a substitute object) where it
doesn't.

The web test is added to SlowTests because it uses timeouts to check
that things don't happen, and the additional test makes the timeouts 6
seconds total -- which is the test runner timeout. Slow tests get 5x
longer before they are aborted. The alternative would have been to
shorten the timeouts in this test, but that may have made the test more
flaky.

Bug: 1102081
Change-Id: Ied9d26e32ee426bf0a135279a9063f104d0e6460
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2290231
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
Auto-Submit: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786912}

--

wpt-commits: 12cef047ffeaec190bbe1e6ff363dcd70ecdc176
wpt-pr: 24536
2020-07-18 02:09:11 +00:00
moz-wptsync-bot c3a7e35922 Bug 1651763 [wpt PR 24534] - Update wpt metadata, a=testonly
wpt-pr: 24534
wpt-type: metadata
2020-07-18 02:09:10 +00:00
Morten Stenshorne 8977c1e5e0 Bug 1651763 [wpt PR 24534] - [LayoutNG] Only spanner siblings are considered adjacent., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Only spanner siblings are considered adjacent.

The spec isn't crystal clear, but unconditionally considering spanners
that are siblings of another spanner's ancestors as adjacent is
definitely wrong. We need to resume column content layout inside the
parent block of the spanner, since it may have a fixed block-size,
block-end padding / border, or anything else that we'd just lose
otherwise.

This breaks one existing (non-WPT) test, but I'm not convinced that the
test is valid. Filed crbug.com/1100849 for it.

It also fixes 3 WPT tests. They were all quite complex, so I added a
couple of simple ones, that demonstrate this fix more to the point.

Bug: 829028
Change-Id: I9d55153f859dd84a5019e7d4dd09453f7f9ee1e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2290150
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786841}

--

wpt-commits: 90c4db31dd07db9c6009cdbc0358f460099a15fb
wpt-pr: 24534
2020-07-18 02:09:10 +00:00
Robert Ma ae5b105c5c Bug 1651503 [wpt PR 24520] - [lint] Allow multiple --ignore-glob in `wpt lint`, a=testonly
Automatic update from web-platform-tests
[lint] Allow multiple --ignore-glob in `wpt lint` (#24520)

--

wpt-commits: 17b665029472d57036e2ef0bab6767da339206d2
wpt-pr: 24520
2020-07-18 02:09:09 +00:00
Stephen McGruer 91085e35be Bug 1651365 [wpt PR 24511] - [Taskcluster] Only schedule the sink-task for pull requests, a=testonly
Automatic update from web-platform-tests
[Taskcluster] Only schedule the sink-task for pull requests (#24511)

We don't need the sink-task for master pushes/etc, and this is a quick
workaround for the fact that Taskcluster doesn't support >100 data
dependencies (and we now schedule more than that for daily epoch runs!)

In order to reliably test this behaviour, we now also ensure the ordering
of tasks is deterministic.

Co-authored-by: Robert Ma <robertma@chromium.org>
--

wpt-commits: 821f177ada8d57dcec1f07327245c0a870c5758f
wpt-pr: 24511
2020-07-18 02:09:09 +00:00
Morten Stenshorne 4e74794be0 Bug 1651523 [wpt PR 24522] - [LayoutNG] Only apply block-end margins where the block actually ends., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Only apply block-end margins where the block actually ends.

If we reached the end of a block in an earlier fragmentainer, but
there's overflowing content, we'll revisit this block in subsequent
fragmentainers as long as child content needs it. Repeating the
block-end margins in these fragmentainers would be wrong, though.

Use AdjustForFragmentation() only for margins, and rename it to
AdjustMarginsForFragmentation().
The fieldset layout algorithm was using this one for borders/padding,
while block and multicol layout called
AdjustBorderScrollbarPaddingForFragmentation() in container_builder_.
Become more uniform by calling that method for all in
SetupFragmentBuilderForFragmentation() (via the base layout algorithm
constructor). Since this depends on the initial fragment geometry being
set, also do that in the base layout algorithm constructor.

Bug: 829028
Change-Id: I6808d023e4e79ab489bdb3a48e3c6c47cf9db6c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2287313
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786791}

--

wpt-commits: 931e5b7e2fe9818a7e15caa6378fabb00dbbca6a
wpt-pr: 24522
2020-07-18 02:09:08 +00:00
Robert Ma aed5691d63 Bug 1649571 [wpt PR 24400] - [WPT] Introduce a test-only-api helper script, a=testonly
Automatic update from web-platform-tests
[WPT] Introduce a test-only-api helper script

including a helper function to load Mojo JS bindings. This will enable
us to have better control over loading of *.mojom.js (notably disable
automatic dependency loading) and reduce code duplication.

Refactor WebXR tests to use this helper script, and add missing
dependencies that were previously auto loaded. (WebUSB & WebBluetooth
changes to follow.)

Note that upstream WPT still does not have *.mojom.js available so tests
will continue to fail there (but with a clearer error). Test results on
Chromium waterfall should not change.

Bug: 1094512
Change-Id: If660c4788c185bc7baf9ce6edbb691333e509d4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276652
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786746}

--

wpt-commits: 8d7104310d9fdb1b2eb6995219c31489d25010b5
wpt-pr: 24400
2020-07-18 02:09:08 +00:00
Robert Ma c4ec06e334 Bug 1651435 [wpt PR 24514] - Actually remove six from Dockerfile, a=testonly
Automatic update from web-platform-tests
Actually remove six from Dockerfile

With #24484 removing the dependency on system six, we are now able to
remove it from the Docker image, which was introduced in #23733.

Removing this has the benefit of avoiding introducing accidental
dependency.

--

wpt-commits: dea212bda34384982165966b6085dc9f4ec20858
wpt-pr: 24514
2020-07-18 02:09:08 +00:00
Ziran Sun 9455c21178 Bug 1651023 [wpt PR 24483] - Python 3: port tests in common/security-features/subresource [part 1], a=testonly
Automatic update from web-platform-tests
Python 3: port tests in common/security-features/subresource [part 1]

--

wpt-commits: 65017732a4d565590b4c350ef7d9ea476455c424
wpt-pr: 24483
2020-07-18 02:09:07 +00:00
autofoolip 0af532b436 Bug 1651795 [wpt PR 24529] - Update interfaces/payment-handler.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/payment-handler.idl (#24529)

Source: https://github.com/tidoust/reffy-reports/blob/199f6dd/ed/idl/payment-handler.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/706419602
--

wpt-commits: 68410b5da09508fa269bd612356371649e608000
wpt-pr: 24529
2020-07-18 02:09:07 +00:00
Florian Rivoal 8aa977a443 Bug 1651793 [wpt PR 24530] - Wrong assert, a=testonly
Automatic update from web-platform-tests
Remove inaccurate assert (#24530)

The test and its title are right, but the assert doesn't describe it
well. Dropping it.
--

wpt-commits: 40ef02d00e6e4209a8c48d59f56952ad7654731c
wpt-pr: 24530
2020-07-18 02:09:06 +00:00
moz-wptsync-bot a9394bb637 Bug 1651466 [wpt PR 24516] - Update wpt metadata, a=testonly
wpt-pr: 24516
wpt-type: metadata
2020-07-18 02:09:06 +00:00
fantasai ae5a63dedb Bug 1651466 [wpt PR 24516] - [css-text-3] Add letter-spacing tests written last October, a=testonly
Automatic update from web-platform-tests
[css-text-3] Add letter-spacing tests written last October (#24516)

r=frivoal
--

wpt-commits: 3e6a569c8126d6782193ffec32fd501aa038c408
wpt-pr: 24516
2020-07-18 02:09:05 +00:00
Chany Arpin-Plante c2ac8a7755 Bug 1649893 [wpt PR 24418] - Fix CSS typed OM CSSSkewX and CSSSkewY toMatrix method to use degrees instead of radians., a=testonly
Automatic update from web-platform-tests
Fix CSS typed OM CSSSkewX and CSSSkewY toMatrix method to use degrees instead of radians.

The toMatrix method of a CSSTransformComponent should return a DOMMatrix
representing the object transformation.
https://www.w3.org/TR/css-typed-om-1/#dom-csstransformcomponent-tomatrix

The skewXSelf and skewYSelf methods used to apply a transformation on a
matrix must be provided with an angle parameter expressed in degrees.
https://www.w3.org/TR/geometry-1/#dom-dommatrix-skewxself
https://www.w3.org/TR/geometry-1/#dom-dommatrix-skewyself

Since the angles passed to the skewXSelf and skewYSelf were in radians,
DOMMatrix returned by the toMatrix method of those two components was incorrect.

R=alancutter@chromium.org

Change-Id: I5edc1cdf1493184584154723508c6e20c212ac92
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2242008
Commit-Queue: Alan Cutter <alancutter@chromium.org>
Reviewed-by: Alan Cutter <alancutter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786632}

--

wpt-commits: f8d07d1a6788da6efee2913d5768528de28c9b57
wpt-pr: 24418
2020-07-18 02:09:05 +00:00
Mohsen Izadi 1f05a6fbda Bug 1651786 [wpt PR 24528] - Revert "Do not expose media devices before a successful getUserMedia()", a=testonly
Automatic update from web-platform-tests
Revert "Do not expose media devices before a successful getUserMedia()"

This reverts commit d64e736aa8c7976b12b33f92472f7950bf0215b9.

Reason for revert: Caused chrome_all_tast_tests / camera.CCAUISanity.fake failures; e.g. https://ci.chromium.org/p/chrome/builders/ci/chromeos-betty-pi-arc-chrome/7680

Original change's description:
> Do not expose media devices before a successful getUserMedia()
>
> This is a spec-compliance change.
>
> This CL also adds some improvements to the blink MediaDevices unit test.
>
> Bug: 1101860
> Change-Id: If2e7824df3b3dbd3cdb80f4bcf6b5c417d6f0ef2
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2279808
> Commit-Queue: Guido Urdaneta <guidou@chromium.org>
> Reviewed-by: Harald Alvestrand <hta@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#786253}

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

Change-Id: I41b676c7d3e437c06d23f2b46270453f1cc81670
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1101860
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288282
Reviewed-by: Mohsen Izadi <mohsen@chromium.org>
Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786615}

--

wpt-commits: 66a61640ed3a93fa0ddaf2aabe07193a17066b82
wpt-pr: 24528
2020-07-18 02:09:04 +00:00
autofoolip 51a8fa188e Bug 1651554 [wpt PR 24525] - Update interfaces/webauthn.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webauthn.idl (#24525)

Source: https://github.com/tidoust/reffy-reports/blob/de373e9/ed/idl/webauthn.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/706366061
--

wpt-commits: ade4f1ff0ecb2ff88d0aa94f1bee6a2d8e2b81f4
wpt-pr: 24525
2020-07-18 02:09:04 +00:00
Keishi Hattori 1f5ed02663 Bug 1651556 [wpt PR 24526] - Revert "Abstract portal activation handling to avoid hack of making a fake promise.", a=testonly
Automatic update from web-platform-tests
Revert "Abstract portal activation handling to avoid hack of making a fake promise."

This reverts commit fdc228c7acab87083507a1276f9d8f786966f5d6.

Reason for revert: portal-activate-default.html test timeout failure
https://ci.chromium.org/p/chromium/builders/ci/Mac10.10%20Tests/55803

Original change's description:
> Abstract portal activation handling to avoid hack of making a fake promise.
>
> This is somewhat verbose, but allows us to avoid the unhandled rejection
> being visible to script without having to make this hack even worse.
>
> Instead of actually calling activate(), this mirrors the spec structure
> by simply calling to underlying logic, passing a resolver where it makes
> sense and not (in this case, passing a substitute object) where it
> doesn't.
>
> Bug: 1102081
> Change-Id: I0eecf253928bfce39afcddccf54e9bc6f6c0d549
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285340
> Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
> Commit-Queue: Jeremy Roman <jbroman@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#786480}

TBR=jbroman@chromium.org,adithyas@chromium.org

Change-Id: I00da9eee8625ca5da3a09efb7078e22a277dbfd8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1102081
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288712
Reviewed-by: Keishi Hattori <keishi@chromium.org>
Commit-Queue: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786596}

--

wpt-commits: 3c4df6d40bcb03edae052d0a37dc14291706c6a7
wpt-pr: 24526
2020-07-18 02:09:03 +00:00
Nate Chapin 9683551b1e Bug 1651471 [wpt PR 24517] - Toggling sandbox flags on an <iframe> in an inactive document should not crash, a=testonly
Automatic update from web-platform-tests
Toggling sandbox flags on an <iframe> in an inactive document should not crash

Bug: 1103089
Test: html/semantics/embedded-content/the-iframe-element/sandbox-toggle-in-inactive-document-crash.html
Change-Id: I7d5e7e9e53f7cfd4b94baf02ae58f1cda2d55009
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288096
Commit-Queue: Kentaro Hara <haraken@chromium.org>
Auto-Submit: Nate Chapin <japhet@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786585}

--

wpt-commits: b7e72be983d0d4dee57e77d0d3c0f1f95b3e31c5
wpt-pr: 24517
2020-07-18 02:09:03 +00:00
Narcis Beleuzu 5972d02069 Backed out changeset 41892926a339 (bug 1653631) for wpt failures on idlharness.html . CLOSED TREE 2020-07-18 00:41:08 +03:00
Narcis Beleuzu b1faa2872a Backed out 17 changesets (bug 1486004) for wrench bustage on android.py . CLOSED TREE
Backed out changeset cae730f105d7 (bug 1486004)
Backed out changeset e0094d50a315 (bug 1486004)
Backed out changeset 424425ed98c6 (bug 1486004)
Backed out changeset 551232749abe (bug 1486004)
Backed out changeset 505747095def (bug 1486004)
Backed out changeset 5b1c62c4a4d5 (bug 1486004)
Backed out changeset 0a1c8d50ee69 (bug 1486004)
Backed out changeset 6ef81c676859 (bug 1486004)
Backed out changeset 234e55153fb6 (bug 1486004)
Backed out changeset 2f33b309d746 (bug 1486004)
Backed out changeset 48947692c176 (bug 1486004)
Backed out changeset 473bac8eedd9 (bug 1486004)
Backed out changeset af6afed0a04a (bug 1486004)
Backed out changeset a0e2f91eb4d4 (bug 1486004)
Backed out changeset 138c987440c7 (bug 1486004)
Backed out changeset 6d2e305f4722 (bug 1486004)
Backed out changeset 1181ff03bb05 (bug 1486004)
2020-07-17 23:43:57 +03:00