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

692912 Коммитов

Автор SHA1 Сообщение Дата
agamvrinos f5351d6f7d Bug 1616796 - Use 'getAutocompletePopupLabels' function in webconsole tests r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D63789

--HG--
extra : moz-landing-system : lando
2020-02-24 10:30:20 +00:00
Surya Shankar 8a542e1a3b Bug 1584087 - Rename console-progress to mention it is about file activity. r=nchevobbe
renamed the console-progress.js/ConsoleProgressListener file and class to
console-file-activity.js/ConsoleFileActivityListener.

Differential Revision: https://phabricator.services.mozilla.com/D63672

--HG--
rename : devtools/server/actors/webconsole/listeners/console-progress.js => devtools/server/actors/webconsole/listeners/console-file-activity.js
extra : moz-landing-system : lando
2020-02-24 10:43:50 +00:00
octavian.negru 7b3ff520e4 Bug 1616818 - Get rid of bool_from_str method. Use distutils.util.strtobool instead. r=perftest-reviewers,Marian,sparky
Differential Revision: https://phabricator.services.mozilla.com/D63462

--HG--
extra : moz-landing-system : lando
2020-02-24 10:21:06 +00:00
James Graham 787c4c6e23 Bug 1616932 - Set unwritableMargins to 0 in marionette, r=marionette-reviewers,whimboo
There's no reason to add OS-specific margins instead of the ones
specified by the user when generating PDFs, so set these to zero.

Differential Revision: https://phabricator.services.mozilla.com/D63528

--HG--
extra : moz-landing-system : lando
2020-02-24 10:31:54 +00:00
moz-wptsync-bot 5768016155 Bug 1617282 - [wpt-sync] Update web-platform-tests to 9cf0684de24542e35b35022fef287dda3c53a712, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 9cf0684de24542e35b35022fef287dda3c53a712
wpt-type: landing
2020-02-24 10:23:26 +00:00
Navid Zolghadr 49d3f6a211 Bug 1616653 [wpt PR 21884] - Add check for other bound for overscroll deltas, a=testonly
Automatic update from web-platform-tests
Add check for other bound for overscroll deltas

Bug: 907601
Change-Id: Ic59ec0ad1a68fd2bdf2158d13c4f0bc4b782a9a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2062576
Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743645}

--

wpt-commits: 9cf0684de24542e35b35022fef287dda3c53a712
wpt-pr: 21884
2020-02-24 10:23:06 +00:00
Joshua Bell 6c5316e254 Bug 1617250 [wpt PR 21921] - WPT: Fix incorrect use of assert_object_equals, a=testonly
Automatic update from web-platform-tests
WPT: Fix incorrect use of assert_object_equals

This test was using assert_object_equals() to verify object identity,
similar to https://github.com/web-platform-tests/wpt/issues/20844
which (a) wasn't validating identity and (2) failing in all browsers
because that assert function is subtle/weird. Switch to just
assert_equals() and remove expectation file.

General issue: https://github.com/web-platform-tests/wpt/issues/2033

Change-Id: I9ee44d251b53955bb9101810142aac8e89a8b5be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2068248
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Auto-Submit: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743639}

--

wpt-commits: 06000cecb5cf248e8edc9e73ccb71b0ce8f09c44
wpt-pr: 21921
2020-02-24 10:23:05 +00:00
Joey Arhar bbbd30cc4d Bug 1616437 [wpt PR 21873] - Don't make anchor clicks cancel form submission when href=#, a=testonly
Automatic update from web-platform-tests
Don't make anchor clicks cancel form submission when href=#

In http://crrev.com/c/1922699 I made anchor clicks cancel all form
submissions on a page in order to make this test pass:
external/wpt/html/browsers/browsing-the-web/navigating-across-documents/006.html

The test basically says that anchor navigations should take precedence
over form submissions when the form submission is initiated by the
onclick handler of the anchor element.

However, when the anchor has href="#", form submissions should actually
go through, and this has introduced a bug on websites which rely on this
behavior.

This logic I added to cancel form submissions would not be necessary if
we made anchor clicks navigate asynchronously like the spec says to do,
so I made a bug to do so and remove this logic: http://crbug.com/1053679

Bug: 1053312
Change-Id: I27bf193cf0d544222cddad932728a1d0f61ba62a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063265
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743410}

--

