Commit Graph

4514 Commits

Author SHA1 Message Date
Ovidio Henriquez
b7495b3099 Bug 1440529 [wpt PR 9323] - bluetooth: Migrate remaining tests, a=testonly
Automatic update from web-platform-testsbluetooth: Migrate remaining tests

This change will migrate the remaining tests that have been converted
to the Web Bluetooth Test API at the moment.

BUG=509038

Change-Id: I6b38a9dd413f99caccbc9861d492eec0a25b1b91
Reviewed-on: https://chromium-review.googlesource.com/891653
Commit-Queue: Ovidio Henriquez <odejesush@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538680}

wpt-commits: 99ea9dc824968a32965cf5552069148b60d93d4d
wpt-pr: 9323
wpt-commits: 99ea9dc824968a32965cf5552069148b60d93d4d
wpt-pr: 9323
2018-03-31 22:25:43 +01:00
Darren Shen
c210156aa5 Bug 1440140 [wpt PR 9614] - [css-typed-om] Add unsupported tests for color properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Add unsupported tests for color properties.

For color properties, we support 'currentcolor' as a CSSKeywordValue,
but any other value (including identifiers like 'red') are not supported
and are converted to base CSSStyleValues.

We add tests for most color related properties. We are failing the
text-emphasis-color one because we haven't unprefixed it yet.

We change the code to make this work.

Bug: 774887
Change-Id: Ide5463b9f67b63568ff32bd34e977faf16964bc1
Reviewed-on: https://chromium-review.googlesource.com/927943
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538668}

wpt-commits: 5496784a17bae2872a9c29a2f7948533218e9d00
wpt-pr: 9614
wpt-commits: 5496784a17bae2872a9c29a2f7948533218e9d00
wpt-pr: 9614
2018-03-31 22:25:40 +01:00
moz-wptsync-bot
b7f859df35 Bug 1440225 [wpt PR 9627]- Update wpt metadata, a=testonly
wpt-pr: 9627
wpt-type: metadata
2018-03-31 22:25:37 +01:00
Kenichi Ishibashi
3e8af9703d Bug 1440225 [wpt PR 9627] - service worker: Update WPT test for resource timing, a=testonly
Automatic update from web-platform-testsservice worker: Update WPT test for resource timing

Before this CL, the test assumed that there should be a
PerformanceResourceTiming for fetching 'resources/missing.jpg'.
As the spec says [1], this assumption is not guaranteed. In fact,
Chromium doesn't add PerformanceResourceTiming for resouces which
failed to load. This CL updates the test to check there is a
corresponding PerformanceResourceTiming entry before doing
verifications.

[1] https://w3c.github.io/resource-timing/#resources-included-in-the-performanceresourcetiming-interface

Bug: 782958
Change-Id: I85e75a8dade9f6620d22a54eaf97468f00360023
Reviewed-on: https://chromium-review.googlesource.com/930109
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538648}

wpt-commits: 30c0131604f63247d98aced8f71e756189da7eb2
wpt-pr: 9627
wpt-commits: 30c0131604f63247d98aced8f71e756189da7eb2
wpt-pr: 9627
2018-03-31 22:25:36 +01:00
Darren Shen
834af8c75d Bug 1440498 [wpt PR 9639] - [css-typed-om] Give default value for CSSVariableReferenceValue.fallback, a=testonly
Automatic update from web-platform-tests[css-typed-om] Give default value for CSSVariableReferenceValue.fallback

The spec gave a default value for CSSVariableReferenceValue.fallback:
372f85caa4

No observable changes to behaviour.

Bug: 814487
Change-Id: Id33f16167c8b8d9eac3fb70ce7e817de659c7465
Reviewed-on: https://chromium-review.googlesource.com/932921
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538623}

wpt-commits: 7bfbc0fa30aad867faa1c6cc748884be76635a08
wpt-pr: 9639
wpt-commits: 7bfbc0fa30aad867faa1c6cc748884be76635a08
wpt-pr: 9639
2018-03-31 22:25:33 +01:00
Luke Inman-Semerau
f7e7ca96ef Bug 1440459 [wpt PR 9638] - [webdriver] remove @lukeis from OWNERS, a=testonly
Automatic update from web-platform-testsremove @lukeis from owners (#9638)

wpt-commits: 1ea7d215f7c662f6e884140264ea5e10053c803b
wpt-pr: 9638
wpt-commits: 1ea7d215f7c662f6e884140264ea5e10053c803b
wpt-pr: 9638
2018-03-31 22:25:31 +01:00
Darren Shen
fd62449493 Bug 1438049 [wpt PR 9504] - Add 1x1-green.png to WPT media., a=testonly
Automatic update from web-platform-testsAdd 1x1-green.png to WPT media.

This patch adds the 1x1-green.png test image to wpt/media. It seems to
be used quite a lot by other tests too so maybe this is a good place
for it?

Change-Id: Id8a8c0e0c3b0471db273ad2695155addb2cc11fc
Reviewed-on: https://chromium-review.googlesource.com/917441
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538536}

wpt-commits: 54ffc5cc68ba05a3c26379bd51f2390de7bd454f
wpt-pr: 9504
wpt-commits: 54ffc5cc68ba05a3c26379bd51f2390de7bd454f
wpt-pr: 9504


--HG--
rename : testing/web-platform/tests/css/css-typed-om/resources/1x1-green.png => testing/web-platform/tests/media/1x1-green.png
2018-03-31 22:25:28 +01:00
Xianzhu Wang
fa6c8a7262 Bug 1440424 [wpt PR 9637] - [SPv175] Don't crash on circular filter reference containing foreignObject or svg-in-svg, a=testonly
Automatic update from web-platform-tests[SPv175] Don't crash on circular filter reference containing foreignObject or svg-in-svg

This is a workaround for the crash bugs. The root cause is tracked
in crbug.com/814815.

Bug: 813446, 813411, 814815
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: Ied370eb2b1f0ffd4424c9c397ea1c899914bdbb0
Reviewed-on: https://chromium-review.googlesource.com/931922
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538527}

wpt-commits: 7ed02d443a806ab9fd27fbb15138cab57410c651
wpt-pr: 9637
wpt-commits: 7ed02d443a806ab9fd27fbb15138cab57410c651
wpt-pr: 9637
2018-03-31 22:25:25 +01:00
moz-wptsync-bot
b50e2b6d76 Bug 1440355 [wpt PR 9634]- Update wpt metadata, a=testonly
wpt-pr: 9634
wpt-type: metadata
2018-03-31 22:25:23 +01:00
jimevans
9cbe5c232a Bug 1440355 [wpt PR 9634] - Updating test_element to correctly test for 'checked' property, a=testonly
Automatic update from web-platform-testswebdriver: update test_element to correctly test for 'checked' property (#9634)

wpt-commits: 6b13681c3ea47bff428ca118bdb7f4c0d665e90d
wpt-pr: 9634
wpt-commits: 6b13681c3ea47bff428ca118bdb7f4c0d665e90d
wpt-pr: 9634
2018-03-31 22:25:21 +01:00
Philip Jägenstedt
a7273b505f Bug 1440300 [wpt PR 9629] - Revert "Support VTTCue.positionAlign and lineAlign for WebVTT", a=testonly
Automatic update from web-platform-testsRevert "Support VTTCue.positionAlign and lineAlign for WebVTT"

This reverts commit 2c1d466d78db6df8b4c9fbe37ac5af1cb135bf34.

Reason for revert: https://crbug.com/814710

Conflicts with https://chromium-review.googlesource.com/836576 resolved.

Original change's description:
> Support VTTCue.positionAlign and lineAlign for WebVTT
>
> Implement VTTCue.[positionAlign and lineAlign] for WebVTT
> Updated parsing logic
> Exposed DOM API's
> Updated Layout algorithm
> Updated test expected results
>
> Bug: 633690
> Change-Id: I49970c068c53b462243ba8c7f314261b0e6455ce
> Reviewed-on: https://chromium-review.googlesource.com/756142
> Commit-Queue: srirama chandra sekhar <srirama.m@samsung.com>
> Reviewed-by: srirama chandra sekhar <srirama.m@samsung.com>
> Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
> Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
> Reviewed-by: Fredrik Söderquist <fs@opera.com>
> Cr-Commit-Position: refs/heads/master@{#525659}

TBR=fs@opera.com,chrishtr@chromium.org,srirama.m@samsung.com,foolip@chromium.org,k2.nagaraju@samsung.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 633690
Change-Id: Ib9f0b3dd1a4b679076ec55ec635337551f8b8806
Reviewed-on: https://chromium-review.googlesource.com/931481
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538429}

wpt-commits: e4b890b9fabf52692b329be6d9a09f213436f7a2
wpt-pr: 9629
wpt-commits: e4b890b9fabf52692b329be6d9a09f213436f7a2
wpt-pr: 9629
2018-03-31 22:25:19 +01:00
moz-wptsync-bot
986a87e9ef Bug 1438858 [wpt PR 9559]- Update wpt metadata, a=testonly
wpt-pr: 9559
wpt-type: metadata
2018-03-31 22:25:16 +01:00
Philippe Le Hegaret
70880caf01 Bug 1438858 [wpt PR 9559] - Moved and .name return the address of the document, a=testonly
Automatic update from web-platform-testsMoved and .name return the address of the document (#9559)

wpt-commits: a83f934cf3c350cac147029659806f5acdc76f2f
wpt-pr: 9559
wpt-commits: a83f934cf3c350cac147029659806f5acdc76f2f
wpt-pr: 9559
2018-03-31 22:25:15 +01:00
Darren Shen
b0b7f24f17 Bug 1440196 [wpt PR 9622] - [css-typed-om] Update WPT IDL test and clean up implementation IDL., a=testonly
Automatic update from web-platform-tests[css-typed-om] Update WPT IDL test and clean up implementation IDL.

This patch updates the WPT IDL test to the current spec.
We also clean up the implementation IDL to match the spec.

Bug: 812915
Change-Id: Id2ca308832344e824b0e7b7eaa6198dc6d7c7e03
Reviewed-on: https://chromium-review.googlesource.com/930502
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538371}

wpt-commits: 7e6dcfb79fc94b2093ae45ed54167b7b106b7f43
wpt-pr: 9622
wpt-commits: 7e6dcfb79fc94b2093ae45ed54167b7b106b7f43
wpt-pr: 9622
2018-03-31 22:25:12 +01:00
Darren Shen
2f6c581f8d Bug 1439488 [wpt PR 9581] - [css-typed-om] Make sure implementation IDL matches spec IDL., a=testonly
Automatic update from web-platform-tests[css-typed-om] Make sure implementation IDL matches spec IDL.

This patch updates our IDL to match that of the spec. We found two
issues in the process:
- StylePropertyMap.get should return (undefined or CSSStyleValue),
  but IDL doesn't provide that yet. The spec uses "any" as a workaround
  but we'll return (null or CSSStyleValue) for now (null vs undefined).
  We'll change the code once IDL gives us something for this.
- Iteration should always return a sequence of CSSStyleValue, whereas
  they used to return either CSSStyleValue or sequence of CSSStyleValues
  depending on whether the property was list valued or not.

We change the code to fix this.

We deleted the inlineStylePropertyMap_iteration.html LayoutTest
as it is already covered by WPT.

We also update the WPT test expectations to match the spec.

Bug: 812915
Change-Id: Id2f9fbba4398c9ecfd63ea3f8e1aad0b3a0b499f
Reviewed-on: https://chromium-review.googlesource.com/925981
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538367}

wpt-commits: 53a527f9fe52a3707b93a4458e2fb7205ee19683
wpt-pr: 9581
wpt-commits: 53a527f9fe52a3707b93a4458e2fb7205ee19683
wpt-pr: 9581
2018-03-31 22:25:09 +01:00
moz-wptsync-bot
9603e3334c Bug 1439820 [wpt PR 9595]- Update wpt metadata, a=testonly
wpt-pr: 9595
wpt-type: metadata
2018-03-31 22:25:07 +01:00
Kunihiko Sakamoto
f9fdc9ea0e Bug 1439820 [wpt PR 9595] - Add srcset/imgsizes support for <link rel=preload> in LinkLoader, a=testonly
Automatic update from web-platform-testsAdd srcset/imgsizes support for <link rel=preload> in LinkLoader

This patch teaches LinkLoader to recognize srcset / imgsizes attributes
when preloading images.

This feature is behind the Experimental Web Platform feature flag. Also
note that the attribute name is temporary and may change as the spec
discussion progresses.

Bug: 813452
Change-Id: I82770edd7a99ec328c3748f192f98cf9df0af274
Reviewed-on: https://chromium-review.googlesource.com/927930
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538365}

wpt-commits: fc9b65044ce69f4edb7ded4cf9be83ac2d71fb24
wpt-pr: 9595
wpt-commits: fc9b65044ce69f4edb7ded4cf9be83ac2d71fb24
wpt-pr: 9595
2018-03-31 22:25:06 +01:00
Bret Sepulveda
14e9acf71f Bug 1440214 [wpt PR 9625] - Revert "Port another set of sticky tests to JS rather than reftests", a=testonly
Automatic update from web-platform-testsRevert "Port another set of sticky tests to JS rather than reftests"

This reverts commit 913109149534a732bdb5461d0ba2759f5d2f50f4.

Reason for revert:
Multiple failures on Linux, for example:
https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Linux%20Trusty/39500
https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Linux%20Trusty%20%28dbg%29/9251

Original change's description:
> Port another set of sticky tests to JS rather than reftests
>
> Change-Id: Idf6dd882d2d50b1ec349f245d76717553ee266b3
> Reviewed-on: https://chromium-review.googlesource.com/882002
> Reviewed-by: Robert Flack <flackr@chromium.org>
> Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#532966}

TBR=flackr@chromium.org,smcgruer@chromium.org

Change-Id: I7a773131066157e0d4216d7fa7c228bd8bff2021
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/893536
Reviewed-by: Bret Sepulveda <bsep@chromium.org>
Commit-Queue: Bret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533000}

wpt-commits: bfe08e0b1b1cb016e78d41cdf792db33b7f58070
wpt-pr: 9625
wpt-commits: bfe08e0b1b1cb016e78d41cdf792db33b7f58070
wpt-pr: 9625
2018-03-31 22:25:03 +01:00
Morten Stenshorne
4c8fb2066d Bug 1439981 [wpt PR 9607] - [LayoutNG] The available space on a line may be affected by text-indent., a=testonly
Automatic update from web-platform-tests[LayoutNG] The available space on a line may be affected by text-indent.

Corrected a DCHECK and added a test that used to crash (but otherwise
pass).

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: I139fda3ce912c9138fc055ca7d55d568d5017092
Reviewed-on: https://chromium-review.googlesource.com/928653
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538346}

