Commit Graph

591411 Commits

Author SHA1 Message Date
Rakina Zata Amni
4882957508 Bug 1451593 [wpt PR 10325] - Remove stylesheet of link element when rel != stylesheet, a=testonly
Automatic update from web-platform-testsRemove stylesheet of link element when rel != stylesheet

Stylesheets from link elements that previously have rel = "stylesheet"
but then changed to something else should be removed/not considered
anymore until the rel attribute is changed back to "stylesheet" again.

Currently this works correctly for link elements in the document tree,
but fails in link elements within a shadow tree because link elements
in shadow tree with rel attribute != "stylesheet"  are skipped from
processing. Because of that, the stylesheet in the link element was
never cleared and no style recalc happened.
JSBin from bug: http://jsbin.com/bojunajaju/edit?html,console,output

Bug: 817355
Change-Id: I57c71c79c0cc471d36eb988b8a81eef82c33548a
Reviewed-on: https://chromium-review.googlesource.com/995116
Commit-Queue: Rakina Zata Amni <rakina@chromium.org>
Reviewed-by: Hayato Ito <hayato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548357}

wpt-commits: 5c9b2cf251344dd18522bd3fc88742533ce54d5a
wpt-pr: 10325
wpt-commits: 5c9b2cf251344dd18522bd3fc88742533ce54d5a
wpt-pr: 10325
2018-04-15 09:29:34 +01:00
Behind The Math
3b013630f2 Bug 1451598 [wpt PR 10326] - Add tests to check that the User-Agent header is set for XHR requests, a=testonly
Automatic update from web-platform-testsAdd tests to check that the User-Agent header is set for XHR requests

wpt-commits: c6247d29cf2f5e767983783f316080973d956fa3
wpt-pr: 10326
wpt-commits: c6247d29cf2f5e767983783f316080973d956fa3
wpt-pr: 10326
2018-04-15 09:29:26 +01:00
Morten Stenshorne
7fc9c240c6 Bug 1452283 [wpt PR 10304] - Out-of-flow descendants may still be part of the flow thread., a=testonly
Automatic update from web-platform-testsOut-of-flow descendants may still be part of the flow thread.

When changing a layout object from in-flow to out-of-flow positioned, we
used to just remove it from the flow thread, risking that there'd no
longer be a column set to associate it with. However, an out-of-flow
positioned descendant may be contained by something that's inside the
flow thread, e.g. if the containing block of an absolutely positioned
object is a relatively positioned object, and that relatively positioned
object is contained by the flow thread.

Since it's hard to detect what the new containing block of an object is
going to be before it has actually gone out of flow, we'll still remove
it from the flow thread, but we'll now detect that we need to re-insert
it when computed style has updated.

Bug: 827424
Change-Id: I413348b0d3ecd0c4b5051e6e9d2a4526863bef60
Reviewed-on: https://chromium-review.googlesource.com/995439
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548354}

wpt-commits: 297db81150f9a96a0d4582a9fed93f86c8e56a36
wpt-pr: 10304
wpt-commits: 297db81150f9a96a0d4582a9fed93f86c8e56a36
wpt-pr: 10304
2018-04-15 09:29:18 +01:00
Fergal Daly
ce44dec3e7 Bug 1449819 [wpt PR 10228] - CSS: Add WPT tests for basic ::part() functionality., a=testonly
Automatic update from web-platform-testsCSS: Add WPT tests for basic ::part() functionality.

https://drafts.csswg.org/css-shadow-parts/

Tests cover the following:
- Simple - Part in selected host is styled
- Host Stylesheet - Part in selected host is not styled by ::part in a stylesheet inside the host
- Different Host - Part is not styled when host is not selected
- Inner Host
 - Part in outer host is styled by document style sheet
 - Part in inner host is not styled by document style sheet
- Compound Positive - Compound selector for host works
- Compound Negative - Non-matching compound selector for host does not style
- All Hosts
 - ::part with host selector styles in first host
 - ::part with host selector styles in second host
- Chaining Negative - ::part cannot be chained to reach elements in the inner host

Bug: 805271
Change-Id: I8c16ae09547bd833dbcc1eb0afb8be91a40c0a8e
Reviewed-on: https://chromium-review.googlesource.com/983833
Commit-Queue: Fergal Daly <fergal@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Takayoshi Kochi <kochi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548349}

wpt-commits: 54f844cf7cdfea12f59979c27781a4a52be335c5
wpt-pr: 10228
wpt-commits: 54f844cf7cdfea12f59979c27781a4a52be335c5
wpt-pr: 10228
2018-04-15 09:29:10 +01:00
Darren Shen
a1d99bddae Bug 1449820 [wpt PR 10229] - [css-typed-om] Add support for grid properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Add support for grid properties.

This patch adds support for some grid properties.

We add a new <flex> CSS value object, which meant rebaselining all the tests.