wpt-commits: af2a784ca500a061287d26b75f7822cb4cb99b34
wpt-pr: 21873
2020-02-24 10:23:05 +00:00
moz-wptsync-bot 025cf894aa Bug 1616859 [wpt PR 21900] - Update wpt metadata, a=testonly
wpt-pr: 21900
wpt-type: metadata
2020-02-24 10:23:05 +00:00
Philipp Hancke 431b77f423 Bug 1616859 [wpt PR 21900] - webrtc: add wpt for validating ice-ufrag and ice-pwd syntax, a=testonly
Automatic update from web-platform-tests
webrtc: add wpt for validating ice-ufrag and ice-pwd syntax

which is defined in
  https://tools.ietf.org/html/rfc5245#section-15.4

BUG=1044521

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

--

wpt-commits: f6af9742e36dde247a7e660d645da773d8ed06a2
wpt-pr: 21900
2020-02-24 10:23:04 +00:00
Xiaocheng Hu 1d5b5a0b07 Bug 1616973 [wpt PR 21909] - Fix ResolvedUnitType() in CSS min/max with both integers and floats, a=testonly
Automatic update from web-platform-tests
Fix ResolvedUnitType() in CSS min/max with both integers and floats

CSSMathExpressionVariadicOperation::ResolvedUnitType() currently returns
kUnknown when its operands have different unit types, which is wrong.
When there are both integer and float operands, the returned type should
still be kNumber.

This patch fixes it by returning kNumber on kCalcNumber category.

Note that this follows the approach in binary operations.

Bug: 1054326
Change-Id: I2123a4efacc80931556577cd2c657731de6fff01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067283
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743278}

--

wpt-commits: 5a868dcc3b04c2e28ac261196289f541a2bdf4cb
wpt-pr: 21909
2020-02-24 10:23:04 +00:00
autofoolip 08fc05688f Bug 1617061 [wpt PR 21914] - Update interfaces/resize-observer.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/resize-observer.idl

Source: https://github.com/tidoust/reffy-reports/blob/3228127/ed/idl/resize-observer.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/653252524

--

wpt-commits: 8db8d02e6f0309c3b23c0191fe4ddb1a668b30d4
wpt-pr: 21914
2020-02-24 10:23:03 +00:00
autofoolip a1a0d48678 Bug 1617058 [wpt PR 21913] - Update interfaces/cssom-view.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/cssom-view.idl

Source: https://github.com/tidoust/reffy-reports/blob/3228127/ed/idl/cssom-view.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/653252524

--

wpt-commits: 2a254d7b96990fd7ffdcbda95a9e86c2a9836683
wpt-pr: 21913
2020-02-24 10:23:03 +00:00
autofoolip c80cca8850 Bug 1617056 [wpt PR 21912] - Update interfaces/css-font-loading.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/css-font-loading.idl

Source: https://github.com/tidoust/reffy-reports/blob/3228127/ed/idl/css-font-loading.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/653252524

--

wpt-commits: 159810292838bdee724f5438e8aef9aeefc38281
wpt-pr: 21912
2020-02-24 10:23:02 +00:00
moz-wptsync-bot 35186798aa Bug 1616934 [wpt PR 21905] - Update wpt metadata, a=testonly
wpt-pr: 21905
wpt-type: metadata
2020-02-24 10:23:02 +00:00
autofoolip 1a1c9d1810 Bug 1616934 [wpt PR 21905] - Update interfaces/web-bluetooth.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/web-bluetooth.idl

Source: https://github.com/tidoust/reffy-reports/blob/e7a2f62/ed/idl/web-bluetooth.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/653122433

--

wpt-commits: bfbf211f9d418a99d728e667131f51ee201e50fb
wpt-pr: 21905
2020-02-24 10:23:01 +00:00
Keita Suzuki 7ff6dca0cf Bug 1616165 [wpt PR 21845] - pywebsocket: Add and update to pywebsocket3, a=testonly
Automatic update from web-platform-tests
Update to use pywebsocket3 instead of pywebsocket

This commit updates localpaths.py to point to pywebsocket3. This also
updates serve.py to remove using deprecated functions.

--
Remove pywebsocket from //tools

This commit removes pywebsocket from //tools, since WPT now uses
//tools/thir_party/pywebsocket3.

--
Update websocket handler to pywebsocket3

This commit updates websocket handler to use new function provided in
pywebsocket3.