wpt-commits: 48a72dd95fcf0352f30297cd5d8293331aabed7e
wpt-pr: 9607
wpt-commits: 48a72dd95fcf0352f30297cd5d8293331aabed7e
wpt-pr: 9607
2018-03-31 22:25:00 +01:00
Kenichi Ishibashi
5ca13af6c8 Bug 1440173 [wpt PR 9620] - Use red images for service worker multipart-image wpt, a=testonly
Automatic update from web-platform-testsUse red images for service worker multipart-image wpt

external/wpt/service-workers/service-worker/multipart-image.https.html
checks the image data of multipart image when loading succeeds. The
check was flaky because we used different colors for each part
(green and red) and the content of the image data depends on which
part of the multipart image is currently shown. Since it's difficult
to detect which part is currently shown, we use the same color (red)
for each part to avoid the flakiness.

Bug: 813775
Change-Id: Iaafb4c02b2b72831951b5f6c244eea0b62153cd5
Reviewed-on: https://chromium-review.googlesource.com/930062
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538339}

wpt-commits: 6fea5b1b40cf678fdbca7e9cf3a132256fe9f8fd
wpt-pr: 9620
wpt-commits: 6fea5b1b40cf678fdbca7e9cf3a132256fe9f8fd
wpt-pr: 9620
2018-03-31 22:24:57 +01:00
Darren Shen
c693449ae3 Bug 1440162 [wpt PR 9618] - [css-typed-om] Allow CSSVariableReferenceValue.fallback to be nullable., a=testonly
Automatic update from web-platform-tests[css-typed-om] Allow CSSVariableReferenceValue.fallback to be nullable.

Spec change:
c9d9c29889

Bug: 814487
Change-Id: Idb15d8edc4dc7aba4cf40ac13b69ea13ef7d8f60
Reviewed-on: https://chromium-review.googlesource.com/930102
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538328}

wpt-commits: b2a6ad4b329c51508655337f94ac31f3d6743cdf
wpt-pr: 9618
wpt-commits: b2a6ad4b329c51508655337f94ac31f3d6743cdf
wpt-pr: 9618
2018-03-31 22:24:54 +01:00
Darren Shen
ed9ec61904 Bug 1440185 [wpt PR 9621] - Revert "Revert "[css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec."", a=testonly
Automatic update from web-platform-testsRevert "Revert "[css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec.""

This reverts commit 35bfb10373c5b34c193ad9a7c569d6aa429028fc.

Reason for revert: Trying to reland.

Original change's description:
> Revert "[css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec."
>
> This reverts commit 43700726a48ebedf10af437c644ec46d862fb46b.
>
> Reason for revert: Causes build failure on Google Chrome ChromeOS:
> https://ci.chromium.org/buildbot/chromium.chrome/Google%20Chrome%20ChromeOS/45929
>
> Original change's description:
> > [css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec.
> >
> > Spec added a new .size member, which we implement in this patch.
> >
> > Bug: 812915
> > Change-Id: Ib48fc7b8053c41e4c79dc9cc280bc18376e5fbe0
> > Reviewed-on: https://chromium-review.googlesource.com/930101
> > Reviewed-by: nainar <nainar@chromium.org>
> > Commit-Queue: Darren Shen <shend@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#538304}
>
> TBR=nainar@chromium.org,shend@chromium.org
>
> Change-Id: I442aebc331ddc97c09c870299ab0ab76f5ce7773
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 812915
> Reviewed-on: https://chromium-review.googlesource.com/930179
> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#538309}

TBR=nainar@chromium.org

Bug: 812915
Change-Id: Ia45bc81d58a807448e00d21a33c97e2210712bb2
Reviewed-on: https://chromium-review.googlesource.com/930521
Reviewed-by: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538321}

wpt-commits: 4f06b0b42dd7e0245cb4128bea517a4ab045e3fd
wpt-pr: 9621
wpt-commits: 4f06b0b42dd7e0245cb4128bea517a4ab045e3fd
wpt-pr: 9621
2018-03-31 22:24:52 +01:00
Thomas Anderson
4f09d28d06 Bug 1440197 [wpt PR 9623] - Revert "[css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec.", a=testonly
Automatic update from web-platform-testsRevert "[css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec."

This reverts commit 43700726a48ebedf10af437c644ec46d862fb46b.

Reason for revert: Causes build failure on Google Chrome ChromeOS:
https://ci.chromium.org/buildbot/chromium.chrome/Google%20Chrome%20ChromeOS/45929

Original change's description:
> [css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec.
>
> Spec added a new .size member, which we implement in this patch.
>
> Bug: 812915
> Change-Id: Ib48fc7b8053c41e4c79dc9cc280bc18376e5fbe0
> Reviewed-on: https://chromium-review.googlesource.com/930101
> Reviewed-by: nainar <nainar@chromium.org>
> Commit-Queue: Darren Shen <shend@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#538304}

TBR=nainar@chromium.org,shend@chromium.org

Change-Id: I442aebc331ddc97c09c870299ab0ab76f5ce7773
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 812915
Reviewed-on: https://chromium-review.googlesource.com/930179
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538309}

wpt-commits: e94f6aaceb3a9b8d5b8d3137c2481224d46e935c
wpt-pr: 9623
wpt-commits: e94f6aaceb3a9b8d5b8d3137c2481224d46e935c
wpt-pr: 9623
2018-03-31 22:24:50 +01:00
Darren Shen
ae062507ce Bug 1440159 [wpt PR 9616] - [css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec., a=testonly
Automatic update from web-platform-tests[css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec.

Spec added a new .size member, which we implement in this patch.

Bug: 812915
Change-Id: Ib48fc7b8053c41e4c79dc9cc280bc18376e5fbe0
Reviewed-on: https://chromium-review.googlesource.com/930101
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538304}

wpt-commits: 4f1e7fd4de8f2ef88e8e37f085fcd87717a06a20
wpt-pr: 9616
wpt-commits: 4f1e7fd4de8f2ef88e8e37f085fcd87717a06a20
wpt-pr: 9616
2018-03-31 22:24:48 +01:00
Ovidio Henriquez
75318b8b55 Bug 1440174 [wpt PR 9464] - bluetooth: Migrate service is removed tests, a=testonly
Automatic update from web-platform-testsbluetooth: Migrate service is removed tests

This change moves the service is removed tests into wpt/.

BUG=509038

Change-Id: I3472ee5dca6ea3706b4f8383790fa3a1f2a81c76
Reviewed-on: https://chromium-review.googlesource.com/904730
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Ovidio Henriquez <odejesush@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538284}

wpt-commits: 981f9153417351495150354d81676bfab5cd7ac5
wpt-pr: 9464
wpt-commits: 981f9153417351495150354d81676bfab5cd7ac5
wpt-pr: 9464
2018-03-31 22:24:45 +01:00
Darren Shen
7fd855cb9f Bug 1439806 [wpt PR 9594] - [css-typed-om] Add per-property test for 'opacity'., a=testonly
Automatic update from web-platform-tests[css-typed-om] Add per-property test for 'opacity'.

This patch adds tests for opacity, which only takes a <number> and whose
computed value is clamped to [0, 1]. This is the <number> property so
we had to add to the test harness.

Bug: 545318
Change-Id: I5689843188811c8c14c062a60deb0a8c580de3d9
Reviewed-on: https://chromium-review.googlesource.com/927745
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538269}

wpt-commits: 9b97da2b2f50e97d7809f56002fade93358fd41c
wpt-pr: 9594
wpt-commits: 9b97da2b2f50e97d7809f56002fade93358fd41c
wpt-pr: 9594
2018-03-31 22:24:42 +01:00
Ian Kilpatrick
e3180544d4 Bug 1439696 [wpt PR 9590] - [css-layout-api] Populate styleMap and give to layout function., a=testonly
Automatic update from web-platform-tests[css-layout-api] Populate styleMap and give to layout function.

This adds both style-invalidation for the LayoutCustom object, as well
as giving the populated StylePropertyMapReadOnly to the layout()
function.

ComputedStyle::DiffNeedsFullLayout now needs a Document in order to look
up the DocumentLayoutDefinition, to see which properties need to checked
for change.

Bug: 726125
Change-Id: Ie462cb624ba413c796131433ea4eae9bb9f3ec13
Reviewed-on: https://chromium-review.googlesource.com/926906
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538268}

wpt-commits: 6aeb9ea2a3874d39418e7ea15778a719ec0d482d
wpt-pr: 9590
wpt-commits: 6aeb9ea2a3874d39418e7ea15778a719ec0d482d
wpt-pr: 9590
2018-03-31 22:24:39 +01:00
jimevans
06ed9c8657 Bug 1440075 [wpt PR 9612] - Making test_handle_prompt_accept consistent with other similar tests, a=testonly
Automatic update from web-platform-testswebdriver: make test_handle_prompt_accept consistent with other similar tests (#9612)

Other webdriver tests that test the same thing for other commands all test
for accepting a `prompt()` dialog to look for either the empty string ("")
or undefined as the value returned by the method. This makes the
fullscreen tests consistent with those others.

wpt-commits: e92532746b7615dcccdfa060937a87664816b1db
wpt-pr: 9612
wpt-commits: e92532746b7615dcccdfa060937a87664816b1db
wpt-pr: 9612
2018-03-31 22:24:36 +01:00
François Beaufort
0827da465d Bug 1439504 [wpt PR 9584] - [Picture-in-Picture] Update feature policy default allowlist to *., a=testonly
Automatic update from web-platform-tests[Picture-in-Picture] Update feature policy default allowlist to *.

This CL reflects updated spec which changes Picture-in-Picture feature
to be allowed by default to documents in child frames.

Bug: 806249
Change-Id: I7c7a3a073b30ad5118aa634b0c0b1f3ac60d2e7a
Reviewed-on: https://chromium-review.googlesource.com/926104
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538145}

wpt-commits: aeda1ba403d7b8a19dc348ac64f536c6974823b0
wpt-pr: 9584
wpt-commits: aeda1ba403d7b8a19dc348ac64f536c6974823b0
wpt-pr: 9584
2018-03-31 22:24:34 +01:00
Geoffrey Sneddon
8b783a7e69 Bug 1439967 [wpt PR 9606] - Update pywebsockets, a=testonly
Automatic update from web-platform-testsMerge pull request #9606 from gsnedders/update_pywebsockets

Update pywebsockets

wpt-commits: 38811892842f1db4a029ee0d4d42764c5e12ae6d
wpt-pr: 9606
wpt-commits: 38811892842f1db4a029ee0d4d42764c5e12ae6d
wpt-pr: 9606


