Граф коммитов

45764 Коммитов

Автор SHA1 Сообщение Дата
moz-wptsync-bot 6aefe24db2 Bug 1632041 [wpt PR 23163] - Update wpt metadata, a=testonly
wpt-pr: 23163
wpt-type: metadata
2020-04-28 11:19:30 +00:00
Yi Xu 23370930a9 Bug 1632041 [wpt PR 23163] - Move 2d.getImageData.* in canvas_api to wpt, a=testonly
Automatic update from web-platform-tests
Move 2d.getImageData.* in canvas_api to wpt

Move 2d.getImageData.* from canvas_api to wpt.

Bug: 1071659

Change-Id: I444088c44eb6f93d4800175deef05f99bfc8e98c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159913
Commit-Queue: Yi Xu <yiyix@chromium.org>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763137}

--

wpt-commits: 9d33bb0defdd1625a3af3fe066b1acfc80b23895
wpt-pr: 23163
2020-04-28 11:48:25 +00:00
moz-wptsync-bot 9edbd80467 Bug 1633056 [wpt PR 23243] - Update wpt metadata, a=testonly
wpt-pr: 23243
wpt-type: metadata
2020-04-28 09:57:49 +00:00
Mason Freed fe699ee239 Bug 1633056 [wpt PR 23243] - Don't serialize closed shadow roots with getInnerHTML(), a=testonly
Automatic update from web-platform-tests
Don't serialize closed shadow roots with getInnerHTML()

This CL corrects the behavior of getInnerHTML() so that closed
shadow roots are not serialized. It also adds a test of the
getInnerHTML() function.

Bug: 1042130
Change-Id: Iac214b16799cee45bcd90be8f618cc5560eb1db4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2166383
Commit-Queue: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763236}

--

wpt-commits: c88ed219c1a65af9f83844181b84111e9462f8b6
wpt-pr: 23243
2020-04-28 11:48:14 +00:00
Philip Jägenstedt de880f5b92 Bug 1630955 [wpt PR 23060] - [css-speech] rename Integer.html to voice-family-integer.html, a=testonly
Automatic update from web-platform-tests
[css-speech] rename Integer.html to voice-family-integer.html (#23060)

Renamed because it's one of few tests with capitalized filenames.
--

wpt-commits: b5e6c40a2bd4c4ae8bd64dad3f3732c023f150b4
wpt-pr: 23060
2020-04-28 11:48:09 +00:00
Morten Stenshorne 3b7784d1bd Bug 1633578 [wpt PR 23279] - [FragmentItem] Prevent dangling LayoutObject ptrs in block fragmentation., a=testonly
Automatic update from web-platform-tests
[FragmentItem] Prevent dangling LayoutObject ptrs in block fragmentation.

NGInlineCursor doesn't work with block fragmentation, so we'd end up
with NGFragmentItem objects with dangling pointers to LayoutObject. To
fix this, perform a full walk through all fragment items in all
fragments, if it's likely that we're in block fragmentation.

CL:2152824 caused two tests to crash because of this, and it therefore
got reverted. Add another test now, which would also crash without the
aforementioned CL.

Bug: 1075517
Change-Id: I97e2fae63d89031ea258ba146898e7fcfe56bd45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2165800
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763233}

--

wpt-commits: e9ed833d0c9483012493d839434137de7e7ba00d
wpt-pr: 23279
2020-04-28 11:48:04 +00:00
moz-wptsync-bot 5170ce0962 Bug 1633489 [wpt PR 23272] - Update wpt metadata, a=testonly
wpt-pr: 23272
wpt-type: metadata
2020-04-28 08:34:07 +00:00
Alexander Cooper b253edb1e9 Bug 1633489 [wpt PR 23272] - Treat floorOrigin as mojoFromFloor, a=testonly
Automatic update from web-platform-tests
Treat floorOrigin as mojoFromFloor

Per the webxr-test-api all origins are based on the "local" space when
the "session" started; which means that all of our origins passed in are
inherently "mojoFromFoo."  The standingTransform (in need of renaming)
is, in blink and by devices, floorFromMojo. Since the tests were
directly setting floorOrigin to the standingTransform, the tests were
incorrectly treating floor origin as floorFromMojo. This change inverts
the floorOrigin before assigning it to the standingTransform, so that
Chrome begins treating the floorOrigin as mojoFromFloor. Given that
Chrome was the only ones running these particular tests, the output
values were *also* written as if the passed in floorOrigins were
floorFromMojo. In order to stick with the expectations, this inverts
the input transforms as well.

