Commit Graph

664092 Commits

Author SHA1 Message Date
Frédéric Wang
7082d31179 Bug 1569391 [wpt PR 18121] - Add padding/border/margin tests for more MathML elements., a=testonly
Automatic update from web-platform-tests
Add padding/border/margin tests for more MathML elements. (#18121)

* Add padding/border/margin tests for more MathML elements.

This also introduces useful helpers in mathml-fragments.js

--

wpt-commits: e079873c1f30f13e23388a86b2b5beeddd349c78
wpt-pr: 18121
2019-08-05 14:50:09 +00:00
Rob Buis
a831bb7bf7 Bug 1569248 [wpt PR 18113] - Fix border-001.html, a=testonly
Automatic update from web-platform-tests
Fix border-001.html (#18113)

The border style also needs to be set before the widths have any effect.
To keep things non intrusive transparent is chosen for the color.
--

wpt-commits: 7bfa241671d6ca921229f6601d2d7b70dd55da90
wpt-pr: 18113
2019-08-05 14:50:09 +00:00
moz-wptsync-bot
7242da494f Bug 1569283 [wpt PR 18116] - Update wpt metadata, a=testonly
wpt-pr: 18116
wpt-type: metadata
2019-08-05 14:50:08 +00:00
Nicolás Peña Moreno
de85e1f1e3 Bug 1569283 [wpt PR 18116] - [LargestContentfulPaint] Add TAO tests, a=testonly
Automatic update from web-platform-tests
[LargestContentfulPaint] Add TAO tests

Bug: 965505
Change-Id: I1463f4b029e57f5293dc8dbe62462db7d241bf45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1721022
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681464}

--

wpt-commits: f504b587bc6fddec39c272f64726b01a471be0c0
wpt-pr: 18116
2019-08-05 14:50:08 +00:00
moz-wptsync-bot
8d1f42dc3b Bug 1569278 [wpt PR 18114] - Update wpt metadata, a=testonly
wpt-pr: 18114
wpt-type: metadata
2019-08-05 14:50:08 +00:00
Florian Rivoal
59ecf33f10 Bug 1569278 [wpt PR 18114] - [css-writing-modes] tests propagation of writing-mode and direction from body to root, a=testonly
Automatic update from web-platform-tests
[css-writing-modes] tests propagation of writing-mode and direction from body to root (#18114)

--

wpt-commits: 3da813a3818539a4ce3ca996281723ca9bc4c878
wpt-pr: 18114
2019-08-05 14:50:07 +00:00
moz-wptsync-bot
236dcbcd5d Bug 1569109 [wpt PR 18106] - Update wpt metadata, a=testonly
wpt-pr: 18106
wpt-type: metadata
2019-08-05 14:50:07 +00:00
autofoolip
cc16f67b4d Bug 1569109 [wpt PR 18106] - Update interfaces/shape-detection-api.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/shape-detection-api.idl (#18106)

* Update interfaces/shape-detection-api.idl

Source: https://github.com/tidoust/reffy-reports/blob/ae0ae16/whatwg/idl/shape-detection-api.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/563873234

* Make idlharness test secure origin

* Run on all workers

* Fix setup failure-case

* Apply suggestions from code review

Revert unrelated change

--

wpt-commits: afa33c653a3baf02f25e4ad6efdc17285ef5ba55
wpt-pr: 18106
2019-08-05 14:50:06 +00:00
moz-wptsync-bot
8a0e35fc8b Bug 1569228 [wpt PR 18111] - Update wpt metadata, a=testonly
wpt-pr: 18111
wpt-type: metadata
2019-08-05 14:50:06 +00:00
Frédéric Wang
9ab04a70ce Bug 1569228 [wpt PR 18111] - Add tests to check mapping of CSS attributes., a=testonly
Automatic update from web-platform-tests
Add tests to check mapping of CSS attributes. (#18111)

This also introduce a new helper to generate MathML fragments for each tag.
--

wpt-commits: ed46be30657580c975499e8dd7998aa51d7fc6e5
wpt-pr: 18111
2019-08-05 14:50:05 +00:00
Maks Orlovich
0630a767fd Bug 1568582 [wpt PR 18050] - Add missing renderer-side check for navigator.cookieEnabled., a=testonly
Automatic update from web-platform-tests
Add missing renderer-side check for navigator.cookieEnabled.

We weren't doing the renderer-side security checks for navigator.cookieEnabled,
so they would get rejections browser-side. I am not sure this is the real
cause of 983090, but it is a real bug.

This became an issue after the big port of document.cookie (and navigator.cookieEnabled)
to RestrictedCookieManager, as previously-used RenderFrameMessageFilter::OnCookiesEnabled
was missing browser-side checks, while the new RestrictedCookieManager::CookiesEnabledFor
has them.

Bug: 983090
Change-Id: I12bd582c952691276ed149fb44d1c4a07f564fdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715601
Commit-Queue: Maks Orlovich <morlovich@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681364}

--

wpt-commits: 744eb4db76cecc379c9529937a8a634d013eb9e6
wpt-pr: 18050
2019-08-05 14:50:05 +00:00
Ella Ge
9ff8bec13c Bug 1569019 [wpt PR 18090] - Reland "Re-write test pointerevent_pointermove_in_pointerlock.html", a=testonly
Automatic update from web-platform-tests
Reland "Re-write test pointerevent_pointermove_in_pointerlock.html"

This reverts commit 02efc0f4be0797b2c151e4aa598b125a6eccf191.

Reason for revert: [Cherry-picked & WIP] reland with fixing the test.

Original change's description:
> Revert "Re-write test pointerevent_pointermove_in_pointerlock.html"
>
> This reverts commit 9b7bafff73e59dc5d0cfcd0f499aa20be66bca54.
>
> Reason for revert: Causing leak failures on WebKit Linux Leak bot
>
> https://luci-milo.appspot.com/p/chromium/builders/ci/WebKit%20Linux%20Leak/2348
>
> Original change's description:
> > Re-write test pointerevent_pointermove_in_pointerlock.html
> >
> > The test was failing in wpt because it passing non-integer value to
> > test driver. This CL changes it to use "origin" instead.
> > This CL rewrites the test to makes it cleaner, instead of adding event
> > listener inside event listener.
> > This CL also changes the test to send the "move" events after receiving
> > pointerlockchange.
> >
> > Bug: 986277
> > Change-Id: I0f51523c3c90791339877b2e51afa8e9a4cc9d4d
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717195
> > Reviewed-by: Lan Wei <lanwei@chromium.org>
> > Commit-Queue: Ella Ge <eirage@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#680563}
>
> TBR=lanwei@chromium.org,eirage@chromium.org
>
> Change-Id: Ia53d1066363ceaf804f61ada369a4126c859f875
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 986277
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1716038
> Reviewed-by: Noel Gordon <noel@chromium.org>
> Commit-Queue: Noel Gordon <noel@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#680743}

TBR=noel@chromium.org,lanwei@chromium.org,eirage@chromium.org

Bug: 986277
Change-Id: I9b104597d2965261104e5842855ab235bdec8081
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719227
Reviewed-by: Ella Ge <eirage@chromium.org>
Reviewed-by: Noel Gordon <noel@chromium.org>
Commit-Queue: Ella Ge <eirage@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681360}

--

wpt-commits: 2bf3a6d07ee2350d763954327a73a5098fe4122a
wpt-pr: 18090
2019-08-05 14:50:04 +00:00
moz-wptsync-bot
9b564e15fb Bug 1534826 [wpt PR 15741] - Update wpt metadata, a=testonly
wpt-pr: 15741
wpt-type: metadata
2019-08-05 14:50:04 +00:00
Rijubrata Bhaumik
1b6b7501b2 Bug 1534826 [wpt PR 15741] - [ImageCapture] Add pan/tilt constraint and wire in Linux/CrOS., a=testonly
Automatic update from web-platform-tests
[ImageCapture] Add pan/tilt constraint and wire in Linux/CrOS.

Pan and Tilt Constraints are part of the UVC spec.
For Linux/CrOS, we can use V4L2 controls like
(V4L2_CID_PAN_ABSOLUTE and V4L2_CID_TILT_ABSOLUTE).

Spec: https://github.com/w3c/mediacapture-image/pull/182

Test Page: https://riju.github.io/WebCamera/samples/panTilt/

Putting Pan/Tilt feature behind a flag:
chrome --enable-blink-features=MediaCapturePanTilt

Intent to Implement and Ship discussions:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/j-Q08QgBipM/F3a5sau1BwAJ

Bug: 934063
Change-Id: I552c4c8be717c3b67c4d91f826a1f16850430fa4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1508519
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Cr-Commit-Position: refs/heads/master@{#681332}

--

wpt-commits: c019cf8328f1b985a37936ff2d617053f09aa3c1
wpt-pr: 15741
2019-08-05 14:50:03 +00:00
Rune Lillesveen
21594e0643 Bug 1569055 [wpt PR 18091] - Remove element from whitespace reattach set when detached., a=testonly
Automatic update from web-platform-tests
Remove element from whitespace reattach set when detached.

An element is added to the set if a child is removed in order to force
an update of whitespace siblings. Removing a child doesn't cause a
style recalc or layout tree rebuild, but removing an inline element
between say two whitespace nodes makes one of the whitespace LayoutTexts
unnecessary. We keep this set until the next lifecycle update and marks
the elements in the set for layout tree rebuild to reach the whitespace
children. We skip these nodes if the layout object had been detached in
the meantime.

What happens here, however is that we didn't remove the elements from
the set when the elements were removed from the document. In this case
it is even adopted into a different document and gets a new layout
object in that document's layout tree.

When the original document gets its lifecycle update, we try to rebuild
the layout tree of the element which is now in a different document and
DCHECKs fail for style dirtiness.

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

--

wpt-commits: 5fb2692263f71ff8cb1b8af8349c3873d69e6ba5
wpt-pr: 18091
2019-08-05 14:50:03 +00:00
Miyoung Shin
c9319c1ca8 Bug 1569138 [wpt PR 18075] - Rename traits and mojo directory in //ui/gfx/geometry, a=testonly
Automatic update from web-platform-tests
Rename traits and mojo directory in //ui/gfx/geometry

This CL renames mojo to mojom and *_struct_traits.* to
*_mojom_traits.* in //ui/gfx/geometry.

*_struct_traits.* => *_mojom_traits.*
ui/gfx/geometry/mojo => ui/gfx/geometry/mojom

Bug: 806965
Change-Id: I288f4019f88815ac92fc2f038676e7459ea01bd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717541
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681266}

--

wpt-commits: 81cf7224803a34a2fa3872a9db4ff0f7a3041282
wpt-pr: 18075
2019-08-05 14:50:03 +00:00
Friedrich [CET]
bad2910cdd Bug 1569177 [wpt PR 18110] - Reland "[LargestContentfulPaint] Set startTime", a=testonly
Automatic update from web-platform-tests
Reland "[LargestContentfulPaint] Set startTime"

This reverts commit 6df4545104337f8087db2c39ebb2ff8f8b03ac89.

Reason for revert: Reverting the revert might "fix" the test now that the failures are expected after a new wpt roll:
https://crrev.com/219a669145c403c99e3d7f441abbaad0e5d23a90/third_party/blink/web_tests/platform/win7/virtual/scalefactor200withoutzoom/external/wpt/largest-contentful-paint/observe-after-untrusted-scroll-expected.txt

Original change's description:
> Revert "[LargestContentfulPaint] Set startTime"
>
> This reverts commit 58051e426031caabd8ae28b96a9be1f92f3cd913.
>
> Reason for revert: Most suspicious CL for failing paint-related test
> failures as mentioned in the linked bug.
>
> Bug: 987915
>
> Original change's description:
> > [LargestContentfulPaint] Set startTime
> >
> > Currently startTime is 0, which is a problem because getEntries()
> > methods all sort by startTime. To help with this problem, we set the
> > startTime to renderTime, if available, or to loadTime, if renderTime is
> > nt available.
> >
> > Bug: 965505
> > Change-Id: Ie70b69269f7ce4be0fdc94f33a44a84e062d3ba5
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719379
> > Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
> > Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#681147}
>
> TBR=npm@chromium.org,yoavweiss@chromium.org
>
> Change-Id: Ie810b8a3ac88369ab73a66670865f462f590e1ec
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 965505
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719351
> Reviewed-by: Friedrich [CET] <fhorschig@chromium.org>
> Commit-Queue: Friedrich [CET] <fhorschig@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#681224}

TBR=npm@chromium.org,fhorschig@chromium.org,yoavweiss@chromium.org

Change-Id: I02478f0c560c64268593c3a9df158b4e505f4667
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 987915, 965505
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1720811
Reviewed-by: Friedrich [CET] <fhorschig@chromium.org>
Commit-Queue: Friedrich [CET] <fhorschig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681269}

--

wpt-commits: 7706c8a1c449aba22110e597bc223ebd7682f042
wpt-pr: 18110
2019-08-05 14:50:02 +00:00
Friedrich [CET]
d7f418f046 Bug 1569128 [wpt PR 18108] - Revert "[LargestContentfulPaint] Set startTime", a=testonly
Automatic update from web-platform-tests
Revert "[LargestContentfulPaint] Set startTime"

This reverts commit 58051e426031caabd8ae28b96a9be1f92f3cd913.

Reason for revert: Most suspicious CL for failing paint-related test
failures as mentioned in the linked bug.

Bug: 987915

Original change's description:
> [LargestContentfulPaint] Set startTime
>
> Currently startTime is 0, which is a problem because getEntries()
> methods all sort by startTime. To help with this problem, we set the
> startTime to renderTime, if available, or to loadTime, if renderTime is
> nt available.
>
> Bug: 965505
> Change-Id: Ie70b69269f7ce4be0fdc94f33a44a84e062d3ba5
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719379
> Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#681147}

TBR=npm@chromium.org,yoavweiss@chromium.org

Change-Id: Ie810b8a3ac88369ab73a66670865f462f590e1ec
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 965505
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719351
Reviewed-by: Friedrich [CET] <fhorschig@chromium.org>
Commit-Queue: Friedrich [CET] <fhorschig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681224}

