Commit Graph

692033 Commits

Author SHA1 Message Date
Zibi Braniecki
8cf0edd469 Bug 1613801 - Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62391

--HG--
extra : moz-landing-system : lando
2020-02-18 20:07:46 +00:00
Michael Kaply
1abeb31c34 Bug 1616007 - Invalid hasPolicies check. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D63209

--HG--
extra : moz-landing-system : lando
2020-02-18 19:42:05 +00:00
Nika Layzell
3263c02cc5 Bug 1609324 - Disable BFCache when remote subframes are present, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62831

--HG--
extra : moz-landing-system : lando
2020-02-16 13:40:12 +00:00
Andrew McCreight
5ccc4cff06 Bug 1616327 - Use fallible SetLength in XPCConvert::JSData2Native. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63219

--HG--
extra : moz-landing-system : lando
2020-02-18 19:46:14 +00:00
Neil Deakin
ad9f9101fa Bug 1607214, the implementation of the HTMLInputElement.controllers getter can return null, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58789

--HG--
extra : moz-landing-system : lando
2020-02-18 19:16:12 +00:00
moz-wptsync-bot
ec28c9967c Bug 1616083 - [wpt-sync] Update web-platform-tests to 9521d69a5d737712abb2ef6387d227445e2999dd, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 9521d69a5d737712abb2ef6387d227445e2999dd
wpt-type: landing
2020-02-18 19:29:58 +00:00
moz-wptsync-bot
088a8e6c50 Bug 1615689 [wpt PR 21808] - Update wpt metadata, a=testonly
wpt-pr: 21808
wpt-type: metadata
2020-02-18 19:29:58 +00:00
Oriol Brufau
bac62e6231 Bug 1615689 [wpt PR 21808] - [css-pseudo] Fix text selection and drag-and-drop for pseudo-elements, a=testonly
Automatic update from web-platform-tests
[css-pseudo] Fix text selection and drag-and-drop for pseudo-elements

Before this patch, if you had a tree like

  <div><div::before>abc</div::before>def</div>

and you tried to select "bc", Chromium would end up selecting "ef" in
some cases. Similarly, trying to drag a text and drop it between "bc",
would end up inserting the text between "ef".

This patch fixes the problem, now trying to select "bc" won't select
anything. And dropping some text between "bc" will insert it between
the "cd".

BUG=1051685

TEST=external/wpt/css/css-pseudo/text-selection.html
TEST=fast/css-generated-content/drag-and-drop.html

The 2nd test is internal because I didn't manage to properly simulate
drag and drop using testdriver.js

Change-Id: Iedd594b46022ed434bdb1462232c717ec08f5304
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047287
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#741909}

--

wpt-commits: 410f5ece454de3f304f4ac885be244ed9755ac18
wpt-pr: 21808
2020-02-18 19:29:57 +00:00
Rob Buis
3a3392d7f9 Bug 1615894 [wpt PR 21821] - Fix resources path in lazy load tests, a=testonly
Automatic update from web-platform-tests
Fix resources path in lazy load tests

When moving lazy load tests to html/semantics/embedded-content/the-img-element
the internal resources paths were not adjusted, so do it in this change.
--

wpt-commits: 0ffd3515e2a53c04c5465687153d77bc50328c86
wpt-pr: 21821
2020-02-18 19:29:57 +00:00
Ziran Sun
16a7e0ba45 Bug 1616026 [wpt PR 21835] - Use six.iteritems to iterate over dictionary's items in tools, a=testonly
Automatic update from web-platform-tests
Use six.iteritems to iterate over dictionary's items in tools

This corresponds to dictionary.iteritems() on Python 2 and
dictionary.items() on Python 3.

--

wpt-commits: 70efafb7da25cb0c44beb95dfbb4198e80a557b9
wpt-pr: 21835
2020-02-18 19:29:56 +00:00
Hiroshige Hayashizaki
c33d0d44cc Bug 1615997 [wpt PR 21832] - [WPT/mixed-content] Remove websocket + redirect tests, a=testonly
Automatic update from web-platform-tests
[WPT/mixed-content] Remove websocket + redirect tests

Redirects are forbidden (see Step 12 and the warning at the bottom:
https://fetch.spec.whatwg.org/#concept-websocket-establish ).

Previously, websocket + redirect tests were generated, but
their behavior was the same as websocket + no-redirect,
because the websocket subresource endpoint ignores
redirect-related parameters.
This CL removes such redundant tests.

Bug: 906850
Change-Id: I86be33d1812b4d16ba463f14320fb23369321cc0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2058707
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741851}