--HG--
rename : testing/web-platform/tests/tools/pywebsocket/src/COPYING => testing/web-platform/tests/tools/pywebsocket/LICENSE
rename : testing/web-platform/tests/tools/pywebsocket/src/MANIFEST.in => testing/web-platform/tests/tools/pywebsocket/MANIFEST.in
rename : testing/web-platform/tests/tools/pywebsocket/src/README => testing/web-platform/tests/tools/pywebsocket/README
rename : testing/web-platform/tests/tools/pywebsocket/src/example/abort_handshake_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/abort_handshake_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/abort_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/abort_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/arraybuffer_benchmark.html => testing/web-platform/tests/tools/pywebsocket/example/arraybuffer_benchmark.html
rename : testing/web-platform/tests/tools/pywebsocket/src/example/bench_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/bench_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/benchmark_helper_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/benchmark_helper_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/close_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/close_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/console.html => testing/web-platform/tests/tools/pywebsocket/example/console.html
rename : testing/web-platform/tests/tools/pywebsocket/src/example/cookie_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/cookie_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/echo_client.py => testing/web-platform/tests/tools/pywebsocket/example/echo_client.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/echo_noext_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/echo_noext_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/echo_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/echo_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/eventsource.cgi => testing/web-platform/tests/tools/pywebsocket/example/eventsource.cgi
rename : testing/web-platform/tests/tools/pywebsocket/src/example/eventsource.html => testing/web-platform/tests/tools/pywebsocket/example/eventsource.html
rename : testing/web-platform/tests/tools/pywebsocket/src/example/handler_map.txt => testing/web-platform/tests/tools/pywebsocket/example/handler_map.txt
rename : testing/web-platform/tests/tools/pywebsocket/src/example/hsts_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/hsts_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/internal_error_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/internal_error_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/origin_check_wsh.py => testing/web-platform/tests/tools/pywebsocket/example/origin_check_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/example/pywebsocket.conf => testing/web-platform/tests/tools/pywebsocket/example/pywebsocket.conf
rename : testing/web-platform/tests/tools/pywebsocket/src/example/special_headers.cgi => testing/web-platform/tests/tools/pywebsocket/example/special_headers.cgi
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/__init__.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/__init__.py
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/_stream_base.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/_stream_base.py
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/_stream_hixie75.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/_stream_hixie75.py
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/dispatch.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/dispatch.py
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/fast_masking.i => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/fast_masking.i
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/handshake/__init__.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/handshake/__init__.py
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/handshake/_base.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/handshake/_base.py
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/handshake/hybi.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/handshake/hybi.py
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/handshake/hybi00.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/handshake/hybi00.py
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/http_header_util.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/http_header_util.py
rename : testing/web-platform/tests/tools/pywebsocket/src/mod_pywebsocket/msgutil.py => testing/web-platform/tests/tools/pywebsocket/mod_pywebsocket/msgutil.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/cert/cacert.pem => testing/web-platform/tests/tools/pywebsocket/test/cert/cacert.pem
rename : testing/web-platform/tests/tools/pywebsocket/src/test/cert/cert.pem => testing/web-platform/tests/tools/pywebsocket/test/cert/cert.pem
rename : testing/web-platform/tests/tools/pywebsocket/src/test/cert/client_cert.p12 => testing/web-platform/tests/tools/pywebsocket/test/cert/client_cert.p12
rename : testing/web-platform/tests/tools/pywebsocket/src/test/cert/key.pem => testing/web-platform/tests/tools/pywebsocket/test/cert/key.pem
rename : testing/web-platform/tests/tools/pywebsocket/src/test/client_for_testing.py => testing/web-platform/tests/tools/pywebsocket/test/client_for_testing.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/endtoend_with_external_server.py => testing/web-platform/tests/tools/pywebsocket/test/endtoend_with_external_server.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/mock.py => testing/web-platform/tests/tools/pywebsocket/test/mock.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/mux_client_for_testing.py => testing/web-platform/tests/tools/pywebsocket/test/mux_client_for_testing.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/run_all.py => testing/web-platform/tests/tools/pywebsocket/test/run_all.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/set_sys_path.py => testing/web-platform/tests/tools/pywebsocket/test/set_sys_path.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_dispatch.py => testing/web-platform/tests/tools/pywebsocket/test/test_dispatch.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_endtoend.py => testing/web-platform/tests/tools/pywebsocket/test/test_endtoend.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_handshake.py => testing/web-platform/tests/tools/pywebsocket/test/test_handshake.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_handshake_hybi00.py => testing/web-platform/tests/tools/pywebsocket/test/test_handshake_hybi00.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_http_header_util.py => testing/web-platform/tests/tools/pywebsocket/test/test_http_header_util.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_memorizingfile.py => testing/web-platform/tests/tools/pywebsocket/test/test_memorizingfile.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_mock.py => testing/web-platform/tests/tools/pywebsocket/test/test_mock.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_stream.py => testing/web-platform/tests/tools/pywebsocket/test/test_stream.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_stream_hixie75.py => testing/web-platform/tests/tools/pywebsocket/test/test_stream_hixie75.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/test_util.py => testing/web-platform/tests/tools/pywebsocket/test/test_util.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/README => testing/web-platform/tests/tools/pywebsocket/test/testdata/README
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/handlers/abort_by_user_wsh.py => testing/web-platform/tests/tools/pywebsocket/test/testdata/handlers/abort_by_user_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/handlers/blank_wsh.py => testing/web-platform/tests/tools/pywebsocket/test/testdata/handlers/blank_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/handlers/origin_check_wsh.py => testing/web-platform/tests/tools/pywebsocket/test/testdata/handlers/origin_check_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/handlers/sub/exception_in_transfer_wsh.py => testing/web-platform/tests/tools/pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/handlers/sub/no_wsh_at_the_end.py => testing/web-platform/tests/tools/pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/handlers/sub/non_callable_wsh.py => testing/web-platform/tests/tools/pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/handlers/sub/plain_wsh.py => testing/web-platform/tests/tools/pywebsocket/test/testdata/handlers/sub/plain_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py => testing/web-platform/tests/tools/pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py => testing/web-platform/tests/tools/pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py
rename : testing/web-platform/tests/tools/pywebsocket/src/test/testdata/hello.pl => testing/web-platform/tests/tools/pywebsocket/test/testdata/hello.pl
2018-03-31 22:24:31 +01:00
moz-wptsync-bot
15688c45ad Bug 1439945 [wpt PR 9600]- Update wpt metadata, a=testonly
wpt-pr: 9600
wpt-type: metadata
2018-03-31 22:24:29 +01:00
jimevans
4a56fa2327 Bug 1439945 [wpt PR 9600] - Removing ES6 constructs from pages used in WebDriver tests, a=testonly
Automatic update from web-platform-testswebdriver: remove ES6 constructs from pages (#9600)

Internet Explorer doesn't support ES6 constructs like fat arrow functions.
So that the WebDriver tests can be executed against IE, the pages loaded
in the browser by the tests shouldn't include such constructs.

wpt-commits: d6dc97a217ddb16ed70a57326f7c6236faef13a0
wpt-pr: 9600
wpt-commits: d6dc97a217ddb16ed70a57326f7c6236faef13a0
wpt-pr: 9600
2018-03-31 22:24:28 +01:00
moz-wptsync-bot
74856fd44e Bug 1439951 [wpt PR 9603]- Update wpt metadata, a=testonly
wpt-pr: 9603
wpt-type: metadata
2018-03-31 22:24:25 +01:00
jimevans
77b1c1c300 Bug 1439951 [wpt PR 9603] - Adding property name for self-referential array object, a=testonly
Automatic update from web-platform-testswebdriver: add property name for self-referential array object (#9603)

To create a full object for use with Internet Explorer, the object literal
should contain a property name for the self-referential array object
added as a property value.

wpt-commits: 0d68b017755cc6e8890391f213f4376e0a52502c
wpt-pr: 9603
wpt-commits: 0d68b017755cc6e8890391f213f4376e0a52502c
wpt-pr: 9603
2018-03-31 22:24:24 +01:00
moz-wptsync-bot
ac6f5e6df1 Bug 1439946 [wpt PR 9601]- Update wpt metadata, a=testonly
wpt-pr: 9601
wpt-type: metadata
2018-03-31 22:24:22 +01:00
jimevans
d692fa02e5 Bug 1439946 [wpt PR 9601] - Adding additional enabled <option> element in WebDriver test page, a=testonly
Automatic update from web-platform-testswebdriver: add additional enabled <option> element in test page (#9601)

Clicking on a disabled <option> element should not allow it to become
selected. However, if the disabled <option> is the only child element of
the <select> element, it may be marked as selected by the user agent. This
commit allows the test to attempt to call elementClick on a disabled
<option> without it being selected.

wpt-commits: cf1569d41abb8dd17fcb70cdff37ea4486a2b281
wpt-pr: 9601
wpt-commits: cf1569d41abb8dd17fcb70cdff37ea4486a2b281
wpt-pr: 9601
2018-03-31 22:24:20 +01:00
moz-wptsync-bot
2ba85d6be8 Bug 1439449 [wpt PR 9575]- Update wpt metadata, a=testonly
wpt-pr: 9575
wpt-type: metadata
2018-03-31 22:24:18 +01:00
Brian Burg
584ccb85db Bug 1439449 [wpt PR 9575] - WebDriver: fix some issues in fullscreen tests, a=testonly
Automatic update from web-platform-testswebdriver: fix some issues in fullscreen tests (#9575)

The test test_handle_prompt_accept seems to think that the
Fullscreen Window command returns the window title, which is
not the case. Remove wrong assertions. The return payload is
checked by a different test case.

The test test_handle_prompt_missing_value has a typo in a
global variable lookup. This throws a JS exception at runtime.

Tests that use is_fullscreen fail when run in WebKit because
WebKit does not yet conform to the Fullscreen API and its existing
properties and methods are prefixed. Add a fallback and a note
with the WebKit bug that blocks removing this fallback.

wpt-commits: a98c69d9778bdf736cfc1665fd22bc31df76248c
wpt-pr: 9575
wpt-commits: a98c69d9778bdf736cfc1665fd22bc31df76248c
wpt-pr: 9575
2018-03-31 22:24:16 +01:00
Stephen McGruer
fe51513929 Bug 1438298 [wpt PR 9523] - Port another set of sticky tests to JS rather than reftests, a=testonly
Automatic update from web-platform-testsPort another set of sticky tests to JS rather than reftests

Change-Id: Idf6dd882d2d50b1ec349f245d76717553ee266b3
Reviewed-on: https://chromium-review.googlesource.com/882002
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532966}

wpt-commits: c67d9e1d65aaf3e852dcd9b00b5feb40e80f36b7
wpt-pr: 9523
wpt-commits: c67d9e1d65aaf3e852dcd9b00b5feb40e80f36b7
wpt-pr: 9523
2018-03-31 22:24:14 +01:00
jgraham
20865f40b0 Bug 1438503 [wpt PR 9537] - Ensure we always run against the latest version of Firefox., a=testonly
Automatic update from web-platform-testsEnsure we always run against the latest version of Firefox. (#9537)

Previously we were downloading a version by looking for the first
match of the supplied regexp on the download page. That doesn't work
well in general and we need to look through the listings for the
version with the highest number.

wpt-commits: 9d8895d75af32e8f3a3a558d0dede40881705c78
wpt-pr: 9537
wpt-commits: 9d8895d75af32e8f3a3a558d0dede40881705c78
wpt-pr: 9537
2018-03-31 22:24:11 +01:00
Philip Jägenstedt
eb4d2c1a64 Bug 1439853 [wpt PR 9598] - Update reftests in manifest when reftests become non-reftests, a=testonly
Automatic update from web-platform-testsUpdate reftests in manifest when reftests become non-reftests (#9598)

In https://github.com/w3c/web-platform-tests/pull/9523 some tests were
converted from reftests to testharness, but the incremental manifest
update mechanism doesn't handle this case. This appears to be the cause
of the mysterious Travis failures on that PR.

The added test failed without the code changes.

wpt-commits: 86195076e37a960ff44fa86edc54699455f3a4aa
wpt-pr: 9598
wpt-commits: 86195076e37a960ff44fa86edc54699455f3a4aa
wpt-pr: 9598
2018-03-31 22:24:09 +01:00
moz-wptsync-bot
01216fc7b1 Bug 1437822 [wpt PR 9495]- Update wpt metadata, a=testonly
wpt-pr: 9495
wpt-type: metadata
2018-03-31 22:24:08 +01:00
Philip Jägenstedt
2b0c1c2efe Bug 1437822 [wpt PR 9495] - Test <video autoplay> with various broken <track src> URLs, a=testonly
Automatic update from web-platform-testsTest <video autoplay> with various broken <track src> URLs

wpt-commits: 97f7e0ff98ab33a1802d5d5618e20d45cfea790b
wpt-pr: 9495
wpt-commits: 97f7e0ff98ab33a1802d5d5618e20d45cfea790b
wpt-pr: 9495
2018-03-31 22:24:07 +01:00
Michael[tm] Smith
1fdfec9765 Bug 1439826 [wpt PR 9596] - cc Add https://streams.spec.whatwg.org/demos tests, a=testonly
Automatic update from web-platform-testscc Add https://streams.spec.whatwg.org/demos tests

When JavaScript-syntax checking for `script`-element contents was
recently added to the HTML checker, it broke the build of the Streams
spec due to some documents in https://streams.spec.whatwg.org/demos/
using some newer JavaScript syntax that the Rhino parser (which the HTML
checker relies on) doesn’t understand yet.

So to ensure those cases get handled correctly, some refinements were
made to the HTML checker and the Rhino fork it uses. The documents are
added here to ensure no regressions occur.

wpt-commits: 46c5f2bbb079c919f47e5842ab01e4da1a23b0da
wpt-pr: 9596
wpt-commits: 46c5f2bbb079c919f47e5842ab01e4da1a23b0da
wpt-pr: 9596
2018-03-31 22:24:04 +01:00
Darren Shen
6d55e4e90c Bug 1439477 [wpt PR 9580] - [css-typed-om] Remove StylePropertyMap.getProperties()., a=testonly
Automatic update from web-platform-tests[css-typed-om] Remove StylePropertyMap.getProperties().

This patch removes StylePropertyMap.getProperties() as it
is the same as StylePropertyMap.keys().

Bug: 545318
Change-Id: Ib31c70478306f415c4c184e1b2148f35759f58c4
Reviewed-on: https://chromium-review.googlesource.com/925883
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538033}

wpt-commits: eb5d88a3f712661c75c0f1ba051c06e97d43de1a
wpt-pr: 9580
wpt-commits: eb5d88a3f712661c75c0f1ba051c06e97d43de1a
wpt-pr: 9580
2018-03-31 22:24:01 +01:00
Matt Falkenhagen
7a3f4ebe30 Bug 1439791 [wpt PR 9593] - service worker: Disable interception when OBJECT/EMBED uses ImageLoader., a=testonly
Automatic update from web-platform-testsservice worker: Disable interception when OBJECT/EMBED uses ImageLoader.

Per the specification, service worker should not intercept requests for
OBJECT/EMBED elements.

R=kinuko

Bug: 771933
Change-Id: Ia6da6107dc5c68aa2c2efffde14bd2c51251fbd4
Reviewed-on: https://chromium-review.googlesource.com/927303
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538027}

wpt-commits: b9a004f5996ce2e2f670a88f9c0cc85de46528cf
wpt-pr: 9593
wpt-commits: b9a004f5996ce2e2f670a88f9c0cc85de46528cf
wpt-pr: 9593
2018-03-31 22:23:58 +01:00
Lukasz Anforowicz
9839c79b00 Bug 1438609 [wpt PR 9547] - CORB: WPT test for blob URLs., a=testonly
Automatic update from web-platform-testsCORB: WPT test for blob URLs.

Bug: 809261, 806996
Change-Id: I06db5114cdf14de6b14b0ef99e1b54b798490952
Reviewed-on: https://chromium-review.googlesource.com/922282
Reviewed-by: Nick Carter <nick@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537994}

wpt-commits: 3023e579d6db6d66210b8d7f1df1f93b34b1a8e5
wpt-pr: 9547
wpt-commits: 3023e579d6db6d66210b8d7f1df1f93b34b1a8e5
wpt-pr: 9547
2018-03-31 22:23:56 +01:00
Darren Shen
f86edbc76a Bug 1439768 [wpt PR 9592] - [css-typed-om] Add CSS-wide keyword tests., a=testonly
Automatic update from web-platform-tests[css-typed-om] Add CSS-wide keyword tests.

This patch adds per-property tests for CSS-wide keywords like 'initial'.
Every property should support these.

Bug: 774887
Change-Id: Ie1d71e30c18ebff50ea166d27e92606782af43fa
Reviewed-on: https://chromium-review.googlesource.com/925201
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537969}

wpt-commits: 9262595b48e9a859509a2b30fa1e5c03cbb15597
wpt-pr: 9592
wpt-commits: 9262595b48e9a859509a2b30fa1e5c03cbb15597
wpt-pr: 9592
2018-03-31 22:23:53 +01:00
Morten Stenshorne
dcac181983 Bug 1439633 [wpt PR 9589] - [LayoutNG] Use containing block size correctly for abspos., a=testonly
Automatic update from web-platform-tests[LayoutNG] Use containing block size correctly for abspos.

UpdateOutOfFlowBlockLayout() needs to deal with both the actual
containing block size, as specified by CSS (i.e. the padding box size),
and the border-box size of the object that is the containing block of an
absolutely positioned descendant.

Some light cleanup. We always need the border sizes, so just calculate
them once, unconditionally. Also, there seems no need for a special path
for grid/flex, so I removed it.

Some tests start to pass. All but one are still expected to fail in legacy.

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: I85462d76aa9fa3d0105bf079e59f7c2a7a70f117
Reviewed-on: https://chromium-review.googlesource.com/926004
Reviewed-by: Aleks Totic <atotic@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537918}

wpt-commits: 58462b6f92aab3eea03ad1ea70923855889ed1e2
wpt-pr: 9589
wpt-commits: 58462b6f92aab3eea03ad1ea70923855889ed1e2
wpt-pr: 9589
2018-03-31 22:23:50 +01:00
Raymond Toy
d4913cb184 Bug 1438628 [wpt PR 9548] - Fix WebAudio WPT tests that timeout., a=testonly
Automatic update from web-platform-testsFix WebAudio WPT tests that timeout.

- AudioParam IDL test:
  Actually add the IDL to the test.  Also removed unused helpers.js.
- MediaElementAudioSourceNode
  Fix error because the expected result is mono, so only has one channel.
  However, this still fails on bots because there's no audio hardware to
  drive the online context.