--

wpt-commits: bc60e6f82132cfc9a5b688c566c7772024b3c15c
wpt-pr: 18108
2019-08-05 14:50:02 +00:00
moz-wptsync-bot
e73e00a7a0 Bug 1567853 [wpt PR 17970] - Update wpt metadata, a=testonly
wpt-pr: 17970
wpt-type: metadata
2019-08-05 14:50:01 +00:00
Florian Rivoal
cda445de7c Bug 1567853 [wpt PR 17970] - [css-writing-modes] test for https://github.com/w3c/csswg-drafts/issues/4139, a=testonly
Automatic update from web-platform-tests
[css-writing-modes] tests for https://github.com/w3c/csswg-drafts/issues/4139 (#17970)

--

wpt-commits: d1f5c9552ae7b12a74c97ad69cdf662c8cbfd263
wpt-pr: 17970
2019-08-05 14:50:01 +00:00
Frédéric Wang
539186bcc8 Bug 1569099 [wpt PR 18105] - MathML: Split color-1 and visibility-1 into smaller tests., a=testonly
Automatic update from web-platform-tests
MathML: Split color-1 and visibility-1 into smaller tests. (#18105)

This makes easier to debug, allows finer control on failure expectations and
more accurate references to spec sections. Feature detections are also
performed for the individual fraction, radical and menclose tests
to avoid false negative results.

Add feature detection for root and menclose too.
--

wpt-commits: e3d51119c3d46646de3c00a68bd6f463c4d097f3
wpt-pr: 18105


--HG--
rename : testing/web-platform/tests/mathml/relations/css-styling/color-1-ref.html => testing/web-platform/tests/mathml/relations/css-styling/color-001-ref.html
rename : testing/web-platform/tests/mathml/relations/css-styling/color-1-ref.html => testing/web-platform/tests/mathml/relations/css-styling/color-002-ref.html
rename : testing/web-platform/tests/mathml/relations/css-styling/color-1-ref.html => testing/web-platform/tests/mathml/relations/css-styling/color-003-ref.html
rename : testing/web-platform/tests/mathml/relations/css-styling/color-1-ref.html => testing/web-platform/tests/mathml/relations/css-styling/color-004-ref.html
rename : testing/web-platform/tests/mathml/relations/css-styling/visibility-1-ref.html => testing/web-platform/tests/mathml/relations/css-styling/visibility-001-ref.html
rename : testing/web-platform/tests/mathml/relations/css-styling/visibility-1-ref.html => testing/web-platform/tests/mathml/relations/css-styling/visibility-002-ref.html
rename : testing/web-platform/tests/mathml/relations/css-styling/visibility-1-ref.html => testing/web-platform/tests/mathml/relations/css-styling/visibility-003-ref.html
rename : testing/web-platform/tests/mathml/relations/css-styling/visibility-1-ref.html => testing/web-platform/tests/mathml/relations/css-styling/visibility-004-ref.html
2019-08-05 14:50:00 +00:00
Frédéric Wang
403be93c89 Bug 1569097 [wpt PR 18104] - MathML: Use feature detection in more tests to avoid false negative results, a=testonly
Automatic update from web-platform-tests
MathML: Use feature detection in more tests to avoid false negative results (#18104)

* MathML: Use feature detection in more tests to avoid false negative results.

* direction-token-ref.html: use style="direction: rtl;" for the reference instead of dir="rtl", otherwise nothing is actually tested. This matches how it is in WebKit's repository.
* displaystyle-1.html: Verify that the sibling of the mfrac actually draws large operator bigger, otherwise test passes when displaystyle/largeop are not supported at all.
* feature-detection.js: Add feature detection for the dir attribute.

* html5-tree/display-1.html also relies on mspace support.

--

wpt-commits: 092345c265335fc722353f049e5a1b1851744260
wpt-pr: 18104
2019-08-05 14:50:00 +00:00
Nicolás Peña Moreno
fa51ff97d4 Bug 1569013 [wpt PR 18088] - [LargestContentfulPaint] Set startTime, a=testonly
Automatic update from web-platform-tests
[LargestContentfulPaint] Set startTime

Currently startTime is 0, which is a problem because getEntries()
methods all sort by startTime. To help with this problem, we set the
startTime to renderTime, if available, or to loadTime, if renderTime is
nt available.

Bug: 965505
Change-Id: Ie70b69269f7ce4be0fdc94f33a44a84e062d3ba5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719379
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681147}

--

wpt-commits: 10f3317909fa85cbed876da201871dcb735ad6f0
wpt-pr: 18088
2019-08-05 14:49:59 +00:00
Hiroshige Hayashizaki
9107513a0b Bug 1569086 [wpt PR 18102] - [WPT/common/security-features] Rename source_protocol to source_scheme, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Rename source_protocol to source_scheme

Follow-up of
https://chromium-review.googlesource.com/c/chromium/src/+/1717115.

Because "scheme" is more spec-conformant name.

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

--

wpt-commits: 9779a8a2f9cd7c46f955c438551d7fc791a2a12e
wpt-pr: 18102
2019-08-05 14:49:59 +00:00
Hiroshige Hayashizaki
19b077391c Bug 1569085 [wpt PR 18101] - [WPT/referrer-policy] Move delivery_type control out of test_expansion, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Move delivery_type control out of test_expansion

A subsequent CL [1] will introduce `delivery_type_schema`
that controls relationship between source contexts,
subresource types, and delivery types.

As a preparation, this CL removes the restriction on `delivery_type`
specified in `elements-not-supporting-attr-referrer`,
`elements-not-supporting-rel-noreferrer`, and
`test_expansion` entries, that will be replaced by
`delivery_type_schema` in [1].

Generated files will be updated after some more changes, not now.
Also, changes needed in JavaScripts to handle new generated values
are not included in this CL and will land later.

Just after this CL, the generator produces more files than before
due to lack of `delivery_type_schema`, but this will be fixed
by [1].

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

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

--

wpt-commits: cf7b59d32e9dc4e00749fd6e5de13dc16872709c
wpt-pr: 18101
2019-08-05 14:49:58 +00:00
Hiroshige Hayashizaki
854d46c421 Bug 1569083 [wpt PR 18100] - [WPT/common/security-features] Merge spec_validator.py, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Merge spec_validator.py

As a result of preceding refactoring, spec_validator of
mixed-content and referrer-policy tests became same.

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

--

wpt-commits: e7537bb0c299137d9611f6716b2fce07afe4e9d5
wpt-pr: 18100


--HG--
rename : testing/web-platform/tests/mixed-content/generic/tools/spec_validator.py => testing/web-platform/tests/common/security-features/tools/spec_validator.py
2019-08-05 14:49:58 +00:00
Hiroshige Hayashizaki
57e672b21b Bug 1569082 [wpt PR 18099] - [WPT/common/security-features] Update origin and redirection values, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Update origin and redirection values

Generated files will be updated after some more changes, not now.
Also, changes needed in JavaScripts to handle new generated values
are not included in this CL and will land later.

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

--

wpt-commits: f24470081d3bb009db67a0ce9812b587f75e34de
wpt-pr: 18099
2019-08-05 14:49:57 +00:00
Nicolás Peña Moreno
6e46cc5992 Bug 1569017 [wpt PR 18089] - [ElementTiming] Set startTime, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Set startTime

Bug: 879270, 942033
Change-Id: I2cf90c23c3e1e3c81850bcb40e54e2ae39117dd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719407
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681101}