--

wpt-commits: 2d1c196b4bb245aa80b4fafe5824384fee386a82
wpt-pr: 21832
2020-02-18 19:29:56 +00:00
Hiroshige Hayashizaki
670048d1a1 Bug 1615937 [wpt PR 21826] - [WPT/common/security-features] Transition spec.src.json to JSON5, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Transition `spec.src.json` to JSON5

To allow inline comments in `spec.src.json` to make it more
descriptive, this CL parses `spec.src.json`s as JSON5,
using `json5` non-standard library.
After parsing, we still use `json` module for outputting
JSON objects.

Subsequent CLs e.g. [1] will actually add inline comments
to `spec.src.json`s.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/2049953

This CL doesn't change the generated results.

Bug: 906850, https://github.com/web-platform-tests/wpt/issues/21824
Change-Id: I8c6472b41ae55a051889fc29cf57d392ef60b69f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2058706
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741850}

--

wpt-commits: 8205a7e07caf3606abed03306d5b51c0d688252a
wpt-pr: 21826
2020-02-18 19:29:55 +00:00
Eriko Kurimoto
cf8ef51698 Bug 1615519 [wpt PR 21795] - SharedWorker: Fire an error event when type or credentials mismatch, a=testonly
Automatic update from web-platform-tests
SharedWorker: Fire an error event when type or credentials mismatch

This CL adds the step to check if type and credentials values are same
with these of matched SharedWorkerGlobalScope before connecting to it.

This is just added to the spec.
Spec issue: https://github.com/whatwg/html/issues/5235
Pull request: https://github.com/whatwg/html/pull/5258
WPT: https://github.com/web-platform-tests/wpt/pull/21651

This changes the behavior, and WPT is already added from the public pull
requests to WPT GitHub:
wpt/workers/shared-worker-options-mismatch.html

In this CL, http/tests/workers/shared-worker-shared.html is modified.
Since the way to catch worker's error had changed, this test was no
longer catching the error properly. This test was attempting to create
SharedWorker with non-existing script url so ErrorEvent had been fired.
However, this test couldn't successfully catch ErrorEvent and this is
found out since the console error log added in this CL is printed as
"text diff". Fixing this test is out-of-scope, so this CL avoid this
console error by using an existing script url.

Bug: 1050438
Change-Id: I03232ff19db89560d99d3ddc6a25cdd8f1898222
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2041386
Commit-Queue: Eriko Kurimoto <elkurin@google.com>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741848}

--

wpt-commits: 497675f53a9542bdb77c0640cd683e5990659a94
wpt-pr: 21795
2020-02-18 19:29:55 +00:00
Ziran Sun
e6b75fb88d Bug 1615898 [wpt PR 21822] - Iterating over dictionary's items with six library for PY2 & PY3 comp…, a=testonly
Automatic update from web-platform-tests
Iterating over dictionary's items with six library for PY2 & PY3 compatibility.

--

wpt-commits: ef72cc2212e324334032148aea9169edf2562ef5
wpt-pr: 21822
2020-02-18 19:29:54 +00:00
Hiroshige Hayashizaki
3267f6daa0 Bug 1615933 [wpt PR 21823] - [WPT/mixed-content] Flatten subresource types, a=testonly
Automatic update from web-platform-tests
[WPT/mixed-content] Flatten subresource types

To unify `spec.src.json`, this CL flattens subresource types
in `mixed-content/spec.src.json`, to match the structure with
other `spec.src.json`s.

A subsequent CL
https://chromium-review.googlesource.com/c/chromium/src/+/2049953
will actually merge some parts of `spec.src.json`s.

This CL doesn't change the generated results.

Bug: 906850
Change-Id: I38963dbc847b09fb314907e8d068232c15e7cffc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2058705
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741847}

--