Bug: 626703
Test: the-audioparam-interface/idl-test.html
Change-Id: I987ad1219da1b6b6ef677f2923416634fa281d5f
Reviewed-on: https://chromium-review.googlesource.com/920261
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537856}

wpt-commits: 0d5ca044187f3e1122661048e84a54e736296198
wpt-pr: 9548
wpt-commits: 0d5ca044187f3e1122661048e84a54e736296198
wpt-pr: 9548
2018-03-31 22:23:47 +01:00
moz-wptsync-bot
0bc9f711d7 Bug 1439429 [wpt PR 9573]- Update wpt metadata, a=testonly
wpt-pr: 9573
wpt-type: metadata
2018-03-31 22:23:44 +01:00
Mattias Buelens
f9ec8c9221 Bug 1439429 [wpt PR 9573] - ReadableStream: Add a test that all queued writes complete when closing after first write, a=testonly
Automatic update from web-platform-testsReadableStream: test piping and queued writes

When the readable stream becomes closed after the first write,
all queued writes should complete before the pipe operation
becomes completed.

This tests the fix for this behavior in the Streams reference
implementation in whatwg/streams#884.

wpt-commits: 4c74a92846442ebb277342c3afe663a2c89955d4
wpt-pr: 9573
wpt-commits: 4c74a92846442ebb277342c3afe663a2c89955d4
wpt-pr: 9573
2018-03-31 22:23:43 +01:00
L. David Baron
c339a42e2f Bug 1438931 [wpt PR 9560] - Sync Mozilla tests as of 2018-02-16, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/928f0f09172fae67f6ec00e7a63969f7b28bd12e . (#9560)

wpt-commits: 5f4b60f536a95031ebacfcdfa23c3eb6d91dc294
wpt-pr: 9560
wpt-commits: 5f4b60f536a95031ebacfcdfa23c3eb6d91dc294
wpt-pr: 9560
2018-03-31 22:23:40 +01:00
Dominik Röttsches
baaf7ec787 Bug 1439548 [wpt PR 9585] - Update supported font format specifiers, a=testonly
Automatic update from web-platform-testsUpdate supported font format specifiers

While we do support variations, our format specifier support was not
updated yet. Move all of that to FontCustomPlatformData and add a WPT
test to cover common supported format specifiers.

Test: external/wpt/css/css-fonts/format-specifiers-variations.html
Bug: 804466
Change-Id: I06d7af65cf74e13cec49dc279efb8ffc2b56dda9
Reviewed-on: https://chromium-review.googlesource.com/926007
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537799}

wpt-commits: ee2e2949929d0d371404ec5a3a7bb2873f44b34c
wpt-pr: 9585
wpt-commits: ee2e2949929d0d371404ec5a3a7bb2873f44b34c
wpt-pr: 9585
2018-03-31 22:23:37 +01:00
moz-wptsync-bot
44837f0a47 Bug 1439612 [wpt PR 9587]- Update wpt metadata, a=testonly
wpt-pr: 9587
wpt-type: metadata
2018-03-31 22:23:35 +01:00
Geoffrey Sneddon
5d476529f7 Bug 1439612 [wpt PR 9587] - Fix #8954: update wptrunner requirements, a=testonly
Automatic update from web-platform-testsFix #8954: update wptrunner requirements

Note this just uses the current stable release of all dependencies
rather than trying to find what the minimum required actually is.

--
Pin wptrunner dependencies

Given it's an application, we should just define the environment we
expect it to run in. This should stop #8954 from regressing, given it
also means we'll be testing against the only possible set of versions
of our dependencies.

wpt-commits: 25f040e64a77219f8e5bde319adc8561d5750823, d936893f3ce7e2530994f8df62799d17cbd56dfb
wpt-pr: 9587
wpt-commits: 25f040e64a77219f8e5bde319adc8561d5750823, d936893f3ce7e2530994f8df62799d17cbd56dfb
wpt-pr: 9587
2018-03-31 22:23:33 +01:00
moz-wptsync-bot
8c12262ca3 Bug 1438529 [wpt PR 9539]- Update wpt metadata, a=testonly
wpt-pr: 9539
wpt-type: metadata
2018-03-31 22:23:32 +01:00
Takashi Toyoshima
70d026ebf4 Bug 1438529 [wpt PR 9539] - OOR-CORS: Port WebCORSPreflightResultCacheItem to network service, a=testonly
Automatic update from web-platform-testsOOR-CORS: Port WebCORSPreflightResultCacheItem to network service

This patch reimplements WebCORSPreflightResultCacheItem equivalent
in network service, and share the implementation between the network
service and Blink. The next patch will replace whole
WebCORSPreflightResultCache, and this is the preparation to make
the next patch small.

Bug: 803766
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ifa06967830465236dbe198908062e1952095e55b
Reviewed-on: https://chromium-review.googlesource.com/915543
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537769}

wpt-commits: de9d5d19b70d2d8b39a9e6f9006d0a2fb4f93f53
wpt-pr: 9539
wpt-commits: de9d5d19b70d2d8b39a9e6f9006d0a2fb4f93f53
wpt-pr: 9539
2018-03-31 22:23:31 +01:00
Kent Tamura
e8f773ecac Bug 1439495 [wpt PR 9582] - Fix a bug that document.importNode() doesn't clone Attr nodes with namespace., a=testonly
Automatic update from web-platform-testsFix a bug that document.importNode() doesn't clone Attr nodes with namespace.

We should just call Attr::Clone().

Bug: 812089, 812105
Change-Id: I163769e134a52d82b88834ae29083a01a3480e95
Reviewed-on: https://chromium-review.googlesource.com/925865
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537730}

wpt-commits: a5a46d493b6d3ebb7a214095549874af779f2ee0
wpt-pr: 9582
wpt-commits: a5a46d493b6d3ebb7a214095549874af779f2ee0
wpt-pr: 9582
2018-03-31 22:23:28 +01:00
Darren Shen
ca0354332b Bug 1439476 [wpt PR 9579] - [css-typed-om] Implement StylePropertyMap.clear., a=testonly
Automatic update from web-platform-tests[css-typed-om] Implement StylePropertyMap.clear.

This patch adds the clear() method to inline & declared StylePropertyMap
Spec: https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-clear

Bug: 813653
Change-Id: Ib56f60fa59dc8d241e7fb1a7695fce2bea094026
Reviewed-on: https://chromium-review.googlesource.com/925761
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537717}

wpt-commits: 03384b28f145fcf905960ba5fd6af233c838859a
wpt-pr: 9579
wpt-commits: 03384b28f145fcf905960ba5fd6af233c838859a
wpt-pr: 9579
2018-03-31 22:23:25 +01:00
Naina Raisinghani
3b3147d042 Bug 1439475 [wpt PR 9577] - [css-typed-om] Allow mutations of CSSTransformValues., a=testonly
Automatic update from web-platform-tests[css-typed-om] Allow mutations of CSSTransformValues.

This patch allows CSSTransformValues items to be mutated/appended.
Spec issue here: https://github.com/w3c/css-houdini-drafts/issues/690

Bug: 545318
Change-Id: I841704e1f2ec8db0f27ae254a0949d4f9b46c8f7
Reviewed-on: https://chromium-review.googlesource.com/925882
Reviewed-by: Darren Shen <shend@chromium.org>
Commit-Queue: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537710}

wpt-commits: ae41c0ef35473e9288b6caad44573c37d1f5ea9d
wpt-pr: 9577
wpt-commits: ae41c0ef35473e9288b6caad44573c37d1f5ea9d
wpt-pr: 9577
2018-03-31 22:23:22 +01:00
Naina Raisinghani
1448202166 Bug 1438744 [wpt PR 9554] - Delete StylePropertyMap.update(), a=testonly
Automatic update from web-platform-testsDelete StylePropertyMap.update()

This is as there is a bug on the spec highlighting the lack of
 usefulness of the function: https://github.com/w3c/css-houdini-drafts/issues/656

Bug: 812912
Change-Id: If0b47a4bfa268f55f63e5c80168971164dc63199
Reviewed-on: https://chromium-review.googlesource.com/923501
Commit-Queue: nainar <nainar@chromium.org>
Reviewed-by: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537697}

wpt-commits: 8f3f3d57d537c956eed62f78172325e97f093025
wpt-pr: 9554
wpt-commits: 8f3f3d57d537c956eed62f78172325e97f093025
wpt-pr: 9554
2018-03-31 22:23:20 +01:00
Michael[tm] Smith
5de65a5e6e Bug 1444940 [wpt PR 9576] - cc Update messages.json expectations formatting, a=testonly
Automatic update from web-platform-testscc Update messages.json expectations formatting

wpt-commits: 1e4920885ba16ae3bed2b73668827adf4e5a4223
wpt-pr: 9576
wpt-commits: 1e4920885ba16ae3bed2b73668827adf4e5a4223
wpt-pr: 9576
2018-03-31 22:23:17 +01:00
Darren Shen
78900dc729 Bug 1439427 [wpt PR 9572] - [css-typed-om] Allow mutations of CSSUnparsedValue., a=testonly
Automatic update from web-platform-tests[css-typed-om] Allow mutations of CSSUnparsedValue.

This patch allows CSSUnparsedValue items to be mutated/appended.
See https://github.com/w3c/css-houdini-drafts/issues/664

Bug: 812919
Change-Id: I3e3c1d91fa9bfaa3a1a4adde45202c36c9bdb37f
Reviewed-on: https://chromium-review.googlesource.com/923670
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537691}

wpt-commits: 8fed98324bc133df221d778c62cbff210d43b0ce
wpt-pr: 9572
wpt-commits: 8fed98324bc133df221d778c62cbff210d43b0ce
wpt-pr: 9572
2018-03-31 22:23:14 +01:00
Darren Shen
d388ed4b65 Bug 1439276 [wpt PR 9567] - [css-typed-om] Fix crash involving negative length perspectives., a=testonly
Automatic update from web-platform-tests[css-typed-om] Fix crash involving negative length perspectives.

We were crashing because converting CSSPerspective(-1px) to a CSSValue
returns nullptr. The correct behaviour should be to convert it as
CSSPerspective(calc(-1px)).

Bug: 812620
Change-Id: I5ee70d4fb5eed064bcdad67391c3eb84531144d6
Reviewed-on: https://chromium-review.googlesource.com/924742
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537690}

wpt-commits: 969ae697f67e35fb93c18fa36a57ff605a47256d
wpt-pr: 9567
wpt-commits: 969ae697f67e35fb93c18fa36a57ff605a47256d
wpt-pr: 9567
2018-03-31 22:23:11 +01:00
Darren Shen
8b2c5a553c Bug 1439277 [wpt PR 9568] - [css-typed-om] Handle out-of-range values correctly., a=testonly
Automatic update from web-platform-tests[css-typed-om] Handle out-of-range values correctly.

Currently, when we set width to something like -1, we would get an
invalid value for width. According to the spec [1], we should be
wrapping the invalid value in a calc.

This patch wraps invalid values in calc, and changes the test harness
to allow us to test this.

Bug: 545318
Change-Id: I71769e1bc69164c9b7dcf0d2c54ca06b623b5d9e
Reviewed-on: https://chromium-review.googlesource.com/923603
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537685}

wpt-commits: ca39b1ed0fa70e60bfbcbfe5be7e305b0e5c2d20
wpt-pr: 9568
wpt-commits: ca39b1ed0fa70e60bfbcbfe5be7e305b0e5c2d20
wpt-pr: 9568
2018-03-31 22:23:09 +01:00
vedantc98
231ef2c2be Bug 1439116 [wpt PR 9564] - Fix #7142: Change manifest update process, a=testonly
Automatic update from web-platform-testsFix #7142: Change manifest update process

Earlier, interrupting the manifest-update could end up
causing errors due to the non-atomicity of the process.
Used tempfile to ensure that the file is written correctly.

wpt-commits: 38612167f54c475836c122013756e92b9a8859cc
wpt-pr: 9564
wpt-commits: 38612167f54c475836c122013756e92b9a8859cc
wpt-pr: 9564
2018-03-31 22:23:06 +01:00
Yutaka Hirano
be5f871e8e Bug 1439298 [wpt PR 9569] - Fix wpt/beacon/headers/header-content-type.html slowness, a=testonly
Automatic update from web-platform-testsFix wpt/beacon/headers/header-content-type.html slowness

This CL uses ResourceTiming API to speed up the test cases while
avoiding flakiness.

Bug: 779965
Change-Id: I40dc2fae470df296c87c12e432fc7fc7644cc40a
Reviewed-on: https://chromium-review.googlesource.com/923625
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537664}

wpt-commits: b20bddda8e47b046fc6ffccda4897cb81df14102
wpt-pr: 9569
wpt-commits: b20bddda8e47b046fc6ffccda4897cb81df14102
wpt-pr: 9569
2018-03-31 22:23:05 +01:00
Simon Pieters
5a9eee38e1 Bug 1438018 [wpt PR 9501] - Test whether javascript: navigation aborts fetches in earlier navigation, a=testonly
Automatic update from web-platform-testsTest whether javascript: navigation aborts fetches in earlier navigation

See https://github.com/whatwg/html/issues/2590. Tentative tests for now.

wpt-commits: be7c5e5b09e85fcfa05135b335ff4a815236b1b6
wpt-pr: 9501
wpt-commits: be7c5e5b09e85fcfa05135b335ff4a815236b1b6
wpt-pr: 9501
2018-03-31 22:23:02 +01:00
moz-wptsync-bot
e320ac404c Bug 1438840 [wpt PR 9558]- Update wpt metadata, a=testonly
wpt-pr: 9558
wpt-type: metadata
2018-03-31 22:22:59 +01:00
Adam Rice
bfa68b1dd7 Bug 1438840 [wpt PR 9558] - Streams: Tests for abuse of RSBYOBRequest, a=testonly
Automatic update from web-platform-testsStreams: Tests for abuse of RSBYOBRequest (#9558)

In https://github.com/whatwg/streams/pull/870 it was made impossible to
directly construct a ReadableStreamBYOBRequest. Prior to that it was
possible to violate the state invariants of ReadableByteStreamController
by constructing then using a BYOBRequest directly. Add tests that verify
that it is not possible to construct a ReadableStreamBYOBRequest
directly.

Also add tests that it isn't possible to violate the invariants of
ReadableByteStreamController by re-using a BYOBRequest object.

Also add a test that it isn't possible to keep a BYOBRequest object
valid while releasing the reader lock, as this would also be a way to
violate ReadableByteStreamController's invariants.

Fixes whatwg/streams#870

wpt-commits: abcd6e9aeb4267511740c45bf8e484b5ca1d95db
wpt-pr: 9558
wpt-commits: abcd6e9aeb4267511740c45bf8e484b5ca1d95db
wpt-pr: 9558
2018-03-31 22:22:58 +01:00
Makoto Shimazu
53da3304d7 Bug 1438785 [wpt PR 9556] - Refactor tests for sandbox iframes controlled by service worker, a=testonly
Automatic update from web-platform-testsRefactor tests for sandbox iframes controlled by service worker

This patch is to split sandboxed-iframe-fetch-event.https.html into small
chunks. Each promise_test has smaller number of assertions, so that now we can
see the results for each situation.

Bug: 771815
Change-Id: I75cdd67f92bbb07d6b538b209e1f0819752c3bc8
Reviewed-on: https://chromium-review.googlesource.com/923901
Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537606}

