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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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