In fixing this, a bug was discovered in XRMathHelper.inverse wherein the
comatrix was not created properly.  This change also addresses that bug.

Fixed:1071630

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

--

wpt-commits: 6a2f0e6a0110fd0830fc3196680f671bb83c2747
wpt-pr: 23272
2020-04-28 11:47:56 +00:00
moz-wptsync-bot f2549ba061 Bug 1632258 [wpt PR 23181] - Update wpt metadata, a=testonly
wpt-pr: 23181
wpt-type: metadata
2020-04-28 08:23:38 +00:00
Yu Han 7e4068f9f7 Bug 1632258 [wpt PR 23181] - Adds slotchange event for Imperative Slot API., a=testonly
Automatic update from web-platform-tests
Adds slotchange event for Imperative Slot API.

Prior to this CL slotchange event is not fired when calling the
Imperative Slot API.

This CL adds the ability to fire slotchange event for Imperative Slot
API. It does so by detecting candidates nodes changed during the
call and fires slotchange event if changed. This CL only implements the
assign() function's portion of the slotchange event. In the next CL,
I will implement slotchange event for removing nodes and slots.

Bug: 869308
Change-Id: I13851d1788fc6cf8b0ea109fb136a2f029e61e70
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2161369
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Hayato Ito <hayato@chromium.org>
Commit-Queue: Yu Han <yuzhehan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763111}

--

wpt-commits: ff47fb409e6e7ef72893ec6123f6abde845372db
wpt-pr: 23181
2020-04-28 11:47:49 +00:00
Blink WPT Bot 6ed9c6e8d6 Bug 1632282 [wpt PR 23184] - [wpt] enhanceents to check-layout-th.js, a=testonly
Automatic update from web-platform-tests
[wpt] enhanceents to check-layout-th.js (#23184)

There are 3 enhancements that I've found useful.

1. Warn if there are any unexpected  data-* attributes

A common error is to have a typo in data-* attribute name.
When this happens, test will pass, because attribute is never read.
This enhancement prints a warning if unexpected attribute is found.

Running this over the entire test suite, I've found several errors:

css/css-grid/grid-definition/grid-auto-repeat-intrinsic-001.html
css/css-grid/grid-items/grid-items-percentage-margins-vertical-rl-001.html
css/css-grid/grid-items/grid-items-percentage-margins-vertical-rl-002.html
css/css-grid/grid-items/grid-items-relative-offsets-001.html
css/css-grid/grid-items/grid-items-relative-offsets-002.html
have data-expected-x, data-expected-y
Tried replacing some of these with data-offset-x, and tests fail.

css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-002
has data-offset-top

2. highlight error on failure flag. Defaults to false.

If set, this flag will draw an outline around failed Element.
Useful when debugging pages with many elements.

3. toggle printing dom on error.

Sometimes, it is useful not to print dom on error for clarity.

Change-Id: I8424aa2dc002f63fde18d0fc54bdfe77666ce951
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2161379
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Manuel Rego <rego@igalia.com>
Commit-Queue: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763069}

Co-authored-by: Aleks Totic <atotic@chromium.org>
--

wpt-commits: a5a3b7353c884ebcca0230818632a42ad2fbd9b2
wpt-pr: 23184
2020-04-28 11:47:43 +00:00
Makoto Shimazu 304da79347 Bug 1633643 [wpt PR 23287] - Mark service-worker/activation.https.html as slow, a=testonly
Automatic update from web-platform-tests
Mark service-worker/activation.https.html as slow

Bug: 1073296
Change-Id: Ib8c502829168d2dbdc6083a0d3a3631202f8b4b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2169491
Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Auto-Submit: Makoto Shimazu <shimazu@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763216}

--

wpt-commits: 896db568c3008976ce9754c0cfd8b3362f8ed9d9
wpt-pr: 23287
2020-04-28 11:47:38 +00:00
Arnaud Mandy 10a9376bb7 Bug 1633364 [wpt PR 23260] - wpt: Screen Enumeration: Add check for touchSupport type., a=testonly
Automatic update from web-platform-tests
wpt: Screen Enumeration: Add check for touchSupport type.