wpt-commits: 63a5a6d7c789f004f09e5cbb801b49cfb4426989
wpt-pr: 9556
wpt-commits: 63a5a6d7c789f004f09e5cbb801b49cfb4426989
wpt-pr: 9556
2018-03-31 22:22:55 +01:00
Takeshi Yoshino
2b3169da78 Bug 1438478 [wpt PR 9536] - Stop reusing MemoryCache entries for requests with a different source origin., a=testonly
Automatic update from web-platform-testsStop reusing MemoryCache entries for requests with a different source origin.

ResourceFetcher/ResourceLoader now saves the result of the CORS check on
the Resource object. Though the result of the CORS check varies
depending on the source origin, reusing an existing resource fetched by
a different source origin is allowed by mistake.

This patch introduces a logic to prevent MemoryCache entries from being
reused for requests with a different source (requestor) origin by saving
the source origin on the Resource object and comparing that with the new
source origin in Resource::CanReuse(), so that the result of the CORS
check is reused only when the source origin is the same.

An alternative possibly-better approach is to isolate MemoryCache for
different origins by changing the cache identifier to take into account
the source origin of requests. However, to keep the patch small and fix
the issue quickly, this patch just prevents reuse.

Bug: 799477, 809350
Change-Id: Ib96c9e728abe969a53f3d80519118a83392067b4
Reviewed-on: https://chromium-review.googlesource.com/897040
Commit-Queue: Takeshi Yoshino <tyoshino@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537580}

wpt-commits: e6bda363d5bc9722b326631c36333d41101c0cb3
wpt-pr: 9536
wpt-commits: e6bda363d5bc9722b326631c36333d41101c0cb3
wpt-pr: 9536
2018-03-31 22:22:52 +01:00
Kenichi Ishibashi
09a7d1fcb6 Bug 1437771 [wpt PR 9492] - Set WasFetchedViaServiceWorker for multipart image response, a=testonly
Automatic update from web-platform-testsSet WasFetchedViaServiceWorker for multipart image response

When creating a ResourceResponse from another ResourceResponse,
we need to copy WasFetchedViaServiceWorker and
ResponseTypeViaServiceWorker.

Bug: 737648
Change-Id: I9405738221ef5232e235f9fc400f204b7b558596
Reviewed-on: https://chromium-review.googlesource.com/907012
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537579}

wpt-commits: 75c962d7c542f3a6c6e43bcf18a4bf67a16f86cf
wpt-pr: 9492
wpt-commits: 75c962d7c542f3a6c6e43bcf18a4bf67a16f86cf
wpt-pr: 9492
2018-03-31 22:22:49 +01:00
moz-wptsync-bot
9bc5c71df7 Bug 1438867 [wpt PR 5636]- Update wpt metadata, a=testonly
wpt-pr: 5636
wpt-type: metadata
2018-03-31 22:22:47 +01:00
Adam Rice
513d42b3e8 Bug 1438867 [wpt PR 5636] - ReadableStream: Add a test that all queued writes complete on error, a=testonly
Automatic update from web-platform-testsReadableStream: Add a test that all queued writes complete on error (#5636)

When a pipe is errored, all currently queued writes should complete
before abort() is called on the underlying sink.

The tests the fix to this behaviour in the Streams reference
implementation in whatwg/streams#884.

wpt-commits: ee7ca4fb8371000d2429a99002d1ad71275d5cde
wpt-pr: 5636
wpt-commits: ee7ca4fb8371000d2429a99002d1ad71275d5cde
wpt-pr: 5636
2018-03-31 22:22:45 +01:00
kritisingh1
c1cf5a424c Bug 1439186 [wpt PR 9566] - minor typo fix, a=testonly
Automatic update from web-platform-testsminor typo fix

wpt-commits: 2f8a42135179dcd2bf3260d88501e9a4dd3012f1
wpt-pr: 9566
wpt-commits: 2f8a42135179dcd2bf3260d88501e9a4dd3012f1
wpt-pr: 9566
2018-03-31 22:22:43 +01:00
Esteban Manchado Velázquez
3059b9136d Bug 1439090 [wpt PR 9563] - Fix selection{Start,End} test, a=testonly
Automatic update from web-platform-testsFix selection{Start,End} test

Likely due to a copy and paste error, one of the tests that was
meant to cover both selectionStart and selectionEnd only covered
the former. Fix so that it covers both, as it should have from the
start.

wpt-commits: 08dd5d8de9c165badabf9f18b5be21a561d8213a
wpt-pr: 9563
wpt-commits: 08dd5d8de9c165badabf9f18b5be21a561d8213a
wpt-pr: 9563
2018-03-31 22:22:39 +01:00
Ian Kilpatrick
f374bf4f57 Bug 1438065 [wpt PR 9509] - [css-layout-api] Implement the guts of the javascript layout runner., a=testonly
Automatic update from web-platform-tests[css-layout-api] Implement the guts of the javascript layout runner.

This implements the hooks from the LayoutCustom object into a web
developer defined layout class.

See: https://drafts.css-houdini.org/css-layout-api/#invoke-a-layout-callback

Currently the only useful thing this does to allow the web developer to
return an "auto" block-size, e.g.

registerLayout('foo', class {
  *intrinsicSizes() {}
  *layout() {
    return { autoBlockSize: Math.random() * 100; } // FUN!
  }
});

The engine calculates the inline-size, and adjusts the block-size for the
web developer. This is a simplification on the current API as spec'd but
we'll see what the HoudiniTF thinks of this approach.

The other large behaviour change is appropriate "fallback" handling when
something goes wrong. See "fallback" tests.

Bug: 726125
Change-Id: I08cd2e439f4321bd534a4e3f7222fbdb898e1785
Reviewed-on: https://chromium-review.googlesource.com/917423
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537371}

wpt-commits: 1a2e430c6fd35c111ead0d5a0e9afbe874e7c1a2
wpt-pr: 9509
wpt-commits: 1a2e430c6fd35c111ead0d5a0e9afbe874e7c1a2
wpt-pr: 9509
2018-03-31 22:22:37 +01:00
jugglinmike
503f4f3d58 Bug 1437619 [wpt PR 9484] - Correct integration with Sauce Labs service, a=testonly
Automatic update from web-platform-testsCorrect integration with Sauce Labs service (#9484)

A recently merged patch centralized configuration values which defined
the domain names available during test execution [1]. That patch was
based on a mistaken assumption regarding the location of that value and
the stage of the test execution at which it would be available.
(Specifically: the value is not present in the environment configuration
object when the "environment extras" are initialized.) This interfered
with the initialization of the "environment" for the Sauce Labs service,
making it impossible to run the tests there.

Defer the retrieval of the environment configuration object to the time
that object's context manager is activated. Update the call sites to
provide the environment configuration at this moment. Also update the
signature of the context manager for the `FontInstaller` "environment
extra" to accept this second parameter.

[1] https://github.com/w3c/web-platform-tests/pull/8614

wpt-commits: e56563d2b1e8bd225bf4c8b4682cbd12beeae1a7
wpt-pr: 9484
wpt-commits: e56563d2b1e8bd225bf4c8b4682cbd12beeae1a7
wpt-pr: 9484
2018-03-31 22:22:34 +01:00
jugglinmike
f7ff2d1723 Bug 1437550 [wpt PR 9480] - Fix hostnames, a=testonly
Automatic update from web-platform-testswptrunner: Fix regression in config, interpreter (#9480)

Prior to the application of this patch, the configuration property named
`host` was required to expand the templated JSON file maintained within
the WPT CLI. By removing the property from some browser definitions
without updating that template, commit 1b4f253 introduced failures when
using the `run` sub-command with the effected browsers.

Refactor the logic for generating the configuration to use an in-memory
representation (instead of a file-based template) and conditionally
extend this object with the `host` option for browsers which specify it.
Document the rationale for the browser which requires this
functionality.

wpt-commits: cb2d75fd13182ab3bdd7189dafe2ff7bbf4acd56
wpt-pr: 9480
wpt-commits: cb2d75fd13182ab3bdd7189dafe2ff7bbf4acd56
wpt-pr: 9480
2018-03-31 22:22:32 +01:00
Raymond Toy
04f728145f Bug 1438319 [wpt PR 9524] - Fix timeouts in WPT AudioParam tests, a=testonly
Automatic update from web-platform-testsFix timeouts in WPT AudioParam tests

Replace the tests that are using ScriptProcessor and online contexts
with an offline context and verify all the output values instead of
just one.

This change exposed a couple of issues:
  - setTargetAtTime wasn't actually testing setTargetAtTime because a
    linearRampToValueAtTime event was called at the same time,
    effectively replacing the setTargetAtTime event
  - linearRampToValue and exponentialRampToValue tests expose bugs in
    Chrome's implementation of these when the event is scheduled in
    the past, and there is no preceding event.

Bug: 812285, 626703
Change-Id: Iad3f54dd4373411431c019de44d4c3bad07587ff
Reviewed-on: https://chromium-review.googlesource.com/919151
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537311}

wpt-commits: 81ada4212ece1e2f5c6cc560d6b2f45593679e93
wpt-pr: 9524
wpt-commits: 81ada4212ece1e2f5c6cc560d6b2f45593679e93
wpt-pr: 9524
2018-03-31 22:22:29 +01:00
Morten Stenshorne
c5582233ef Bug 1438515 [wpt PR 9538] - [LayoutNG] Don't add zero-width floats to the exclusion space., a=testonly
Automatic update from web-platform-tests[LayoutNG] Don't add zero-width floats to the exclusion space.

The only thing such floats should affect is the block position of
subsequent floats (float rule §5 [1] and clearance). They should not
affect the inline position or inline size of subsequent floats or new
formatting contexts.

The spec isn't actually clear here, although the browsers agree on the
above. Submitted https://github.com/w3c/csswg-drafts/issues/2312

[1] https://www.w3.org/TR/CSS22/visuren.html#float-position

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: Ia9e724c8a58fcb017f86f26bdf90394f09414f4e
Reviewed-on: https://chromium-review.googlesource.com/919065
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537274}

wpt-commits: ae06fa4ce5d170f7f34e979b014315e318344ec4
wpt-pr: 9538
wpt-commits: ae06fa4ce5d170f7f34e979b014315e318344ec4
wpt-pr: 9538
2018-03-31 22:22:26 +01:00
Matt Falkenhagen
1cb94ab21e Bug 1438757 [wpt PR 9555] - service worker: Disallow interception for EMBED and OBJECT requests., a=testonly
Automatic update from web-platform-testsservice worker: Disallow interception for EMBED and OBJECT requests.

This matches the service worker specification and Firefox.

This change itself is probably not enough to skip all EMBED/OBJECT
requests, as some requests get initiated by PepperURLLoaderHost or
MimeHandlerViewContainer.

In implementor concerns:
https://w3c.github.io/ServiceWorker/#implementer-concerns
"Plug-ins should not load via service workers. As plug-ins may get their
security origins from their own urls, the embedding service worker cannot
handle it. For this reason, the Handle Fetch algorithm makes the
potential-navigation-or-subresource request (whose context is either <embed> or
<object>) immediately fallback to the network without dispatching fetch event."

In Handle Fetch:
https://w3c.github.io/ServiceWorker/#handle-fetch
"If request is a potential-navigation-or-subresource request, then:
Return null."

R=kinuko, yhirano

Bug: 771933
Change-Id: Ia04ae8dec8c968de6a73dca088aa88a67b21718a
Reviewed-on: https://chromium-review.googlesource.com/923445
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537245}

wpt-commits: e7607dad61b547e88d1f06a67b1514a3242600ec
wpt-pr: 9555
wpt-commits: e7607dad61b547e88d1f06a67b1514a3242600ec
wpt-pr: 9555
2018-03-31 22:22:24 +01:00
Darren Shen
3a4c856166 Bug 1438416 [wpt PR 9535] - [css-typed-om] Make StylePropertyMap.set work with calcs., a=testonly
Automatic update from web-platform-tests[css-typed-om] Make StylePropertyMap.set work with calcs.

Currently StylePropertyMap.set doesn't actually work with calcs.
The current way to check if something is, say, a <length> is to
check its CSSStyleValue::Type. However, this doesn't return
the right value for CSSMathValues, whose types may be quite
complicated.

The correct way is to use the CSSNumericValue matching algorthms:
CSSNumericValue::MatchesLength, which also takes into account
CSSMathValues and percent hints.

This patch changes the following to make this work:

- Removed base types from CSSStyleValue::StyleValueType. A base type
  like "length" is not really a CSSStyleValue type.
- Removed unused StyleValueTypeToString.
- Changed "Percent" to "Percentage" in CSSProperties.json5 as that's
  the correct term.
- Changed make_cssom_types to use the matching algorithms from
  CSSNumericValue.

Bug: 545318
Change-Id: I16aa71a4873e9992749f0f52ba641671d109170e
Reviewed-on: https://chromium-review.googlesource.com/901002
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537206}