--

wpt-commits: 4a3d66ac0491dcaf7bdfe1163ba08d1916ddca08
wpt-pr: 18089
2019-08-05 14:49:57 +00:00
Hiroshige Hayashizaki
b1674029a2 Bug 1569079 [wpt PR 18098] - [WPT/referrer-policy] Merge target_protocol and origin, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Merge target_protocol and origin

As we've already merged `target_protocol` and `origin` into one
`origin` value in underlying JavaScripts, this CL applies
this conversion also in generators.

Generated files will be updated after some more changes, not now.
Also, changes needed in JavaScripts to handle new generated values
are not included in this CL and will land later.

spec.src.json changes are made by:

originTypeConversion = {
  "same-origin-http": "same-http",
  "same-origin-https": "same-https",
  "cross-origin-http": "cross-http",
  "cross-origin-https": "cross-https"
}
for test_expansion in sum([s['test_expansion'] for s in spec["specification"]],
                          []) + spec["excluded_tests"]:
  if 'target_protocol' in test_expansion:
    protocols = test_expansion['target_protocol']
    origins = test_expansion['origin']
    if protocols == '*':
      protocols = ['http', 'https']
    if origins == '*':
      origins = ['same-origin', 'cross-origin']
    if isinstance(protocols, unicode):
      protocols = [protocols]
    if isinstance(origins, unicode):
      origins = [origins]
    new_origins = []
    for protocol in protocols:
      for origin in origins:
        new_origins.append(originTypeConversion[origin + '-' + protocol])
    if len(set(new_origins)) == 4:
      new_origins = u"*"
    if len(new_origins) == 1:
      new_origins = new_origins[0]
    test_expansion['origin'] = new_origins
    del test_expansion['target_protocol']
