612943 Commits

Author SHA1 Message Date
Jun Cai
dff153e1e5 Bug 1487558 [wpt PR 12769] - Device Sensor: Remove placeholder enumerator values in the sensor::SensorType, a=testonly
Automatic update from web-platform-testsDevice Sensor: Remove placeholder enumerator values in the sensor::SensorType

According to the mojo style guide:
https://chromium.googlesource.com/chromium/src/+/master/docs/security/mojo.md#do-not-define-placeholder-enumerator-values
It is recommended not to define placeholder enumerator values. Currently,
sensor::SensorType defines two such values: FIRST and LAST. This CL removes
these two placeholder values.

Bug: 870781
Cq-Include-Trybots: luci.chromium.try​:win_optional_gpu_tests_rel
Change-Id: I8b275bc5680c8c0d97fe2e7208301d6f33236cbe
Reviewed-on: https://chromium-review.googlesource.com/1197423
Commit-Queue: Jun Cai <juncai@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588678}

--

wpt-commits: bdf21e69ffaeb96097dfbc0888e4d9eb5413fed2
wpt-pr: 12769
2018-09-10 10:12:00 +00:00
moz-wptsync-bot
062aaa579d Bug 1487561 [wpt PR 12770] - Update wpt metadata, a=testonly
wpt-pr: 12770
wpt-type: metadata
2018-09-10 10:11:59 +00:00
Timothy Gu
1f222351eb Bug 1487561 [wpt PR 12770] - document.open(): Test non-fully active documents, a=testonly
Automatic update from web-platform-testsdocument.open(): Test non-fully active documents (#12770)

For https://github.com/whatwg/html/pull/3977.
--

wpt-commits: 61bc4ecc726596e5ce8634752e09a5e8a20e060f
wpt-pr: 12770
2018-09-10 10:11:59 +00:00
moz-wptsync-bot
ef71d62cb6 Bug 1488527 [wpt PR 12830] - Update wpt metadata, a=testonly
wpt-pr: 12830
wpt-type: metadata
2018-09-10 10:11:58 +00:00
Rayan Kanso
ab39beaa2c Bug 1488527 [wpt PR 12830] - [Background Fetch] Record via UMA whether a fetch has duplicate requests, a=testonly
Automatic update from web-platform-tests[Background Fetch] Record via UMA whether a fetch has duplicate requests

Also reject the registration if that happens with a warning, and add a
failing WPT test.

Bug: 871174, 780025
Change-Id: Ibdcc49bc47ea959e0c255a48f5d090cb865a6e45
Reviewed-on: https://chromium-review.googlesource.com/1202262
Reviewed-by: Steven Holte <holte@chromium.org>
Reviewed-by: Mugdha Lakhani <nator@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Commit-Queue: Rayan Kanso <rayankans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588614}

--

wpt-commits: 98c37ef258eb21fb1c3dbf508437e58be21c2145
wpt-pr: 12830
2018-09-10 10:11:58 +00:00
Timothy Gu
d2a9a05952 Bug 1487469 [wpt PR 12765] - bindings: Set function name for attribute accessors, a=testonly
Automatic update from web-platform-testsbindings: Set function name for attribute accessors

This aligns the behavior with the current Web IDL specification as well as
Firefox and Safari.

Bug: 878074
Change-Id: Ia862c1d0d8319fb78726817b69f9151e5fb500fd
Reviewed-on: https://chromium-review.googlesource.com/1191727
Commit-Queue: Timothy Gu <timothygu@chromium.org>
Reviewed-by: Hitoshi Yoshida <peria@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588544}

--