touchSupport type check is added to screen enumeration test.

Bug: 994889
Change-Id: I874e4f9f2b41a5c86297c87a851e61a287fedbe5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2165752
Reviewed-by: Michael Wasserman <msw@chromium.org>
Commit-Queue: Arnaud Mandy <arnaud.mandy@intel.com>
Cr-Commit-Position: refs/heads/master@{#763204}

--

wpt-commits: 00587c9715fef9dac95bf102a6dfcbb20f5231b2
wpt-pr: 23260
2020-04-28 11:47:33 +00:00
moz-wptsync-bot 28eea17403 Bug 1632656 [wpt PR 23216] - Update wpt metadata, a=testonly
wpt-pr: 23216
wpt-type: metadata
2020-04-28 03:40:50 +00:00
Liviu Tinta 9a58546626 Bug 1632656 [wpt PR 23216] - Effective Touch Action when <body> is the viewport defining element, a=testonly
Automatic update from web-platform-tests
Effective Touch Action when <body> is the viewport defining element

When <body> is deemed to be the viewport defining element <body>'s
overflow needs to be set to visible. Because of this, during effective
touch action calculation we consider <body> to be a scroller when it is
not.

The fix attempts to detect when <body> is deemed the viewport defining
element and correct the effective touch action calculation.

Bug: 1031745
Change-Id: Ie9a3c966af78fdbe0dc3e57f3f192aca9110fd0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152950
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763147}

--

wpt-commits: 1650a7c1569ad9e3e10bc1da400f9a44230a5a78
wpt-pr: 23216
2020-04-28 11:47:26 +00:00
moz-wptsync-bot 78e41a7fca Bug 1633426 [wpt PR 23266] - Update wpt metadata, a=testonly
wpt-pr: 23266
wpt-type: metadata
2020-04-27 22:07:17 +00:00
Navid Zolghadr d385516379 Bug 1633426 [wpt PR 23266] - Add shadow dom boundary event test to wpt, a=testonly
Automatic update from web-platform-tests
Add shadow dom boundary event test to wpt

Move more internal pointerevent tests to wpt

Change-Id: I7e44eda0af004cb4ebdb07610923b067c07a3341
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2167991
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762990}

--