--

wpt-commits: 7e52ecb9b61b73425093d39dbadceb9c6e10b754, da56e6cf601033599b04d36fbd0e1d092032b241, 4a72ff602700e848da0d69fff3f133ee3e16087e
wpt-pr: 21845


--HG--
rename : testing/web-platform/tests/tools/pywebsocket/MANIFEST.in => testing/web-platform/tests/tools/third_party/pywebsocket3/MANIFEST.in
rename : testing/web-platform/tests/tools/pywebsocket/example/arraybuffer_benchmark.html => testing/web-platform/tests/tools/third_party/pywebsocket3/example/arraybuffer_benchmark.html
rename : testing/web-platform/tests/tools/pywebsocket/example/console.html => testing/web-platform/tests/tools/third_party/pywebsocket3/example/console.html
rename : testing/web-platform/tests/tools/pywebsocket/example/handler_map.txt => testing/web-platform/tests/tools/third_party/pywebsocket3/example/handler_map.txt
rename : testing/web-platform/tests/tools/pywebsocket/example/hsts_wsh.py => testing/web-platform/tests/tools/third_party/pywebsocket3/example/hsts_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/example/origin_check_wsh.py => testing/web-platform/tests/tools/third_party/pywebsocket3/example/origin_check_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/fast_masking.i => testing/web-platform/tests/tools/third_party/pywebsocket3/mod_pywebsocket/fast_masking.i
rename : testing/web-platform/tests/tools/pywebsocket/test/cert/cacert.pem => testing/web-platform/tests/tools/third_party/pywebsocket3/test/cert/cacert.pem
rename : testing/web-platform/tests/tools/pywebsocket/test/cert/cert.pem => testing/web-platform/tests/tools/third_party/pywebsocket3/test/cert/cert.pem
rename : testing/web-platform/tests/tools/pywebsocket/test/cert/client_cert.p12 => testing/web-platform/tests/tools/third_party/pywebsocket3/test/cert/client_cert.p12
rename : testing/web-platform/tests/tools/pywebsocket/test/cert/key.pem => testing/web-platform/tests/tools/third_party/pywebsocket3/test/cert/key.pem
rename : testing/web-platform/tests/tools/pywebsocket/test/testdata/README => testing/web-platform/tests/tools/third_party/pywebsocket3/test/testdata/README
rename : testing/web-platform/tests/tools/pywebsocket/test/testdata/hello.pl => testing/web-platform/tests/tools/third_party/pywebsocket3/test/testdata/hello.pl
2020-02-24 10:23:01 +00:00
moz-wptsync-bot 64be9f49d5 Bug 1617108 [wpt PR 21916] - Update wpt metadata, a=testonly
wpt-pr: 21916
wpt-type: metadata
2020-02-24 10:23:00 +00:00
Yutaka Hirano bf42a056de Bug 1617108 [wpt PR 21916] - Add tests for navigation CORP, a=testonly
Automatic update from web-platform-tests
Add tests for navigation CORP (#21916)

We are planning to check CORP for requests whose modes are 'navigate'
when cross-origin-embedder-policy is enabled.

See also: https://github.com/whatwg/html/issues/5308.
--

wpt-commits: f91a93162cba45e248938b1d10567ec0647608dd
wpt-pr: 21916
2020-02-24 10:23:00 +00:00
Boris Zbarsky a5ee023f40 Bug 1616469 [wpt PR 21876] - Pass a constructor to assert_throws_dom and promise_rejects_dom., a=testonly
Automatic update from web-platform-tests
Pass a constructor to assert_throws_dom and promise_rejects_dom.

Then we can verify that the DOMExceptions come from the right global.

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

--

wpt-commits: 4ba5bc3847bc88a7a2598841933b89ae4b611bcf
wpt-pr: 21876
2020-02-24 10:22:59 +00:00
Sergio 43e820ac44 Bug 1616097 [wpt PR 21840] - Enable xfailed test in wptserve's test_response, a=testonly
Automatic update from web-platform-tests
Enable xfailed test in wptserve's test_response (#21840)

python2 and python3 do not handle the same invalid HTTP responses. In the case of python3 we're getting an http.client.BadStatusLine whereas python2 does not trigger any exception at all.
--

wpt-commits: 44141f3fb76a7acca4ab99974fc00df03f6c2f5f
wpt-pr: 21840
2020-02-24 10:22:59 +00:00
Felipe Erias cf71805351 Bug 1616307 [wpt PR 21859] - Tests for @page sizes "JIS-B5" and "JIS-B4", a=testonly
Automatic update from web-platform-tests
Tests for @page sizes "JIS-B5" and "JIS-B4"

Add the missing tests for two possible values of the "size"
property of the @page rule: "JIS-B5" and "JIS-B4".

These are two Japanese industrial standard page sizes:
* "JIS-B5" is 182mm wide by 257mm high
* "JIS-B4" is 257mm wide by 364mm high

Spec: https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size

Issue: #21858

--

wpt-commits: c863bff8862497cbd684d26a63f10eedd063b512
wpt-pr: 21859
2020-02-24 10:22:58 +00:00
Blink WPT Bot c15fb4b43e Bug 1616746 [wpt PR 21894] - Clipboard Tests: Update DOCTYPE to lowercase., a=testonly
Automatic update from web-platform-tests
Clipboard Tests: Update DOCTYPE to lowercase. (#21894)

Change-Id: Ie8c2972e5b349395c997169c30dc3698f2d55116
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065354
Commit-Queue: Darwin Huang <huangdarwin@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#742967}

* Rebase, and add long timeout

Co-authored-by: Luke Zielinski <44509484+LukeZielinski@users.noreply.github.com>

--

wpt-commits: 832aad69f26a93404829abd0c0f03a5d6a60dc25
wpt-pr: 21894
2020-02-24 10:22:58 +00:00
moz-wptsync-bot e2796cdd67 Bug 1615759 [wpt PR 21813] - Update wpt metadata, a=testonly
wpt-pr: 21813
wpt-type: metadata
2020-02-24 10:22:57 +00:00
Klaus Weidner 4c78674ad2 Bug 1615759 [wpt PR 21813] - Update WebXR DOM Overlay to match spec change requests, a=testonly
Automatic update from web-platform-tests
Update WebXR DOM Overlay to match spec change requests

Instead of depending on Fullscreen API's styling, use a separate
:xr-dom-overlay pseudoclass with its own copy of the relevant styles.
Lazy-load this stylesheet when DOM Overlay mode is active.

Update the Fullscreen API integration to specifically allow XR session
setup to configure the fullscreen element, while blocking app-side
element changes to avoid inconsistent behavior.

Update the WPT test to cover more scenarios and improve compatibility
with potential implementations that aren't screen space.

Bug: 991747
Change-Id: I2b578570f695f72019c7efccb4c797cdb90e87f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2057120
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Lan Wei <lanwei@chromium.org>
Reviewed-by: Piotr Bialecki <bialpio@chromium.org>
Commit-Queue: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743218}

--

wpt-commits: 49f939d528a6a328b4278c5a0ef73a11d5b978b0
wpt-pr: 21813
2020-02-24 10:22:57 +00:00
Carlos Alberto Lopez Perez 60eafde6d2 Bug 1616689 [wpt PR 21889] - Detect WebKitGTK crashes and WebDriver hangs, a=testonly
Automatic update from web-platform-tests
Avoid raising httplib.CannotSendRequest exception if the WebDriver hangs.

* When the WebDriver hangs the httplib request will not return until the
HTTP timeout triggers, but we were using the default HTTP timeout which
is much bigger than the test timeout since 2cc0e750cb.

* Then when the external timeout triggers, the next request to the
WebDriver will cause an httplib.CannotSendRequest exception because
we are reusing the same connection from another thread meanwhile
the runner thread its blocking the httplib request.

* To fix that we set a boolean and restart the connection with the
WebDriver if the previous one didn't finished.

* This patch also removes the timeout setting from the class
HTTPWireProtocol() which was unused (it passed a value of None
always)

--
Improve detection of crashes and hangs with WebDriver.

This makes crash report work with WebKitWebDriver:
 * When the WebKitWebProcess crashes, WebKitWebDriver will raise an
   InvalidSessionIdException <https://webkit.org/b/207565> like the
   Chrome WebDriver does. So we make WebDriverProtocol::is_alive()
   check for that exception.

It also fixes detecting when the WebDriver has hanged:
 * The call to is_alive() can hang if WebDriver itself has hanged
   or its unresponsive. If this call takes more than 5 seconds then
   the external timeout from the testrunner will be fired and testrunner
   will force a termination of the test marking it as external-timeout
   instead of crash.
 * The current logic tried to mark the test as crashing if socket
   timeout fired, but that timeout value was much higher than the
   grace period of 5 seconds, so this didn't worked.
 * We modify the socket timeout to 2 seconds, which should be more
   than enough to check if the WebDriver its still alive and allows
   to complete the check during the testrunner 5 seconds of
   extra_timeout.

--

wpt-commits: 1e5bdf20f58d6d9cab3fd973f53bccfad53f5d61, 58988ab31a11ebf328ea130e5fc87799c10b0b79
wpt-pr: 21889
2020-02-24 10:22:56 +00:00
moz-wptsync-bot e83d97ed74 Bug 1616166 [wpt PR 21846] - Update wpt metadata, a=testonly
wpt-pr: 21846
wpt-type: metadata
2020-02-24 10:22:56 +00:00
Alison Maher 721830c794 Bug 1616166 [wpt PR 21846] - Don't adjust SVG text in forced colors mode, a=testonly
Automatic update from web-platform-tests
Don't adjust SVG text in forced colors mode

As per the following spec resolution, SVG text no longer should be
adjusted in forced colors mode by default.
https://github.com/w3c/csswg-drafts/issues/3855

Bug: 970285
Change-Id: I11a785f64ca6f7e7840b17d6b59d4ce9b9f8b4e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055431
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#743163}

--

wpt-commits: ae1a412839f35155c7b697bcc022e8d2d094dc34
wpt-pr: 21846
2020-02-24 10:22:55 +00:00
moz-wptsync-bot 59ae33f11f Bug 1616839 [wpt PR 21898] - Update wpt metadata, a=testonly
wpt-pr: 21898
wpt-type: metadata
2020-02-24 10:22:55 +00:00
Eldar Rello 5770e41753 Bug 1616839 [wpt PR 21898] - Add WPT test case for rolling back data channel, a=testonly
Automatic update from web-platform-tests
Add WPT test case for rolling back data channel

Bug: chromium:1032987
Change-Id: I450c68280a8ab8b0b2bbaa5fa31e0245dbfba780
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2066625
Commit-Queue: Eldar Rello <elrello@microsoft.com>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743154}