spec['test_expansion_schema']['origin'] = [
    "same-http", "same-https", "cross-http", "cross-https"
]
del spec['test_expansion_schema']['target_protocol']

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

--

wpt-commits: 77c921beffddee27d024c21374dd48113edd4111
wpt-pr: 18098
2019-08-05 14:49:57 +00:00
Aleks Totic
216a16d5e1 Bug 1566669 [wpt PR 17868] - [Layout] bugfix: Update scrollable area after overflow recalc, a=testonly
Automatic update from web-platform-tests
[Layout] bugfix: Update scrollable area after overflow recalc

Bug is:

  <container overflow:scroll>
    <target transform:scale(1)>

Initially, container's scrollbars are disabled.
When target changes its scale and grows outside of container,
scrollbars were not updated.
Fix #1 is to call UpdateScrollbarEnabledState. This resulted in
scrollbars being painted, but not clickable.
Fix #2, calling UpdateScrollableAreaSet makes scrollbars
clickable too.
Fix #2 was an educated guess.

Bug: 926167
Change-Id: I02454047c87aaecede9c56db1c02bbd1b21b15c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1704218
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681091}

--

wpt-commits: a00fc0867640cf60333bc8831fad1170881e67d7
wpt-pr: 17868
2019-08-05 14:49:56 +00:00
Hiroshige Hayashizaki
1303f42057 Bug 1569076 [wpt PR 18097] - [WPT/common/security-features] Add formatter of spec.src.json, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Add formatter of spec.src.json

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