wpt-commits: f657d26323fe748b534c52480926ae08a4a81332
wpt-pr: 23266
2020-04-28 11:47:18 +00:00
moz-wptsync-bot 1f28f7785c Bug 1632435 [wpt PR 23200] - Update wpt metadata, a=testonly
wpt-pr: 23200
wpt-type: metadata
2020-04-27 21:41:04 +00:00
Sergio 04020c83f0 Bug 1632435 [wpt PR 23200] - Improve web engine detection in webxr_util.js, a=testonly
Automatic update from web-platform-tests
Improve web engine detection in webxr_util.js (#23200)

The check (window.XRTest === undefined) is not valid to discriminate between Chromium and other browsers. Improve engine detection so that we don't end up accessing entities that do not exist in other engines (like navigator.xr.test.Debug).
--

wpt-commits: d9312410d445b129727af4fbd4aa8733e99b0e64
wpt-pr: 23200
2020-04-28 11:47:03 +00:00
moz-wptsync-bot 84a4bea45d Bug 1622512 [wpt PR 22257] - Update wpt metadata, a=testonly
wpt-pr: 22257
wpt-type: metadata
2020-04-27 21:26:15 +00:00
autofoolip 1e1dc1c3f8 Bug 1622512 [wpt PR 22257] - Update interfaces/dom.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/dom.idl (#22257)

Source: https://github.com/tidoust/reffy-reports/blob/ddd881f/ed/idl/dom.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/677384457
--

wpt-commits: b9bbe42e2f7e5a111a93a278fcfc576e9b37410e
wpt-pr: 22257
2020-04-28 11:46:48 +00:00
Yi Xu c51fe2cfac Bug 1633000 [wpt PR 23241] - wpt: update the directory for filter value, a=testonly
Automatic update from web-platform-tests
wpt: update the directory for filter value

Bug: 1071659

Change-Id: Ifc396fba47a5e181630353060e718d0de9e34c69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2164228
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Commit-Queue: Yi Xu <yiyix@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762943}

--

wpt-commits: 009d402d56ddd03a8c4a5f166676c367096e029b
wpt-pr: 23241
2020-04-28 11:46:43 +00:00
autofoolip 983ca16c56 Bug 1633387 [wpt PR 23263] - Update interfaces/payment-request.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/payment-request.idl (#23263)

Source: https://github.com/tidoust/reffy-reports/blob/7bfdade/ed/idl/payment-request.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/680076711
--

wpt-commits: ca0cb4fd642a9f996e9c4d03ee228a548ba584d5
wpt-pr: 23263
2020-04-28 11:46:38 +00:00
Anne van Kesteren ac18f8d13d Bug 1631482 [wpt PR 23117] - *.any.js: explicitly list defaults, part 1, a=testonly
Automatic update from web-platform-tests
*.any.js: explicitly list defaults, part 1 (#23117)

* *.any.js: explicitly list defaults, part 1

Helps with #23111.

* add a couple more
--

wpt-commits: e1e713c842e54ea0a9410ddc988b63d0e1d31973
wpt-pr: 23117
2020-04-28 11:46:33 +00:00
moz-wptsync-bot fc7989ecf4 Bug 1633277 [wpt PR 23256] - Update wpt metadata, a=testonly
wpt-pr: 23256
wpt-type: metadata
2020-04-27 18:30:12 +00:00
Rimas Misevičius 5773e35270 Bug 1633277 [wpt PR 23256] - URL: Percent encode NULLs in fragments, a=testonly
Automatic update from web-platform-tests
URL: percent encode NULLs in fragments

See https://github.com/whatwg/url/issues/440 and https://github.com/whatwg/url/pull/486 for context.
--

wpt-commits: efec8204e84d434d80407bb7cf8df37d33cabaa1
wpt-pr: 23256
2020-04-28 11:46:25 +00:00
Mason Freed 44b66a789a Bug 1633094 [wpt PR 23249] - Fix a null reference in declarative shadow dom, a=testonly
Automatic update from web-platform-tests
Fix a null reference in declarative shadow dom

Previously, this would cause a null-reference:

  <template shadowroot=open>Content</template>

This is now fixed. In addition, this CL adds two more tests of
declarative shadow dom, for the two conditions listed at [1] and
[2]. The [2] condition test also tests this CL.

[1] https://github.com/mfreed7/declarative-shadow-dom/blob/master/README.md#root-element-is-template-shadowroot
[3] https://github.com/mfreed7/declarative-shadow-dom/blob/master/README.md#templates-containing-root-level-declarative-shadow-roots

Bug: 1042130
Change-Id: Id697fb3f89681981ca3ecc513451d0644430fd2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2166357
Commit-Queue: Kouhei Ueno <kouhei@chromium.org>
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762842}

--

wpt-commits: 9b7ab1c11b7e0cf9b43ea6dbb282c33e4d193726
wpt-pr: 23249
2020-04-28 11:46:15 +00:00
Robert Ma e80056ab91 Bug 1633309 [wpt PR 23257] - [wptserve] Fix an exception handler in stash, a=testonly
Automatic update from web-platform-tests
[wptserve] Fix an exception handler in stash

internal_key is a tuple whose items are guaranteed to be strings.
It should be used as the key directly.
--

wpt-commits: d2025b24b0b1f4d2e69e83cf83e60c021d9f7b42
wpt-pr: 23257
2020-04-28 11:46:10 +00:00
moz-wptsync-bot ab9d24a343 Bug 1624639 [wpt PR 22420] - Update wpt metadata, a=testonly
wpt-pr: 22420
wpt-type: metadata
2020-04-27 14:58:52 +00:00
Eriko Kurimoto 385ed12d1a Bug 1624639 [wpt PR 22420] - UpgradeInsecureRequest: Add WPTs for static-import in dedicated/shared workers, a=testonly
Automatic update from web-platform-tests
UpgradeInsecureRequest: Add WPTs for static-import in dedicated/shared workers

This CL adds upgrade-insecure-request wpts to test static-import from
dedicated workers and shared workers.

The test scheme is implemented in the previous CL:
https://chromium-review.googlesource.com/c/chromium/src/+/2102036.
This CL only removes 'worker-import' and 'sharedworker-import' from
the excluded subresource list in spec.src.json and auto-generates tests.

Bug: 989399
Change-Id: I3b799d7743306a8b5fca0d7292360a88d9b36ded
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2117591
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Commit-Queue: Eriko Kurimoto <elkurin@google.com>
Cr-Commit-Position: refs/heads/master@{#753164}

--

wpt-commits: 19a0095b86b988a1afa5833c691a102ccde8cd68
wpt-pr: 22420
2020-04-28 11:46:01 +00:00
Antonio Sartori 35c61ed41d Bug 1632860 [wpt PR 23230] - Fix report-to CSP directive to only allow one endpoint, a=testonly
Automatic update from web-platform-tests
Fix report-to CSP directive to only allow one endpoint

According to https://w3c.github.io/webappsec-csp/#directive-report-to,
the Content-Security-Policy directive "report-to" should only accept one
token (endpint). However, our previous implementation allowed several
endpoints to be specified.

Bug: 916265
Change-Id: Ie11ee736f577d015921a5291824dcedcbc790177
Fixed: 916265
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2162826
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762813}

--

wpt-commits: fa3d5b0da213daee43f5de9621a26984ef70d149
wpt-pr: 23230
2020-04-28 11:45:56 +00:00
Ingvar Stepanyan 0364af1a6f Bug 1633385 [wpt PR 23262] - Fix invalid string escape, a=testonly
Automatic update from web-platform-tests
Fix invalid string escape
--

wpt-commits: d30822cd8a236a97442ff4619e95d926065609b3
wpt-pr: 23262
2020-04-28 11:45:51 +00:00
autofoolip 27f5995e96 Bug 1631550 [wpt PR 23122] - Update interfaces/event-timing.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/event-timing.idl (#23122)

Source: https://github.com/tidoust/reffy-reports/blob/ddd881f/ed/idl/event-timing.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/677384457
--

wpt-commits: 91ae2b223dbe6580374a6da0ebcd39cf7bc2a88f
wpt-pr: 23122
2020-04-28 11:45:46 +00:00
moz-wptsync-bot 28760eecf4 Bug 1632580 [wpt PR 23207] - Update wpt metadata, a=testonly
wpt-pr: 23207
wpt-type: metadata
2020-04-27 14:28:37 +00:00
Stephen McGruer 080c3103f2 Bug 1632580 [wpt PR 23207] - Update interfaces/fullscreen.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/fullscreen.idl (#23207)

Includes necessary idlharness.js updates for
https://github.com/web-platform-tests/wpt/issues/23148

Closes https://github.com/web-platform-tests/wpt/pull/23128
--

wpt-commits: 7b4b5b84caae9e748eb13fda010d48a6a874e5a4
wpt-pr: 23207
2020-04-28 11:45:38 +00:00
Rune Lillesveen 2b65d78f2d Bug 1632773 [wpt PR 23222] - FindKeyframesRules should use originating element., a=testonly
Automatic update from web-platform-tests
FindKeyframesRules should use originating element.

It's only using the TreeScope to find @keyframes in which case using the
originating element for pseudo elements should work. Even better when
the originating element is a shadow host, so that we look up :host rules
from the shadow tree for :host::before { animation-name: anim }.

Bug: 961941
Change-Id: I38edec156eaaa7cfb3680762b135323deae00a68
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2162988
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762791}

--

wpt-commits: 245ed57a5e400fff2dc4adbf8e452d64397399cd
wpt-pr: 23222
2020-04-28 11:45:33 +00:00
moz-wptsync-bot d3db6c9c37 Bug 1631842 [wpt PR 23144] - Update wpt metadata, a=testonly
wpt-pr: 23144
wpt-type: metadata
2020-04-27 11:51:40 +00:00
arthursonzogni ce74c67814 Bug 1631842 [wpt PR 23144] - Forward CSP, even for the initial empty document., a=testonly
Automatic update from web-platform-tests
Forward CSP, even for the initial empty document.

Bug 1064676 has been fixed by:
  https://chromium-review.googlesource.com/c/chromium/src/+/2111170
And tested by:
  https://chromium-review.googlesource.com/c/chromium/src/+/2144012

The bug was fixed for every CSP checked in the renderer process. However
there are still an issue for the one checked in the browser process. It
turns out the CSP in the initial empty document weren't properly
propagated to the browser process.

This patch:
  1) Fix the bug by sending the CSP of the initial empty document.
  2) Add a regression test (WPT).

This patch can potentially also fix:
 - https://crbug.com/1072719
 - https://crbug.com/955350
(I haven't checked. I will do it later after landing this patch)

Bug: 1064676, 1072719, 955350
Change-Id: Ie5325035c74d9e2476d6c80af3e5d5c9068ea928
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159242
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Auto-Submit: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762769}

--

wpt-commits: 7179786e28b8266789355518b65b8df65aa962c2
wpt-pr: 23144
2020-04-28 11:45:25 +00:00
moz-wptsync-bot 5390972b73 Bug 1632222 [wpt PR 23174] - Update wpt metadata, a=testonly
wpt-pr: 23174
wpt-type: metadata
2020-04-27 03:42:37 +00:00
Navid Zolghadr 06311ae36f Bug 1632222 [wpt PR 23174] - Migrate pointerevents/mouse-on-object.html to wpt, a=testonly
Automatic update from web-platform-tests
Migrate pointerevents/mouse-on-object.html to wpt

The expected behavior on this test seems to be a
hack as it implicitly captures mouse to the object
and still sends the mouseup/pointerup to the object
when down happened on the object even though up is
happening outside of the object. This seems to
resolving compat issues on embedded flash objects.

Change-Id: Ibd888a989dbcf5e6ff08b35569903967edc957e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2160142
Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762476}