We're failing some tests because the 'grid', 'grid-template' and
'grid-gap' shorthands don't serialize to anything [1], so Typed OM
can't create an unsupported style value from it. Not sure if this is
a bug...

[1] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/css/StylePropertySerializer.cpp?type=cs&l=406

Bug: 820299
Change-Id: I8ff871fffed2977ca20a623bd283d7cbdc247870
Reviewed-on: https://chromium-review.googlesource.com/984756
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548296}

wpt-commits: 1d216465df83a087ff7be270a17db4a0e380aece
wpt-pr: 10229
wpt-commits: 1d216465df83a087ff7be270a17db4a0e380aece
wpt-pr: 10229
2018-04-15 09:29:02 +01:00
Yoav Weiss
d12cf0846f Bug 1451202 [wpt PR 10302] - Fix Server-Timing tests for Webkit, a=testonly
Automatic update from web-platform-testsMerge pull request #10302 from cvazac/server-timing-parsing-tests

Fix Server-Timing tests for Webkit

wpt-commits: 8e19a807e18f603e94aef06d9e2ec30200463615
wpt-pr: 10302
wpt-commits: 8e19a807e18f603e94aef06d9e2ec30200463615
wpt-pr: 10302
2018-04-15 09:28:55 +01:00
moz-wptsync-bot
646873acb0 Bug 1451557 [wpt PR 10324] - Update wpt metadata, a=testonly
wpt-pr: 10324
wpt-type: metadata
2018-04-15 09:28:48 +01:00
L. David Baron
6762a9b58a Bug 1451557 [wpt PR 10324] - Sync Mozilla reftests as of 2018-04-05, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/071ee904485e21e19ca08456d32bce6825b77a26 . (#10324)

wpt-commits: 8de5d1816566e73f5c446ec20f3937c10aaa706f
wpt-pr: 10324
wpt-commits: 8de5d1816566e73f5c446ec20f3937c10aaa706f
wpt-pr: 10324
2018-04-15 09:28:41 +01:00
Stephen McGruer
789c18cedb Bug 1451026 [wpt PR 10281] - Web Animations: Fix bug with Document::getAnimations, a=testonly
Automatic update from web-platform-testsWeb Animations: Fix bug with Document::getAnimations

Per spec, we should exclude effects that do not target an element in
the called document:

https://drafts.csswg.org/web-animations-1/#dom-document-getanimations

Bug: 828424
Change-Id: I41405d82184b17c1185931e34735a5f946573844
Reviewed-on: https://chromium-review.googlesource.com/992812
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548156}

wpt-commits: c148004d6600cc0530d41ec285f2cf80f443052f
wpt-pr: 10281
wpt-commits: c148004d6600cc0530d41ec285f2cf80f443052f
wpt-pr: 10281
2018-04-15 09:28:33 +01:00
Henrik Boström
bb6b09d7e7 Bug 1450127 [wpt PR 10247] - RTCPeerConnection.getStats(MediaStreamTrack? selector = null) added., a=testonly
Automatic update from web-platform-testsRTCPeerConnection.getStats(MediaStreamTrack? selector = null) added.

Implements the RTCPeerConnection.getStats(MediaStreamTrack) version[1]
of the stats selection algorithm behind flag. This is the equivalent of
doing RTCRtpSender.getStats() or RTCRtpReceiver.getStats() for the
track's sender or receiver. This is tested in external/wpt/.

Due to limitations of the generated V8 bindings it is not possible to
express all versions of RTCPeerConnection.getStats() at the same time
in IDL. Thus this CL introduces a version of getStats() taking
"optional any callbacksOrSelector" as argument, with custom binding
logic performed in RTCPeerConnection.cpp. A fast/peerconnection/
LayoutTest is added to test all combinations.

[1] https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-getstats

Bug: 680172
Change-Id: I8c64fc64c708d266c926dfa3eb3587c4cbb31210
Reviewed-on: https://chromium-review.googlesource.com/978128
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548149}

wpt-commits: 7ba8056fed36440665a9ff9ee756b7146e9a1777
wpt-pr: 10247
wpt-commits: 7ba8056fed36440665a9ff9ee756b7146e9a1777
wpt-pr: 10247
2018-04-15 09:28:25 +01:00
L. David Baron
f40a959fe7 Bug 1450756 [wpt PR 10273] - Sync Mozilla tests as of 2018-04-02, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/c44f60c43432d468639b5fe078420e60c13fd3de . (#10273)

wpt-commits: 400beb3224884391b8d00ceecdfa2250a218e927
wpt-pr: 10273
wpt-commits: 400beb3224884391b8d00ceecdfa2250a218e927
wpt-pr: 10273
2018-04-15 09:28:18 +01:00
Conley Owens
e214eb1ddc Bug 1450351 [wpt PR 10257] - bluetooth: web: test: Use AllResponsesConsumed, a=testonly
Automatic update from web-platform-testsbluetooth: web: test: Use AllResponsesConsumed

This change uses AllResponsesConsumed in the bluetooth Web Platform
Tests in order to make sure we have consumed all the anticipatory
responses that we've set on our fakes.

BUG=569709

Change-Id: I9767792fcd5dda71fabf2f8941638f744aefa2dc
Reviewed-on: https://chromium-review.googlesource.com/988422
Commit-Queue: Conley Owens <cco3@chromium.org>
Reviewed-by: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548125}