--

wpt-commits: faddbfa49ccd287afe9d0d6ddf44258351f2c5f4
wpt-pr: 18097
2019-08-05 14:49:56 +00:00
Hiroshige Hayashizaki
c186825589 Bug 1569069 [wpt PR 18096] - [WPT/mixed-content] Remove context_nesting, a=testonly
Automatic update from web-platform-tests
[WPT/mixed-content] Remove context_nesting

The values are always `top-level` and not used anywhere.

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

--

wpt-commits: 7076cd5fced3e8823ca37fdcb44a795daea85089
wpt-pr: 18096
2019-08-05 14:49:55 +00:00
Hiroshige Hayashizaki
ddc416d023 Bug 1569067 [wpt PR 18095] - [WPT/referrer-policy] Rename referrer_policy to delivery_value, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Rename referrer_policy to delivery_value

To use common structures and names in referrer-policy and
mixed-content tests, this CL

- Renames `referrer_policy` to `delivery_value`, and
- Moves it under `test_expansion`, because in mixed-content
  tests `delivery_value` can be different among multiple
  `test_expansion` entries under a single `specification` entry.

Accordingly, `referrer_policy_schema` is moved to
`test_expansion_schema`'s `delivery_value`, and
related checks in spec_validator are removed.

Generated files will be updated after some more changes, not now.

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