--

wpt-commits: 55367a4c706fa32301980773cb2c09cbcd291635
wpt-pr: 23174
2020-04-28 11:45:07 +00:00
Anthony Frehner bd409af798 Bug 1633228 [wpt PR 23254] - Fix mobile table, a=testonly
Automatic update from web-platform-tests
for larger tables on mobile, you have to wrap in a div

and set overflow to auto so that they'll scroll the div instead of the window

--

wpt-commits: 5e7cbed423a3040dc8ca50359dd033a46dba5cf4
wpt-pr: 23254
2020-04-28 11:45:02 +00:00
moz-wptsync-bot 711e677ef3 Bug 1631314 [wpt PR 23100] - Update wpt metadata, a=testonly
wpt-pr: 23100
wpt-type: metadata
2020-04-26 04:19:14 +00:00
Wanming Lin 25518a3ec9 Bug 1631314 [wpt PR 23100] - [device-orientation] Simplifies tests by using EventWatcher, a=testonly
Automatic update from web-platform-tests
[device-orientation] Simplifies tests by using EventWatcher

This CL simplifies wpt/orientation-event tests by using
testharness.js' `EventWatcher` to replace existing customized
`waitForEvent` method and improving event comparison methods.

Uses `setGetSensorShouldFail` to simulate UA can not provide
sensor information for orientation/deviceorientationabsoluteevent.https.html,
and merges which into orientation/basic-operation-absolute.https.html.