wpt-commits: 148f026e5178b0b8d77e8f374671c9c5ff1545bf
wpt-pr: 10257
wpt-commits: 148f026e5178b0b8d77e8f374671c9c5ff1545bf
wpt-pr: 10257
2018-04-15 09:28:10 +01:00
Anne van Kesteren
074f947581 Bug 1450945 [wpt PR 10279] - New MIME type parsing tests, a=testonly
Automatic update from web-platform-testsNew MIME type parsing tests

Tests suggested at https://github.com/w3c/web-platform-tests/issues/1851#issuecomment-378032606.

Co-Authored-By: Matt Menke <mmenke@google.com>

wpt-commits: ef7fe9a35d808528f92f29b70e4b7ee273c75c85
wpt-pr: 10279
wpt-commits: ef7fe9a35d808528f92f29b70e4b7ee273c75c85
wpt-pr: 10279
2018-04-15 09:28:03 +01:00
Navid Zolghadr
178a495c46 Bug 1449988 [wpt PR 10241] - Fix up the touch-action tests, a=testonly
Automatic update from web-platform-testsFix up the touch-action tests

Move the touch-action: pan-left/right/up/down tests to
the next version of the spec.
https://github.com/w3c/pointerevents/pull/238

Bug: 826726
Change-Id: Icab0e439e0c2281f0c9fc78eec0a41a044f37f71
Reviewed-on: https://chromium-review.googlesource.com/984736
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548078}

wpt-commits: 48df374681de1672f3826915161f6c2e12ec4d59
wpt-pr: 10241
wpt-commits: 48df374681de1672f3826915161f6c2e12ec4d59
wpt-pr: 10241
2018-04-15 09:27:55 +01:00
Philip Jägenstedt
007eee9727 Bug 1451257 [wpt PR 10303] - Simplify assert_throws in two places where error messages were passed, a=testonly
Automatic update from web-platform-testsSimplify assert_throws in two places where error messages were passed

This was discovered in
https://chromium-review.googlesource.com/c/chromium/src/+/980757 by
letting assert_throws also check that the message matches. That change
itself isn't a good idea, but it's still just as well to use plain
TypeErrors here to not make it seems like more is being tested than in
fact is.

Change-Id: I8f964e9b25cc94942cb86f3ee0017530f230e04a
Reviewed-on: https://chromium-review.googlesource.com/995192
Reviewed-by: Adam Rice <ricea@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548060}

wpt-commits: 168e0e121c233c19292757f66fd949a444efffc1
wpt-pr: 10303
wpt-commits: 168e0e121c233c19292757f66fd949a444efffc1
wpt-pr: 10303
2018-04-15 09:27:48 +01:00
Darren Shen
dcc242e26f Bug 1449403 [wpt PR 10202] - [css-typed-om] Support animation and transition properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Support animation and transition properties.

This patch supports all the animation/transition properties except
animation-name and transition-property (need spec feedback first).
We also fix the <time> tests so that computed time values use canonical
units as spec'd in [1].

[1] https://github.com/w3c/css-houdini-drafts/issues/725

Bug: 820299
Change-Id: I7c038ce419f8bdb1c789493554776c5e7f9810c7
Reviewed-on: https://chromium-review.googlesource.com/983094
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548017}