--

wpt-commits: b45f50bb79dbc4d2155fe355523c65bb8a7fc227
wpt-pr: 21898
2020-02-24 10:22:55 +00:00
moz-wptsync-bot f2cc431678 Bug 1616842 [wpt PR 21899] - Update wpt metadata, a=testonly
wpt-pr: 21899
wpt-type: metadata
2020-02-24 10:22:54 +00:00
David Bokan 58c4792f58 Bug 1616842 [wpt PR 21899] - [text-fragment] Fix prefix matching edge case, a=testonly
Automatic update from web-platform-tests
[text-fragment] Fix prefix matching edge case

The current algorithm first finds a |prefix|, then checks if the
immediate following text is the |search_text|. If it is it'll advance
|search_start| to the end of the |search_text| so it can confirm it's
followed by the |suffix| text. However, this means that if the |suffix|
text doesn't match, the next iteration of the algorithm will start
searching for the |prefix| at the end of the |search_text|. This is a
problem if the |search_text| == |prefix| because we've now skipped the
|search_text| part of the range for prefix matching.

E.g. With prefix=foo search_text=foo suffix=bar we'll fail to match:

foo foo foo bar

Because the first iteration of the loop will use the first "foo" as
the prefix, and the next iteration will use the third "foo" as the
prefix; we skip the second.

