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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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