wpt-commits: e50234432b0ada957446c990c92db9443a7b78fe
wpt-pr: 10202
wpt-commits: e50234432b0ada957446c990c92db9443a7b78fe
wpt-pr: 10202
2018-04-15 09:27:40 +01:00
Philip Jägenstedt
1b3054a2ab Bug 1449889 [wpt PR 10238] - Document useful arguments for wpt run chrome, a=testonly
Automatic update from web-platform-testsDocument useful arguments for `wpt run chrome` (#10238)

wpt-commits: 162e9dda47d694596620b69c5fb23cc7f0f87126
wpt-pr: 10238
wpt-commits: 162e9dda47d694596620b69c5fb23cc7f0f87126
wpt-pr: 10238
2018-04-15 09:27:32 +01:00
Mike Pennisi
81fbafe61b Bug 1452281 [wpt PR 10294] - Correct reference to certificate file, a=testonly
Automatic update from web-platform-testsCorrect reference to certificate file

wpt-commits: 2b3f9012767698e957214631bbe710cb25ee8b26
wpt-pr: 10294
wpt-commits: 2b3f9012767698e957214631bbe710cb25ee8b26
wpt-pr: 10294
2018-04-15 09:27:24 +01:00
Koji Ishii
e86bb4615d Bug 1450636 [wpt PR 10268] - Fix a typo in wpt/css/css-text-decor/text-emphasis-style-001.html, a=testonly
Automatic update from web-platform-testsFix a typo in wpt/css/css-text-decor/text-emphasis-style-001.html

This test does not pass because of a typo in the ref file.

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

wpt-commits: c218fe33f47ca555d303dedeb117c205dc2a19a1
wpt-pr: 10268
wpt-commits: c218fe33f47ca555d303dedeb117c205dc2a19a1
wpt-pr: 10268
2018-04-15 09:27:17 +01:00
Marijn Kruisselbrink
ef44fb312b Bug 1436388 [wpt PR 9353] - [Mojo Blob URLs] Resolve navigation blob URLs in blink., a=testonly
Automatic update from web-platform-tests[Mojo Blob URLs] Resolve navigation blob URLs in blink.

This makes sure that no race conditions exist between navigating to a
blob URL and revoking it. Currently only implemented for the network
service code path.

Also add one more navigation-then-revoke WPT test, as the existing tests
didn't cover the NavigationScheduler code-path.

Design doc: https://docs.google.com/document/d/1DqVcTWE9Qb_3KpIRH2bFV-6hWEr8S92c4ppY67YL1KI/edit#heading=h.n4fzuc6mgziv

Further navigation cases are handled in https://chromium-review.googlesource.com/c/chromium/src/+/899508.

Bug: 800901
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Icf9a4725526b4329a2841626977292802ad2fa7a
Reviewed-on: https://chromium-review.googlesource.com/898009
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547842}

wpt-commits: 992147614f6cdd4fcb8b03e19c9af25cacacd192
wpt-pr: 9353
wpt-commits: 992147614f6cdd4fcb8b03e19c9af25cacacd192
wpt-pr: 9353
2018-04-15 09:27:09 +01:00
Luke Bjerring
8cc71c04cb Bug 1450981 [wpt PR 10280] - Throw IdlHarnessError outside try, a=testonly
Automatic update from web-platform-testsThrow IdlHarnessError outside try