wpt-commits: b52a7a29208647f209f06ac2e6321987023c196c
wpt-pr: 9535
wpt-commits: b52a7a29208647f209f06ac2e6321987023c196c
wpt-pr: 9535
2018-03-31 22:22:20 +01:00
joanmarie
dc5c6680bb Bug 1438563 [wpt PR 9540] - Add initial test set for Accessible Name and Description Computation 1.1, a=testonly
Automatic update from web-platform-testsAdd initial test set for Accessible Name and Description Computation 1.1 (#9540)

Note that many of the tests are currently named with a number. Those
tests were taken from the original (1.0) test suite created by the
PFWG, and the file names are being preserved to facilitate comparison
of results.

wpt-commits: 2b4cdad36bd267e39565ebaab5982b9b4c482e53
wpt-pr: 9540
wpt-commits: 2b4cdad36bd267e39565ebaab5982b9b4c482e53
wpt-pr: 9540
2018-03-31 22:22:17 +01:00
moz-wptsync-bot
75a3c1db7e Bug 1438361 [wpt PR 9527]- Update wpt metadata, a=testonly
wpt-pr: 9527
wpt-type: metadata
2018-03-31 22:22:13 +01:00
L. David Baron
66225e62cc Bug 1438361 [wpt PR 9527] - Add tests for the breaking of a multicolumn across columns, including backgrounds and column rules, a=testonly
Automatic update from web-platform-testsAdd tests for the breaking of a multicolumn across columns, including backgrounds and column rules. (#9527)

The *-nobackground-* tests pass in Firefox and Chrome, and the others
pass in Chrome and fail in Firefox due to what I (as a Gecko
implementor) consider to be a Firefox bug.  I haven't yet tested other
engines.  (Though -nobackground-003 fails in Firefox due to a different
bug, and multicol-breaking-002 doesn't trigger the background-related
Firefox bug.)

Given the level of ambiguity in the multicol spec, I suspect these tests
probably test some things that aren't formally specified.  However, I
think that's probably OK for now.  One issue that I know of that they
depend on the spec for is w3c/csswg-drafts#2309.

wpt-commits: d04c0d50dbbf7752c27957005a5a659701b781ad
wpt-pr: 9527
wpt-commits: d04c0d50dbbf7752c27957005a5a659701b781ad
wpt-pr: 9527
2018-03-31 22:22:12 +01:00
AutomatedTester
4335303afc Bug 1437573 [wpt PR 8689] - Reftest for handling important when there is an animation., a=testonly
Automatic update from web-platform-testsReftest for handling important when there is an animation.

This tests https://drafts.csswg.org/css-cascade/#importance

wpt-commits: 5ee47da05ffc366a887788ccdc3f7a0673c35953
wpt-pr: 8689
wpt-commits: 5ee47da05ffc366a887788ccdc3f7a0673c35953
wpt-pr: 8689
2018-03-31 22:22:09 +01:00
Gyuyoung Kim
f2db391b86 Bug 1438372 [wpt PR 9530] - [USVString] Apply USVString into RTCDataChannel.send, a=testonly
Automatic update from web-platform-tests[USVString] Apply USVString into RTCDataChannel.send

Latest spec changed DOMString type of send with USVString.
 - https://w3c.github.io/webrtc-pc/#dom-rtcdatachannel

This CL applies USVString type into the RTCDataCchannel.send according to the spec.

Bug: 790860
Change-Id: I3d2e3fef8e6a8cc8ca94a8ae18c2ccb7dcc48016
Reviewed-on: https://chromium-review.googlesource.com/917741
Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org>
Reviewed-by: Tommi <tommi@chromium.org>
Commit-Queue: Tommi <tommi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537015}

wpt-commits: 1a3951e267e61077ca566e9872c9abeb229d5751
wpt-pr: 9530
wpt-commits: 1a3951e267e61077ca566e9872c9abeb229d5751
wpt-pr: 9530
2018-03-31 22:22:06 +01:00
Morten Stenshorne
85853e879f Bug 1438047 [wpt PR 9503] - [LayoutNG] Allow zero-width layout opportunities., a=testonly
Automatic update from web-platform-tests[LayoutNG] Allow zero-width layout opportunities.

Zero-width floats or in-flow block-level objects that establish a new formatting
context may fit beside preceding floats even if there's zero inline space left.

With this change, a couple of tests start passing, but coverage seems a
bit low, so I added a few new ones.

Had to rebaseline fast/text/word-break.html because a zero-width line
may now fit beside a float that takes up all available inline
space. There was a <br clear=all> in the test that used to insert the
line below such a float. We're now compatible with the others (and our
old selves).

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: Iaf394b7039545eea235b2841457f1662e5890ba9
Reviewed-on: https://chromium-review.googlesource.com/916262
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537000}

wpt-commits: e2b2513a9ab764bcec7ccf616a35835d13020e32
wpt-pr: 9503
wpt-commits: e2b2513a9ab764bcec7ccf616a35835d13020e32
wpt-pr: 9503
2018-03-31 22:22:03 +01:00
John Jansen
ae3fc33a6b Bug 1441397 [wpt PR 9202] - Updating Server creation for localhost, a=testonly
Automatic update from web-platform-testsUpdating Server creation for localhost (#9202)

In my last change, I missed this line of code. Adding the host parameter and removing the base_path param.

wpt-commits: 09ca41d71aab5d5640804b34e5165f291259f112
wpt-pr: 9202
wpt-commits: 09ca41d71aab5d5640804b34e5165f291259f112
wpt-pr: 9202
2018-03-31 22:22:01 +01:00
moz-wptsync-bot
4f2aeb560f Bug 1436412 [wpt PR 9421]- Update wpt metadata, a=testonly
wpt-pr: 9421
wpt-type: metadata
2018-03-31 22:21:59 +01:00
Vedant Chakravadhanula
bed2cd83f4 Bug 1436412 [wpt PR 9421] - Fix #8806: Allow about:blank as reference URL, a=testonly
Automatic update from web-platform-testsFix #8806: Allow about:blank as reference URL (#9421)

wpt-commits: c23fdbd54d77d54d7a0a51813caa91897f4d6b0d
wpt-pr: 9421
wpt-commits: c23fdbd54d77d54d7a0a51813caa91897f4d6b0d
wpt-pr: 9421
2018-03-31 22:21:57 +01:00
moz-wptsync-bot
97820dc9b9 Bug 1438350 [wpt PR 9525]- Update wpt metadata, a=testonly
wpt-pr: 9525
wpt-type: metadata
2018-03-31 22:21:56 +01:00
Chris Lilley
938fe431a6 Bug 1438350 [wpt PR 9525] - Add @drott, a=testonly
Automatic update from web-platform-testsAdd @drott (#9525)

wpt-commits: cf12c2761f77d01223b94bc2ddc7eae49ccac59d
wpt-pr: 9525
wpt-commits: cf12c2761f77d01223b94bc2ddc7eae49ccac59d
wpt-pr: 9525
2018-03-31 22:21:54 +01:00
Harald Alvestrand
14716c0ad7 Bug 1438459 [wpt PR 9516] - Make WPT webrtc/simplecall.html pass, a=testonly
Automatic update from web-platform-testsMake WPT webrtc/simplecall.html pass

The test was failing because passing a null ("end of candidates")
candidate to addIceCandidate is not permitted.

Spec link:

https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-addicecandidate
https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addicecandidate

Bug: none
Change-Id: I1f22d27393a482a882ebe9735488d8cb723b6e75
Reviewed-on: https://chromium-review.googlesource.com/918662
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536977}

wpt-commits: 49d8cd27466bcd293f86a5758f21fcd23a97f196
wpt-pr: 9516
wpt-commits: 49d8cd27466bcd293f86a5758f21fcd23a97f196
wpt-pr: 9516
2018-03-31 22:21:51 +01:00
Naina Raisinghani
b2625f1de2 Bug 1438101 [wpt PR 9514] - [css-typed-om] Move inline style map layout tests to WPT., a=testonly
Automatic update from web-platform-tests[css-typed-om] Move inline style map layout tests to WPT.

We used to have some inline style map layout tests for a subset of
properties. This patch moves them to WPT using the new test harness.

Properties added:
- white-space
- vertical-align
- visibility
- z-index

Bug: 774887
Change-Id: Icce056c4d7f56eed3da05834b1c561fddec53a15
Reviewed-on: https://chromium-review.googlesource.com/918203
Commit-Queue: nainar <nainar@chromium.org>
Reviewed-by: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536966}

wpt-commits: e4730a5e002aadca9605485aec9ccb4c122f15de
wpt-pr: 9514
wpt-commits: e4730a5e002aadca9605485aec9ccb4c122f15de
wpt-pr: 9514
2018-03-31 22:21:48 +01:00
Wanming Lin
d16887cd92 Bug 1437072 [wpt PR 9448] - Adapt Accelerometer IDL tests to latest spec, a=testonly
Automatic update from web-platform-testsMerge pull request #9448 from kaixinjxq/Sensor_accelerometer

Adapt Accelerometer IDL tests to latest spec

wpt-commits: 7f24ed86c4a4d35090f9a12c80656f16b2932a3a
wpt-pr: 9448
wpt-commits: 7f24ed86c4a4d35090f9a12c80656f16b2932a3a
wpt-pr: 9448
2018-03-31 22:21:45 +01:00
Wanming Lin
5002f23026 Bug 1437074 [wpt PR 9449] - Adapt Gyroscope IDL tests to latest spec, a=testonly
Automatic update from web-platform-testsMerge pull request #9449 from kaixinjxq/Sensor_gyroscope

Adapt Gyroscope IDL tests to latest spec

wpt-commits: b16e8405a1e2985836e987f1080d77f558ae1d27
wpt-pr: 9449
wpt-commits: b16e8405a1e2985836e987f1080d77f558ae1d27
wpt-pr: 9449
2018-03-31 22:21:42 +01:00
Wanming Lin
81db439fdf Bug 1437076 [wpt PR 9450] - Adapt Magnetometer IDL tests to latest spec, a=testonly
Automatic update from web-platform-testsMerge pull request #9450 from kaixinjxq/Sensor_magnetometer

Adapt Magnetometer IDL tests to latest spec

wpt-commits: 38fe6c697693583f269b01be67df6f83523362ff
wpt-pr: 9450
wpt-commits: 38fe6c697693583f269b01be67df6f83523362ff
wpt-pr: 9450
2018-03-31 22:21:39 +01:00
Wanming Lin
5c4084cef5 Bug 1437077 [wpt PR 9451] - Adapt Orientation IDL tests to latest spec, a=testonly
Automatic update from web-platform-testsMerge pull request #9451 from kaixinjxq/Sensor_orientation

Adapt Orientation IDL tests to latest spec

wpt-commits: 5c67a16ad3319699f8a297284939ed37269f41d2
wpt-pr: 9451
wpt-commits: 5c67a16ad3319699f8a297284939ed37269f41d2
wpt-pr: 9451
2018-03-31 22:21:37 +01:00
Mike Bremford
5091d28d9c Bug 1438386 [wpt PR 9533] - CSS2 tests were only correct if the default font has two weights., a=testonly
Automatic update from web-platform-testsCSS2 tests were only correct if the default font has two weights. (#9533)

font-weight-rule 005 and 007 both made the incorrect
assumption that there were no weights lighter than 400
or greater than 700 in the default font. Added new
references for them which don't depend on that.

wpt-commits: 30c492f9078d50bff86b4459e78d31cc0d7bf47b
wpt-pr: 9533
wpt-commits: 30c492f9078d50bff86b4459e78d31cc0d7bf47b
wpt-pr: 9533
2018-03-31 22:21:34 +01:00
Geoffrey Sneddon
6a606ba825 Bug 1438388 [wpt PR 9534] - Add test for empty URL behaviour, a=testonly
Automatic update from web-platform-testsAdd test for empty URL behaviour (#9534)

wpt-commits: 9b0130bf3c690ae1d408b6e1bebc6568ce99b915
wpt-pr: 9534
wpt-commits: 9b0130bf3c690ae1d408b6e1bebc6568ce99b915
wpt-pr: 9534
2018-03-31 22:21:31 +01:00
Lukasz Anforowicz
82c284adb9 Bug 1438380 [wpt PR 9532] - CORB: WPT tests for <link rel="stylesheet" href="..."> tag interactions., a=testonly
Automatic update from web-platform-testsCORB: WPT tests for <link rel="stylesheet" href="..."> tag interactions.

Bug: 809261, 806996
Change-Id: I97df15c54f72b571a7e8622c3137ec597d5244a9
Reviewed-on: https://chromium-review.googlesource.com/919171
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536877}

wpt-commits: c42893ed572b4b7e46d79cb527ba7dafd2adb15e
wpt-pr: 9532
wpt-commits: c42893ed572b4b7e46d79cb527ba7dafd2adb15e
wpt-pr: 9532
2018-03-31 22:21:28 +01:00
moz-wptsync-bot
4b9d54826e Bug 1438042 [wpt PR 9502] - CORB: WPT tests for <script> tag interactions., a=testonly
Automatic update from web-platform-testsCORB: WPT tests for <script> tag interactions.

Bug: 809261, 806996
Change-Id: Ia0f5acdc517f79aa9075447f8b543a141313e098
Reviewed-on: https://chromium-review.googlesource.com/917195
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536863}

wpt-commits: 6be7f242bbcec40802cda8f670bbec31570dd077
wpt-pr: 9502
wpt-commits: 6be7f242bbcec40802cda8f670bbec31570dd077
wpt-pr: 9502
2018-03-31 22:21:25 +01:00
Lukasz Anforowicz
7adb625181 Bug 1437933 [wpt PR 9500] - CORB: WPT tests for <img> tag interactions., a=testonly
Automatic update from web-platform-testsCORB: WPT tests for <img> tag interactions.

Bug: 809261, 806996
Change-Id: Ifb8ce26b4fb5bccf18ea22013e898b81c9654c14
Reviewed-on: https://chromium-review.googlesource.com/915103
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536844}

wpt-commits: 56590a3617256f6ff39672dceca45f1c0ae53993
wpt-pr: 9500
wpt-commits: 56590a3617256f6ff39672dceca45f1c0ae53993
wpt-pr: 9500
2018-03-31 22:21:24 +01:00
Eric Willigers
3231a0ee3f Bug 1444348 [wpt PR 9408] - SVG Shapes: line supports pathLength, a=testonly
Automatic update from web-platform-testsMerge pull request #9408 from ewilligers/line-pathLength

SVG Shapes: line supports pathLength