Bug: 1054243
Change-Id: I62b8a32f89c987e5bed8ea439ae1b7d53d12436d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065979
Reviewed-by: Nick Burris <nburris@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743108}

--

wpt-commits: 845ce4ccd97b2ff6b39e698ce2abe7d639111ede
wpt-pr: 21899
2020-02-24 10:22:54 +00:00
moz-wptsync-bot 28b609b202 Bug 1599798 [wpt PR 20481] - Update wpt metadata, a=testonly
wpt-pr: 20481
wpt-type: metadata
2020-02-24 10:22:53 +00:00
Nina Satragno 7948655d38 Bug 1599798 [wpt PR 20481] - Automate webauthn tests, a=testonly
Automatic update from web-platform-tests
Automate webauthn tests (#20481)

* Automate webauthn tests when supported

This patch uses the testdriver virtual authenticator API to automate all
webauthn tests when the browser running the tests supports it. The
standardSetup() function is repurposed to create a mock authenticator.

Timeout tests are also updated to use a mock authenticator that
simulates a user not being present.

Depends on #20409.

* Handle webdriver not implemented error properly

Webdriver harness now returns errors as strings, not objects.

--

wpt-commits: 2f406468dfd60311931a68d53495d274687b6cd5
wpt-pr: 20481
2020-02-24 10:22:53 +00:00
moz-wptsync-bot ad2eaf9562 Bug 1609749 [wpt PR 21224] - Update wpt metadata, a=testonly
wpt-pr: 21224
wpt-type: metadata
2020-02-24 10:22:52 +00:00
Aaron Leventhal 264f2a9e28 Bug 1609749 [wpt PR 21224] - Support ariaDescription DOM property, a=testonly
Automatic update from web-platform-tests
Support ariaDescription DOM property

The aria-description property is now in the master branch of the
draft ARIA spec.

Bug: 1006767
Change-Id: Ic23904c8d8de32aa0f7ff3c4c03ec8a9a26c6b48
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1999301
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743093}