wpt-commits: 81e900a6b04e9ba9bd07a478e2b0d349c02646c6
wpt-pr: 10280
wpt-commits: 81e900a6b04e9ba9bd07a478e2b0d349c02646c6
wpt-pr: 10280
2018-04-15 09:27:03 +01:00
Luke Bjerring
18b199c29a Bug 1452643 [wpt PR 9884] - Updated filter-effects IDL file, a=testonly
Automatic update from web-platform-testsUpdated filter-effects IDL file (#9884)

* Updated filter-effects IDL file

wpt-commits: 2bbb6b41d8804b0e9097a7723835409a67f602c6
wpt-pr: 9884
wpt-commits: 2bbb6b41d8804b0e9097a7723835409a67f602c6
wpt-pr: 9884
2018-04-15 09:26:56 +01:00
Jonathon Kereliuk
b46dd9c37b Bug 1447415 [wpt PR 10113] - Automated Keyboard Input, a=testonly
Automatic update from web-platform-testsAutomated Keyboard Input (#10113)

wpt-commits: 8f93a78175a1c98e6d36bd8293ff5525edd0da91
wpt-pr: 10113
wpt-commits: 8f93a78175a1c98e6d36bd8293ff5525edd0da91
wpt-pr: 10113
2018-04-15 09:26:48 +01:00
Luke Bjerring
d36576e709 Bug 1452643 [wpt PR 9886] - Updated ServiceWorker IDL file, a=testonly
Automatic update from web-platform-testsUpdated ServiceWorker IDL file (#9886)

* Updated ServiceWorker IDL file

wpt-commits: 51b2242a8a064a83f1a993036a3f29848b933991
wpt-pr: 9886
wpt-commits: 51b2242a8a064a83f1a993036a3f29848b933991
wpt-pr: 9886
2018-04-15 09:26:41 +01:00
moz-wptsync-bot
13e7a2dc8e Bug 1436588 [wpt PR 9373] - Update wpt metadata, a=testonly
wpt-pr: 9373
wpt-type: metadata
2018-04-15 09:26:34 +01:00
Chris Lilley
868ab2a997 Bug 1436588 [wpt PR 9373] - [css-fonts-4] Contribute Microsoft tests for Font Variations, a=testonly
Automatic update from web-platform-testsMerge pull request #9373 from w3c/user/frremy/contribute-css-fonts-4-tests

[css-fonts-4] Contribute Microsoft tests for Font Variations

wpt-commits: 00308147d33bdd04344e2308036e30c957b64915
wpt-pr: 9373
wpt-commits: 00308147d33bdd04344e2308036e30c957b64915
wpt-pr: 9373
2018-04-15 09:26:26 +01:00
moz-wptsync-bot
b57028a1b5 Bug 1445437 [wpt PR 10014] - Update wpt metadata, a=testonly
wpt-pr: 10014
wpt-type: metadata
2018-04-15 09:26:20 +01:00
Chris Nardi
ab6c5a9a29 Bug 1445437 [wpt PR 10014] - Rewrite CSSOM index tests, a=testonly
Automatic update from web-platform-testsRewrite CSSOM index tests

index-001.html and index-002.html had nondescript names, and index-002.html used generate_tests. Merge index-001.html into shorthand-serialization.html, and create shorthand-values.html from index-002.html.

Builds off the work of #5331.

--
Correct serialization of overflow

wpt-commits: d30e62092787a340b4cfbeb0434a75e15028f69d, 09329e8bb6498a74cc8c054a263b2698a72d2f8e
wpt-pr: 10014
wpt-commits: d30e62092787a340b4cfbeb0434a75e15028f69d, 09329e8bb6498a74cc8c054a263b2698a72d2f8e
wpt-pr: 10014
2018-04-15 09:26:13 +01:00
Harald Alvestrand
4a4c36489e Bug 1450921 [wpt PR 10278] - Don't enforce name rule for RTCDTMFToneChangeEvent, a=testonly
Automatic update from web-platform-testsDon't enforce name rule for RTCDTMFToneChangeEvent

Since the constructor of RTCDTMFToneChangeEvent is exposed,
creating such events with other names than "tonechange" is possible.
No reason to discriminate against such.

Also adds tests for constructor.

Bug: chromium:822799
Change-Id: I4b36f3094acee200dd4200c4d24f6b46e10a06e6
Reviewed-on: https://chromium-review.googlesource.com/992038
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547742}

wpt-commits: 6e2b4a77cb3d321b5d8a91bdbe4bbf8a0d777781
wpt-pr: 10278
wpt-commits: 6e2b4a77cb3d321b5d8a91bdbe4bbf8a0d777781
wpt-pr: 10278
2018-04-15 09:26:06 +01:00
Boris Zbarsky
a226ee98a3 Bug 1452643 [wpt PR 10286] - Use stable error messages in the link onload event tests by default., a=testonly
Automatic update from web-platform-testsMerge pull request #10286 from bzbarsky/stable-error-messages-for-link-load

Use stable error messages in the link onload event tests by default.

wpt-commits: f527ada08cea94e63a40712062073d6ed37c8526
wpt-pr: 10286
wpt-commits: f527ada08cea94e63a40712062073d6ed37c8526
wpt-pr: 10286
2018-04-15 09:25:58 +01:00
Cameron McCormack
517b92133b Bug 1450835 [wpt PR 10276] - fix reftest-wait typo, a=testonly
Automatic update from web-platform-testsfix reftest-wait typo (#10276)

wpt-commits: 7c51ebb41e2a9dca875aa77ac8d0542e2dade5b9
wpt-pr: 10276
wpt-commits: 7c51ebb41e2a9dca875aa77ac8d0542e2dade5b9
wpt-pr: 10276
2018-04-15 09:25:51 +01:00
Adam Rice
0ec5aeda13 Bug 1450629 [wpt PR 10267] - ReadableStream: getReader() should call ToString() on mode, a=testonly
Automatic update from web-platform-testsReadableStream: getReader() should call ToString() on mode

When the "mode" option is not undefined, getReader({mode}) algorithm
calls ToString() on it before checking whether or not it is "blob". Add
a test to ensure this conversion is done.

wpt-commits: ea469b6059e82729ef04cd90758fc9b52b733c7f
wpt-pr: 10267
wpt-commits: ea469b6059e82729ef04cd90758fc9b52b733c7f
wpt-pr: 10267
2018-04-15 09:25:43 +01:00
Darren Shen
685e189afc Bug 1449816 [wpt PR 10227] - [css-typed-om] Add a few keyword properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Add a few keyword properties.

Add support for the following properties:
- image-rendering
- text-anchor
- text-combine-upright
- text-overflow
- text-rendering
- transform-style
- user-select

Lots of failing tests, usually because a keyword isn't implemented in
Blink yet.

Bug: 820299
Change-Id: Ifd0193ac55d12a31d28b486166ad78a38012314b
Reviewed-on: https://chromium-review.googlesource.com/985337
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547665}

wpt-commits: 7164dbb89f01dc5c55d27067f014b50c06d0d73e
wpt-pr: 10227
wpt-commits: 7164dbb89f01dc5c55d27067f014b50c06d0d73e
wpt-pr: 10227
2018-04-15 09:25:36 +01:00
Ovidio Henriquez
dc3332f6a6 Bug 1449008 [wpt PR 9322] - bluetooth: web: test: Update blocklist UUID tests, a=testonly
Automatic update from web-platform-testsbluetooth: web: test: Update blocklist UUID tests

This change updates the blocklisted UUID tests to use the Web
Bluetooth Test API. This will allow the test to be migrated into wpt/.

BUG=509038

Change-Id: I72acd10e5aabc4c03f955dc4c7b2a8620930cc2d
Reviewed-on: https://chromium-review.googlesource.com/894738
Commit-Queue: Ovidio Henriquez <odejesush@chromium.org>
Reviewed-by: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547588}

wpt-commits: 02bf90086b80366a87edee52090a62896dd2391d
wpt-pr: 9322
wpt-commits: 02bf90086b80366a87edee52090a62896dd2391d
wpt-pr: 9322
2018-04-15 09:25:28 +01:00
Chris Nardi
2ca8f0adba Bug 1450714 [wpt PR 10270] - Serialize font shorthand like any other shorthand, a=testonly
Automatic update from web-platform-testsSerialize font shorthand like any other shorthand

The font shorthand had a short-circuit in StylePropertySerializer, which
meant that it was never serialized as a shorthand for style.cssText,
citing reasons of web incompatibility. However, it appears that all
other major browsers serialize font as a shorthand instead of having
style.cssText expand to all properties. Remove this short-circuit to
match other browsers.

Bug: 827921
Change-Id: I4d522b41a6153808b6b8dab17831afdd8315fdc3
Reviewed-on: https://chromium-review.googlesource.com/989834
Commit-Queue: Chris Nardi <cnardi@chromium.org>
Reviewed-by: Timothy Loh <timloh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547607}