wpt-commits: b2331fccbc54f5b0a57d66190d30d40341cbc957
wpt-pr: 21823
2020-02-18 19:29:54 +00:00
moz-wptsync-bot
a598c1cc80 Bug 1612706 [wpt PR 21539] - Update wpt metadata, a=testonly
wpt-pr: 21539
wpt-type: metadata
2020-02-18 19:29:53 +00:00
Noam Rosenthal
37f91c6a36 Bug 1612706 [wpt PR 21539] - Add new comprehensive test for image-set rendering, a=testonly
Automatic update from web-platform-tests
Add new comprehensive test for image-set rendering (#21539)

* Add new comprehensive test for image-set rendering

* Use dpr 1 for now for test - no sufficient infra for DPR setting

--

wpt-commits: 1b7dcb06ea477226e90ca0fbc0b86262a410f7ad
wpt-pr: 21539
2020-02-18 19:29:53 +00:00
Koji Ishii
8b3bb44576 Bug 1615951 [wpt PR 21828] - Remove CSS Rhythmic Sizing tests, a=testonly
Automatic update from web-platform-tests
Remove CSS Rhythmic Sizing tests

Two years ago, when applying vertical rhythm algorithms, the
risk of accidental rounding up was raised. This is a widely
known, unavoidable risk in any vertical rhythm algorithms.
The CSSWG was in favor to accept it 8 years ago, but this
time, two members considered the risk is critical.
https://github.com/w3c/csswg-drafts/issues/938

Last month, the CSSWG discussed this again. One invited expert
was still strong not to accept the risk, and that the CSSWG
resolved to remove tests.
https://github.com/w3c/csswg-drafts/issues/938#issuecomment-577640685

Reduces 4 failures, as the feature is no longer implemented in
LayoutNG nor in any other implementations.

TBR=ikilpatrick@chromium.org, tabatkins@chromium.org

Bug: 586413
Change-Id: Ia0d50d77550cc5c8b681f001a4f25a825e6504ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2059692
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741820}

--

wpt-commits: ac16628eb7eb601957382053011363d2bcf8ce44
wpt-pr: 21828
2020-02-18 19:29:52 +00:00
Ian Kilpatrick
7a98da9eae Bug 1615869 [wpt PR 21820] - [LayoutNG] Generate first baseline for kInlineBlock baseline algorithm., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Generate first baseline for kInlineBlock baseline algorithm.

In https://chromium-review.googlesource.com/c/chromium/src/+/1988376 I
simplified the logic a little too much.

We (occasionally) need the first-baseline of a child inside an
inline-block. We need this when we are aligning a list-marker.

This modifies the NGBaselineAlgorithmType::kInlineBlock to always
produce both the first and last baselines.

Bug: 1051181
Change-Id: I4844dfe44d3525a68ee8b8d7f0f50bd995de9367
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2057344
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741798}

--

wpt-commits: 2cd67814c72b152489684d47023a7a5ce9d0aced
wpt-pr: 21820
2020-02-18 19:29:52 +00:00
Alex Cooper
f67d7c3559 Bug 1615754 [wpt PR 21811] - Update test processing of StageParameters changes, a=testonly
Automatic update from web-platform-tests
Update test processing of StageParameters changes

Currently the test code only sends the stage parameters as Display Info
updates. Now that WebVr has been removed, this code path is one that is
being considered for removal.

The real runtimes utilize both this VRDisplayInfo update path as well as
updating the stage parameters with frame data.

This changes the test runtime to do the same (i.e. send up stage
parameters via both DisplayInfo and FrameData).

Fixed: 983363
Change-Id: I3c0a3f59b97163c3ac3b8f4b6529183142688d0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2056501
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Piotr Bialecki <bialpio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741671}

--

wpt-commits: 8debe68e88d3b10393ea3dc5862d4130c663f496
wpt-pr: 21811
2020-02-18 19:29:51 +00:00
moz-wptsync-bot
2b732dd44e Bug 1615440 [wpt PR 21788] - Update wpt metadata, a=testonly
wpt-pr: 21788
wpt-type: metadata
2020-02-18 19:29:51 +00:00
Stephen Chenney
d7bc04dbcf Bug 1615440 [wpt PR 21788] - [Image-Orientation] Fix canvas drawImage, a=testonly
Automatic update from web-platform-tests
[Image-Orientation] Fix canvas drawImage

Image orientation was not correctly applied in base_rendering_context_2d,
resulting in always oriented images sometimes drawn with the wrong source
rect. This change fixes that.

The image-orientation setting we respect always comes from the canvas
into which the image is being drawn. This keeps the rules for which
orientation to apply simple.

As part of this change, orientation is added to StaticBitmapImage and
used in the necessary cases to track the orientation of the source
image.

As part of this change, the code to correct an image source rect is
moved to Image and callers updated.