wpt-commits: 31f62ee2b6103a94aafa6ffd5e205c8898f4b9ba
wpt-pr: 12765
2018-09-10 10:11:57 +00:00
Jonathon Kereliuk
42a5738dea Bug 1488497 [wpt PR 12829] - Remove kereliuk from suggested reviewers, a=testonly
Automatic update from web-platform-testsRemove kereliuk from suggested reviewers (#12829)

I'm no longer working on WPT to focus on a new project.
--

wpt-commits: a0f75fcad81bee1dbe35d30c94aed9b7630d9dda
wpt-pr: 12829
2018-09-10 10:11:56 +00:00
moz-wptsync-bot
c59661e0f6 Bug 1488171 [wpt PR 12798] - Update wpt metadata, a=testonly
wpt-pr: 12798
wpt-type: metadata
2018-09-10 10:11:55 +00:00
Orsi Batiz
5dfc1c9034 Bug 1488171 [wpt PR 12798] - String_list_directive created, a=testonly
Automatic update from web-platform-testsString_list_directive created

Created a primitive version of function AllowTrustedTypePolicy
"require-trusted-types" changed into "trusted-types" and takes a list of policy names
createPolicy updated to throw when policy name is not allowed
Tests added for policy creation attempt when policy name is on the whitelist and when it isn't
Tests added fot policy creation attempt with no whitelist given
Poked at existing tests to change "require-trusted-types" into "trusted-types"
Removed boolean require_safe_types_ from csp_directive_list

Bug: 739170
Change-Id: Ida0188cf38f8edba8b966b2f708b7a7919d08b29
Reviewed-on: https://chromium-review.googlesource.com/1186325
Reviewed-by: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Orsolya Bernadett Batiz <orsibatiz@google.com>
Cr-Commit-Position: refs/heads/master@{#588496}

--

wpt-commits: 1de1550e95396f979da97620a289c213acaf55e2
wpt-pr: 12798
2018-09-10 10:11:55 +00:00
moz-wptsync-bot
fef1330e02 Bug 1488352 [wpt PR 12822] - Update wpt metadata, a=testonly
wpt-pr: 12822
wpt-type: metadata
2018-09-10 10:11:54 +00:00
Philip Jägenstedt
19bc134e50 Bug 1488352 [wpt PR 12822] - Add IDL tests for WAI-ARIA, a=testonly
Automatic update from web-platform-testsAdd IDL tests for WAI-ARIA (#12822)

--

wpt-commits: 4caae418cffa4f803f2fe283a4d3fd7cfaae7461
wpt-pr: 12822
2018-09-10 10:11:54 +00:00
Matt Falkenhagen
12b030d670 Bug 1488350 [wpt PR 12820] - WPT: More refactoring navigation-redirect.https.html, a=testonly
Automatic update from web-platform-testsWPT: More refactoring navigation-redirect.https.html

This makes the test more extensible. Preparation for adding tests for
the Clients API and resultingClientId. Specifically, the requestInfos
from the workers and the expectations will have a resultingClientId
in addition to the URL.

Bug: 876223, 778497
Change-Id: Id7c25a77f43f33d40b64ea77c2cf51a0745f57c6
Reviewed-on: https://chromium-review.googlesource.com/1203711
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588479}

--

wpt-commits: d4fb17e0338a3b412af81244d7254cd2b9bc27a0
wpt-pr: 12820
2018-09-10 10:11:53 +00:00
moz-wptsync-bot
c43bb9c93d Bug 1488332 [wpt PR 12819] - Update wpt metadata, a=testonly
wpt-pr: 12819
wpt-type: metadata
2018-09-10 10:11:52 +00:00
Adam Rice
2908e54b40 Bug 1488332 [wpt PR 12819] - [WebSocket] Fix cookies/006.html?wss wpt, a=testonly
Automatic update from web-platform-tests[WebSocket] Fix cookies/006.html?wss wpt

The websockets/cookies/006.html?wss test didn't work on any modern
browser because you can't set a secure cookie from JavaScript on an
insecure page. See
https://wpt.fyi/results/websockets/cookies/006.html%3Fwss.

Change the expectations to never see the cookie set.

Add a new test, 006.https.html, which runs over https so that the cookie
can be set. Unfortunately, due to mixed content checks, this can't test
the insecure "ws:" scheme, so it still doesn't cover all the cases the
original test intended to.

BUG=803200

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

--

wpt-commits: 5ea49ac887f0d4880819d24fe3bc85bc38b96ca7
wpt-pr: 12819
2018-09-10 10:11:52 +00:00
moz-wptsync-bot
dad36f4dc4 Bug 1488351 [wpt PR 12821] - Update wpt metadata, a=testonly
wpt-pr: 12821
wpt-type: metadata
2018-09-10 10:11:51 +00:00
Philip Jägenstedt
bdcbd3abc4 Bug 1488351 [wpt PR 12821] - Sync Payment Request IDL with spec, a=testonly
Automatic update from web-platform-testsSync Payment Request IDL with spec (#12821)

* Update interfaces/payment-request.idl

Source: https://github.com/tidoust/reffy-reports/blob/398ec92/whatwg/idl/payment-request.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/423853333

* Update payment-request/idlharness.https.window.js

--

wpt-commits: 70b8ec865d913a46efacd351d0ad4669f6847a91
wpt-pr: 12821
2018-09-10 10:11:51 +00:00
Florian Rivoal
8dab290a2c Bug 1475241 [wpt PR 11941] - Fix metadata on css-writing-modes/ch-unit and logical-props tests., a=testonly
Automatic update from web-platform-testsMerge pull request #11941 from fantasai/writing-modes-cross-spec-links

Fix metadata on css-writing-modes/ch-unit and logical-props tests.
--

wpt-commits: 033b7e11c39386c7b33c585b8b60c649af7da96c
wpt-pr: 11941
2018-09-10 10:11:50 +00:00
Eric Willigers
03795e8725 Bug 1488251 [wpt PR 12812] - Absolute path for CSS parser tests script, a=testonly
Automatic update from web-platform-testsMerge pull request #12812 from ewilligers/consolidate-parsing-testcommon

Absolute path for CSS parser tests script
--

wpt-commits: 88b549e93554da5b88d1c94030ec09c9e2a41ce0
wpt-pr: 12812


--HG--
rename : testing/web-platform/tests/css/compositing/parsing/support/parsing-testcommon.js => testing/web-platform/tests/css/support/parsing-testcommon.js
2018-09-10 10:11:49 +00:00
moz-wptsync-bot
ae59c70bbc Bug 1488312 [wpt PR 12817] - Update wpt metadata, a=testonly
wpt-pr: 12817
wpt-type: metadata
2018-09-10 10:11:48 +00:00
jugglinmike
cbfe2509c4 Bug 1488312 [wpt PR 12817] - [cookies] Remove cookies when tests complete, a=testonly
Automatic update from web-platform-tests[cookies] Remove cookies when tests complete (#12817)

Avoid test interactions by removing cookies at the completion of each
test. Use the `add_cleanup` feature of testharness.js to ensure that
this occurs regardless of the passing/failing status of each test.
Persist the existing "setup" logic which defensively removes cookies as
a precaution against still other tests which do not properly restore
global state.

This resolves a known instability caused by
`cookies/prefix/__secure.document-cookie.https.html`. That test sets a
cookie with a "Domain" attribute which
`cookies/prefix/__secure.header.https.html` is not written to remove.
--

wpt-commits: 88e4a9aa658f08de05f6a4d5354c30100c15e688
wpt-pr: 12817
2018-09-10 10:11:48 +00:00
moz-wptsync-bot
6084e467ce Bug 1483149 [wpt PR 12467] - Update wpt metadata, a=testonly
wpt-pr: 12467
wpt-type: metadata
2018-09-10 10:11:47 +00:00
Adam Rice
cc34848300 Bug 1483149 [wpt PR 12467] - Implement TextEncoderStream and TextDecoderStream, a=testonly
Automatic update from web-platform-testsImplement TextEncoderStream and TextDecoderStream

Add support for streaming encoding and decoding via the
TextEncoderStream and TextDecoderStream.

See design doc
https://docs.google.com/document/d/17goe4jacAYjHHtprfVPSrqDvF_J58u2qirz0HQ58sQ4/edit

Modify transform_stream.cc so it doesn't claim every exception happened
during construction

Remove failing wpt expectations. Add a new test for TextDecoderStream
constructor and property behaviour.

BUG=845427

Change-Id: I538022680ef8e90f5eb2b11fd1775e902e7f25fd
Reviewed-on: https://chromium-review.googlesource.com/1174073
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588443}

--

wpt-commits: fc41987112cd5f0b1198b759ab63e828413a0ee3
wpt-pr: 12467
2018-09-10 10:11:47 +00:00
Morten Stenshorne
aaaae92d67 Bug 1488269 [wpt PR 12815] - Fix multicol-width-large-002.xht to match updated ref., a=testonly
Automatic update from web-platform-testsFix multicol-width-large-002.xht to match updated ref.

TBR=futhark@chromium.org

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

--

wpt-commits: 04bc9c5667911cce7361ee33244dfc8d7ed61212
wpt-pr: 12815
2018-09-10 10:11:46 +00:00
Simon Pieters
af5bf4d802 Bug 1488239 [wpt PR 12810] - HTML: test fieldset content before legend, a=testonly
Automatic update from web-platform-testsHTML: test fieldset content before legend

--

wpt-commits: 7d5c48839d6e9bf65271141e1e4900e63411b23c
wpt-pr: 12810
2018-09-10 10:11:45 +00:00
Ilya Grigorik
3dc869bb2e Bug 1488264 [wpt PR 8488] - Add tests for time-origin., a=testonly
Automatic update from web-platform-testsMerge pull request #8488 from divmain/hr-time-origin-tests

Add tests for time-origin.
--

wpt-commits: e54b016a31ae7dbe87be36694c2d9c50b9c0b117
wpt-pr: 8488
2018-09-10 10:11:45 +00:00
Simon Pieters
5169151cfb Bug 1488257 [wpt PR 12813] - Lint CSS-COLLIDING-TEST-NAME should treat foo and foo-manual as equiv…, a=testonly
Automatic update from web-platform-testsLint CSS-COLLIDING-TEST-NAME should treat foo and foo-manual as equivalent (#12813)

--

wpt-commits: 3b610ee654fc7b69fd83e6da3c26f7b39a1131f1
wpt-pr: 12813
2018-09-10 10:11:44 +00:00
autofoolip
1c9efbadde Bug 1488224 [wpt PR 12809] - Update interfaces/cssom-view.idl, a=testonly
Automatic update from web-platform-testsUpdate interfaces/cssom-view.idl (#12809)

Source: https://github.com/tidoust/reffy-reports/blob/03409bb/whatwg/idl/cssom-view.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/423905265
--

wpt-commits: 93065b01a619d8833fc1a4e0695e51848c2e44d6
wpt-pr: 12809
2018-09-10 10:11:43 +00:00
moz-wptsync-bot
b4310b8d70 Bug 1473548 [wpt PR 11802] - Update wpt metadata, a=testonly
wpt-pr: 11802
wpt-type: metadata
2018-09-10 10:11:42 +00:00
Rachel Andrew
a20b818562 Bug 1473548 [wpt PR 11802] - Multicol width tests, a=testonly
Automatic update from web-platform-testsMulticol width tests (#11802)

* tidying up rule shorthand test, adding assert

* Cleanup of existing multicol column-width tests

--

wpt-commits: f50337b1c4b570167408961211c44090e61c4eb0
wpt-pr: 11802
2018-09-10 10:11:42 +00:00
Rachel Andrew
1e620c89bb Bug 1473388 [wpt PR 11785] - tidying up rule shorthand test, adding assert, a=testonly
Automatic update from web-platform-teststidying up rule shorthand test, adding assert (#11785)

--

wpt-commits: eeba9d355b8c967d07c6fa94a85ef3163da942fd
wpt-pr: 11785
2018-09-10 10:11:41 +00:00
moz-wptsync-bot
f1c0636d1e Bug 1488198 [wpt PR 8094] - Update wpt metadata, a=testonly
wpt-pr: 8094
wpt-type: metadata
2018-09-10 10:11:41 +00:00
Bradley Meck
7b83bd86f0 Bug 1488198 [wpt PR 8094] - Implement script MIME restrictions for goal parameter, a=testonly
Automatic update from web-platform-testsImplement script MIME restrictions for goal parameter (#8094)

This adds tests regarding scripts with a specified goal parameter
https://github.com/whatwg/html/pull/3205
--

wpt-commits: 395d96467d0fa57b3006b13ce1855e86e2b42907
wpt-pr: 8094
2018-09-10 10:11:40 +00:00
John Rummell
06d67e4611 Bug 1488193 [wpt PR 8623] - [eme] Ensure license is expired before using it, a=testonly
Automatic update from web-platform-tests[eme] Ensure license is expired before using it (#8623)

This test generates a license that expires 1s from the current time, calls
update() with it, and then waits for 5s before calling play(). However,
Chrome caches a few frames in advance of play() being called. Depending on
the time granularity, the CDM may see a valid license and decode part of
the media file.

This change delays calling update() for 2s to ensure that the license has
expired, and ensures that the browser can't cache frames to use when play()
is called.
--

wpt-commits: 84097c6b8f84bc0d00c208bf7893cd0e10d654d5
wpt-pr: 8623
2018-09-10 10:11:39 +00:00
Simon Pieters
53e9d39854 Bug 1483821 [wpt PR 12522] - HTML: test fieldset overflow rendering, a=testonly
Automatic update from web-platform-testsHTML: test fieldset overflow rendering

Bugs:
https://bugs.chromium.org/p/chromium/issues/detail?id=786475
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/18694230/
--

wpt-commits: e4118eb504e7b44f3da295f1f153de0c5ab395d0
wpt-pr: 12522
2018-09-10 10:11:39 +00:00
Ian Prest
d27ba203fe Bug 1487926 [wpt PR 12788] - Fix missing close bracket in css/css-writing-modes/svg-aliasing-001.html, a=testonly
Automatic update from web-platform-testsFix missing close bracket in css/css-writing-modes/svg-aliasing-001.html (#12788)

--

wpt-commits: 3a58de991a53a5a358234a8ad4e3d7f8d733d34a
wpt-pr: 12788
2018-09-10 10:11:38 +00:00
moz-wptsync-bot
abf437043f Bug 1487645 [wpt PR 12774] - Update wpt metadata, a=testonly
wpt-pr: 12774
wpt-type: metadata
2018-09-10 10:11:37 +00:00
Mike West
dd72e5b7f3 Bug 1487645 [wpt PR 12774] - Impose strict MIME-type checks on importScripts()., a=testonly
Automatic update from web-platform-testsImpose strict MIME-type checks on `importScripts()`.

Intent to Remove: https://groups.google.com/a/chromium.org/d/msg/blink-dev/35t5cJQ3J_Q/FH45dl0vAwAJ

Bug: 794548, 879994
Change-Id: Ie87aedd0027921960ff429d5d8ecf168572c82de
Reviewed-on: https://chromium-review.googlesource.com/1199068
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588364}

--

wpt-commits: 6fe0cfadbf3f284357237e9ce617124eb441c9f7
wpt-pr: 12774
2018-09-10 10:11:37 +00:00
Mike Pennisi
0f1dde96b4 Bug 1487862 [wpt PR 12783] - [wptrunner] Parameterize Sauce Connect timeout, a=testonly
Automatic update from web-platform-tests[wptrunner] Parameterize Sauce Connect timeout

Parameterize the maximum delay so that consumers may select an
appropriate value according to their connection and the current
performance of the Sauce Labs service.

--

wpt-commits: 8cc024cd4490e672f16958e0d83155bcc8e56cb1
wpt-pr: 12783
2018-09-10 10:11:36 +00:00
Servo WPT Sync
d47dd163e9 Bug 1488120 [wpt PR 12796] - Mark /css/css-transitions/transitions-animatable-properties-01.html as timeout=long, a=testonly
Automatic update from web-platform-testsMerge pull request #12796 from web-platform-tests/sync_4aa068290092afedbfe25c725d89274d78bf6928

Merge pull request #12796 from sync_4aa068290092afedbfe25c725d89274d78bf6928
--

wpt-commits: f4bc7257654cf7fc6a047e60cff637bb5e909656
wpt-pr: 12796
2018-09-10 10:11:35 +00:00
Rijubrata Bhaumik
d0ad6bfa53 Bug 1487948 [wpt PR 12790] - [Image Capture] Add focusDistance constraint., a=testonly
Automatic update from web-platform-tests[Image Capture] Add focusDistance constraint.

This CL adds focusDistance to ImageCapture API.
This was added to the spec in
https://github.com/w3c/mediacapture-image/pull/175

Layout tests and mock tests are updated to support the same.
Support for Android is added.

TEST= run the demo in https://codepen.io/rijuB/pen/NzWpxG
use slider to change focusDistance.

BUG=732807

Intent to Implement and Ship discussions:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/oNxzXaFY9c8

Change-Id: I9b7cbf3c85fd35741a8c7ed229910a996e14ee8f
Reviewed-on: https://chromium-review.googlesource.com/1124839
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Commit-Queue: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Cr-Commit-Position: refs/heads/master@{#588299}

--

wpt-commits: 0313d9f383d954ef401e79f3b669a5781aa3441a
wpt-pr: 12790
2018-09-10 10:11:34 +00:00
CYBAI
d30e4bad96 Bug 1488035 [wpt PR 12794] - Make syntax highlight for code block in testharness doc, a=testonly
Automatic update from web-platform-testsMake syntax highlight for code block

--

wpt-commits: 3fd70a99bbed97c5b31e08a40162901c7355af7a
wpt-pr: 12794
2018-09-10 10:11:33 +00:00
moz-wptsync-bot
763e2b92ec Bug 1487848 [wpt PR 12782] - Update wpt metadata, a=testonly
wpt-pr: 12782
wpt-type: metadata
2018-09-10 10:11:33 +00:00
Harald Alvestrand
a8d371c1ab Bug 1487848 [wpt PR 12782] - webrtc: throw SyntaxError on {iceServers: []}, a=testonly
Automatic update from web-platform-testsMerge pull request #12782 from fippo/test-as-you-commit

webrtc: throw SyntaxError on {iceServers: []}
--

wpt-commits: 82d679733a83c515737b293f245322d8e31628b2
wpt-pr: 12782
2018-09-10 10:11:32 +00:00
Servo WPT Sync
e0987834d3 Bug 1487998 [wpt PR 12793] - correct failing tests, a=testonly
Automatic update from web-platform-testsMerge pull request #12793 from web-platform-tests/sync_a56619e7fb09a02b032e4acab5cd7704bd242ae3

Merge pull request #12793 from sync_a56619e7fb09a02b032e4acab5cd7704bd242ae3
--

wpt-commits: 0588fa34e9f30dd2eaf0421254a759647eb5710c
wpt-pr: 12793
2018-09-10 10:11:32 +00:00
Servo WPT Sync
1baa912d71 Bug 1487996 [wpt PR 12792] - Add tests for options bounds in PannerNode's constructor, a=testonly
Automatic update from web-platform-testsMerge pull request #12792 from web-platform-tests/sync_1ce329cb195c77b3d26cb1cadc75aecef7d33728

Merge pull request #12792 from sync_1ce329cb195c77b3d26cb1cadc75aecef7d33728
--

wpt-commits: ab98b1b9d0a587fa3c0fb07a5df793971e856e7b
wpt-pr: 12792
2018-09-10 10:11:31 +00:00
Xianzhu Wang
1e77c274ac Bug 1487224 [wpt PR 12745] - [PE] Fix LayoutBox Client/Padding/Content boxes with scrollbars (especially vertical-rl), a=testonly
Automatic update from web-platform-tests[PE] Fix LayoutBox Client/Padding/Content boxes with scrollbars (especially vertical-rl)

This CL tries to correct the box model when there are scrollbars,
especially in vertical-rl mode. According to
https://www.w3.org/TR/css-overflow-3/#scrollbar-layout, scrollbars
"should be inserted between the inner border edge and the outer
padding edge".

Changes to the previous code:

- Padding|client box now excludes scrollbars, with the help of
  (Top|Left|Bottom|Right)ScrollbarWidth methods which can get the
  scrollbar widths in physical directions in various writing modes.

- Content box is now based on the new padding box by excluding the
  paddings.

- Layout of contents is now based on the correct box model. In
  vertical-rl mode, layout of contents in blocks direction starts
  from the inner edge of the new content box which has been properly
  adjusted for the scrollbar.

- Now LayoutBox::Location() and Location::PhysicalLocation() in the
  initial scroll state are correct in all writing-modes. Previously
  when they were incorrect in vertical-rl mode and some flex box
  directions, requiring an artificial scroll offset to paint the
  content at correct place.

- With the correct padding box, content box, Location(),
  PhysicalLocation(), we no longer need the band-aid code to create the
  correct painted result.

The changed code is mostly in LegacyLayout code. Some changed code is
in LayoutNG that previously converted correct LayoutNG geometries into
the problematic geometries that were previously expected by
LegacyLayout.

The correct box model is required by blink-gen-property-trees because
we can't band-aid the incorrect results in paint properties after
painting.

Bug: 833167,853945,858843,878809,876266

Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_slimming_paint_v2;luci.chromium.try​:linux-blink-gen-property-trees;luci.chromium.try​:linux_layout_tests_layout_ng;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I41faf1ca0bfb95cb287c72703f08c8bd44e9e752
Reviewed-on: https://chromium-review.googlesource.com/1185901
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588201}

--

wpt-commits: f1c3743c75096e9203bdb5bc040b3c97ef5e184d
wpt-pr: 12745
2018-09-10 10:11:30 +00:00
Emircan Uysaler
e61caf70f1 Bug 1485546 [wpt PR 12638] - Add observable settings for getDisplayMedia(), a=testonly
Automatic update from web-platform-testsAdd observable settings for getDisplayMedia()

This CL adds observable settings to MediaStreamTrack objects returned by
getDisplayMedia() calls. These constrainable properties are set before
the stream is returned based on user choice.

Information about these settings are stored in DisplayMediaInformation
struct. It is set in the low level device selection and then parsed by
UserMediaProcessor before passing it to blink.

Bug: 326740
Change-Id: I81d5f2eb24d2c1a37df0fbe2d34bc469fa575bf1
Reviewed-on: https://chromium-review.googlesource.com/1185875
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Dan Sanders <sandersd@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Weiyong Yao <braveyao@chromium.org>
Commit-Queue: Emircan Uysaler <emircan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588162}

--

wpt-commits: 2b7dace05fc1869398ee24f84fda4c0e4c0455ae
wpt-pr: 12638
2018-09-10 10:11:29 +00:00
moz-wptsync-bot
53e1777bee Bug 1487880 [wpt PR 12785] - Update wpt metadata, a=testonly
wpt-pr: 12785
wpt-type: metadata
2018-09-10 10:11:29 +00:00
Ovidio Henriquez
ddb56b9386 Bug 1487880 [wpt PR 12785] - Add validation to the requestDevice filters, a=testonly
Automatic update from web-platform-testsAdd validation to the requestDevice filters

This change adds validation checks to the USBDeviceFilter parameters
passed into navigator.usb.requestDevice.

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

--

wpt-commits: b9f0af27bf36847cd42f08871aa674593aa46905
wpt-pr: 12785
2018-09-10 10:11:28 +00:00
Harald Alvestrand
967a93d2b6 Bug 1487900 [wpt PR 12786] - webrtc: fix no-media-call, a=testonly
Automatic update from web-platform-testsMerge pull request #12786 from fippo/fix-offeroptions

webrtc: fix no-media-call
--

wpt-commits: 3a396dfa546dc4c7d385e6748cc54d71590c026b
wpt-pr: 12786
2018-09-10 10:11:27 +00:00