Bug: 816462
Change-Id: Ia7bf83cb9401265722e472ccdd01adc114eff660
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154389
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Cr-Commit-Position: refs/heads/master@{#762675}

--

wpt-commits: 44915d53e1747700990f4f03442040e59cd2da19
wpt-pr: 23100
2020-04-28 11:44:45 +00:00
moz-wptsync-bot d7c8bc7cf4 Bug 1632746 [wpt PR 23221] - Update wpt metadata, a=testonly
wpt-pr: 23221
wpt-type: metadata
2020-04-25 18:39:50 +00:00
Kent Tamura 4f6a64df73 Bug 1632746 [wpt PR 23221] - Implement and ship 'ruby-position' CSS property, a=testonly
Automatic update from web-platform-tests
Implement and ship 'ruby-position' CSS property

This CL implements 'ruby-position' CSS property, which is a property
independent from the existing '-webkit-ruby-position', but these
properties share a single ComputedStyle field.

We apply neither legacy name alias [1] nor legacy shorthands [2] because
 - Acceptable keyword sets are different in ruby-position and
   -webkit-ruby-position.
 - Avoid behavior changes with |element.style.webkitRubyPosition =
   'after'|.

* core/css/css_computed_style_declaration.cc
  Add 'ruby-position' to getComputedStyle() enumeration.

* core/css/parser/css_parser_fast_paths.cc
  Add setting for fast-path parsing

* core/css/properties/longhands/longhands_custom.cc
  Add CSSValueFromComputedStyleInternal() to translate a ComputedStyle::
  GetRubyPosition() value to 'over' or 'under'.

* core/css/resolver/style_builder_converter.{h,cc}
  Add a function to convert a parsed CSS keyword to a
  blink::RubyPosition value.

* web_tests/external/wpt/css/css-ruby/ruby-position.html
  New test to check ruby annotation position.

* web_tests/fast/ruby/ruby-position-om.html
  New test to check relationship between ruby-position and
  -webkit-ruby-position.

Approved intent: https://t.co/nmCPv0Onhk

[1] https://drafts.csswg.org/css-cascade/#legacy-name-alias
[2] https://drafts.csswg.org/css-cascade/#legacy-shorthand

Bug: 196690
Change-Id: I2f00099f90a2222b7ddba8b58c3a532f3b997744
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152569
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762664}