wpt-commits: 939b30a8b26ee46598d531034b40baf87d33f08a
wpt-pr: 10270
wpt-commits: 939b30a8b26ee46598d531034b40baf87d33f08a
wpt-pr: 10270
2018-04-15 09:25:21 +01:00
Domenic Denicola
086b01a799 Bug 1450754 [wpt PR 10272] - Fix customElements.upgrade() tests for <template>, a=testonly
Automatic update from web-platform-testsFix customElements.upgrade() tests for <template> (#10272)

* Fix customElements.upgrade() tests for <template>

See https://github.com/w3c/web-platform-tests/pull/9869#issuecomment-378002725.

* Actually fix things

wpt-commits: 5b68d219206139c0bfeec65c88e765749aed57fb
wpt-pr: 10272
wpt-commits: 5b68d219206139c0bfeec65c88e765749aed57fb
wpt-pr: 10272
2018-04-15 09:25:14 +01:00
Lukasz Anforowicz
4e0901086f Bug 1450304 [wpt PR 10254] - Make CORB MIME type classification consistent with the web specs., a=testonly
Automatic update from web-platform-testsMake CORB MIME type classification consistent with the web specs.

https://tools.ietf.org/html/rfc7303 says that if "new media type is
introduced for an XML-based format, the name of the media type SHOULD
end with '+xml'".

https://tools.ietf.org/html/rfc6839 covers '+xml' and '+json' suffixes.

https://mimesniff.spec.whatwg.org/#xml-mime-type says "An XML MIME type
is any MIME type whose subtype ends in '+xml' or whose essence is
'text/xml' or 'application/xml'. [RFC7303]".

https://mimesniff.spec.whatwg.org/#json-mime-type says "A JSON MIME type
is any MIME type whose subtype ends in '+json' or whose essence is
'application/json' or 'text/json'."

There are no occurences of "application/xml+", "text/xml+",
"application/json+", "text/json+" or "text/x-json" in the specs above
and on various lists of MIME types like:
-
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
- https://en.wikipedia.org/wiki/Media_type
- https://www.freeformatter.com/mime-types-list.html
- https://www.sitepoint.com/mime-types-complete-list/

Bug: 826756
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ied30f9728bd4f082bb620fea150f342457ea4833
Reviewed-on: https://chromium-review.googlesource.com/985211
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547565}

wpt-commits: 24f7e6d2f6d2377c15332de4668ffeea399ae6eb
wpt-pr: 10254
wpt-commits: 24f7e6d2f6d2377c15332de4668ffeea399ae6eb
wpt-pr: 10254
2018-04-15 09:25:06 +01:00
Joshua Bell
e89fc29570 Bug 1450068 [wpt PR 10244] - Cookie Store API: Split out and enable test cases, a=testonly
Automatic update from web-platform-testsCookie Store API: Split out and enable test cases

Split out cases from a master "cookie-store-tests.js" suite,
allowing them to be enabled/debugged separately.

Also updates observation tests to use the new "change" event,
and deletes "static" since we can assume a dependency on a test
server here.