--

wpt-commits: 0cedf0957cbe4861b4c4864f4df5f2222c2a317f
wpt-pr: 21224
2020-02-24 10:22:52 +00:00
moz-wptsync-bot 8358a0f76f Bug 1493305 [wpt PR 13142] - Update wpt metadata, a=testonly
wpt-pr: 13142
wpt-type: metadata
2020-02-24 10:22:51 +00:00
Ms2ger 4ec47cb30e Bug 1493305 [wpt PR 13142] - IdlHarness: Improve the formatting of generic types., a=testonly
Automatic update from web-platform-tests
Introduce IdlInterfaceMember#toString to improve test names. (#13142)

This deduplicates some code, and improves the output. This ensures that unions
and generics don't show up as [object Object], and it makes the output for
other arguments more accurate.
--

wpt-commits: 06ef87a3d1649c581e5d04557760d7c9cde03507
wpt-pr: 13142
2020-02-24 10:22:51 +00:00
Kai Ninomiya 667fc2e8c6 Bug 1616816 [wpt PR 21897] - Revert "Roll CTS and fix extract_expectation_names.py", a=testonly
Automatic update from web-platform-tests
Revert "Roll CTS and fix extract_expectation_names.py"

This reverts commit 51f4efc99436a226e20ece367e1027dbb8577f82.

Reason for revert: rmtree fix was reverted

Original change's description:
> Roll CTS and fix extract_expectation_names.py
>
> ec18cc3262..02b62c2565
>
> Change-Id: I6db0043cf844a81d1ccdecb4e7c0a51de5430fb4
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050036
> Reviewed-by: Robert Ma <robertma@chromium.org>
> Reviewed-by: Rakib Hasan <rmhasan@google.com>
> Reviewed-by: Austin Eng <enga@chromium.org>
> Commit-Queue: Kai Ninomiya <kainino@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#743007}

TBR=kainino@chromium.org,robertma@chromium.org,enga@chromium.org,rmhasan@google.com

Change-Id: I2fee3ed2df610c3fc0e385725e3ae0e86718f745
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2066464
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743062}

--

wpt-commits: 791f62866b3496ae7e3a66918c3355dceec6772f
wpt-pr: 21897
2020-02-24 10:22:50 +00:00
Anne van Kesteren a6d9bcfe79 Bug 1616554 [wpt PR 21879] - nonce attribute: typo fix, a=testonly
Automatic update from web-platform-tests
nonce attribute: typo fix

--

wpt-commits: b26f2c3e4f7fb2853963e86aa9f0b4cab4132b89
wpt-pr: 21879
2020-02-24 10:22:50 +00:00
moz-wptsync-bot 6ab4360228 Bug 1608869 [wpt PR 21146] - Update wpt metadata, a=testonly
wpt-pr: 21146
wpt-type: metadata
2020-02-24 10:22:49 +00:00
Anne van Kesteren e2a833b397 Bug 1608869 [wpt PR 21146] - SharedArrayBuffer and blob:/data: worker, a=testonly
Automatic update from web-platform-tests
SharedArrayBuffer and blob:/data: frame/worker

--