wpt-commits: 9881b7aa68ce82fc574b75bc64f690f11ca3681d
wpt-pr: 9408
wpt-commits: 9881b7aa68ce82fc574b75bc64f690f11ca3681d
wpt-pr: 9408
2018-03-31 22:21:21 +01:00
moz-wptsync-bot
89ad1be34f Bug 1441390 [wpt PR 9518]- Update wpt metadata, a=testonly
wpt-pr: 9518
wpt-type: metadata
2018-03-31 22:21:18 +01:00
Stephen McGruer
6104e826e0 Bug 1441390 [wpt PR 9518] - Add test for wrappable content that has flex:none, a=testonly
Automatic update from web-platform-testsAdd test for wrappable content that has flex:none (#9518)

Add test for wrappable content that has flex:none

See https://bugzilla.mozilla.org/show_bug.cgi?id=1374540; per spec, the
flex:none content should be allowed its full content width. This
currently works in Chrome, Edge, Safari, and Opera.

wpt-commits: a02389e2cc84576b8aa35bff9658f6db39003ed8
wpt-pr: 9518
wpt-commits: a02389e2cc84576b8aa35bff9658f6db39003ed8
wpt-pr: 9518
2018-03-31 22:21:16 +01:00
Chris Lilley
9ec9d5b402 Bug 1444347 [wpt PR 9397] - Added new testcases to test font-variant precedence rules, a=testonly
Automatic update from web-platform-testsMerge pull request #9397 from faceless2/bfo-css-fonts-3-fontfeature

Added new testcases to test font-variant precedence rules

wpt-commits: 840362217deb3f9b82fe18a619d0bf21ddc55781
wpt-pr: 9397
wpt-commits: 840362217deb3f9b82fe18a619d0bf21ddc55781
wpt-pr: 9397
2018-03-31 22:21:13 +01:00
Jake Archibald
7e850e4972 Bug 1438122 [wpt PR 9515] - Checking signal has aborted., a=testonly
Automatic update from web-platform-testsCheck that fetch request signal following works correctly

This test already tests integration, so this is just an extra check.

Follows https://github.com/whatwg/fetch/pull/670.

wpt-commits: e151f898bfde2bfb518206008a911577be8a5a68
wpt-pr: 9515
wpt-commits: e151f898bfde2bfb518206008a911577be8a5a68
wpt-pr: 9515
2018-03-31 22:21:09 +01:00
Chandan Padhi
8b44b1c998 Bug 1437002 [wpt PR 9388] - Support MediaStreamTrack.getCapabilities() for echoCancellation and deviceId, a=testonly
Automatic update from web-platform-testsSupport MediaStreamTrack.getCapabilities() for echoCancellation and deviceId

Intent to implement and ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/h4sCuIqb_78

Bug: 293292
Change-Id: Ib1869d4e940cffb3012572451268dec1ffb55a0e
Reviewed-on: https://chromium-review.googlesource.com/899402
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536709}

wpt-commits: 08bc228af02856e05fc4263044943df751bbc114
wpt-pr: 9388
wpt-commits: 08bc228af02856e05fc4263044943df751bbc114
wpt-pr: 9388
2018-03-31 22:21:06 +01:00
Naina Raisinghani
b74f458968 Bug 1438100 [wpt PR 9513] - [css-typed-om] Move inline style map layout tests to WPT., a=testonly
Automatic update from web-platform-tests[css-typed-om] Move inline style map layout tests to WPT.

We used to have some inline style map layout tests for a subset of
properties. This patch moves them to WPT using the new test harness.

Properties added:
- position
- padding-{top,bottom,left,right}
- text-align
- text-decoration-style

Bug: 774887
Change-Id: I9fc9d6d425b1a5ce0c71f8d918bc5893c74c4e89
Reviewed-on: https://chromium-review.googlesource.com/917927
Commit-Queue: nainar <nainar@chromium.org>
Reviewed-by: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536698}

wpt-commits: 9e98749811573be88146eaeac56732d445f769fd
wpt-pr: 9513
wpt-commits: 9e98749811573be88146eaeac56732d445f769fd
wpt-pr: 9513
2018-03-31 22:21:03 +01:00
Fredrik Söderquist
7c01db6777 Bug 1437899 [wpt PR 9498] - Setting "" as <track> 'src' should fail the first time, a=testonly
Automatic update from web-platform-testsSetting "" as <track> 'src' should fail the first time

When setting a track .src to "", we would resolve the URL to a null URL,
which matched the default initialized HTMLTrackElement::url_, meaning
that readyState was not advanced and no 'error' event fired in this
case.

Extend the "url == url_" check with a check for readyState differing from
'none'. Also rewrite HTMLTrackElement::getReadyState to avoid using
EnsureTrack().

Bug: 811713
Change-Id: Icd190492639c53e09a7e018202b69ac6e919a94c
Reviewed-on: https://chromium-review.googlesource.com/916004
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Reviewed-by: srirama chandra sekhar <srirama.m@samsung.com>
Cr-Commit-Position: refs/heads/master@{#536685}

wpt-commits: 7bdac4aedb60223226e5941b7cc8ebadfcc9885b
wpt-pr: 9498
wpt-commits: 7bdac4aedb60223226e5941b7cc8ebadfcc9885b
wpt-pr: 9498
2018-03-31 22:20:59 +01:00
Matt Falkenhagen
3314f5c6a8 Bug 1438096 [wpt PR 9512] - service worker: Add tests for cross-origin WebVTT responses with redirects., a=testonly
Automatic update from web-platform-testsservice worker: Add tests for cross-origin WebVTT responses with redirects.

This is a follow-up to: https://chromium-review.googlesource.com/c/chromium/src/+/907013

Tests only; the code seems to work.

R=horo, kinuko

Bug: 808825
Change-Id: I6b86a4dac159b754cfe5e6b92ac390c07de89ab3
Reviewed-on: https://chromium-review.googlesource.com/918261
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536679}

wpt-commits: c26ee506ae9d6bac00f3b01609f107a483883ece
wpt-pr: 9512
wpt-commits: c26ee506ae9d6bac00f3b01609f107a483883ece
wpt-pr: 9512
2018-03-31 22:20:56 +01:00
Darren Shen
a7ab08e1f0 Bug 1438093 [wpt PR 9511] - [css-typed-om] Move inline style map layout tests to WPT., a=testonly
Automatic update from web-platform-tests[css-typed-om] Move inline style map layout tests to WPT.

We used to have some inline style map layout tests for a subset of
properties. This patch moves them to WPT using the new test harness.

Fixed some bugs involving properties not given the correct metadata
(e.g. border-style should not take an <image>).

Transform is failing tests because it should compute to as specified
but it's computing to 'none' (will fix this later).

TODO in follow up patches:
- Test list-valued properties properly.
- Add more test examples to <position> and <image>.

Bug: 774887
Change-Id: I93f20a457e2220329b661787c7d557ee28b1f62d
Reviewed-on: https://chromium-review.googlesource.com/917921
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536658}

wpt-commits: 783faf5a3f8803a1a1f4f30345f67de333a6d72c
wpt-pr: 9511
wpt-commits: 783faf5a3f8803a1a1f4f30345f67de333a6d72c
wpt-pr: 9511
2018-03-31 22:20:53 +01:00
Matt Falkenhagen
a7f976d58a Bug 1438085 [wpt PR 9453] - Fetch API: Don't DCHECK on a 302 response with a Location header with empty value., a=testonly
Automatic update from web-platform-testsFetch API: Don't DCHECK on a 302 response with a Location header with empty value.

Blink was failing a DCHECK when it expected a redirect to be taken because
the request mode was 'follow' and the response had a redirect status code
and Location header. However, Chrome's //net considers a Location header
with an empty value to be the same as no Location header at all. See the
comments on bug 810288 about net::HttpResponseHeaders::IsRedirect().

WPT tests are added. The spec is unclear (https://github.com/whatwg/url/issues/373)
but seems to either say to fail with network error or enter a loop of self-redirects
that will eventually hit the redirect limit and fail with network error.
Chrome currently fails this test because it treats the Location as
as non-existent, i.e., not a redirect response.

Bug: 810288,707185
Change-Id: Iaca93976aaa697380b1542ab45d63c318f5050b0
Reviewed-on: https://chromium-review.googlesource.com/910753
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536644}

wpt-commits: e75788501733a0801eec374c19f8cdfbccd9c09d
wpt-pr: 9453
wpt-commits: e75788501733a0801eec374c19f8cdfbccd9c09d
wpt-pr: 9453
2018-03-31 22:20:50 +01:00
moz-wptsync-bot
73c7f666de Bug 1438066 [wpt PR 9508]- Update wpt metadata, a=testonly
wpt-pr: 9508
wpt-type: metadata
2018-03-31 22:20:46 +01:00
Kent Tamura
192c9e4d80 Bug 1438066 [wpt PR 9508] - [custom-elements] Add HTML serialization tests, a=testonly
Automatic update from web-platform-tests[custom-elements] Add HTML serialization tests

This is for https://github.com/whatwg/html/pull/3444

wpt-commits: d0114efdde520f9aa003ce42c85ef134f01ad691
wpt-pr: 9508
wpt-commits: d0114efdde520f9aa003ce42c85ef134f01ad691
wpt-pr: 9508
2018-03-31 22:20:44 +01:00
Darren Shen
9d88364f2e Bug 1438064 [wpt PR 9507] - [css-typed-om] Refactor the per-property test harness., a=testonly
Automatic update from web-platform-tests[css-typed-om] Refactor the per-property test harness.

This patch refactors the per-property test harness quite
a bit to deal with property specific behaviour:

- We allow tests to override the expectation/asserts
  for specified and computed values. So it means that a
  property might compute 'auto' to '0px' and we can easily
  assert that by passing a callback to 'computed'.

- We moved margin-top to margin and test all the margin
  properties (except the margin shorthand).

- We made margin properties work by setting the correct
  metadata in the CSSProperties.json5.

- We removed unitless zero tests. They don't seem to
  be required by the spec.

Bug: 774887
Change-Id: I08605ac6af01576ff9f6c878c2ca9e280c9948e1
Reviewed-on: https://chromium-review.googlesource.com/915884
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536603}

wpt-commits: 5479ebec26b46fa4ecf02698863c3ea1d64c3126
wpt-pr: 9507
wpt-commits: 5479ebec26b46fa4ecf02698863c3ea1d64c3126
wpt-pr: 9507
2018-03-31 22:20:41 +01:00
Kent Tamura
884c999756 Bug 1438050 [wpt PR 9505] - [custom-elements] Some fixes for "is" attribute behavior changes, a=testonly
Automatic update from web-platform-tests[custom-elements] Some fixes for "is" attribute behavior changes

This is for https://github.com/whatwg/dom/pull/566.

- document.createElement() and createElementNS() don't add "is" content
 attribute.

- cloneNode() should clone custom elements even if they have no "is"
 content attributes or have "is" content attribute inconsistent with
 "is value."

wpt-commits: 1e4fe87a7f01c0b5c614c8f601ffa68b4a00662a
wpt-pr: 9505
wpt-commits: 1e4fe87a7f01c0b5c614c8f601ffa68b4a00662a
wpt-pr: 9505
2018-03-31 22:20:37 +01:00
François Beaufort
4d6799a2f4 Bug 1436447 [wpt PR 9370] - [Picture-in-Picture] Add PictureInPictureWindow width and height stubs, a=testonly
Automatic update from web-platform-tests[Picture-in-Picture] Add PictureInPictureWindow width and height stubs

This introduces PictureInPictureWindow interface with |width| and
|height| attributes. |onresize| event will follow in an upcoming CL.
|width| and |height| simply return fake values, respectively 500 and
300, for now as we don't have any resize events coming from the backend
yet. They are reset to 0 though when PictureInPictureWindow state is
closed.

Bug: 806249
Change-Id: I5e0f0875a53b7f659bc3469e562d3db5e075f31d
Reviewed-on: https://chromium-review.googlesource.com/899347
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: apacible <apacible@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536520}

wpt-commits: e9ffe0be14f695ad5fb0aa104bbddbcc88712f56
wpt-pr: 9370
wpt-commits: e9ffe0be14f695ad5fb0aa104bbddbcc88712f56
wpt-pr: 9370
2018-03-31 22:20:34 +01:00
moz-wptsync-bot
3a07694958 Bug 1437737 [wpt PR 9008]- Update wpt metadata, a=testonly
wpt-pr: 9008
wpt-type: metadata
2018-03-31 22:20:31 +01:00
Dominic Farolino
c00592d4f2 Bug 1437737 [wpt PR 9008] - Add format-specifier-applied-to-Symbol console tests, a=testonly
Automatic update from web-platform-testsAdd format-specifier-applied-to-Symbol console tests

Follows https://github.com/whatwg/console/pull/123. See https://github.com/whatwg/console/issues/113 and https://github.com/w3c/web-platform-tests/pull/9488 for follow-up work.

wpt-commits: 54c8d719084e1200481df813f6e01d385ea3b07e
wpt-pr: 9008
wpt-commits: 54c8d719084e1200481df813f6e01d385ea3b07e
wpt-pr: 9008
2018-03-31 22:20:30 +01:00
Nicolas Pena
d40818a608 Bug 1437592 [wpt PR 9483] - Move http/tests/w3c/webperf/submission/Intel/resource-timing to WPT I, a=testonly
Automatic update from web-platform-testsMove http/tests/w3c/webperf/submission/Intel/resource-timing to WPT I

This CL moves the tests previously WPT-fied from
http/tests/w3c/webperf/submission/Intel/resource-timing to wpt.

Bug: 498037
Change-Id: I84ae0dbb9f5e590fe5db1444294d703a9fc4faaf
Reviewed-on: https://chromium-review.googlesource.com/913969
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536380}

wpt-commits: 30c53fa13d019394df73379d4d46450f2f2b43fa
wpt-pr: 9483
wpt-commits: 30c53fa13d019394df73379d4d46450f2f2b43fa
wpt-pr: 9483
2018-03-31 22:20:26 +01:00
moz-wptsync-bot
29c93523dc Bug 1437909 [wpt PR 9499]- Update wpt metadata, a=testonly
wpt-pr: 9499
wpt-type: metadata
2018-03-31 22:20:23 +01:00
csnardi
2e43079422 Bug 1437909 [wpt PR 9499] - Correct serialization of background-color, a=testonly
Automatic update from web-platform-testsCorrect serialization of background-color (#9499)

According to https://drafts.csswg.org/css-color/#resolving-color-values, transparent should serialize to "rgba(0, 0, 0, 0)", and named colors should serialize to their equivalent value in rgb notation. Change the expectations for 3 background tests in order to match this part of the spec.

wpt-commits: 43deb07215d283d63e2bdca51d6268eba43bbe81
wpt-pr: 9499
wpt-commits: 43deb07215d283d63e2bdca51d6268eba43bbe81
wpt-pr: 9499
2018-03-31 22:20:21 +01:00
moz-wptsync-bot
eefd369b28 Bug 1441383 [wpt PR 9458]- Update wpt metadata, a=testonly
wpt-pr: 9458
wpt-type: metadata
2018-03-31 22:20:18 +01:00
L. David Baron
3fe01a6cbc Bug 1441383 [wpt PR 9458] - Sync Mozilla tests as of 2018-02-09, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/d49553765a743ebbd4f08e92a93c9d811ee064c2 .

wpt-commits: 2a5876e6e482aa2f0be14c56dd952be7e1d9d440
wpt-pr: 9458
wpt-commits: 2a5876e6e482aa2f0be14c56dd952be7e1d9d440
wpt-pr: 9458
2018-03-31 22:20:16 +01:00
moz-wptsync-bot
5e12b3a9f1 Bug 1437747 [wpt PR 9489]- Update wpt metadata, a=testonly
wpt-pr: 9489
wpt-type: metadata
2018-03-31 22:20:13 +01:00
Josh Matthews
381c8ff573 Bug 1437747 [wpt PR 9489] - Suppress duplicate reference name warning., a=testonly
Automatic update from web-platform-testsSuppress duplicate reference name warning.

wpt-commits: 1ab6e3131e61580dd18665f16892c66b03d6f627
wpt-pr: 9489
wpt-commits: 1ab6e3131e61580dd18665f16892c66b03d6f627
wpt-pr: 9489
2018-03-31 22:20:12 +01:00
Rune Lillesveen
2dda4b4ca2 Bug 1436385 [wpt PR 9413] - Handle ::slotted in ComputeLinkMatchType., a=testonly
Automatic update from web-platform-testsHandle ::slotted in ComputeLinkMatchType.

We skipped the selector list for ::slotted looking for :visited and
:link pseudo classes and ended up applying such rules with both :visited
and :link style.

Bug: 808392
Change-Id: I85956902f3ca9cea01c96ef5c56ccf7f0ee23671
Reviewed-on: https://chromium-review.googlesource.com/904903
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536328}

