Changes:
Ensure that code is iterating through a list and only attempt to perform `decode` if the item being iterated supports such action.
Differential Revision: https://phabricator.services.mozilla.com/D57196
Automatic update from web-platform-tests
[scroll-to-text-fragment] Replace BroadcastChannel with WPT Stash
BroadcastChannel was not supported on all platforms, and also caused
some flakiness. This patch replaces BroadcastChannel usage with WPT
Stash.
Also adds a META.yml.
Bug: https://github.com/web-platform-tests/wpt/issues/20269
Change-Id: I25f7fa30da59c156de88ee5f7259152369493629
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1925428
Commit-Queue: Nick Burris <[email protected]>
Reviewed-by: David Bokan <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723903}
--
wpt-commits: 97e6b873c2d1dbf0ce8a382034bd00dfe940b32c
wpt-pr: 20328
Automatic update from web-platform-tests
Fetch: delete request-body-headers for certain redirects
For https://github.com/whatwg/fetch/pull/977.
--
wpt-commits: d09c77af120af9c9db2065378186f7942e2f157f
wpt-pr: 20596
Automatic update from web-platform-tests
Clean up testharness.css leftovers.
testharness.css itself was removed in #11143, but its `.headers` file
remained in the tree, and so did some lint checks for a file that no longer
exists.
--
wpt-commits: 224eac4010caa80b97920af3320ba97f2d358386
wpt-pr: 20718
Automatic update from web-platform-tests
Ensure servo binary is installed in CI
--
Install packages required by servo
--
Run Servo with 12 processes
This matches the Servo CI configuration
--
Update docker image
--
Pass servo binary as webdriver_binary for wdspec tests
Servo's WebDriver implementation is self-hosted
--
Run servo with only one process for wdspec tests
--
wpt-commits: c5101999f107fdeb2a2903b9b379a2f6c18f197b, e74cd8a768a93ffc403244ca36646913a8a5c9f6, ea02cbf033bb3b066f4928f354cfc406519d15b3, 22d79795ae58da60f1990af7152fccb59771d658, e82b3f40c2cb3cdf69bf917d1e44aa2f5e3327db, d3dd652f3e647af9020d6100cf1bb1aab55bf338
wpt-pr: 20690
Automatic update from web-platform-tests
[Azure Pipelines] don't install Ahem for STP jobs
infrastructure_macOS still needs this because Chrome and Firefox are
also part of that job and they do use Ahem if installed.
--
wpt-commits: 6a9582cc7f51b9fbf69c05865b7fd9166a031101
wpt-pr: 20699
Automatic update from web-platform-tests
Don't import webdriver into executors/base.py (#20722)
This doesn't work with gecko's command dispatch frontend, and means that
the base class is depending on the behaviour of derived classes.
--
wpt-commits: 624694b02385b821ee2c151c028c710239066afa
wpt-pr: 20722
Automatic update from web-platform-tests
[PW] Implement setTransform with DOMMatrix
Right now the PaintRenderingContext2D::setTransform that takes a
DOMMatrix would crash because it is NOTREACHED().
This CL implements that and add a layout test.
Bug: 1029362
Change-Id: I1038dbe1bfcee14e128c46f73606fabcf3923caf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1951566
Commit-Queue: Xida Chen <[email protected]>
Reviewed-by: Yi Gu <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723549}
--
wpt-commits: 93281ec5a4c254d472eaaa988fb3859877a6ae13
wpt-pr: 20710
Automatic update from web-platform-tests
Remove totalFrameDelay test for getVideoPlaybackQuality() (#20673)
This attribute was long ago cut from the spec and is not present in the
current VideoPlaybackQuality interface.
Bug: 644731
Change-Id: Icbea9bb3ce4eb9afb1530dde56a6f45930d7facc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1956496
Auto-Submit: Chrome Cunningham <[email protected]>
Reviewed-by: Matthew Wolenetz <[email protected]>
Commit-Queue: Chrome Cunningham <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723570}
--
wpt-commits: bb2361b9bfecb3fd0c15f5459e2de8c0b91748c8
wpt-pr: 20673
Automatic update from web-platform-tests
Adoption and DocumentFragment (#16348)
Tests for https://github.com/whatwg/dom/issues/744.
The assumption here is an early return for DocumentFragment that has a host by adoptNode() and that adoption generally doesn't affect DocumentFragment otherwise (only its children).
--
wpt-commits: cca4170a0c8a6a9b8398eb53364ec0bba7ead7cb
wpt-pr: 16348
Automatic update from web-platform-tests
HTML: test origin and Window object reuse
For https://github.com/whatwg/html/issues/4126.
--
wpt-commits: 0ad1a2a742b5485d8d2f495b2858a60f466413b3
wpt-pr: 20400
Automatic update from web-platform-tests
[cssom-view] Make matchMedia tests not racy.
PRs #18390#19841 introduced a bunch of new tests. I saw some of them being
filed as flaky in Gecko and this is why.
Random timeout is not a good way to wait for events being reported. Instead,
wait for to RAF callbacks, as that guarantees that "Update the rendering steps"
runs at least once.
--
wpt-commits: f67dffb715254be99a853822752cd6bdf8325cf2
wpt-pr: 20712
Automatic update from web-platform-tests
[Trusted Types] Support 'allow-duplicates' in trusted-types directive.
Implements 'allow-duplicates' according to
https://github.com/w3c/webappsec-trusted-types/pull/245
Also updates policy name checking to follow the spec.
Bug: 1030259
Change-Id: I74a1a12d5e36b642cfbcf2517a6ee8f0d7f000e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1950529
Commit-Queue: Daniel Vogelheim <[email protected]>
Reviewed-by: Mike West <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723780}
--
wpt-commits: af8e392b3d0dbe69d8e77c77395f248a9dfc7afb
wpt-pr: 20630
Automatic update from web-platform-tests
Fix the order of operations in pipeTo
Previously, Blink's implementations of pipeTo and pipeThrough did some
initialisation operations in the wrong order. This was done to simplify
the code when there were two implementations.
Now only the native implementation remains, it is simpler to do the
operations in the correct order.
In particular, switch the order of checking options w.r.t. checking the
locked status of the streams to match the standard.
Also add tests to verify the order is correct.
BUG=1031895
Change-Id: I51fbf74f4cd33ffc357a34ab302d4c1bb7b1e77b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1958550
Reviewed-by: Yutaka Hirano <[email protected]>
Commit-Queue: Adam Rice <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723732}
--
wpt-commits: f3b8e27ad4172b929cafbf50e1c9f3e417b10104
wpt-pr: 20692
Automatic update from web-platform-tests
Fix markup of function parameters in testdriver.md
* mark up function parameters as _foo_, no `foo`
* don’t mark up the word "promise" with any character fomatting
* lowercase "promise", not "Promise"
* other copy edits
--
wpt-commits: 7a73cd04b38c98ad625e78196696686a5e304b64
wpt-pr: 20707
Automatic update from web-platform-tests
[wptrunner] Attempt to fix EXTERNAL-TIMEOUT (#20664)
After #20321, we now sometimes see an error from mozlog when the new
external timeout is triggered:
"ERROR test_end for ... logged while not in progress"
A theory is that we call test_ended from a different thread which might
not have all the correct states. This attempted fix switches to sending
a test_ended message to the queue instead, similar to what TestRunner
does normally. In doing so, we also need to treat duplicate test_ended
messages as non-fatal errors.
Hopefully this fixes#20607 .
--
wpt-commits: 622d7254cb5a3bed5b621bda39882c3338aaf35f
wpt-pr: 20664
Automatic update from web-platform-tests
Change input.validity.* to not depend on willValidate
Prior to this change, disabling (or marking readonly) an input
would cause input.validity.* to become always true, because
willValidate became false. The spec [1] isn't completely clear
but appears to say that input.validity.* should give the state
of validation, independent of whether the control will actually
be validated. Other browsers, including Firefox, behave this
way already.
This CL also adds testing of most validity.* accessors with
disabled=true, readonly=true, and both true. Most of these
tests fail without this CL in place, confirming the bug.
[1] https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-constraint-validation-api
Fixes: 1030749
Change-Id: I3d3bea53c57a87cf49b99acf53e53772395bf6ed
Bug: 1030749
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1952027
Commit-Queue: Mason Freed <[email protected]>
Reviewed-by: Kent Tamura <[email protected]>
Auto-Submit: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723457}
--
wpt-commits: 8ca0d2e00bd1c4ff9236e2772d51d7f31b4ee2ee
wpt-pr: 20663
Automatic update from web-platform-tests
[LayoutNG] Fix hyphens when rewinding occurs
This is a re-land of:
https://chromium-review.googlesource.com/c/chromium/src/+/1868534
The original patch caused a regression and was reverted for
crbug.com/1028817. A test was added for the case at:
https://chromium-review.googlesource.com/c/chromium/src/+/1941451
The problem happened when |HandleOverflow| tried to break a
text item but it didn't fit. |NGLineBreaker| looks for
previous opportunities and rewind, but items it tried to
break were modified, which confused |NGLineBreaker|.
The old patch stopped rewinding there. The new approach is to
restore the original item when it failed to break so that it
can always see the original items.
:: The original description follows ::
This patch removes |NGLineInfo::LineEndFragment|, which was
introduced to support hyphens and ellipsis with the single
code. However, ellipsis was changed to use different code,
and |LineEndFragment| ended up with non-optimal way to handle
hyphens.
Although hyphens appear at most once in a line, storing this
to |NGLineInfo| makes harder to keep it in sync with the
hyphenated item. This patch changes it to a field in
|NGInlineItemResult|.
Bug: 1015297
Change-Id: I1dab0dacd8445ed563527bdc90d58b18470725f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1943784
Reviewed-by: Ian Kilpatrick <[email protected]>
Commit-Queue: Koji Ishii <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723458}
--
wpt-commits: 5297717c66073692f003d0cbb780594c07df6190
wpt-pr: 20708
Automatic update from web-platform-tests
[FlexNG] Add support for OOF-positioned static-positions within FlexNG.
This builds on previous changes to (finally!) add the correct
static-positions within the NGFlexLayoutAlgorithm.
This takes into account the main-axis, and cross-axis
alignment/justification - and converts it to the correct
inline/block axis.
As we may not know the final block-size when we encounter an
OOF-positioned node, we "adjust" this within the fragment builder once
known.
This is important for block-end/block-center aligned OOF-positioned
nodes.
Bug: 845235
Change-Id: I45c89ae1f676ec06d742b86e4b744cfc3dbe6f75
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1841245
Commit-Queue: Ian Kilpatrick <[email protected]>
Reviewed-by: Morten Stenshorne <[email protected]>
Reviewed-by: David Grogan <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723411}
--
wpt-commits: d38cc357aae049b305f136d0f0f20e1058008442
wpt-pr: 20642
Automatic update from web-platform-tests
additional stepMismatch tests for input type="number"
Adds tests that would fail if arithmetic is done with a low precision (for example with the javascript built-in % operator, given javascript's float precision)
--
wpt-commits: b3d44bad7d59b2167e1ce3d0e4d8e18e3aec34ec
wpt-pr: 20548
Automatic update from web-platform-tests
wptrunner: Fail with NotImplementedError when appropriate (#20409)
Modify the base executor so that if a certain protocol message is not
implemented, we fail with NotImplementedError instead of raising an
exception and crashing the browser. Have unimplemented APIs
explicitly throw this error on marionette.
--
wpt-commits: 54bed30a94eb09200f8fa3d0dbf7360c271db2df
wpt-pr: 20409
Automatic update from web-platform-tests
Have portals self-navigate with replacement.
This aligns more closely with our current thinking around session
history for portals. Maintaining a session history which is completely
disconnected from the user's real session history is of dubious value.
It's conceptually simpler to think of portals as not having a session
history (or at least having a trivial one), as this better reflects how
portals are represented to the user.
Bug: 914108
Change-Id: Ifa8f26b5dfad20a465673985d1c39ca36b2fde0f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1954344
Reviewed-by: Jeremy Roman <[email protected]>
Commit-Queue: Kevin McNee <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723374}
--
wpt-commits: 7b704a69099c5a80dcfbcf5af60add57b7ca838d
wpt-pr: 20644
Changes:
Due to changes in `subprocess.Popen` return values in python3, it makes sense to check first if the line is a decodable type prior to attempting such action.
This change will resolve the following failure when tests are run in python3:
```
======================================================================
2) ERROR: test_get_output_from_command (test_base_script.TestHelperFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
test/test_base_script.py line 370 in test_get_output_from_command
contents = self.s.get_output_from_command(["bash", "-c", "cat %s" % self.temp_file])
mozharness/base/script.py line 1658 in get_output_from_command
line = line.decode("utf-8")
AttributeError: 'str' object has no attribute 'decode'
-------------------- >> begin captured logging << --------------------
root: INFO: ConsoleLogger online at 20191215 00:24:05Z in /Users/egao/mozilla-central/testing/mozharness
root: INFO: Run as .tox/py35-hg4.3/bin/nosetests -v --with-xunit --rednose --force-color
root: INFO: Getting output from command: ['bash', '-c', 'cat test_dir/mozilla']
root: INFO: Copy/paste: bash -c "cat test_dir/mozilla"
root: INFO: Reading from file tmpfile_stdout
root: INFO: Output received:
--------------------- >> end captured logging << ---------------------
```
Differential Revision: https://phabricator.services.mozilla.com/D57225