--

wpt-commits: bfc2f55ee13c6884059d9d5058a0ec02cf01f239
wpt-pr: 18095
2019-08-05 14:49:55 +00:00
Hiroshige Hayashizaki
54012906ef Bug 1569066 [wpt PR 18094] - [WPT/mixed-content] Tentatively rename source_scheme to source_protocol, a=testonly
Automatic update from web-platform-tests
[WPT/mixed-content] Tentatively rename source_scheme to source_protocol

To use common names in referrer-policy and
mixed-content tests.

The final goal is to rename all to `source_scheme` (which is done in
https://chromium-review.googlesource.com/c/chromium/src/+/1718991).
This CL renames first `source_scheme` to `source_protocol`,
just to avoid rebasing in a long chain of commits.

Generated files will be updated after some more changes, not now.

Bug: 906850
Change-Id: Ic89e60e8a5f2f2780ad416ef189cfc5d1ad1b16e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717115
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681061}

--

wpt-commits: bb133fdd5ace2f947f43dae92f6d6b278b445205
wpt-pr: 18094
2019-08-05 14:49:54 +00:00
Hiroshige Hayashizaki
a1ccc34f63 Bug 1569065 [wpt PR 18093] - [WPT/referrer-policy] Rename delivery_method to delivery_type, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Rename delivery_method to delivery_type