wpt-commits: c6b11a5cbcd934c4394f7451529dc18269400ff1
wpt-pr: 9413
wpt-commits: c6b11a5cbcd934c4394f7451529dc18269400ff1
wpt-pr: 9413
2018-03-31 22:20:09 +01:00
Kent Tamura
1e3208e999 Bug 1437782 [wpt PR 9494] - custom-elements: document.importNode() for customized built-in elements should work, a=testonly
Automatic update from web-platform-testscustom-elements: document.importNode() for customized built-in elements should work

importNode() implementation should pass "is" value to "create an
element" algorithm.

WPT: Add a new test for importNode().

Bug: 807871
Change-Id: Id60c5577b5899aeac66b819986c34a28978e24d9
Reviewed-on: https://chromium-review.googlesource.com/915744
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536311}

wpt-commits: 79f402f76e5b78f0fae93dbff7c4ddc5cd382e04
wpt-pr: 9494
wpt-commits: 79f402f76e5b78f0fae93dbff7c4ddc5cd382e04
wpt-pr: 9494
2018-03-31 22:20:06 +01:00
Kent Tamura
39406c9545 Bug 1437752 [wpt PR 9491] - custom-elements: Support cloneNode() for customized built-in elements, a=testonly
Automatic update from web-platform-testscustom-elements: Support cloneNode() for customized built-in elements

Element::CloneElementWithoutAttributesAndChildren() should use "create
an element" algorithm with |is| value.

Note that a change in SVGScriptElement.cpp isn't necessary because
Custom Elements V1 doesn't support SVG elements. This CL updates
SVGScriptElement.cpp for consistency and clean code.

WPT: Add cloneNode() tests to custom-elements/builtin-coverage.html.

Bug: 807871
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: Iaa7d2781b916e2459ee244540d619cfffcf42427
Reviewed-on: https://chromium-review.googlesource.com/915401
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536297}

wpt-commits: 57780dfd0c0e917a9196974e2d528ac1c705136b
wpt-pr: 9491
wpt-commits: 57780dfd0c0e917a9196974e2d528ac1c705136b
wpt-pr: 9491
2018-03-31 22:20:03 +01:00
Chris Nardi
d985fc74c4 Bug 1437466 [wpt PR 9474] - Ignore order when parsing inset and color for box-shadow, a=testonly
Automatic update from web-platform-testsIgnore order when parsing inset and color for box-shadow

According to the spec [1], box-shadow should allow the inset keyword and
a color in any order. Our implementation allowed only 2 out of the 4
possible orders; fix our parsing to match the spec.

[1]: https://drafts.csswg.org/css-backgrounds/#typedef-shadow

Bug: 811083
Change-Id: I54c3d15c177702624994c45044b446fd82fc9d98
Reviewed-on: https://chromium-review.googlesource.com/911994
Commit-Queue: Chris Nardi <cnardi@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536270}

wpt-commits: 9c1c6c3d5513b9b7d46a2c57c0950875ff6dd389
wpt-pr: 9474
wpt-commits: 9c1c6c3d5513b9b7d46a2c57c0950875ff6dd389
wpt-pr: 9474
2018-03-31 22:20:01 +01:00
Eric Willigers
c227a41156 Bug 1437262 [wpt PR 9471] - CSS transform WPT: transform not transfor, a=testonly
Automatic update from web-platform-testsCSS transform WPT: transform not transfor

Check that the 'transform' property is defined,
not 'transfor'.

Change-Id: Id97d408da5ad899975bf8148809ff323f87781de
Reviewed-on: https://chromium-review.googlesource.com/912788
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536198}

wpt-commits: 18c9b8a4a22ee46ab9374ad52cbcacc1a76b2e8e
wpt-pr: 9471
wpt-commits: 18c9b8a4a22ee46ab9374ad52cbcacc1a76b2e8e
wpt-pr: 9471
2018-03-31 22:19:58 +01:00
Joshua Bell
04e1874b24 Bug 1437643 [wpt PR 9486] - Async Cookies: Fix globals in idlharness test, a=testonly
Automatic update from web-platform-testsAsync Cookies: Fix globals in idlharness test

Globals (Window, ServiceWorkerGlobalScope, etc) get special bindings
treatment for methods/properties and IDL tests for features need to
declare these types correctly for correct results. Fix the SW test for
the new cookie store API by marking the global with the [Global]
extended attribute; this reveals that our implementation passes all
the bindings test cases.

Bug: 729800
Change-Id: I87747ed2af8d932342e24c9400524d88c9df73a7
Reviewed-on: https://chromium-review.googlesource.com/914568
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536189}

wpt-commits: b0e401ab8394d8117db2bce6095dedf0150c66d6
wpt-pr: 9486
wpt-commits: b0e401ab8394d8117db2bce6095dedf0150c66d6
wpt-pr: 9486
2018-03-31 22:19:55 +01:00
Josh Matthews
3387e1c2ed Bug 1437475 [wpt PR 9476] - Fix import error for Servo executor., a=testonly
Automatic update from web-platform-testsFix import error for Servo executor.
--
Fix import error for servodriver.

wpt-commits: 3edd5226710523b1faca24921159ca1b8b27f6e5, cdfdcce8c8808deb66a7996b287e1211d21af8fb
wpt-pr: 9476
wpt-commits: 3edd5226710523b1faca24921159ca1b8b27f6e5, cdfdcce8c8808deb66a7996b287e1211d21af8fb
wpt-pr: 9476
2018-03-31 22:19:52 +01:00
Raymond Toy
bd14e71afe Bug 1437041 [wpt PR 9441] - Upstream IIRFilterNode tests to WPT, a=testonly
Automatic update from web-platform-testsUpstream IIRFilterNode tests to WPT

Needed to include a copy of biquad-filters.js, so we have two copies
of this now.

Bug: 745778
Test: webaudio/IIRFilter moved to WPT
Change-Id: I7d4bf534b6502c7d5d38bfb490adf71862427a69
Reviewed-on: https://chromium-review.googlesource.com/909306
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536125}

wpt-commits: 0eb48551ba11bf4a2c66b856bf5da95ba0fefbd5
wpt-pr: 9441
wpt-commits: 0eb48551ba11bf4a2c66b856bf5da95ba0fefbd5
wpt-pr: 9441
2018-03-31 22:19:51 +01:00
Domenic Denicola
d775a032e5 Bug 1437557 [wpt PR 9396] - Add tests for already-started + emptyish script element, a=testonly
Automatic update from web-platform-testsAdd tests for already-started + emptyish script element

Follows https://github.com/whatwg/html/pull/3451.

wpt-commits: 9354b7ca6002e7d6351fa352440e6468e69c9eee
wpt-pr: 9396
wpt-commits: 9354b7ca6002e7d6351fa352440e6468e69c9eee
wpt-pr: 9396
2018-03-31 22:19:48 +01:00
moz-wptsync-bot
80ef7b0ad9 Bug 1437488 [wpt PR 9479]- Update wpt metadata, a=testonly
wpt-pr: 9479
wpt-type: metadata
2018-03-31 22:19:45 +01:00
Philipp Hancke
3595be41dc Bug 1437488 [wpt PR 9479] - Improve RTCRtpSender.replaceTrack tests' Firefox compatibility, a=testonly
Automatic update from web-platform-testsImprove RTCRtpSender.replaceTrack tests' Firefox compatibility

The current test relies on addTrack(track) which is not the
API tested. Using addTrack(track, stream) works in Firefox
as well as Chrome.

BUG=790007

Change-Id: I098101cd6556620c42b4f51df98ef54b0a8ad1f7
Reviewed-on: https://chromium-review.googlesource.com/912289
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536063}

wpt-commits: e02ec4ac5b399ee2fe41b7628b58f305f7d66558
wpt-pr: 9479
wpt-commits: e02ec4ac5b399ee2fe41b7628b58f305f7d66558
wpt-pr: 9479
2018-03-31 22:19:43 +01:00
Bhagirathi Satpathy
26d24acc0d Bug 1436429 [wpt PR 9423] - Sync StyleSheet |media|, CSSPageRule |style| IDL attribute as per the spec, a=testonly
Automatic update from web-platform-testsSync StyleSheet |media|, CSSPageRule |style| IDL attribute as per the spec

Modified StyleSheet |media|and CSSPageRule |style| IDL attribute
to match the specification.

https://drafts.csswg.org/cssom/#the-stylesheet-interface
https://drafts.csswg.org/cssom/#the-csspagerule-interface

Bug: 811173

Change-Id: Ifa2630e72fb66898fcb82a444162c8f2f41c7ac2
Reviewed-on: https://chromium-review.googlesource.com/903803
Commit-Queue: Bhagirathi Satpathy <bhagirathi.s@samsung.com>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536051}

wpt-commits: bce631c9cd1bcd93769b035713f404a89ab28d2d
wpt-pr: 9423
wpt-commits: bce631c9cd1bcd93769b035713f404a89ab28d2d
wpt-pr: 9423
2018-03-31 22:19:41 +01:00
Morten Stenshorne
b72a98180e Bug 1437045 [wpt PR 9442] - [LayoutNG] Improve min/max calculation wrt. floats., a=testonly
Automatic update from web-platform-tests[LayoutNG] Improve min/max calculation wrt. floats.

The presence of floats complicate min/max intrinsic inline size
calculation. They affect lines and child blocks in the same block
formatting context. Therefore, when calculating min/max sizes of a
child, we need to pass along information about floats adjacent to the
current "virtual" block position.

This change actually makes NG slightly "better" than legacy Blink
layout, Edge and Firefox. This may be an issue for compatibility. It
should be fairly easy to "dumb down" the machinery to be compatible with
the others, though, if this should become an issue. Two tests regressed
because of this. Reported bug 810370. This change also caused
grid-item-margins-not-collapse-expected.html to make room for the floats to
fit beside each other, so I modified it. Also removed bogus "margin"
attributes.

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: I59730d7333fa7699a42ab93d2c4674c267d834aa
Reviewed-on: https://chromium-review.googlesource.com/908753
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536044}

wpt-commits: 84696c45e08c43b0e26888ac0a4823769c067228
wpt-pr: 9442
wpt-commits: 84696c45e08c43b0e26888ac0a4823769c067228
wpt-pr: 9442
2018-03-31 22:19:38 +01:00
Simon Pieters
69d33f8809 Bug 1441381 [wpt PR 9231] - Test document.body and document.bgColor when root is not <html>, a=testonly
Automatic update from web-platform-testsTest document.body and document.bgColor when root is not <html> (#9231)

See https://github.com/whatwg/html/issues/3403

wpt-commits: 7996359a0b41061c4c6e7fa2db8ef18b65587820
wpt-pr: 9231
wpt-commits: 7996359a0b41061c4c6e7fa2db8ef18b65587820
wpt-pr: 9231
2018-03-31 22:19:35 +01:00
moz-wptsync-bot
77dbe42092 Bug 1437467 [wpt PR 9475]- Update wpt metadata, a=testonly
wpt-pr: 9475
wpt-type: metadata
2018-03-31 22:19:32 +01:00
Darren Shen
fbddcc10bc Bug 1437467 [wpt PR 9475] - [css-typed-om] Implement CSSTransformComponent.toMatrix()., a=testonly
Automatic update from web-platform-tests[css-typed-om] Implement CSSTransformComponent.toMatrix().

This patch implements CSSTransformComponent.toMatrix(), which was
previously implemented as AsMatrix() but just not webexposed. We also
split up the tests since it makes more sense.

Bug: 807877
Change-Id: Icee742fdde033d63cea85a27250e91a71ad67e2a
Reviewed-on: https://chromium-review.googlesource.com/910529
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536022}

wpt-commits: 8d2483fc61ae071d6aa9126d0417814a22dd4134
wpt-pr: 9475
wpt-commits: 8d2483fc61ae071d6aa9126d0417814a22dd4134
wpt-pr: 9475
2018-03-31 22:19:30 +01:00
Darren Shen
59096662c2 Bug 1436399 [wpt PR 9417] - [css-typed-om] Test that styleMap.set rejects invalid values., a=testonly
Automatic update from web-platform-tests[css-typed-om] Test that styleMap.set rejects invalid values.

Currently, our per-property tests only test that styleMap.set accept
valid values. This patch refactors the per-property tests a bit to
also test that we reject invalid values.

Bug: 774887
Change-Id: I41b5c4c1a6dfe6e766ff37fdc1b1f890dfb81aac
Reviewed-on: https://chromium-review.googlesource.com/905523
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536021}

wpt-commits: 9d904638217b0c43b0e741829f1998d38a61337d
wpt-pr: 9417
wpt-commits: 9d904638217b0c43b0e741829f1998d38a61337d
wpt-pr: 9417
2018-03-31 22:19:27 +01:00
Eric Willigers
2ca11ca6a0 Bug 1437257 [wpt PR 9469] - CSS translate: serialize % as percent for computed values, a=testonly
Automatic update from web-platform-testsCSS translate: serialize % as percent for computed values

The CSS translate property no longer resolves percentages
in getComputedStyle results.

CSS WG Resolution:
RESOLVED: % values of translate are serialized as percent for
computed values. Add note making the behavior explicit.

https://github.com/w3c/csswg-drafts/issues/2124

BUG=811027

Change-Id: I6f9b60c285d1eccc2e13ff0e806794df5cce5151
Reviewed-on: https://chromium-review.googlesource.com/912052
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#536010}

wpt-commits: 9b23a0cbf6476d3f1d0b25b9bda8e5249725b00b
wpt-pr: 9469
wpt-commits: 9b23a0cbf6476d3f1d0b25b9bda8e5249725b00b
wpt-pr: 9469
2018-03-31 22:19:24 +01:00