--

wpt-commits: ae457cd8b39790508e841f581e2066871859db1a
wpt-pr: 23221
2020-04-28 11:44:37 +00:00
autofoolip 218e6468ba Bug 1632681 [wpt PR 23218] - Update Safari Technology Preview to 105, a=testonly
Automatic update from web-platform-tests
Update Safari Technology Preview to 105 (#23218)

Version as reported by safaridriver --version:
Included with Safari Technology Preview (Release 105, 15610.1.10)

Source: https://developer.apple.com/safari/download/
Build: https://dev.azure.com/foolip/safari-technology-preview-updater/_build/results?buildId=1718&view=logs
--

wpt-commits: 63f66e28a46d7ba84013a9d9082f3337be30abb3
wpt-pr: 23218
2020-04-28 11:44:32 +00:00
Myles C. Maxfield d1cbab3da5 Bug 1632988 [wpt PR 23240] - Update two SVG tests to be consistent between browsers, a=testonly
Automatic update from web-platform-tests
Update two SVG tests to be consistent between browsers (#23240)

svg/import/pservers-grad-08-b-manual.svg:
This test renders some text using a font that doesn't contain the space glyph.
However, the content contains the space character, and doesn't specify a fallback
font. This means that different browsers on the same OS will pick different
fallback fonts, causing different renderings. Instead, the test should be updated
to specify a fallback font, which makes browsers render it consistently.

imported/w3c/web-platform-tests/svg/import/text-altglyph-01-b-manual.svg:
Similarly, this test renders text with a font that doesn't support those characters.
(It does it using <altGlyph>, but support for <altGlyph> has been removed in SVG 2.0
and neither Safari nor Firefox support it.) A fallback font should be supplied to the
test to get consistent renderings across browsers.

Co-authored-by: Myles C. Maxfield <mmaxfield@apple.com>
--

wpt-commits: 51151cf5bfc32adb8d96fca51a30c126d1e0200d
wpt-pr: 23240
2020-04-28 11:44:27 +00:00
Stephen McGruer daccbdba46 Bug 1633059 [wpt PR 23245] - Replace assert_precondition in workers/, a=testonly
Automatic update from web-platform-tests
Replace assert_precondition in workers/

assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).

--

wpt-commits: 78eae724c61bb01d858a01a324363e997ac66851
wpt-pr: 23245
2020-04-28 11:44:13 +00:00
Ovidio Henriquez 2d61799f08 Bug 1631973 [wpt PR 23157] - bluetooth: Split bluetooth-helpers.js, a=testonly
Automatic update from web-platform-tests
bluetooth: Split bluetooth-helpers.js

This change splits the bluetooth-helpers.js files in two. The new
bluetooth-test.js file contains methods for setting up the web tests and
for asserting conditions. The bluetooth-helpers.js file now contains
helper methods that set up fake Bluetooth devices for use in the Web
Bluetooth tests.

I added JsDoc style comments to the helper methods to make it clear
what kinds of objects are expected as parameters and what the methods
will return. I also reordered the bluetooth-helpers.js methods so that
they are defined before they are used.

Bug: 1070816
Change-Id: Ib5215555be2b24b11f8dea9098d83ad69719a284
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2149909
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: James Hollyer <jameshollyer@google.com>
Commit-Queue: Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762594}

--

wpt-commits: 6f8f0b30a4af91762427b4ff528ed344d5636c6d
wpt-pr: 23157
2020-04-28 11:44:08 +00:00
moz-wptsync-bot 0645c77ff9 Bug 1631939 [wpt PR 23152] - Update wpt metadata, a=testonly
wpt-pr: 23152
wpt-type: metadata
2020-04-25 02:02:36 +00:00