To align spec.src.json with other parts of common/security-features/
such as common.js.

Generated files will be updated after some more changes, not now.

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

--

wpt-commits: 31c6b94c1b38c75a5e0a2cd93918c0e5009a89b1
wpt-pr: 18093
2019-08-05 14:49:54 +00:00
Hiroshige Hayashizaki
7477172602 Bug 1569062 [wpt PR 18092] - [WPT/mixed-content] Restructure opt_in_method into delivery_type/value, a=testonly
Automatic update from web-platform-tests
[WPT/mixed-content] Restructure opt_in_method into delivery_type/value

This CL rewrites `opt_in_method` so that both
mixed-content and referrer-policy tests uses
`delivery_type` and `delivery_value`.

Mapping:

| Before this CL    | After this CL                  |
| opt_in_method     | delivery_type | delivery_value |
+-------------------+---------------+----------------+
| "no-opt-in"       | "meta"        | null           |
| "meta-csp"        | "meta"        | "opt-in"       |
| "http-csp"        | "http-rp"     | "opt-in"       |
| "img-crossorigin" | Removed                        |

"img-crossorigin" was removed because it was not implemented.

Generated files will be updated after some more changes, not now.

Bug: 906850
Change-Id: I4ea4571ee1c1312fe8fbc35590548a8021141258
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717107
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681057}

--

wpt-commits: 47cc9ef82b9ba914f3cb17c4a08fcf3960441021
wpt-pr: 18092
2019-08-05 14:49:53 +00:00
Hiroshige Hayashizaki
0cbbb541ef Bug 1568732 [wpt PR 18067] - [WPT/referrer-policy] Rename referrer_url to expectation, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Rename referrer_url to expectation

To use common names in referrer-policy and
mixed-content tests.

Generated files will be updated after some more changes, not now.

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

--

wpt-commits: 0771c1fa77efba15a4022c21a70740d637c02b9d
wpt-pr: 18067
2019-08-05 14:49:53 +00:00
moz-wptsync-bot
8457acf27a Bug 1568562 [wpt PR 18048] - Update wpt metadata, a=testonly
wpt-pr: 18048
wpt-type: metadata
2019-08-05 14:49:52 +00:00
Vladimir Levin
7fb865c639 Bug 1568562 [wpt PR 18048] - [PE]: Improve the interest rect computation under perspective., a=testonly
Automatic update from web-platform-tests
[PE]: Improve the interest rect computation under perspective.

This patch tries to normalize some of the rects we deal with when
performing interest rect calculations. This is done by capping the
ranges of numbers that we may encounter, in order to produce more
stable results.

The upside of this is that we will paint more content that we would
otherwise erroneously assume to be not intersecting the viewport
(even after padding).

The downside of this is that we may paint more content that is properly
far off screen.

R=chrishtr@chromium.org

Bug: 986110
Change-Id: I69254d2a855e8f083406b13638741b8bc2b85b5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715917
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681050}

--

wpt-commits: b95e06f14f8094184be1db0f87d1dcc37325c664
wpt-pr: 18048
2019-08-05 14:49:52 +00:00
moz-wptsync-bot
6973e458e0 Bug 1568103 [wpt PR 17988] - Update wpt metadata, a=testonly
wpt-pr: 17988
wpt-type: metadata
2019-08-05 14:49:51 +00:00
Staphany Park
5373282c00 Bug 1568103 [wpt PR 17988] - Cookie Store API: Fix crashes on http://localhost., a=testonly
Automatic update from web-platform-tests
Cookie Store API: Fix crashes on http://localhost.

Issue #1:
The "SecureContext" IDL attribute considers localhost to be secure, but
the Cookie Store API assumed that it would only be exposed on
cryptographically secure origins, so a DCHECK caused attempts to
set/delete cookies on http://localhost to crash.

This CL replaces the DCHECK with an exception that is thrown on attempts
to set/delete secure cookies on cryptographically insecure origins.

Issue #2: The "secure" cookie attribute defaulted to true.
Setting/deleting a secure cookie on a cryptographically insecure origin
is prohibited. The cookieStore.delete() API excluded the option to set
the "secure" attribute, however, so there was no way to delete an
insecure cookie.

This CL defaults the "secure" attribute to true on cryptographically
secure origins, and false otherwise.