Bug: 783229
Change-Id: I9e29ea74a2f0513a033a8f9c71da2836c000ee27
Reviewed-on: https://chromium-review.googlesource.com/986649
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547543}

wpt-commits: 94b7255991af7f0ddf582ff316b069c54e0e87b8
wpt-pr: 10244
wpt-commits: 94b7255991af7f0ddf582ff316b069c54e0e87b8
wpt-pr: 10244
2018-04-15 09:24:59 +01:00
Lukasz Anforowicz
e92a6cdf4e Bug 1449645 [wpt PR 10213] - Tests and docs for the current CORB vs <link rel="preload"> behavior., a=testonly
Automatic update from web-platform-testsTests and docs for the current CORB vs <link rel="preload"> behavior.

Bug: 809261
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Idafb2b4cc5da3d6c7a054e479745288cc3b86513
Reviewed-on: https://chromium-review.googlesource.com/984338
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547494}

wpt-commits: 4bb4e6ec3e5abe394a69e79c0d6df160b606e6f4
wpt-pr: 10213
wpt-commits: 4bb4e6ec3e5abe394a69e79c0d6df160b606e6f4
wpt-pr: 10213
2018-04-15 09:24:51 +01:00
Chris Nardi
6883806099 Bug 1450610 [wpt PR 10264] - Remove test that CSSStyleSheet.media is read-only, a=testonly
Automatic update from web-platform-testsRemove test that CSSStyleSheet.media is read-only

style-sheet-interfaces-001.html tested that styleSheet.media was
read-only, but the spec changed to add a [PutForwards] attribute to
|media|, meanining that the attribute is no longer truly read-only.
assert_readonly can have side-effects if the property has a
[PutForwards] attribute, so remove this check, as it was causing the
next test to fail.

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

wpt-commits: af485dcf5f9fb6c1892908ab850b2bf49bc765a2
wpt-pr: 10264
wpt-commits: af485dcf5f9fb6c1892908ab850b2bf49bc765a2
wpt-pr: 10264
2018-04-15 09:24:44 +01:00
Manuel Rego Casasnovas
7e289b632b Bug 1449132 [wpt PR 10194] - [css-grid] Fix resolution of percentage paddings and margins of grid items, a=testonly
Automatic update from web-platform-tests[css-grid] Fix resolution of percentage paddings and margins of grid items

We were not resolving properly percentage paddings and margins
for tracks that have something like minmax(auto, 100px).
The reason was that while computing the minimum size of a grid item,
the percentages were resolved against the inline size of the grid container.
But for grid items we shouldn't never use the grid container size,
but the grid area size, as that's their containing block.

The patch modifies ContainingBlockLogicalWidthForContent() and
ContainingBlockLogicalHeightForContent() in LayoutBox,
so for grid items we return 0 if the area size hasn't been set yet.
We never want to use the grid container's sizes in these cases.

BUG=808758
TEST=external/wpt/css/css-grid/grid-items/grid-items-percentage-margins-*
TEST=external/wpt/css/css-grid/grid-items/grid-items-percentage-paddings-*

Change-Id: Ib142e51aee1fe623d38688469b179f01f82eb07b
Reviewed-on: https://chromium-review.googlesource.com/980756
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#547417}

wpt-commits: e4efc10a82630de47f920a737aa8ea94845191af
wpt-pr: 10194
wpt-commits: e4efc10a82630de47f920a737aa8ea94845191af
wpt-pr: 10194
2018-04-15 09:24:36 +01:00
Kent Tamura
e154a07b55 Bug 1450230 [wpt PR 10251] - custom-elements: Add tests for callback timing with HTML parser., a=testonly
Automatic update from web-platform-testscustom-elements: Add tests for callback timing with HTML parser.

Bug: 821831
Change-Id: I5b3e1978e37ce34e6fb885ca1077ea90ab2f494c
Reviewed-on: https://chromium-review.googlesource.com/987972
Reviewed-by: Takayoshi Kochi <kochi@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547424}