Bug: 1043790
Change-Id: I13d74b66cff912382f8f5efe0050eae6a0f283c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2044050
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Auto-Submit: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741635}

--

wpt-commits: 24baba70548b528ff0179b22c77ddaabb8134a7d
wpt-pr: 21788
2020-02-18 19:29:50 +00:00
Stephen McGruer
79d4977cd3 Bug 1615803 [wpt PR 21819] - Fix lint.whitelist after 8636d91, a=testonly
Automatic update from web-platform-tests
Fix lint.whitelist after 8636d91 (#21819)

The lint for audit.js is based on the exact line location, which changed
when https://github.com/web-platform-tests/wpt/pull/21804 added two more
lines to the file.
--

wpt-commits: 089627b582021a156250007160690ee7d339c0ea
wpt-pr: 21819
2020-02-18 19:29:50 +00:00
moz-wptsync-bot
e15fb83791 Bug 1598797 [wpt PR 20414] - Update wpt metadata, a=testonly
wpt-pr: 20414
wpt-type: metadata
2020-02-18 19:29:49 +00:00
Adam Argyle
40ebe95469 Bug 1598797 [wpt PR 20414] - Adds flex gap tests, a=testonly
Automatic update from web-platform-tests
Adds flex gap tests (#20414)

* horizontal test stubbed

* vertical test stubbed

* adding basic horizontal gap test

* adding basic vertical flex gap test

* adding flex wrap gap test on extrinsic children

* adding horizontal flex gap test on intrinsic children

* adding vertical flex gap test on intrinsic children

* cruft removal

* adding horizontal flex gap test on wrapping intrinsic children

* adding vertical flex gap test on wrapping intrinsic children

* started writing mode gap tests

* page title fixes and switched to logical sizing

* flex vertical stack writing mode tests and refs done

* renamed file to be more succinct

* rtl tests for flex stacks

* removed gaps from ref impls

* title updates

* renamed files to scale better with the test matrix

* rows and columns writing mode tests are good

* intrinsic columns writing mode tests are good

* intrinsic rows writing mode tests are good

* wrap intrinsic writing mode tests are good

* wrap intrinsic columns writing mode tests are good

* test for separative row and column gap sizes

* update match meta to latest ref test title

* mixed units gaps, percentage and rem

* calc flex gap examples

* cruft fix

* fix human assertion text

* pacify linter

* fixes colors, updates copy

--

wpt-commits: 8037fe7f0d98f045bc813f3e21f228a2821dca5e
wpt-pr: 20414
2020-02-18 19:29:49 +00:00
Luke Zielinski
2b18dbdcdd Bug 1615638 [wpt PR 21804] - Link to github issue explaining why webaudio's audit.js exists, a=testonly
Automatic update from web-platform-tests
Link to github issue explaining why webaudio's audit.js exists (#21804)

--

wpt-commits: 8636d919cb3584807955d30ef2c1024cf74e29cc
wpt-pr: 21804
2020-02-18 19:29:49 +00:00
Alison Maher
59a58815c8 Bug 1594165 [wpt PR 20096] - [LayoutNG] Text indent with leading float, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Text indent with leading float

This change avoids breaking after leading floats in the case where
there is a text indentation.

Doing so fixes the following scenario:

<div style="width: 100px; text-indent: 40px;">
  <div style="float: left; width: 60px; height: 10px;"></div>
  <div style="display: inline-block; width: 60px; height: 20px;"></div>
</div>

In the above example, the following steps will happen:

1. The inline div will attempt to fit on the same line as the float.
   It does not, and a new line opportunity will be created on the next
   line.
2. The inline div overflows this new line opportunity due to the indent.
3. HandleOverflow() checks if the previous element (ie. the float)
   can break after. The float can, so it will attempt to rewind.
4. This causes a break in a later DCHECK.

Not allowing breaks after leading floats in the case of an indentation
fixes the above issue, and appears to match the behavior of other
browsers.

Bug: 1014247
Change-Id: Icf551f5908a0fcb8e0b80a8b9329c965435dd805
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1896509
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#741487}

--

wpt-commits: 3c631e2f32dae04804e5cc0f1448cf5e8615458b
wpt-pr: 20096
2020-02-18 19:29:48 +00:00
haozhe
4bcd44688b Bug 1612419 [wpt PR 21518] - getAnimations from the Document instead of from Timeline, a=testonly
Automatic update from web-platform-tests
getAnimations from the Document instead of from Timeline

Per the spec, Document::getAnimations() must report all Animations whose
target effect is the given document.

Spec:
https://drafts.csswg.org/web-animations/#extensions-to-the-documentorshadowroot-interface-mixin

Bug: 828585
Change-Id: I92a5cab69d0b9869fea0238e2cfb8e98d995a3b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2024539
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741473}

--

wpt-commits: e617314c6aa4b7c0fb83627d47063d00106b47a1
wpt-pr: 21518
2020-02-18 19:29:48 +00:00
moz-wptsync-bot
469fca3aaf Bug 1614081 [wpt PR 21675] - Update wpt metadata, a=testonly
wpt-pr: 21675
wpt-type: metadata
2020-02-18 19:29:47 +00:00
Nick Burris
9f3baf1721 Bug 1614081 [wpt PR 21675] - [css-scroll-anchoring] Add WPT for zero scroll offset suppression., a=testonly
Automatic update from web-platform-tests
[css-scroll-anchoring] Add WPT for zero scroll offset suppression.

Chromium has always had a scroll anchoring suppression trigger when the
scroll offset is zero. This suppression trigger was added to the spec in
https://github.com/w3c/csswg-drafts/pull/4679.

Change-Id: I2f38b23803e610aa04976c43211357e173cecbb1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2045200
Commit-Queue: Nick Burris <nburris@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741108}