Bug: 956641
Change-Id: Iff7c22713e8604d60b68d42199a74b2d08235712
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1700357
Commit-Queue: Staphany Park <staphany@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681054}

--

wpt-commits: 2e135c03ff73a7102011f4e610dc7890eb4332a1
wpt-pr: 17988
2019-08-05 14:49:51 +00:00
Hiroshige Hayashizaki
2084e98a19 Bug 1568733 [wpt PR 18068] - [WPT/common/security-features] Add delivery_key, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Add delivery_key

This CL adds `delivery_key` to spec.src.json down to
the JSON objects supplied to JavaScript test runners,
to distinguish referrer-policy and mixed-content tests
explicitly by data fields.

Generated files will be updated after some more changes, not now.

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

--

wpt-commits: 2c422b2075e70226d9f531d684915798a33e8259
wpt-pr: 18068
2019-08-05 14:49:51 +00:00
Alex Cooper
534ebce902 Bug 1568669 [wpt PR 18058] - Move internal xr tests to wpt_internal/webxr, a=testonly
Automatic update from web-platform-tests
Move internal xr tests to wpt_internal/webxr

This allows the two sets of tests to run the same infrastructure, and
ensures that they will stay more closely in sync.  This also allows
for easier porting of the tests and more consistency in the tests.

Bug: 959476
Change-Id: I8eca0372a4091dd27702b099eb3836bfe9d6648d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717328
Commit-Queue: Klaus Weidner <klausw@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681021}

--

wpt-commits: 7f168d2902db1dd889b314f597f38148ffcdc963
wpt-pr: 18058
2019-08-05 14:49:50 +00:00
moz-wptsync-bot
08c90d7ede Bug 1568271 [wpt PR 18006] - Update wpt metadata, a=testonly
wpt-pr: 18006
wpt-type: metadata
2019-08-05 14:49:50 +00:00
Luke Bjerring
728939e2ba Bug 1568271 [wpt PR 18006] - Include typedefs as idlharness dependencies, a=testonly
Automatic update from web-platform-tests
Include typedefs as idlharness dependencies (#18006)

* Include typedefs as dependencies

* Fix credential-management

* Add FileAPI dep to html/dom interfaces test

--

wpt-commits: bc908ac5428cd665341ff7c990fccfb95d3f07ef
wpt-pr: 18006
2019-08-05 14:49:49 +00:00
Nicolás Peña Moreno
ba2bcea094 Bug 1568578 [wpt PR 18049] - [ElementTiming] Add Element's elementTiming attribute getter, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Add Element's elementTiming attribute getter

Relevant Intent to Ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/DXSoS7dMmok

Bug: 879270, 942033
Change-Id: I399489e766f4eafdd3087f159320dc3211bf1c01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715257
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681013}

--

wpt-commits: 74c79eb58391db63257b1ae9adddcd32395a1ab0
wpt-pr: 18049
2019-08-05 14:49:49 +00:00
moz-wptsync-bot
411ef7316b Bug 1568935 [wpt PR 18085] - Update wpt metadata, a=testonly
wpt-pr: 18085
wpt-type: metadata
2019-08-05 14:49:48 +00:00
Luke Bjerring
c71fa126bf Bug 1568935 [wpt PR 18085] - [idlharness.js] Handle callbacks in very basic manner, a=testonly
Automatic update from web-platform-tests
[idlharness.js] Handle callbacks in very basic manner (#18085)

* Handle callbacks in very basic manner

* Drop todo, keep new Document()

--

wpt-commits: 53f176da20d4a91bc59729472bf1a0ec1399073b
wpt-pr: 18085
2019-08-05 14:49:48 +00:00
Frédéric Wang
1f43ea0fb9 Bug 1568941 [wpt PR 18086] - MathML: Avoid more false negative results for fraction reftests, a=testonly
Automatic update from web-platform-tests
MathML: Avoid more false negative results for fraction reftests (#18086)

This also introduces improvements to MathMLFeatureDetection:
* Introduce has_mfrac().
* Split mathml source into several lines for better readability.
* Add reference links to core spec.
* Fix detection for lspace/rspace (measure the mrow container instead of mo).
* Add helper function to check a feature for match reftest and otherwise
  force failure by displaying a red square at the top left corner.
--

wpt-commits: f1e6032e71849ee5ed11b5794406dd9ebd4bcdf6
wpt-pr: 18086
2019-08-05 14:49:47 +00:00
moz-wptsync-bot
d8db6c2118 Bug 1568912 [wpt PR 18084] - Update wpt metadata, a=testonly
wpt-pr: 18084
wpt-type: metadata
2019-08-05 14:49:47 +00:00