wpt-commits: 981d2d556c6f01e93701742d00d6c48535a8715d
wpt-pr: 21146
2020-02-24 10:22:49 +00:00
Kai Ninomiya 5d5a1ff7c4 Bug 1614829 [wpt PR 21742] - Roll CTS and fix extract_expectation_names.py, a=testonly
Automatic update from web-platform-tests
Roll CTS and fix extract_expectation_names.py

ec18cc3262..02b62c2565

Change-Id: I6db0043cf844a81d1ccdecb4e7c0a51de5430fb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050036
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Rakib Hasan <rmhasan@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743007}

--

wpt-commits: 1ad760a1b454316260e7c4661d37a3042e50a474
wpt-pr: 21742
2020-02-24 10:22:48 +00:00
moz-wptsync-bot dc0c05e941 Bug 1616683 [wpt PR 21887] - Update wpt metadata, a=testonly
wpt-pr: 21887
wpt-type: metadata
2020-02-24 10:22:48 +00:00
Darwin Huang 7a60d2f9a1 Bug 1616683 [wpt PR 21887] - Clipboard API: Consistently return on detached contexts., a=testonly
Automatic update from web-platform-tests
Clipboard API: Consistently return on detached contexts.

Consistently fail on detached contexts. Previously, a detached context
could allow for a nullptr deref, and a renderer crash.

Consistently return nullptr for navigator.clipboard, and ensure that
a nullptr navigator.clipboard function will terminate immediately in a
consistent manner.

Also, add tests to ensure that regressions don't occur in the future.

Bug: 1028591, 1034023
Change-Id: I67f8a76dc2901e7447049ff99e0b27ea6afeba63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2057817
Commit-Queue: Darwin Huang <huangdarwin@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#742941}

--

wpt-commits: 993a932dca2b378a44dc55f4ee80812f65d8fb4e
wpt-pr: 21887
2020-02-24 10:22:47 +00:00
autofoolip 3ee85b98f3 Bug 1616710 [wpt PR 21891] - Update Safari Technology Preview to 101, a=testonly
Automatic update from web-platform-tests
Update Safari Technology Preview to 101

Version as reported by safaridriver --version:
Included with Safari Technology Preview (Release 101, 15610.1.3)

Source: https://developer.apple.com/safari/download/
Build: https://dev.azure.com/foolip/safari-technology-preview-updater/_build/results?buildId=1442&view=logs

--

wpt-commits: 9c769beea3baff07abf40eef53de01eee14fc539
wpt-pr: 21891
2020-02-24 10:22:47 +00:00
Robert Ma 34a315d7f0 Bug 1616681 [wpt PR 21886] - Fix typo in error message: promise_reject(s)_js, a=testonly
Automatic update from web-platform-tests
Fix typo in error message: promise_reject(s)_js (#21886)

--

wpt-commits: de9fa20a3f15ccd89732a49077554da19d7ca40c
wpt-pr: 21886
2020-02-24 10:22:46 +00:00
pyup.io bot c759129ff7 Bug 1616643 [wpt PR 21883] - Update requests to 2.23.0, a=testonly
Automatic update from web-platform-tests
Update requests to 2.23.0 (#21883)

* Update requests from 2.22.0 to 2.23.0

* Update requests from 2.22.0 to 2.23.0

* Update requests from 2.22.0 to 2.23.0

--

wpt-commits: 1da573091425a30508c38875f0dd32f3ae43a08e
wpt-pr: 21883
2020-02-24 10:22:46 +00:00
Domenic Denicola 51c9cb485f Bug 1614474 [wpt PR 21705] - Add infrastructure for testing origin policy, a=testonly
Automatic update from web-platform-tests
Add infrastructure for testing origin policy

This adds 99 new subdomains for testing origin policy on, without interfering with other tests. It also configures `/.well-known/origin-policy` to use a Python script handler, instead of a static file handler, to allow varying responses. Closes #20773.

RFC: https://github.com/web-platform-tests/rfcs/pull/44
--

wpt-commits: 644a206e8ace488eac7e2b2a58a4b5354b02363a
wpt-pr: 21705
2020-02-24 10:22:45 +00:00
moz-wptsync-bot 989c1286ca Bug 1614612 [wpt PR 21728] - Update wpt metadata, a=testonly
wpt-pr: 21728
wpt-type: metadata
2020-02-24 10:22:45 +00:00