--

wpt-commits: 91d1d5d10ddb68fcee2c1c66f27f53b7bd50001f
wpt-pr: 21675
2020-02-18 19:29:47 +00:00
Luke Zielinski
5851fe8579 Bug 1615048 [wpt PR 21763] - Update chromium logger to identify subtest failures., a=testonly
Automatic update from web-platform-tests
Update chromium logger to identify subtest failures. (#21763)

This also fixes a bug where a subtest failure would be hidden because
the expected_status was evaluated too late in `test_end`. For a
subtest failurei the test status is Pass. But for Chromium, we flip this
"actual" status to a failure.
But the actual status is also used as a fall-back for the expected status
(see explanation in chromium.py:126). So if "expected" is evaluated after the
"flip", it will just match "actual" and the failure will be marked as
an "expected" failure.
--

wpt-commits: 22a79941ccc023ef301a48734158451f1b8873fb
wpt-pr: 21763
2020-02-18 19:29:46 +00:00
autofoolip
209ed5257e Bug 1615484 [wpt PR 21793] - Update interfaces/web-bluetooth.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/web-bluetooth.idl (#21793)

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

wpt-commits: cebcce0e9b4c105a3ddb40383d7b5cdb7adefd03
wpt-pr: 21793
2020-02-18 19:29:46 +00:00
Ziran Sun
6a68e5f914 Bug 1615605 [wpt PR 21802] - Use errno attribute to handle socket.error for PY2 and PY3 compatibility, a=testonly
Automatic update from web-platform-tests
Use errno attribute to handle socket.error for PY2 and PY3 compatibility

Python 3 has introduced Built-in Exception class 'ConnectionRefusedError'
as a subclass of ConnectionError for connection-related issue.

--

wpt-commits: f2682272ecf2883db0f5302d8fae6d1b74411d64
wpt-pr: 21802
2020-02-18 19:29:45 +00:00
Stephen McGruer
241de789cf Bug 1615410 [wpt PR 21787] - Update docs around wpt-pr-bot, a=testonly
Automatic update from web-platform-tests
Update docs around wpt-pr-bot

Closes https://github.com/web-platform-tests/wpt/issues/21752

--

wpt-commits: b090f21d2d9a3870b8d13d37070ccdb380a85f46
wpt-pr: 21787
2020-02-18 19:29:45 +00:00
Stephen McGruer
652fa7eb6d Bug 1615593 [wpt PR 21801] - Revert "Worker: Add data URL tests for nested dedicated workers", a=testonly
Automatic update from web-platform-tests
Revert "Worker: Add data URL tests for nested dedicated workers"

This reverts commit 1d73a2eb29cb7088b4920cf8958b6b3d053b093a.

Reason for revert: Worker variant of tests appears to consistently timeout on WebKit Linux Leak (crbug.com/1052322)

Original change's description:
> Worker: Add data URL tests for nested dedicated workers
>
> This CL renames data-url.html to data-url.any.js in order to run the
> tests on a dedicated worker. Previously these tests only ran on window.
>
> Bug: n/a
> Change-Id: I4be0cfdddc01fa4865763868c4947ea63e62d491
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2054656
> Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
> Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#741367}

TBR=nhiroki@chromium.org,shimazu@chromium.org

Change-Id: I00481f9a51c672b4041364674d0bcad00d959c63
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: n/a
Bug: 1052322
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2057046
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741417}

--

wpt-commits: a36ca8f94aed6644abaab1553dd634f3f5251a5d
wpt-pr: 21801
2020-02-18 19:29:44 +00:00
David Grogan
ec2b1a0e72 Bug 1615542 [wpt PR 21798] - [Layout] SetNeedsLayout when an flex-item image loads, a=testonly
Automatic update from web-platform-tests
[Layout] SetNeedsLayout when an flex-item image loads

Reland of
https://chromium-review.googlesource.com/c/chromium/src/+/2055794 .

Looks like
external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-intrinsic-ratio-003v.html
wasn't fixed by this.

Change-Id: I14c34662b6750a528e6b60a01ba68b58e419f359
Bug: 1052029, 1042329
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055794
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741392}