wpt-commits: bc209c37228e5071e3fc8d3bcbc78c7b09db57a8
wpt-pr: 10251
wpt-commits: bc209c37228e5071e3fc8d3bcbc78c7b09db57a8
wpt-pr: 10251
2018-04-15 09:24:29 +01:00
Chris Nardi
a18e73d956 Bug 1450614 [wpt PR 10266] - Update IRC archive link, a=testonly
Automatic update from web-platform-testsUpdate IRC archive link (#10266)

The link was dead; update to the new link.

wpt-commits: 94b33b573a069ae5170104ca581a354a35762536
wpt-pr: 10266
wpt-commits: 94b33b573a069ae5170104ca581a354a35762536
wpt-pr: 10266
2018-04-15 09:24:21 +01:00
Tsuyoshi Horo
bf32f73ed5 Bug 1450612 [wpt PR 10265] - Set SkipServiceWorker flag for synchronous loads from the main thread., a=testonly
Automatic update from web-platform-testsSet SkipServiceWorker flag for synchronous loads from the main thread.

Before 5e1b52dd7e828fb2e4bd69f599c0c30eec3e873c, synchronous XHR on worker
was handled by service workers. It is because the |is_sync_load| was false
when the sync request is from worker thread. But after the CL, the
|is_sync_load| flag for the sync request from worker became true, so the request
will not go to the service worker.

This CL will fix this by
 - Set the SkipServiceWorker flag for synchronous loads from the main thread
   in the renderer process. (FetchParameters.cpp)
 - Don't set skip_service_worker even if is_sync_load is true in the browser
   process. (resource_dispatcher_host_impl.cc)

Bug: 706331,827473
Change-Id: I186bc97f3f8d298e0a04942d0ec4b708b3022cc1
Reviewed-on: https://chromium-review.googlesource.com/989376
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547407}

wpt-commits: d68f044162867a8283c6d4adbf19e9587b6ea2fa
wpt-pr: 10265
wpt-commits: d68f044162867a8283c6d4adbf19e9587b6ea2fa
wpt-pr: 10265
2018-04-15 09:24:14 +01:00
Chris Lilley
978ec810c5 Bug 1448727 [wpt PR 10172] - [svg 2 text] add scripted tests for length and indexed access, a=testonly
Automatic update from web-platform-testsMerge pull request #10172 from liamquin/svg-lists-have-length

[svg 2 text] add scripted tests for length and indexed access

wpt-commits: 3589b85af366d5c53bf03cfeb5e0ccb3ac2a38e9
wpt-pr: 10172
wpt-commits: 3589b85af366d5c53bf03cfeb5e0ccb3ac2a38e9
wpt-pr: 10172
2018-04-15 09:24:06 +01:00
kaixinjxq
c002386b4c Bug 1452276 [wpt PR 8605] - Add a DataTransfer test, a=testonly
Automatic update from web-platform-testsAdd a DataTransfer test

 The types attribute must return this DataTransfer object's types array

wpt-commits: 1331d68a18a959d74c73142ed984c65f455ce1fe
wpt-pr: 8605
wpt-commits: 1331d68a18a959d74c73142ed984c65f455ce1fe
wpt-pr: 8605
2018-04-15 09:23:59 +01:00
Eric Holk
0881fb5e86 Bug 1450392 [wpt PR 8927] - Delete wasm/many-memories.window.js WPT test, a=testonly
Automatic update from web-platform-testsDelete wasm/many-memories.window.js WPT test

Testing for a specific number is causing problems and determining the right
number is problematic in general, as running out of memory is always a
legitimate possiblity. See https://github.com/WebAssembly/design/issues/1167 for
more discussion. In light of this, it's best to just remove the test.

Bug:
Change-Id: I66e248c8ab851bca0c54fa6fe13b6e93e55f1264
Reviewed-on: https://chromium-review.googlesource.com/851081
Commit-Queue: Brad Nelson <bradnelson@chromium.org>
Reviewed-by: Brad Nelson <bradnelson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547333}

wpt-commits: fc33be9acfbf8e883fd9683c527aab22d842542b
wpt-pr: 8927
wpt-commits: fc33be9acfbf8e883fd9683c527aab22d842542b
wpt-pr: 8927
2018-04-15 09:23:51 +01:00
Luke Bjerring
0a868f4ca7 Bug 1450377 [wpt PR 10259] - Revert #10240, a=testonly
Automatic update from web-platform-testsRevert #10240

wpt-commits: 21be95d42621e2f7f4e2a211ce9d4a50d925aa73
wpt-pr: 10259
wpt-commits: 21be95d42621e2f7f4e2a211ce9d4a50d925aa73
wpt-pr: 10259
2018-04-15 09:23:46 +01:00
Tom Anderson
d482e6a191 Bug 1450341 [wpt PR 10256] - Replace Arial with Arimo GCS font, a=testonly
Automatic update from web-platform-testsReplace Arial with Arimo GCS font

BUG=787020
TBR=dpranke,asvitkine

Change-Id: I38740d1ee9fe621eabd5416f1a87b23a71fbb7e7
Reviewed-on: https://chromium-review.googlesource.com/986812
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547246}

wpt-commits: 771a209d64f3c07430b5b0090bc61fc31485f0b9
wpt-pr: 10256
wpt-commits: 771a209d64f3c07430b5b0090bc61fc31485f0b9
wpt-pr: 10256
2018-04-15 09:23:38 +01:00
moz-wptsync-bot
e856fd61df Bug 1452643 [wpt PR 9839] - Update wpt metadata, a=testonly
wpt-pr: 9839
wpt-type: metadata
MozReview-Commit-ID: 2U90fgtj6l2
2018-04-15 09:22:54 +01:00