--

wpt-commits: ddba88c0796691e1b6b94f2dea159040959933cb
wpt-pr: 21798
2020-02-18 19:29:44 +00:00
moz-wptsync-bot
37326a523d Bug 1615331 [wpt PR 21782] - Update wpt metadata, a=testonly
wpt-pr: 21782
wpt-type: metadata
2020-02-18 19:29:43 +00:00
Boris Zbarsky
04dbd4ccce Bug 1615331 [wpt PR 21782] - Remove remaining promise_rejects uses, a=testonly
Automatic update from web-platform-tests
Remove remaining promise_rejects uses

--

wpt-commits: 39b27a7875c58fa3cf6bc13279eea73eacfe378f
wpt-pr: 21782
2020-02-18 19:29:43 +00:00
Mike Pennisi
3e77011349 Bug 1615497 [wpt PR 21794] - Remove jugglinmike from some "reviewers" lists, a=testonly
Automatic update from web-platform-tests
Remove jugglinmike from some "reviewers" lists

--

wpt-commits: ebc61f8be775c9a20d72d07459c529d4c2f2c0fe
wpt-pr: 21794
2020-02-18 19:29:42 +00:00
Yoshifumi Inoue
88352f99b8 Bug 1615520 [wpt PR 21796] - Make external/wpt/css/cssom-view/elementFromPoint.html robust on browsers, a=testonly
Automatic update from web-platform-tests
Make external/wpt/css/cssom-view/elementFromPoint.html robust on browsers

This patch changes "elementFromPoint.html" to call |getBoundingClientRect()|
on <img> instead of <area> because all browsers returns different value for
<area>, maybe size-less inline element, for improving robustness of test.

Because test itself verifies |elementFromPoint()| instead of
|getBoundingClientRect()|, this patch doesn't change testing

Change-Id: I40fc2c6c9cef696dc5c9f3428913b2d73ffaf5f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2054472
Auto-Submit: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741374}

--

wpt-commits: 9819db110bad9ebffa1f1ea7498e612767169099
wpt-pr: 21796
2020-02-18 19:29:42 +00:00
Hiroki Nakagawa
3980c9d00b Bug 1615521 [wpt PR 21797] - Worker: Add data URL tests for nested dedicated workers, a=testonly
Automatic update from web-platform-tests
Worker: Add data URL tests for nested dedicated workers

This CL renames data-url.html to data-url.any.js in order to run the
tests on a dedicated worker. Previously these tests only ran on window.

Bug: n/a
Change-Id: I4be0cfdddc01fa4865763868c4947ea63e62d491
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2054656
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741367}

--

wpt-commits: d156ea32da9e13e7f0ba2729584433dc027c111b
wpt-pr: 21797
2020-02-18 19:29:41 +00:00
Wanming Lin
2e83cbb9ad Bug 1615211 [wpt PR 21774] - [webnfc] Add test for smart poster record with more than one uri record, a=testonly
Automatic update from web-platform-tests
[webnfc] Add test for smart poster record with more than one uri record

NDEFRecordInit#data for smart-poster record contains more than
one uri record should throw TypeError.

BUG=520391

Change-Id: I5d876f7cdf0f6a847412b34ce06b50a922138874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2053985
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Reviewed-by: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#741304}

--

wpt-commits: 70dce81be7bcf6803357c2d8b48baed9fd4f7173
wpt-pr: 21774
2020-02-18 19:29:41 +00:00
Kent Tamura
c400717731 Bug 1614866 [wpt PR 21747] - Form-associated custom elements: Fix the initial value of 'submission value', a=testonly
Automatic update from web-platform-tests
Form-associated custom elements: Fix the initial value of 'submission value'

According to https://html.spec.whatwg.org/C/#face-submission-value, the
initial value should be null, not an empty string.

Bug: 1051292
Bug: https://github.com/whatwg/html/issues/5263
Change-Id: Ifa92aaca47bfce1e51aa0fd3dc9ebb9ab9b15d91
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050148
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741277}

--

wpt-commits: 69e5b86d38fe2d202bf439864375b5c775185165
wpt-pr: 21747
2020-02-18 19:29:40 +00:00
moz-wptsync-bot
c4684d42e1 Bug 1610056 [wpt PR 21247] - Update wpt metadata, a=testonly
wpt-pr: 21247
wpt-type: metadata
2020-02-18 19:29:40 +00:00
Patrick Shaughnessy
28903fcb98 Bug 1610056 [wpt PR 21247] - Add SupportedPropertyNames to Document (also fix iframe getting), a=testonly
Automatic update from web-platform-tests
Doc named getter improvements

--

wpt-commits: ace0a128df7826d04d4309859646bac31835a2cc
wpt-pr: 21247
2020-02-18 19:29:40 +00:00
moz-wptsync-bot
29d15343e2 Bug 1615457 [wpt PR 21790] - Update wpt metadata, a=testonly
wpt-pr: 21790
wpt-type: metadata
2020-02-18 19:29:39 +00:00
Christian Biesinger
07b03445d7 Bug 1615457 [wpt PR 21790] - Move contain-intrinsic-size tests to WPT, a=testonly
Automatic update from web-platform-tests
Move contain-intrinsic-size tests to WPT

The CSSWG has approved a resolution to update the spec; these tests
match that resolution: https://github.com/w3c/csswg-drafts/issues/4531

R=vmpstr@chromium.org

Bug: 991096
Change-Id: I021e5fb2b14eb5049cf7077e06c79810fd60e622
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055740
Reviewed-by: vmpstr <vmpstr@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741254}

--

wpt-commits: c8671a2d15e8c57b652915956312b94a0236a974
wpt-pr: 21790
2020-02-18 19:29:39 +00:00
Michael[tm] Smith
93c4bada79 Bug 1615476 [wpt PR 21792] - docs: Fix links in Running Tests from Local System, a=testonly
Automatic update from web-platform-tests
docs: Fix links in Running Tests from Local System

--

wpt-commits: 27088b913716d1350c144e30388830b62fe9f740
wpt-pr: 21792
2020-02-18 19:29:38 +00:00
Joey Arhar
31880b2855 Bug 1615446 [wpt PR 21789] - Revert "Remove inDocument check for emitting change events", a=testonly
Automatic update from web-platform-tests
Revert "Remove inDocument check for emitting change events"

This reverts commit 07d811aaeb0724d0d019b8d6bdba3d5de1dc9a5e.

The change this reverts fixed http://crbug.com/773680 which was intended
to fire change events for detached radio and checkbox input elements
when using input.dispatchEvent(new MouseEvent('click')), but also caused
input.click() to fire change events. Although these may seem to be the
same thing, firefox actually fires change events on input.dispatchEvent
but not input.click(). WebKit, and chrome before the patch this reverts
fire change events in neither of these cases.

I will file an html spec issue to address this compat issue. For now, it
seems important to stop firing these change events because it is getting
more attention than the lack of change events.

Bug: 773680, 1051482
Change-Id: Ia8217d34bf9a20c50ce008630e748a7dbda52c3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055590
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741251}

--

wpt-commits: 365db564379b12f979d4cd7139179c18d0bcc4fb
wpt-pr: 21789
2020-02-18 19:29:38 +00:00
Patrick Shaughnessy
12046e851a Bug 1610727 [wpt PR 21332] - Make name content attributes consistently atoms and put them in rare_data for fast access, a=testonly
Automatic update from web-platform-tests
Names should now be consistently atoms

--

wpt-commits: b3e75834ebe16092377f0451f2962ea34e743ac8
wpt-pr: 21332
2020-02-18 19:29:37 +00:00