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

25407 Коммитов

Автор SHA1 Сообщение Дата
Morten Stenshorne 4e74794be0 Bug 1651523 [wpt PR 24522] - [LayoutNG] Only apply block-end margins where the block actually ends., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Only apply block-end margins where the block actually ends.

If we reached the end of a block in an earlier fragmentainer, but
there's overflowing content, we'll revisit this block in subsequent
fragmentainers as long as child content needs it. Repeating the
block-end margins in these fragmentainers would be wrong, though.

Use AdjustForFragmentation() only for margins, and rename it to
AdjustMarginsForFragmentation().
The fieldset layout algorithm was using this one for borders/padding,
while block and multicol layout called
AdjustBorderScrollbarPaddingForFragmentation() in container_builder_.
Become more uniform by calling that method for all in
SetupFragmentBuilderForFragmentation() (via the base layout algorithm
constructor). Since this depends on the initial fragment geometry being
set, also do that in the base layout algorithm constructor.

Bug: 829028
Change-Id: I6808d023e4e79ab489bdb3a48e3c6c47cf9db6c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2287313
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786791}

--

wpt-commits: 931e5b7e2fe9818a7e15caa6378fabb00dbbca6a
wpt-pr: 24522
2020-07-18 02:09:08 +00:00
Robert Ma aed5691d63 Bug 1649571 [wpt PR 24400] - [WPT] Introduce a test-only-api helper script, a=testonly
Automatic update from web-platform-tests
[WPT] Introduce a test-only-api helper script

including a helper function to load Mojo JS bindings. This will enable
us to have better control over loading of *.mojom.js (notably disable
automatic dependency loading) and reduce code duplication.

Refactor WebXR tests to use this helper script, and add missing
dependencies that were previously auto loaded. (WebUSB & WebBluetooth
changes to follow.)

Note that upstream WPT still does not have *.mojom.js available so tests
will continue to fail there (but with a clearer error). Test results on
Chromium waterfall should not change.

Bug: 1094512
Change-Id: If660c4788c185bc7baf9ce6edbb691333e509d4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276652
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786746}

--

wpt-commits: 8d7104310d9fdb1b2eb6995219c31489d25010b5
wpt-pr: 24400
2020-07-18 02:09:08 +00:00
Robert Ma c4ec06e334 Bug 1651435 [wpt PR 24514] - Actually remove six from Dockerfile, a=testonly
Automatic update from web-platform-tests
Actually remove six from Dockerfile

With #24484 removing the dependency on system six, we are now able to
remove it from the Docker image, which was introduced in #23733.

Removing this has the benefit of avoiding introducing accidental
dependency.

--

wpt-commits: dea212bda34384982165966b6085dc9f4ec20858
wpt-pr: 24514
2020-07-18 02:09:08 +00:00
Ziran Sun 9455c21178 Bug 1651023 [wpt PR 24483] - Python 3: port tests in common/security-features/subresource [part 1], a=testonly
Automatic update from web-platform-tests
Python 3: port tests in common/security-features/subresource [part 1]

--

wpt-commits: 65017732a4d565590b4c350ef7d9ea476455c424
wpt-pr: 24483
2020-07-18 02:09:07 +00:00
autofoolip 0af532b436 Bug 1651795 [wpt PR 24529] - Update interfaces/payment-handler.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/payment-handler.idl (#24529)

Source: https://github.com/tidoust/reffy-reports/blob/199f6dd/ed/idl/payment-handler.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/706419602
--

wpt-commits: 68410b5da09508fa269bd612356371649e608000
wpt-pr: 24529
2020-07-18 02:09:07 +00:00
Florian Rivoal 8aa977a443 Bug 1651793 [wpt PR 24530] - Wrong assert, a=testonly
Automatic update from web-platform-tests
Remove inaccurate assert (#24530)

The test and its title are right, but the assert doesn't describe it
well. Dropping it.
--

wpt-commits: 40ef02d00e6e4209a8c48d59f56952ad7654731c
wpt-pr: 24530
2020-07-18 02:09:06 +00:00
moz-wptsync-bot a9394bb637 Bug 1651466 [wpt PR 24516] - Update wpt metadata, a=testonly
wpt-pr: 24516
wpt-type: metadata
2020-07-18 02:09:06 +00:00
fantasai ae5a63dedb Bug 1651466 [wpt PR 24516] - [css-text-3] Add letter-spacing tests written last October, a=testonly
Automatic update from web-platform-tests
[css-text-3] Add letter-spacing tests written last October (#24516)

r=frivoal
--

wpt-commits: 3e6a569c8126d6782193ffec32fd501aa038c408
wpt-pr: 24516
2020-07-18 02:09:05 +00:00
Chany Arpin-Plante c2ac8a7755 Bug 1649893 [wpt PR 24418] - Fix CSS typed OM CSSSkewX and CSSSkewY toMatrix method to use degrees instead of radians., a=testonly
Automatic update from web-platform-tests
Fix CSS typed OM CSSSkewX and CSSSkewY toMatrix method to use degrees instead of radians.

The toMatrix method of a CSSTransformComponent should return a DOMMatrix
representing the object transformation.
https://www.w3.org/TR/css-typed-om-1/#dom-csstransformcomponent-tomatrix

The skewXSelf and skewYSelf methods used to apply a transformation on a
matrix must be provided with an angle parameter expressed in degrees.
https://www.w3.org/TR/geometry-1/#dom-dommatrix-skewxself
https://www.w3.org/TR/geometry-1/#dom-dommatrix-skewyself

Since the angles passed to the skewXSelf and skewYSelf were in radians,
DOMMatrix returned by the toMatrix method of those two components was incorrect.

R=alancutter@chromium.org

Change-Id: I5edc1cdf1493184584154723508c6e20c212ac92
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2242008
Commit-Queue: Alan Cutter <alancutter@chromium.org>
Reviewed-by: Alan Cutter <alancutter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786632}

--

wpt-commits: f8d07d1a6788da6efee2913d5768528de28c9b57
wpt-pr: 24418
2020-07-18 02:09:05 +00:00
Mohsen Izadi 1f05a6fbda Bug 1651786 [wpt PR 24528] - Revert "Do not expose media devices before a successful getUserMedia()", a=testonly
Automatic update from web-platform-tests
Revert "Do not expose media devices before a successful getUserMedia()"

This reverts commit d64e736aa8c7976b12b33f92472f7950bf0215b9.

Reason for revert: Caused chrome_all_tast_tests / camera.CCAUISanity.fake failures; e.g. https://ci.chromium.org/p/chrome/builders/ci/chromeos-betty-pi-arc-chrome/7680

Original change's description:
> Do not expose media devices before a successful getUserMedia()
>
> This is a spec-compliance change.
>
> This CL also adds some improvements to the blink MediaDevices unit test.
>
> Bug: 1101860
> Change-Id: If2e7824df3b3dbd3cdb80f4bcf6b5c417d6f0ef2
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2279808
> Commit-Queue: Guido Urdaneta <guidou@chromium.org>
> Reviewed-by: Harald Alvestrand <hta@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#786253}

TBR=hta@chromium.org,guidou@chromium.org

Change-Id: I41b676c7d3e437c06d23f2b46270453f1cc81670
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1101860
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288282
Reviewed-by: Mohsen Izadi <mohsen@chromium.org>
Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786615}

--

wpt-commits: 66a61640ed3a93fa0ddaf2aabe07193a17066b82
wpt-pr: 24528
2020-07-18 02:09:04 +00:00
autofoolip 51a8fa188e Bug 1651554 [wpt PR 24525] - Update interfaces/webauthn.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webauthn.idl (#24525)

Source: https://github.com/tidoust/reffy-reports/blob/de373e9/ed/idl/webauthn.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/706366061
--

wpt-commits: ade4f1ff0ecb2ff88d0aa94f1bee6a2d8e2b81f4
wpt-pr: 24525
2020-07-18 02:09:04 +00:00
Keishi Hattori 1f5ed02663 Bug 1651556 [wpt PR 24526] - Revert "Abstract portal activation handling to avoid hack of making a fake promise.", a=testonly
Automatic update from web-platform-tests
Revert "Abstract portal activation handling to avoid hack of making a fake promise."

This reverts commit fdc228c7acab87083507a1276f9d8f786966f5d6.

Reason for revert: portal-activate-default.html test timeout failure
https://ci.chromium.org/p/chromium/builders/ci/Mac10.10%20Tests/55803

Original change's description:
> Abstract portal activation handling to avoid hack of making a fake promise.
>
> This is somewhat verbose, but allows us to avoid the unhandled rejection
> being visible to script without having to make this hack even worse.
>
> Instead of actually calling activate(), this mirrors the spec structure
> by simply calling to underlying logic, passing a resolver where it makes
> sense and not (in this case, passing a substitute object) where it
> doesn't.
>
> Bug: 1102081
> Change-Id: I0eecf253928bfce39afcddccf54e9bc6f6c0d549
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285340
> Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
> Commit-Queue: Jeremy Roman <jbroman@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#786480}

TBR=jbroman@chromium.org,adithyas@chromium.org

Change-Id: I00da9eee8625ca5da3a09efb7078e22a277dbfd8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1102081
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288712
Reviewed-by: Keishi Hattori <keishi@chromium.org>
Commit-Queue: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786596}

--

wpt-commits: 3c4df6d40bcb03edae052d0a37dc14291706c6a7
wpt-pr: 24526
2020-07-18 02:09:03 +00:00
Nate Chapin 9683551b1e Bug 1651471 [wpt PR 24517] - Toggling sandbox flags on an <iframe> in an inactive document should not crash, a=testonly
Automatic update from web-platform-tests
Toggling sandbox flags on an <iframe> in an inactive document should not crash

Bug: 1103089
Test: html/semantics/embedded-content/the-iframe-element/sandbox-toggle-in-inactive-document-crash.html
Change-Id: I7d5e7e9e53f7cfd4b94baf02ae58f1cda2d55009
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288096
Commit-Queue: Kentaro Hara <haraken@chromium.org>
Auto-Submit: Nate Chapin <japhet@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786585}

--

wpt-commits: b7e72be983d0d4dee57e77d0d3c0f1f95b3e31c5
wpt-pr: 24517
2020-07-18 02:09:03 +00:00
Narcis Beleuzu 5972d02069 Backed out changeset 41892926a339 (bug 1653631) for wpt failures on idlharness.html . CLOSED TREE 2020-07-18 00:41:08 +03:00
Narcis Beleuzu b1faa2872a Backed out 17 changesets (bug 1486004) for wrench bustage on android.py . CLOSED TREE
Backed out changeset cae730f105d7 (bug 1486004)
Backed out changeset e0094d50a315 (bug 1486004)
Backed out changeset 424425ed98c6 (bug 1486004)
Backed out changeset 551232749abe (bug 1486004)
Backed out changeset 505747095def (bug 1486004)
Backed out changeset 5b1c62c4a4d5 (bug 1486004)
Backed out changeset 0a1c8d50ee69 (bug 1486004)
Backed out changeset 6ef81c676859 (bug 1486004)
Backed out changeset 234e55153fb6 (bug 1486004)
Backed out changeset 2f33b309d746 (bug 1486004)
Backed out changeset 48947692c176 (bug 1486004)
Backed out changeset 473bac8eedd9 (bug 1486004)
Backed out changeset af6afed0a04a (bug 1486004)
Backed out changeset a0e2f91eb4d4 (bug 1486004)
Backed out changeset 138c987440c7 (bug 1486004)
Backed out changeset 6d2e305f4722 (bug 1486004)
Backed out changeset 1181ff03bb05 (bug 1486004)
2020-07-17 23:43:57 +03:00
Bob Clary 5dcbc2ac9f Bug 1486004 - Part 16 - Update web-platform tests to support unrooted android devices using mozdevice 4.0.0, ? r=jgraham
Depends on D82758

Differential Revision: https://phabricator.services.mozilla.com/D82759
2020-07-16 21:32:56 +00:00
Erik Nordin 7c4630818f Bug 1653631 - Enable Constructable StyleSheets for CSSOM WPTs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83992
2020-07-17 18:27:42 +00:00
Henrik Skupin 49b43391f5 Bug 1652973 - [wdspec] Replace create_window fixture with new window command. r=jgraham
Now that each driver supports the new window command, we can make use of it
as replacement for the create_window fixture.

Given that there is no need to check the type of the new window,
this implementation doesn't add a check for that.

Differential Revision: https://phabricator.services.mozilla.com/D83800
2020-07-17 16:32:15 +00:00
Henrik Skupin e5d59335ce Bug 1652973 - [wdspec] Move close() method of webdriver client into the Window class. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D83799
2020-07-17 16:36:06 +00:00
Cameron McCormack 33a2a16963 Bug 1652896 - Fix WPT to not assume `button` is the default appearance of a <button>. r=emilio
There are still a few failures in this test due to us supporting
non-standard aliases of some standard values.

Differential Revision: https://phabricator.services.mozilla.com/D83599
2020-07-15 10:40:50 +00:00
Cameron McCormack ec3a51f08d Bug 1620467 - Part 12: Hide range and number-input appearance values from content. r=emilio
Forgot to follow up on these two remaining non-standard values that may have
been being used to reset a <meter> or <input type=number> back to its
original appearance, but which telemetry showed no usage of.

Differential Revision: https://phabricator.services.mozilla.com/D83598
2020-07-16 22:04:38 +00:00
Cameron McCormack f2744d489b Bug 1620467 - Part 10: Make remaining appearance values behave like auto. r=emilio
This includes all of the <compat-auto> values, plus menulist-button,
which doesn't behave any differently from menulist currently.

Differential Revision: https://phabricator.services.mozilla.com/D83436
2020-07-16 22:04:28 +00:00
Cameron McCormack 9f7843cb34 Bug 1620467 - Part 9: Make `appearance: textfield` behave like auto except on search and number inputs. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83435
2020-07-16 22:04:26 +00:00
Cameron McCormack 557d0316a9 Bug 1620467 - Part 8: Make `appearance: button` behave like auto on various elements. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83434
2020-07-16 22:04:24 +00:00
Cameron McCormack af3cb9efc8 Bug 1620467 - Part 5: Remove appearance values not used by the browser or Web content. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83431
2020-07-16 22:04:14 +00:00
Cameron McCormack dd61f595eb Bug 1620467 - Part 4: Change internal uses of -moz-appearance to appearance and -moz-default-appearance. r=emilio,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,ntim,agi,miketaylr
Uses of `-moz-appearance: none` are changed to `appearance: none`.

Uses of other values that are simply reverting the appearance back to
its default are changed to `appearance: auto`.

Uses of values in UA sheets that are defining the inherent appearance of
widgets are changed to:

  appearance: auto;
  -moz-default-appearance: <value>;

since those values are either no longer supported on (-moz-)appearance,
or are still supported but only in some limited form.

There are some uses of `-moz-appearance: textfield` on <input
type=number> elements that are renamed to `appearance: textfield`.

Differential Revision: https://phabricator.services.mozilla.com/D83430
2020-07-16 22:04:14 +00:00
Cameron McCormack 1fe732d979 Bug 1620467 - Part 3: Defer to -moz-default-appearance when appearance is auto. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83429
2020-07-16 22:04:12 +00:00
Cameron McCormack 1739610d9a Bug 1620467 - Part 2: Add unprefixed appearance property and make -moz-appearance and -webkit-appearance be aliases. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83428
2020-07-16 22:04:11 +00:00
Narcis Beleuzu 1eb115035d Backed out 20 changesets (bug 1486004, bug 1653094) for wrench bustages. CLOSED TREE
Backed out changeset 120c64ebdea3 (bug 1486004)
Backed out changeset b10f105b1c36 (bug 1486004)
Backed out changeset 7f186e6bcccc (bug 1486004)
Backed out changeset cdda7b349cd8 (bug 1486004)
Backed out changeset 650c47e81402 (bug 1486004)
Backed out changeset 2bcca7cf3f1b (bug 1486004)
Backed out changeset e1df276f8a8d (bug 1486004)
Backed out changeset f6f5e7f2bd0a (bug 1486004)
Backed out changeset 1c56cb03ce53 (bug 1486004)
Backed out changeset 582cd190f174 (bug 1486004)
Backed out changeset 7c162e1b3a79 (bug 1486004)
Backed out changeset d1088e178216 (bug 1486004)
Backed out changeset 40763f4afd26 (bug 1486004)
Backed out changeset f20eb5b5a670 (bug 1486004)
Backed out changeset 6349ee0bd63f (bug 1486004)
Backed out changeset 7c23729053f6 (bug 1486004)
Backed out changeset 49586014bd29 (bug 1486004)
Backed out changeset 07971e82ae85 (bug 1653094)
Backed out changeset 47e7295e9c19 (bug 1653094)
Backed out changeset 57a25bbeec37 (bug 1653094)
2020-07-16 17:58:09 +03:00
Bob Clary 0c8eebc57f Bug 1486004 - Part 16 - Update web-platform tests to support unrooted android devices using mozdevice 4.0.0, ? r=jgraham
Depends on D82758

Differential Revision: https://phabricator.services.mozilla.com/D82759
2020-07-15 21:00:22 +00:00
Mihai Alexandru Michis a1d49fb98d Backed out 17 changesets (bug 1486004) for causing bustages in AccessCheck.h
CLOSED TREE

Backed out changeset 86a0855e1e45 (bug 1486004)
Backed out changeset 4fc98067edc5 (bug 1486004)
Backed out changeset 8ab3f1597fde (bug 1486004)
Backed out changeset b487e98320fb (bug 1486004)
Backed out changeset 4cba8e6bc515 (bug 1486004)
Backed out changeset d0db5eef2343 (bug 1486004)
Backed out changeset 50285a87de6b (bug 1486004)
Backed out changeset 9730c0303810 (bug 1486004)
Backed out changeset 140a9d2362f3 (bug 1486004)
Backed out changeset 9d1ce06f6039 (bug 1486004)
Backed out changeset 88a5a4ab39fa (bug 1486004)
Backed out changeset eb186c92232d (bug 1486004)
Backed out changeset 677f2129750e (bug 1486004)
Backed out changeset 81427a5f2103 (bug 1486004)
Backed out changeset 38d7def3d425 (bug 1486004)
Backed out changeset a9e73221c471 (bug 1486004)
Backed out changeset ebe8c2d5432e (bug 1486004)
2020-07-16 15:29:29 +03:00
Bob Clary df0d9a33be Bug 1486004 - Part 16 - Update web-platform tests to support unrooted android devices using mozdevice 4.0.0, ? r=jgraham
Depends on D82758

Differential Revision: https://phabricator.services.mozilla.com/D82759
2020-07-15 21:00:22 +00:00
alwu e398ca4d46 Bug 1621403 - part3 : add test. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D82817
2020-07-15 21:02:08 +00:00
Ms2ger 9ce43d3a09 Bug 1637414 - Remove orphaned metadata files for wasm bigint/i64 tests; r=lth
Relevant previous changes:

https://hg.mozilla.org/mozilla-central/rev/74cc6947f2f0e0d0068ec8d827dd2a178bf2fb85
https://hg.mozilla.org/mozilla-central/rev/830f3bbb543181f99fe19712b2a46072e1dcc7fb
https://hg.mozilla.org/mozilla-central/rev/666a2f6a86f1ef62301f6c2805379e295482c78f
https://hg.mozilla.org/mozilla-central/rev/4634a10a4e59967ee74224f0df304ae10c81f50f

Differential Revision: https://phabricator.services.mozilla.com/D81672
2020-07-02 20:48:07 +00:00
James Graham b923d4c0fb Bug 1652245 - Set element-request-fullscreen-dialog.html to fail on beta and release. r=jgraham
The preference dom.dialog_element.enabled is only enabled for Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D83313
2020-07-14 09:48:33 +00:00
Simon Giesecke d291685904 Bug 1506417 - Remove old test exclusion. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D83637
2020-07-15 13:20:55 +00:00
Dorel Luca 4681060e62 Backed out 3 changesets (bug 1367251) for Mda failures in /test_background_video_tainted_by_createimagebitmap.html. CLOSED TREE
Backed out changeset 871379f9b194 (bug 1367251)
Backed out changeset a76c2c98b33c (bug 1367251)
Backed out changeset a55cda2431fc (bug 1367251)
2020-07-15 16:37:32 +03:00
Tom Tung 6ed35f40e8 Bug 1652345 - Skip the test since we haven't supported navigation-reporting; r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D83608
2020-07-15 08:17:05 +00:00
aardgoose b01831ccc4 Bug 1367251 - add bindings for options to createImageBitmap and support flipY r=bzbarsky,aosmond,baku
implementation of imageOrientation: none|flipY.
implementation of premultiplyAlpha: none|premultiply|default.

Differential Revision: https://phabricator.services.mozilla.com/D29562
2020-07-15 11:03:51 +00:00
Henrik Skupin c54ec78344 Bug 1651691 - [wdspec] Move Marionette unit tests for Switch to Frame to Wdspec. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D83086
2020-07-15 08:22:08 +00:00
Sean Feng 9cb69ecf75 Bug 1652699 - Fix a null pointer crash while doing dialog form submission r=smaug
It's possible that the dialog is closed while we are processing
the request, and we'd deferencing a null pointer for such case.

Differential Revision: https://phabricator.services.mozilla.com/D83531
2020-07-14 21:19:10 +00:00
Emilio Cobos Álvarez ff86a1d84e Bug 1608358 - Fix allowfullscreen check to check for feature policy. r=baku
We can clean up this code once the feature policy pref goes away, but
meanwhile this should do the right thing.

Differential Revision: https://phabricator.services.mozilla.com/D82976
2020-07-13 21:15:54 +00:00
Cameron McCormack 0beb0de1ac Bug 1630494 - Add some more fuzziness to image-orientation-list-style-image.html. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D83450
2020-07-14 06:14:08 +00:00
Sebastian Hengst 9a0413b3c6 Bug 1652248 - Set deprecation-reporting/idlharness.any.html steps to fail on release and beta. r=baku
dom.reporting.enabled is only set to true in Nightly. idlharness.any.worker.html is already set to fail across branches.

Differential Revision: https://phabricator.services.mozilla.com/D83273
2020-07-13 15:06:25 +00:00
Razvan Maries 6a5e4b1446 Bug 1650373 - Update CSSTransition-effect.tentative.html expectations. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D83245
2020-07-12 10:55:08 +00:00
Tom Tung 65dc39a8a9 Bug 1640606 - Expected two test cases for extendable message event to pass; r=dom-workers-and-storage-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D76832
2020-07-01 07:43:13 +00:00
Tom Tung b059fa3bd8 Bug 1640606 - Update some tests to reflect the correct behaviors; r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D76711
2020-07-01 07:43:13 +00:00
Emilio Cobos Álvarez 667c41d502 Bug 1652155 - Fix document check in Document::TopLayerPop. r=edgar
Top layer / fullscreen should work in shadow dom. This check is off
compared to literally every other fullscreen check.

The test is pretty gross, but not my fault, see the comment in there :)

Differential Revision: https://phabricator.services.mozilla.com/D83198
2020-07-12 16:49:10 +00:00
Andreea Pavel 6ab54edd35 Bug 1651858 - update observe.html expectancy on android r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D83254
2020-07-12 10:57:15 +00:00
Jonathan Kew 60d76d2989 Bug 1646639 - Add collection of testcases here as a WPT reftest. r=dholbert
We get a small amount of antialiasing-related "fuzz" on some platforms,
so those are noted in the corresponding .ini files.

Differential Revision: https://phabricator.services.mozilla.com/D82893
2020-07-12 10:05:33 +00:00
Jonathan Kew b56c4b385c Bug 1646639 - Don't recursively apply the line's start-offset and text-indent to children of a first-line frame. r=dholbert
But do apply any adjustment needed for text-align to the first-line frame itself.

Differential Revision: https://phabricator.services.mozilla.com/D82725
2020-07-11 22:52:41 +00:00
Razvan Maries d80f844cba Backed out 2 changesets (bug 1646639) for perma failures on first-line-bidi-002.html. CLOSED TREE
Backed out changeset e1d587422484 (bug 1646639)
Backed out changeset 5caaf51dac99 (bug 1646639)
2020-07-12 01:34:31 +03:00
Jonathan Kew 949b68b6bd Bug 1646639 - Add collection of testcases here as a WPT reftest. r=dholbert
We get a small amount of antialiasing-related "fuzz" on some platforms,
so those are noted in the corresponding .ini files.

Differential Revision: https://phabricator.services.mozilla.com/D82893
2020-07-11 21:26:02 +00:00
Jonathan Kew 953fcef392 Bug 1646639 - Don't recursively apply the line's start-offset and text-indent to children of a first-line frame. r=dholbert
But do apply any adjustment needed for text-align to the first-line frame itself.

Differential Revision: https://phabricator.services.mozilla.com/D82725
2020-07-11 21:26:02 +00:00
alwu 20f7602472 Bug 1582569 - part2 : modify tests. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D82580
2020-07-10 16:19:43 +00:00
Cosmin Sabou 4e5a1287c1 Backed out changeset fec7d23c5a02 (bug 1608358) for wpt failures on document-fullscreen-enabled-cross-origin.sub.html. CLOSED TREE 2020-07-10 21:37:41 +03:00
Emilio Cobos Álvarez b783621e6e Bug 1608358 - Fix allowfullscreen check to check for feature policy. r=baku
We can clean up this code once the feature policy pref goes away, but
meanwhile this should do the right thing.

Differential Revision: https://phabricator.services.mozilla.com/D82976
2020-07-10 10:41:02 +00:00
moz-wptsync-bot e4fc2ab91f Bug 1651685 - [wpt-sync] Update web-platform-tests to 80883e4b131fc9d75959417deadcceba1bce1b59, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 80883e4b131fc9d75959417deadcceba1bce1b59
wpt-type: landing
2020-07-10 10:38:37 +00:00
moz-wptsync-bot cb225e7c43 Bug 1646893 [wpt PR 24246] - Update wpt metadata, a=testonly
wpt-pr: 24246
wpt-type: metadata
2020-07-10 10:38:36 +00:00
George Steel 285a956522 Bug 1646893 [wpt PR 24246] - Deduplicate and sort font-variation-settings when computing style., a=testonly
Automatic update from web-platform-tests
Deduplicate and sort font-variation-settings when computing style.

Make interpolation type always run CSSValues through the converter for
this property.

Update remaining WPT tests to use order-invariant comparison (as most
tests for this property already use).

spec https://drafts.csswg.org/css-fonts-4/#font-variation-settings-def

If the same axis name appears more than once, the value associated with
the last appearance supersedes any previous value for that axis. This
deduplication is observable by accessing the computed value of this
property.

resolution https://github.com/w3c/csswg-drafts/issues/1959
RESOLVED: For both font-variation-settings and font-feature-settings,
the computed value is a map (and thus specified dupes are removed)

Bug: 1005355
Change-Id: I2f6f0f76fdcd69cfece283625cf42f517686dc8a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2253248
Commit-Queue: George Steel <gtsteel@chromium.org>
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786564}

--

wpt-commits: 80883e4b131fc9d75959417deadcceba1bce1b59
wpt-pr: 24246
2020-07-10 10:38:36 +00:00
Marijn Kruisselbrink d0bf099a85 Bug 1651439 [wpt PR 24515] - [NativeFS] Rename getFile/Directory to getXXXHandle., a=testonly
Automatic update from web-platform-tests
[NativeFS] Rename getFile/Directory to getXXXHandle.

Following changes in https://github.com/WICG/native-file-system/pull/196

Bug: 1103022
Change-Id: I4ba11f12cf2e47ec326a09efa7b06fd300402945
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285670
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786488}

--

wpt-commits: 0f3f2b950d26ab0c88084c1537143e38712cb4b9
wpt-pr: 24515
2020-07-10 10:38:35 +00:00
Qiaofei Ye cf9c4d31da Bug 1651253 [wpt PR 24508] - Remove containerName truncation, switch to use atomicString, a=testonly
Automatic update from web-platform-tests
Remove containerName truncation, switch to use atomicString

As mentioned in Bug 1030396, the containerName attribute was first added in https://codereview.chromium.org/2515993002/ and it was truncated to 100 chars. The spec does not mention this truncation anywhere, see https://w3c.github.io/longtasks/.

In this PR, we removed undocumented containerName truncation, and changed member variables to use
atomicString instead of String.

Bug: 1030396
Change-Id: Ie1e7e6d7d1878ca16091a5f4db316d9c59368be0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276680
Commit-Queue: Qiaofei Ye <qiaye@microsoft.com>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786484}

--

wpt-commits: 1378543f15bedb0365455795053c3b5cd1f08581
wpt-pr: 24508
2020-07-10 10:38:35 +00:00
moz-wptsync-bot b5b30cf46a Bug 1650390 [wpt PR 24435] - Update wpt metadata, a=testonly
wpt-pr: 24435
wpt-type: metadata
2020-07-10 10:38:35 +00:00
Pâris MEULEMAN 73338b2595 Bug 1650390 [wpt PR 24435] - [COOP] Make the failed output of reporting tests more stable in order to use expectations, a=testonly
Automatic update from web-platform-tests
[COOP] Make the failed output of reporting tests more stable in order to use expectations

Make the failed output of Coop reporting tests more stable in order to use expectations

Bug: 1099208
Change-Id: Ib1b516bc03295eb243d2db3c33ee4bc9db8b89df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2279819
Commit-Queue: Pâris Meuleman <pmeuleman@chromium.org>
Auto-Submit: Pâris Meuleman <pmeuleman@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786317}

--

wpt-commits: 724344fd9d5ff97b17b8ad5ff662c0abde2e818a
wpt-pr: 24435
2020-07-10 10:38:34 +00:00
Jeremy Roman 3ca1d6e020 Bug 1651386 [wpt PR 24513] - Abstract portal activation handling to avoid hack of making a fake promise., a=testonly
Automatic update from web-platform-tests
Abstract portal activation handling to avoid hack of making a fake promise.

This is somewhat verbose, but allows us to avoid the unhandled rejection
being visible to script without having to make this hack even worse.

Instead of actually calling activate(), this mirrors the spec structure
by simply calling to underlying logic, passing a resolver where it makes
sense and not (in this case, passing a substitute object) where it
doesn't.

Bug: 1102081
Change-Id: I0eecf253928bfce39afcddccf54e9bc6f6c0d549
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285340
Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786480}

--

wpt-commits: e96eb9029a884da59f3acf268dd589bc974a316a
wpt-pr: 24513
2020-07-10 10:38:34 +00:00
Alexander Cooper cec5ef1b3a Bug 1651225 [wpt PR 24503] - Finalize XRSpace.NativeFromMojo, a=testonly
Automatic update from web-platform-tests
Finalize XRSpace.NativeFromMojo

All XRSpaces, except for XRReferenceSpaces, implement MojoFromNative and
their NativeFromMojo method is simply a wrapper to invert the other
method. Because the StageParameters's standing_transform property was
floor_from_mojo instead of mojo_from_floor, XRReferenceSpaces used
NativeFromMojo and MojoFromNative was the inverter.

This change renames (and inverts) StageParameters's standing_transform
to mojo_from_floor. This removes the need for child classes of XRSpace
to implement NativeFromMojo. XRSpace still implements this as a
(non-virtual) helper method, because some math operations require it,
and this provides a convenience wrapper around the inversion.

As noted, this does invert the existing meaning of standing transform,
so the runtimes needed to be updated.

Fixed: 1031598
Change-Id: Ia36fe21ea2c179acb4a0d1a7096c7e5271d7a3a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2278317
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786454}

--

wpt-commits: 39ff1c92ab4bc0635e219069d6539036e7f96391
wpt-pr: 24503
2020-07-10 10:38:33 +00:00
Mason Freed 7947adb06f Bug 1651218 [wpt PR 24500] - Serialize delegatesFocus in getInnerHTML(), a=testonly
Automatic update from web-platform-tests
Serialize delegatesFocus in getInnerHTML()

Prior to this CL, the getInnerHTML() call with includeShadowRoots=true
would not return markup with the shadowrootdelegatesfocus attribute.
Now, it does, and testing has been added to verify this behavior.

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

--

wpt-commits: e4a45e87eb85d4659b3c4d98340cc0befa901858
wpt-pr: 24500
2020-07-10 10:38:33 +00:00
moz-wptsync-bot 760b286776 Bug 1650988 [wpt PR 24478] - Update wpt metadata, a=testonly
wpt-pr: 24478
wpt-type: metadata
2020-07-10 10:38:32 +00:00
Kevin Babbitt 7f0f517f85 Bug 1650988 [wpt PR 24478] - Make system color keywords compute to themselves, a=testonly
Automatic update from web-platform-tests
Make system color keywords compute to themselves

Prior to this change, system color keywords would be resolved to RGBA
values at computed-value time. With this change, we defer resolution
until resolved-value time, to align with css-color-4.

The kernel of the change is in StyleBuilderConverter which allows for
storing an unresolved system color keyword, and in StyleColor which can
now be constructed from a system color keyword and requires a
WebColorScheme value to resolve colors. The remainder of the change
consists of updates at call sites to plumb in the used color scheme.

Bug: 1081945
Change-Id: I3b704cdf38c72b5284ad61a20e28825ee3e8e9e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2253198
Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#786380}

--

wpt-commits: 1ebdb4d2bf1fd490e9f34b9e22cd10c44cd4db8e
wpt-pr: 24478
2020-07-10 10:38:32 +00:00
Ziran Sun eaed45cb16 Bug 1648424 [wpt PR 24336] - Python 3: port tests in service-workers [part 3], a=testonly
Automatic update from web-platform-tests
Python 3: port tests in service-workers [part 3]

--
Use random.random() instead of time.clock() for script updates

--

wpt-commits: af86bff8b2ab50c1f41b7f01ad82c6a16da5c337, dcc2ecf8e3abe1563894de9963c1479b802ca2fa
wpt-pr: 24336
2020-07-10 10:38:31 +00:00
Guido Urdaneta 0850c73066 Bug 1651160 [wpt PR 24489] - Do not expose media devices before a successful getUserMedia(), a=testonly
Automatic update from web-platform-tests
Do not expose media devices before a successful getUserMedia()

This is a spec-compliance change.

This CL also adds some improvements to the blink MediaDevices unit test.

Bug: 1101860
Change-Id: If2e7824df3b3dbd3cdb80f4bcf6b5c417d6f0ef2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2279808
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786253}

--

wpt-commits: 8fa47b5a0f0a2fad2eb671ee4f3566e63f949357
wpt-pr: 24489
2020-07-10 10:38:31 +00:00
Ziran Sun d18d604097 Bug 1651327 [wpt PR 24510] - Python 3: port some recently added tests, a=testonly
Automatic update from web-platform-tests
Python 3: port some recently added new tests

--

wpt-commits: 0c4d6a54c685a70aac30cf102370313a2cfeb9f5
wpt-pr: 24510
2020-07-10 10:38:30 +00:00
autofoolip fe9b5dcd7f Bug 1651169 [wpt PR 24492] - Update interfaces/ambient-light.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/ambient-light.idl (#24492)

Source: https://github.com/tidoust/reffy-reports/blob/dea0660/ed/idl/ambient-light.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/705896195
--

wpt-commits: 7c61b04c0a597a875b5688e64808c20c28f91b31
wpt-pr: 24492
2020-07-10 10:38:30 +00:00
moz-wptsync-bot 072f7ae3a1 Bug 1651162 [wpt PR 24490] - Update wpt metadata, a=testonly
wpt-pr: 24490
wpt-type: metadata
2020-07-10 10:38:30 +00:00
Blink WPT Bot f7f1de21fa Bug 1651162 [wpt PR 24490] - Origin isolation: add WPTs for different ports, a=testonly
Automatic update from web-platform-tests
Origin isolation: add WPTs for different ports (#24490)

Bug: 1042415
Change-Id: I5842aa32abc0b23e492c84ba0dc0e5906283a805
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2199550
Auto-Submit: Domenic Denicola <domenic@chromium.org>
Commit-Queue: James MacLean <wjmaclean@chromium.org>
Reviewed-by: James MacLean <wjmaclean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785929}

Co-authored-by: Domenic Denicola <domenic@chromium.org>
--

wpt-commits: 7f488c08d51dbc06680b20bed050634a371e2189
wpt-pr: 24490
2020-07-10 10:38:29 +00:00
autofoolip b37c152b98 Bug 1651295 [wpt PR 24509] - Update interfaces/native-file-system.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/native-file-system.idl (#24509)

Source: https://github.com/tidoust/reffy-reports/blob/95d0f83/ed/idl/native-file-system.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/706055779
--

wpt-commits: 691fd342f22872787957ba4f069df91c79d354d7
wpt-pr: 24509
2020-07-10 10:38:29 +00:00
Morten Stenshorne 99ee56b431 Bug 1651167 [wpt PR 24491] - Remove anonymous block wrapper when inline continuation is removed., a=testonly
Automatic update from web-platform-tests
Remove anonymous block wrapper when inline continuation is removed.

Keeping empty anonymous blocks around is bad. The only known actual
problem is in multicol (but it may cause other issues too). Based on the
layout object tree, multicol creates anonymous LayoutMultiColumnSet and
LayoutMultiColumnSpannerPlaceholder objects, to keep track of what is
regular column content and what are spanners. Leaving a
LayoutMultiColumnSet around just for the sake of an empty anonymous
block (which may get cleaned up without notifying the multicol code)
will confuse multicol layout.

Bug: 1102137
Change-Id: Ibfb46d0dc173ecfdb2e7903efee5a49de3da3ff3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2283355
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786197}

--

wpt-commits: 8c6f41fa15eb924017192255e06d2ecad1c17c92
wpt-pr: 24491
2020-07-10 10:38:28 +00:00
fantasai f73a0ff694 Bug 1651215 [wpt PR 24499] - [css-grid-1] Add test for percentage gaps in shrinkwrap width / content-based height using float., a=testonly
Automatic update from web-platform-tests
[css-grid-1] Add test for percentage gaps in shrinkwrap width / content-based height using float.

--

wpt-commits: a08ab9c0e8a60d8d554a872411940f9adc5e178d
wpt-pr: 24499
2020-07-10 10:38:28 +00:00
Marijn Kruisselbrink b705a29e70 Bug 1651238 [wpt PR 24505] - [NativeFS] Add some assertions for the locked state of streams., a=testonly
Automatic update from web-platform-tests
[NativeFS] Add some assertions for the locked state of streams.

https://github.com/WICG/native-file-system/issues/194 suggests there
might be something weird going here, so add assertions to the tests to
make sure locked has the value we expect it to have.

Change-Id: Ia13251aeeb16734047a2f5abe7e61d7fd4bbeb0b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285293
Auto-Submit: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786059}

--

wpt-commits: d40dbb507b4b7bcc061e811fb03aa6afba111a05
wpt-pr: 24505
2020-07-10 10:38:27 +00:00
moz-wptsync-bot 190ff358df Bug 1436402 [wpt PR 8582] - Update wpt metadata, a=testonly
wpt-pr: 8582
wpt-type: metadata
2020-07-10 10:38:27 +00:00
fantasai a7011e74b7 Bug 1436402 [wpt PR 8582] - [css-grid] Add tests for baseline alignment inside auto-sized tracks., a=testonly
Automatic update from web-platform-tests
[css-grid] Add tests for baseline alignment inside auto-sized tracks.

--

wpt-commits: e4870bbf9f287c871890e133cc3c0aeb3fbac53d
wpt-pr: 8582
2020-07-10 10:38:26 +00:00
David Grogan bd2b5b894e Bug 1648592 [wpt PR 24347] - [FlexNG] Remove a DCHECK in SimplifiedLayout, a=testonly
Automatic update from web-platform-tests
[FlexNG] Remove a DCHECK in SimplifiedLayout

The test includes some variants of the crash repro as evidence that the
crash was harmless.

Bug: 1018439
Fixed: 1091588
Change-Id: I879d4ce879d9fafb86b26a21609141b2fcfc5a9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2265100
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786031}

--

wpt-commits: 6466242987765ee8d72aa9b349ec81bc6e06730d
wpt-pr: 24347
2020-07-10 10:38:26 +00:00
moz-wptsync-bot cabd79603d Bug 1651195 [wpt PR 24495] - Update wpt metadata, a=testonly
wpt-pr: 24495
wpt-type: metadata
2020-07-10 10:38:25 +00:00
Domenic Denicola 6728dbc414 Bug 1651195 [wpt PR 24495] - Origin isolation: more port-related WPTs, a=testonly
Automatic update from web-platform-tests
Origin isolation: more port-related WPTs

Bug: 1042415
Change-Id: Ic742454a819841f1bdc8487aa5f16504775d95d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285329
Reviewed-by: James MacLean <wjmaclean@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785971}

--

wpt-commits: f4a2a79fcbf0289bbc9afe9373ef0b26d24c9b99
wpt-pr: 24495
2020-07-10 10:38:25 +00:00
Stephen McGruer 1615435317 Bug 1651212 [wpt PR 24497] - Manifest action: Adjust logging and try stripping the commit, a=testonly
Automatic update from web-platform-tests
Adjust logging and try stripping the commit (#24497)

--

wpt-commits: d7423b4ef835ac579b2aa6cbd0e88e47ed1c82cd
wpt-pr: 24497
2020-07-10 10:38:24 +00:00
Stephen McGruer 2b4b197e7f Bug 1651191 [wpt PR 24494] - Add logging of target_commitish to manifest_build.py, a=testonly
Automatic update from web-platform-tests
Add logging of target_commitish to manifest_build.py (#24494)

Co-authored-by: Robert Ma <robertma@chromium.org>
--

wpt-commits: cef93b58e7cf31f1d47ccb0db4f376951192ee54
wpt-pr: 24494
2020-07-10 10:38:24 +00:00
Jeremy Roman a948049a5e Bug 1650797 [wpt PR 24458] - Portals: Support default click-to-activate., a=testonly
Automatic update from web-platform-tests
Portals: Support default click-to-activate.

This adds a default behavior whereby clicking (or equivalent) will cause
the portal to immediately activate, unless the click or DOMActivate
event has preventDefault called by a listener.

This is guarded by a new runtime enabled feature so that this does not
affect the behavior in the current origin trial.

Bug: 1102081
Change-Id: I6a6c2409b0123f95d5068c54a423ac2f29e3e968
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2281308
Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785812}

--

wpt-commits: 03d89c92bba52de611854f29373ba2c062ea0729
wpt-pr: 24458
2020-07-10 10:38:23 +00:00
moz-wptsync-bot d5ace3b183 Bug 1650960 [wpt PR 24476] - Update wpt metadata, a=testonly
wpt-pr: 24476
wpt-type: metadata
2020-07-10 10:38:23 +00:00
fantasai 5f5a6850db Bug 1650960 [wpt PR 24476] - [css-grid] Test inner vs. outer grid size, a=testonly
Automatic update from web-platform-tests
[css-grid] Check inner vs. outer size for percentage computation. https://github.com/w3c/csswg-drafts/issues/2655 (#24476)

--

wpt-commits: 4b5101fabe653a57921f6e7add9ff768027206fa
wpt-pr: 24476
2020-07-10 10:38:22 +00:00
Nate Chapin f858147ad8 Bug 1650889 [wpt PR 24467] - Ensure there isn't a crash when setting a form action in an inactive document, a=testonly
Automatic update from web-platform-tests
Ensure there isn't a crash when setting a form action in an inactive document

Bug: 1102070, 1101831
Test: html/semantics/forms/the-form-element/form-action-in-inactive-document-crash.html
Change-Id: I16d786cdcc3924e109d63b06aad06b003deec9e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2283724
Commit-Queue: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Auto-Submit: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785794}

--

wpt-commits: 35f7540370d7bc8c89d8940ce1e485f8495c0096
wpt-pr: 24467
2020-07-10 10:38:22 +00:00
Philip Rogers f07bd07080 Bug 1651074 [wpt PR 24486] - Upstream and update foreignObject isolation tests, a=testonly
Automatic update from web-platform-tests
Upstream and update foreignObject isolation tests

https://crrev.com/544756 ("Make <foreignObject> a stacking context")
added svg-isolation-foreign-isolation.html which had an incorrect
expectation. ForeignObject should create a stacking context [1] and
everything that creates a stacking context is an 'isolated' group [2],
so foreignObject should isolate. Our implementation is correct for html
content in foreignObject but has a bug for svg content in foreignObject.
This patch creates WPT tests for these two scenarios, and marks the svg
variant as failing.

[1] https://svgwg.org/svg2-draft/single-page.html#render-EstablishingStackingContex
[2] https://drafts.fxtf.org/compositing-2/#csscompositingrules_CSS

Bug: 1102803, 1101002
Change-Id: Ia5baceccab0be09eeec5e4682f16247a2881509b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2284631
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#785765}

--

wpt-commits: db03cd2af9e67ab194dabd28f2a9384223d9e706
wpt-pr: 24486
2020-07-10 10:38:22 +00:00
moz-wptsync-bot 97d8582dac Bug 1651098 [wpt PR 24487] - Update wpt metadata, a=testonly
wpt-pr: 24487
wpt-type: metadata
2020-07-10 10:38:21 +00:00
Stephen McGruer 1a3a3731a4 Bug 1651098 [wpt PR 24487] - In case track is ended, make sure deviceId/groupId are exposed if they were exposed when the track was not ended, a=testonly
Automatic update from web-platform-tests
fix-getSettings-ended-tracks (#24487)

Co-authored-by: Youenn Fablet <youennf@gmail.com>
--

wpt-commits: 1a7ca353bcb17869dc168cfad03ee7ffeab05cc8
wpt-pr: 24487
2020-07-10 10:38:21 +00:00
Sean Feng 082f68c13f Bug 1646130 [wpt PR 24170] - Allow hiding test state for first-contentful-paint tests, a=testonly
Automatic update from web-platform-tests
Allow hiding test state for first-contentful-paint tests (#24170)

Some tests are sensitive to the content of the document, thus
show_status may interfere the test results.

We add a new setup property to allow hiding the test state output.
--

wpt-commits: ec9f61df8671488160d20a560ee7579126f8a24d
wpt-pr: 24170
2020-07-10 10:38:20 +00:00
Stephen McGruer 7a0386cd3c Bug 1646700 [wpt PR 24235] - Update picture-in-picture idlharness test, a=testonly
Automatic update from web-platform-tests
Update picture-in-picture idlharness test (#24235)

The actual idl update already happened in
1449b69c39,
but the associated test was not updated.

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

wpt-commits: b70f4c4663087bd441962e54ee6d062d39fc2ab5
wpt-pr: 24235
2020-07-10 10:38:20 +00:00
ziransun 928b73937e Bug 1645761 [wpt PR 24147] - Python 3: port tests in html/infrastructure, a=testonly
Automatic update from web-platform-tests
Python 3: port tests in html/infrastructure (#24147)

--

wpt-commits: bdfd9a7cf8f7bf9176b34a21b1e5956512f869b8
wpt-pr: 24147
2020-07-10 10:38:19 +00:00
ziransun 55502fc3d6 Bug 1651021 [wpt PR 24482] - Python 3: port some tests in common and infrastructure, a=testonly
Automatic update from web-platform-tests
Python 3: port some tests in common and infrastructure (#24482)

--

wpt-commits: 924cdb5f242893239b3835a5c78a5a7a8deec240
wpt-pr: 24482
2020-07-10 10:38:19 +00:00
Marijn Kruisselbrink 8280c8145b Bug 1650924 [wpt PR 24472] - [NativeFS] Stop marking WPT tests as tentative., a=testonly
Automatic update from web-platform-tests
[NativeFS] Stop marking WPT tests as tentative.

All these tests test what is in the spec, so these shouldn't be marked
as tentative anymore.

Bug: none
Change-Id: Ib494c57b3c258e9a7e80ac3fd2a4df25abc4783a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2283735
Commit-Queue: Victor Costan <pwnall@chromium.org>
Auto-Submit: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785593}

--

wpt-commits: ff124a192986ad53d0af652f99b277e3019701ad
wpt-pr: 24472
2020-07-10 10:38:19 +00:00
Stephen McGruer a48151c48e Bug 1645838 [wpt PR 24151] - Switch WPT to use Taskcluster Checks integration, a=testonly
Automatic update from web-platform-tests
Switch WPT to use Taskcluster Checks integration (#24151)

See https://github.com/web-platform-tests/wpt/issues/14846; this should
only be landed once wpt.fyi is ready to receive check_suite events.

Co-authored-by: Robert Ma <robertma@chromium.org>
--

wpt-commits: 972cc74af2d621fb45e5097350f4ee7d3b7c6ef4
wpt-pr: 24151
2020-07-10 10:38:18 +00:00
jgraham 4716197994 Bug 1651041 [wpt PR 24484] - Move six import after path is set, a=testonly
Automatic update from web-platform-tests
Move six import after path is set (#24484)

Co-authored-by: Stephen McGruer <smcgruer@chromium.org>
--

wpt-commits: 47821bc96914cfb6a42832490c987e16408e58be
wpt-pr: 24484
2020-07-10 10:38:18 +00:00
James Graham 9001103580 Bug 1639960 [wpt PR 23733] - Solidify Python 3 support in the manifest code, a=testonly
Automatic update from web-platform-tests
Move sourcefile construction to the manifest update function

Instead of having the tree iterator return either paths or constructed
sourcefiles, just have it always return paths, and construct the
sourcefiles in the caller. This has the advantage that we can better
handle some error conditions that may be caused by having an invalid
cache. It is also somewhat clearer since we don't end up with an
iterator that can return quite different types depending on whether it
thinks the file was updated or not.

--
Fix a bunch of Python 3 issues in the manifest code

The goal here is to get mypy passing in Python 3; prior to this patch
there were a lot of cases where Python 3 behaviour was broken but not
picked up by the tests (e.g. because it only happened when updating
the manifest or with certain caches or similar). Many of these issues
were seen by mypy, but that had been disabled for Py3 specfically to
avoid having to fix all the issues at the time the annotations were
added. But now we do need that support.

The general approach here is to use the same types for Py 2 and Py
3. In particular we use Text where possible (with a couple of
exceptions where it was easier not to), rather than bytes. The native
str type is avoided wherever possible since this introduces difficult
to debug differences between Python versions.

The preference for Text includes paths, which means we no longer
support running in non-unicode directories (in practice it is likely
to be broken if the path isn't UTF-8 compatible on Unix or UTF-16
compatible on Windows).

--
Fix passing arguments from wpt to Python 3

--
Update six in docker image

--
Run pip3 when installing in Python 3

--
Ensure deps are installed for py3

--
Update vendored six to latest

--
Use pip2 rather than just pip

Seems like bare pip started defaulting to python 3

--
Ensure that html5lib test build uses Python 2

--
Make canvas tests use python2 for build

--

wpt-commits: b923853fec706d8d448010caab33583026ae4749, 6539f1e3433e77e23a33e293007f2da993c96abc, cbe30a2fb78294ae530856d5174a47065b4f1958, 4e07dbd21b1ef0bf749bd38f3b8ea2e954abdf27, 96ea8bb0f93a29a09dfa181a65eebe871d5b6d95, da9f11f0610f1ab52f2d85f40a8b58ecd72571d7, 394d3fb5f647fa2416a95d105fb82f9269f73586, 40a49406d70c9d3bb73f38e2e0576efd301d75a4, 76a0eee0d2b697a4bcc599b4f7ad0522ade4d0e8, 6a531642611c81e83bed58421fdc555e2db1f77a
wpt-pr: 23733
2020-07-10 10:38:17 +00:00
fantasai 7f82acf99a Bug 1650966 [wpt PR 24477] - [css-grid] Check that 'align-self: last baseline' does not interfere with baseline alignment in first row., a=testonly
Automatic update from web-platform-tests
[css-grid] Check that 'align-self: last baseline' does not interfere with baseline alignment in first row. https://github.com/w3c/csswg-drafts/issues/5293

--

wpt-commits: e3698c7bb3c309df69134e9bc0a375f00535e226
wpt-pr: 24477
2020-07-10 10:38:17 +00:00
moz-wptsync-bot e6df1c50d3 Bug 1650955 [wpt PR 24475] - Update wpt metadata, a=testonly
wpt-pr: 24475
wpt-type: metadata
2020-07-10 10:38:16 +00:00
Tab Atkins Jr 8b33e500aa Bug 1650955 [wpt PR 24475] - [css-grid] Remove now-disallowed variant results., a=testonly
Automatic update from web-platform-tests
[css-grid] Remove now-disallowed variant results. (#24475)

--

wpt-commits: b0c22598269697ea79de50dcac841a49be7340df
wpt-pr: 24475
2020-07-10 10:38:16 +00:00
fantasai daa204b826 Bug 1650935 [wpt PR 24473] - [css-grid] Add testcase for second-row shared alignment baseline., a=testonly
Automatic update from web-platform-tests
[css-grid] Add testcase for second-row shared alignment baseline.
https://github.com/w3c/csswg-drafts/issues/3645
a74f96f7e2

--

wpt-commits: e365e5f52713aab96c38a56d461c86fd68d3e235
wpt-pr: 24473
2020-07-10 10:38:15 +00:00
moz-wptsync-bot 3dfe17e80e Bug 1650175 [wpt PR 24425] - Update wpt metadata, a=testonly
wpt-pr: 24425
wpt-type: metadata
2020-07-10 10:38:15 +00:00
Blink WPT Bot b9cd3978ce Bug 1650175 [wpt PR 24425] - Add secondary HTTPS port to common/get-host-info.sub.js, a=testonly
Automatic update from web-platform-tests
Add secondary HTTPS port to common/get-host-info.sub.js (#24425)

Bug: 1101075
Change-Id: Ife0482e82ea7596bdce61d84f7954f61efe7092c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274547
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785490}

Co-authored-by: Stephen McGruer <smcgruer@chromium.org>
--

wpt-commits: 3dc847c5c53bbdb662222a5b4537c9d513fdecdc
wpt-pr: 24425
2020-07-10 10:38:14 +00:00
Simon Pieters bf12e3801d Bug 1650908 [wpt PR 24471] - Change 'window.load() event' to 'window load event' for correctness, a=testonly
Automatic update from web-platform-tests
Change 'window.load() event' to 'window load event' for correctness (#24471)

--

wpt-commits: 2f4dbfef969fac95baa9459f16e3591d3db5ecc2
wpt-pr: 24471
2020-07-10 10:38:14 +00:00
moz-wptsync-bot c51327702f Bug 1650905 [wpt PR 24470] - Update wpt metadata, a=testonly
wpt-pr: 24470
wpt-type: metadata
2020-07-10 10:38:14 +00:00
fantasai cfebcca569 Bug 1650905 [wpt PR 24470] - [css-grid] Maxmin autorepeat tests, a=testonly
Automatic update from web-platform-tests
[css-grid] Test autorepeat with max,min. https://github.com/w3c/csswg-drafts/issues/4043

--
[css-grid] Use background vs. background-color consistently. (editorial/lint)

--

wpt-commits: 9520e0643c5171ff97157469ec342636f0f1cf88, 7f77bdd0d1a3d7ae933026b74342ee0de1afed46
wpt-pr: 24470
2020-07-10 10:38:13 +00:00
moz-wptsync-bot cefaa7120c Bug 1650902 [wpt PR 24468] - Update wpt metadata, a=testonly
wpt-pr: 24468
wpt-type: metadata
2020-07-10 10:38:13 +00:00
fantasai 48b142538a Bug 1650902 [wpt PR 24468] - [css-grid] Fix empty first row baseline test., a=testonly
Automatic update from web-platform-tests
[css-grid] Fix empty first row baseline test. https://github.com/w3c/csswg-drafts/issues/3645

--

wpt-commits: 511805a83e4e984092175681e75c24f1239f46e8
wpt-pr: 24468
2020-07-10 10:38:12 +00:00
autofoolip 748a45ef02 Bug 1650873 [wpt PR 24465] - Update interfaces/streams.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/streams.idl (#24465)

Source: https://github.com/tidoust/reffy-reports/blob/8c05df2/ed/idl/streams.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/705513650
--

wpt-commits: e1fc3c037c9142c3a2c49d1f8f832d600abcd4c4
wpt-pr: 24465
2020-07-10 10:38:12 +00:00
fantasai 08264b1e31 Bug 1650877 [wpt PR 24466] - [css-grid] Improve readability/understandability of baseline alignment test., a=testonly
Automatic update from web-platform-tests
[css-grid] Improve readability/understandability of baseline alignment test.

--

wpt-commits: cbedc38b1da1db3e7032c63c80daf5a1c6a438dd
wpt-pr: 24466
2020-07-10 10:38:11 +00:00
moz-wptsync-bot e59f7d5e82 Bug 1647826 [wpt PR 24316] - Update wpt metadata, a=testonly
wpt-pr: 24316
wpt-type: metadata
2020-07-10 10:38:11 +00:00
Alison Maher 8c68d69611 Bug 1647826 [wpt PR 24316] - Reland "Don't reset computed 'float' for flex and grid items", a=testonly
Automatic update from web-platform-tests
Reland "Don't reset computed 'float' for flex and grid items"

This is a reland of 906abd41e4f6c786a1927f6edd69d6926e20317b

Original change :
https://chromium-review.googlesource.com/c/chromium/src/+/2157889

Revert of original change :
https://chromium-review.googlesource.com/c/chromium/src/+/2256772

-----

The original change was reverted due to a DCHECK being triggered. See
the following CRBug for more details:
https://bugs.chromium.org/p/chromium/issues/detail?id=1097595

The original change no longer adjusted the ComputedStyle for floats
based on whether or not it was a flex/grid item. This adjustment was
left for the LayoutBox to handle. However, there was code on the layout
side that depended on IsFloating() getting adjusted for the style, as
well. This resulted in the DCHEK mentioned above getting hit.

To fix this, I updated all cases that used the style's IsFloating()
function and either updated it to also take the style's
IsFlexOrGridItem() function into account or updated the code to use
LayoutObject's IsFloating() function instead.

-----

Original change's description:
> Don't reset computed 'float' for flex and grid items
>
> Floated flex and grid items have their 'float' incorrectly computed to
> "none". This change fixes this by adjusting IsFloating() for flex and
> grid items inside LayoutBox::UpdateFromStyle() instead of inside
> StyleAdjuster::AdjustStyleForDisplay().
>
> Beyond this, legend elements are not allowed to be rendered legends
> if they are floating. However, if legends are flex items, we
> adjust IsFloating() to be false. This causes legends to be
> used as rendered legends when they are flex items, even if they
> were styled as a float.
>
> This is fixed by checking ComputedStyle::IsFloating() instead
> of LayoutObject::IsFloating() when finding the rendered legend in
> order to get its non-adjusted floating value.
>
> Bug: 875235,350505
> Change-Id: Ia1e7f7c244cc0c443cd58be42854866884b7f7e7
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2157889
> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
> Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
> Commit-Queue: Alison Maher <almaher@microsoft.com>
> Cr-Commit-Position: refs/heads/master@{#763988}

Bug: 875235, 350505
Change-Id: I915e045db7fda94d99cfdae33911d8b5f6df26de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2261412
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#785456}

--

wpt-commits: d33bc572d46eab7d3db2f67c24ab7e132344e22f
wpt-pr: 24316
2020-07-10 10:38:10 +00:00
moz-wptsync-bot 0b3e8c13c4 Bug 1650867 [wpt PR 24464] - Update wpt metadata, a=testonly
wpt-pr: 24464
wpt-type: metadata
2020-07-10 10:38:10 +00:00
Tab Atkins Jr 486d4612d2 Bug 1650867 [wpt PR 24464] - Add another variant that explicitly uses minmax(0, 1fr), rather than relying on the auto size., a=testonly
Automatic update from web-platform-tests
Add another variant that explicitly uses minmax(0, 1fr), rather than relying on the auto size. (#24464)

--

wpt-commits: 1f53c57f1b474d7877184d45b32b583b88b5c6af
wpt-pr: 24464
2020-07-10 10:38:09 +00:00
Koji Ishii 60a1a88e8c Bug 1650571 [wpt PR 24442] - [FragmentItem] Clear inline fragment for positioned objects, a=testonly
Automatic update from web-platform-tests
[FragmentItem] Clear inline fragment for positioned objects

This is a refix of r784685 <crrev.com/c/2275820>.

When floating objects become positioned, |NGFragmentItems|
can no longer track further changes or destructions. r784685
<crrev.com/c/1101277> fixed this in pre-layout, but it is
possible that changes can occur before next layout cycle.

This patch marks |NGFragmentItem| as moved and clears the
index in |LayoutBox::StyleWillChange| instead.

Logically speaking, this could happen to non-floating objects
such as inline-block. Our current code reattaches when non-
floating objects become positioned, so only floating objects
can cause this after r784297 <crrev.com/c/2275373>.

Bug: 1101818, 1101986, 1101277
Change-Id: I56e53aaf4e0b6b5b0ef78c3f75eaf3ffd3568596
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2279425
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785453}

--

wpt-commits: bc36542dc6e20d502f593295a989895e7cbc1960
wpt-pr: 24442
2020-07-10 10:38:09 +00:00
moz-wptsync-bot 3ea28e4509 Bug 1650504 [wpt PR 24440] - Update wpt metadata, a=testonly
wpt-pr: 24440
wpt-type: metadata
2020-07-10 10:38:08 +00:00
Xianzhu Wang 6f81979165 Bug 1650504 [wpt PR 24440] - Unify most clip-path code paths of pre-CAP and CAP, a=testonly
Automatic update from web-platform-tests
Unify most clip-path code paths of pre-CAP and CAP

Previously in pre-CAP, because we always created a composited mask
layer for any mask and/or clip-path (either path-based or mask-based)
if the object needed to be composited, we needed to handle clip-path
differently in pre-CAP and CAP,

Now always apply path-based clip-path after paint. No longer create
a mask layer for path-based clip-path in pre-CAP.

Rename ClipPath to ClipPathMask to make it clear that this effect node
is for the mask created for a mask-based clip-path.

If there are both mask and mask-based clip-path, always let ClipPathMask
effect node be the child of the Mask effect node. This is required by
pre-CAP (unchanged) to apply the clip-path in the mask layer, but also
works in CAP (previously both Mask ClipPathMask were directly under
Effect) because:
     DstIn(DstIn(A, Mask), ClipPathMask)
  == DstIn(A, DstIn(Mask, ClipPathMask)
where ClipPathMask is black-and-white.

If there is only a mask-based clip-path, we'll only create ClipPathMask
for both pre-CAP (now no Mask and MaskClip nodes) and CAP (unchanged).
The pre-CAP mask layer will use ClipPathMask as the effect state, which
avoids the need of filling a black mask before applying the clip path
mask.

Now the only difference between pre-CAP and CAP about clip-path is that
that when a LayerObject with mask-based clip-path is composited, pre-CAP
creates a GraphicsLayer for the clip-path mask before paint, while CAP
creates a cc::Layer for the mask after paint.

Bug: 1100224
Change-Id: I243e463b3c94e09b64ed3c171ece12145c9deec9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274177
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785435}

--

wpt-commits: 3d92704499a679683fb03500ceeeaef6ad652676
wpt-pr: 24440
2020-07-10 10:38:08 +00:00
moz-wptsync-bot 8fef3ebf49 Bug 1646487 [wpt PR 24209] - Update wpt metadata, a=testonly
wpt-pr: 24209
wpt-type: metadata
2020-07-10 10:38:07 +00:00
Stephen McGruer 73ad14d4ac Bug 1646487 [wpt PR 24209] - Add interfaces/custom-state-pseudo-class.idl and test, a=testonly
Automatic update from web-platform-tests
Add interfaces/custom-state-pseudo-class.idl and test (#24209)

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

wpt-commits: c27fba52a8b09520b9ab38836acb3866f85b4d7d
wpt-pr: 24209
2020-07-10 10:38:07 +00:00
moz-wptsync-bot 76d7380314 Bug 1650857 [wpt PR 24463] - Update wpt metadata, a=testonly
wpt-pr: 24463
wpt-type: metadata
2020-07-10 10:38:07 +00:00
Tab Atkins Jr 44d5051706 Bug 1650857 [wpt PR 24463] - Duplicate -001, but with the item getting its size from a child rather than explicitly., a=testonly
Automatic update from web-platform-tests
Duplicate -001, but with the item getting its size from a child rather than explicitly. (#24463)

* Duplicate -001, but with the item getting its size from a child rather than explicitly.

* Whoops, remove the <base> I was using for testing.
--

wpt-commits: e8401319ee32642fa1fd77b50f097ee9c5199487
wpt-pr: 24463
2020-07-10 10:38:06 +00:00
David Bokan 0a3aa25caf Bug 1650491 [wpt PR 24439] - Add metadata to preserve-fragment.html WPT test, a=testonly
Automatic update from web-platform-tests
Add metadata to preserve-fragment.html WPT test

Adds a long timeout since the single file tests hundreds of combinations
which timesout when manually run on mobile devices and cuts it close on
some desktop browsers.

Also added help links that refer to relevant spec text as well as bugs
that motivated this test.

Bug: 1055455
Change-Id: I8923bdd8201818dddb066ccd6d40790b416db16c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2281223
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785433}

--

wpt-commits: 08c4b3cb1535fedc32a7ced2aef987d3d797b3fc
wpt-pr: 24439
2020-07-10 10:38:06 +00:00
pyup.io bot 33cbb395fd Bug 1646223 [wpt PR 24176] - Update pep8-naming to 0.11.1, a=testonly
Automatic update from web-platform-tests
Update pep8-naming from 0.10.0 to 0.11.1 (#24176)

--

wpt-commits: 1d43d9a4e76bfa6987149aa07d194808ca1bf1c9
wpt-pr: 24176
2020-07-10 10:38:05 +00:00
Alex Turner 670b829628 Bug 1644557 [wpt PR 24070] - Remove .tentative flag from Split Cache Web Platform Test, a=testonly
Automatic update from web-platform-tests
Remove .tentative flag from Split Cache Web Platform Test

Now that the spec for HTTP cache partitioning is about to be landed,
this flag must be correspondingly removed.

Bug: 1064765
Change-Id: I4ee646b4e3a48c33ed6a025132d4e9a10940f675
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238349
Commit-Queue: Shivani Sharma <shivanisha@chromium.org>
Reviewed-by: Shivani Sharma <shivanisha@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785405}

--

wpt-commits: b785f83c799379ac64c8d0836e56caa350ff95f8
wpt-pr: 24070
2020-07-10 10:38:05 +00:00
moz-wptsync-bot c7d7ee8f92 Bug 1650805 [wpt PR 24459] - Update wpt metadata, a=testonly
wpt-pr: 24459
wpt-type: metadata
2020-07-10 10:38:04 +00:00
Frédéric Wang 2df1923952 Bug 1650805 [wpt PR 24459] - Add mathml test to check default UA sheet values on the <math> root, a=testonly
Automatic update from web-platform-tests
Add mathml test to check default UA sheet values on the <math> root (#24459)

https://github.com/mathml-refresh/mathml/issues/34
https://github.com/mathml-refresh/mathml/issues/36
--

wpt-commits: 88c94b95633fbd9e664d9d96da28953a8108881a
wpt-pr: 24459
2020-07-10 10:38:04 +00:00
moz-wptsync-bot 0d3fe07015 Bug 1646435 [wpt PR 24201] - Update wpt metadata, a=testonly
wpt-pr: 24201
wpt-type: metadata
2020-07-10 10:38:03 +00:00
Stephen McGruer 61c402777e Bug 1646435 [wpt PR 24201] - Add interfaces/deprecation-reporting.idl and test, a=testonly
Automatic update from web-platform-tests
Add interfaces/deprecation-reporting.idl and test (#24201)

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

wpt-commits: 79d0017b970b220f1f76e6c4fe22df7e04beae19
wpt-pr: 24201
2020-07-10 10:38:03 +00:00
Rune Lillesveen fc18ac9151 Bug 1650575 [wpt PR 24443] - Use the style being computed as rem base for root element., a=testonly
Automatic update from web-platform-tests
Use the style being computed as rem base for root element.

If we are resolving style for the root element, return the style being
built as the root style. That style is not available at the point we are
initialising the root style in ElementResolveContext.

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

--

wpt-commits: c269b86af5e687cc6e9df00a96b64d9165c22ba0
wpt-pr: 24443
2020-07-10 10:38:03 +00:00
autofoolip fab56dfd9a Bug 1650770 [wpt PR 24455] - Update interfaces/appmanifest.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/appmanifest.idl (#24455)

Source: https://github.com/tidoust/reffy-reports/blob/65872de/ed/idl/appmanifest.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/705383235
--

wpt-commits: f302e398f01f26651869cdc8d799ff36824e4740
wpt-pr: 24455
2020-07-10 10:38:02 +00:00
Koji Ishii 7f727c5bb7 Bug 1650739 [wpt PR 24453] - [FragmentItem] Limit reusing cached lines only when top-level child is clean, a=testonly
Automatic update from web-platform-tests
[FragmentItem] Limit reusing cached lines only when top-level child is clean

This patch simplifies |DirtyLinesFromNeedsLayout| to check
|NeedsLayout| of top-level children only.

The previous code tried to reuse more lines, e.g.:
  <div><span>many lines of text</span></div>
Most lines are reusable when appending to the end of "text".
But supporting this case complicates the logic, especially
when culled inline is involved.

The new logic can't reuse lines in the above case, but still
can reuse liens if the `<span>` does not exist, and should
cover most common cases.

Bug: 1102083
Change-Id: I4f76e154b834c8c00e5ce04ab251c4f1fcdabab0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2282821
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785345}

--

wpt-commits: eae9c1b62560eedbccc8efa3a1f6b6ce1ba97b30
wpt-pr: 24453
2020-07-10 10:38:02 +00:00
Koji Ishii 211e40a866 Bug 1650620 [wpt PR 24444] - [FragmentItem] Fix DirtyLinesFromNeedsLayout, a=testonly
Automatic update from web-platform-tests
[FragmentItem] Fix DirtyLinesFromNeedsLayout

This patch fixes a case where |DirtyLinesFromNeedsLayout|
fails to mark items dirty for reusing cached lines.

When searching for |LayoutObject| needing layout, checking
|NormalChildNeedsLayout| and |PosChildNeedsLayout| were not
enough. In some specific cases, only
|NeedsSimplifiedNormalFlowLayout| was set for the parent
inline box.

This patch changes the condition to check descendants to
|NeedsLayout|.

Bug: 1101883
Change-Id: Ia73ace058c9ea1ebaaffdaff793b56d68099cd5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2281781
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785287}

--

wpt-commits: aef9da08fe2fa0b9fa473e2e126cb3cf29fae43e
wpt-pr: 24444
2020-07-10 10:38:01 +00:00
moz-wptsync-bot 192514a7c9 Bug 1641377 [wpt PR 23807] - Update wpt metadata, a=testonly
wpt-pr: 23807
wpt-type: metadata
2020-07-10 10:38:01 +00:00
Aleks Totic bc67fd65c0 Bug 1641377 [wpt PR 23807] - [TablesNG] New test suite: colspan redistribution, a=testonly
Automatic update from web-platform-tests
[TablesNG] New test suite: colspan redistribution

Investigation into how cells with colspan > 1
redistribute their min/max/% widths.

Browsers often disagree, and spec allows for variations.

Bug: 958381
Change-Id: I588053d1392e00e9d199cdd1095b93a148101fc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2219093
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785260}

--

wpt-commits: 6f5097d7cb5bcedef39dcdd5331064eadfdd0283
wpt-pr: 23807
2020-07-10 10:38:00 +00:00
moz-wptsync-bot 02431c543f Bug 1649111 [wpt PR 24379] - Update wpt metadata, a=testonly
wpt-pr: 24379
wpt-type: metadata
2020-07-10 10:38:00 +00:00
Blink WPT Bot 88bff574a3 Bug 1649111 [wpt PR 24379] - [COOP] Report-only navigation tests, a=testonly
Automatic update from web-platform-tests
[COOP] Report-only navigation tests (#24379)

This adds basic tests of the report-only features for the navigation
case, where the report-only headers would cause a browsing context
group switch.

Bug: 1099208
Change-Id: Ia5261d5d1ddac4a83943e0a48b5ef5f2cdb47b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2266000
Commit-Queue: Pâris Meuleman <pmeuleman@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Auto-Submit: Pâris Meuleman <pmeuleman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785021}

Co-authored-by: Pâris MEULEMAN <pmeuleman@chromium.org>
--

wpt-commits: b7938227eacdc8d6d475c5a7bff061724d6ebd3f
wpt-pr: 24379
2020-07-10 10:37:59 +00:00
moz-wptsync-bot 247c70535a Bug 1650519 [wpt PR 24441] - Update wpt metadata, a=testonly
wpt-pr: 24441
wpt-type: metadata
2020-07-10 10:37:59 +00:00
Florian Rivoal 34caacc8c7 Bug 1650519 [wpt PR 24441] - Color gamut, a=testonly
Automatic update from web-platform-tests
Check color-gamut media query syntax (#24441)

--

wpt-commits: ac402deb6e9d1a35976009d3ecd5d709bbdd89c7
wpt-pr: 24441
2020-07-10 10:37:58 +00:00
moz-wptsync-bot 64fdbdd8e5 Bug 1650343 [wpt PR 24433] - Update wpt metadata, a=testonly
wpt-pr: 24433
wpt-type: metadata
2020-07-10 10:37:58 +00:00
Florian Rivoal 2aa5a574f5 Bug 1650343 [wpt PR 24433] - Test media features that are false in the negative range, a=testonly
Automatic update from web-platform-tests
Test media features that are false in the negative range (#24433)

See https://github.com/w3c/csswg-drafts/issues/1454
--

wpt-commits: 6b786f18589c7407b7b804c883b5d5cbf254c086
wpt-pr: 24433
2020-07-10 10:37:58 +00:00
Florian Rivoal d2f2f21d0b Bug 1650344 [wpt PR 24434] - Fix copypasta error, a=testonly
Automatic update from web-platform-tests
Fix copypasta error (#24434)

--

wpt-commits: 9f0bc35bee38d68e5a2ef27e1ac8f22985d0acdd
wpt-pr: 24434
2020-07-10 10:37:57 +00:00
Stephen McGruer 22ed8b7102 Bug 1648516 [wpt PR 24342] - Add a @page margins test for print-reftests, a=testonly
Automatic update from web-platform-tests
Add a @page margins test for print-reftests

This ensures that the 0.5" margin can be overriden when using a
print-reftest.

--

wpt-commits: 1ddd94983862011804dac3271eebd69160bee52b
wpt-pr: 24342
2020-07-10 10:37:57 +00:00
moz-wptsync-bot 138de38cba Bug 1649491 [wpt PR 24397] - Update wpt metadata, a=testonly
wpt-pr: 24397
wpt-type: metadata
2020-07-10 10:37:56 +00:00
sefeng 1a79c21751 Bug 1649491 [wpt PR 24397] - Convert a manual dialog fullscreen test to test_driver, a=testonly
Automatic update from web-platform-tests
Convert a manual dialog fullscreen test to test_driver

--
Update fullscreen/api/element-request-fullscreen-dialog.html
--
Update fullscreen/api/element-request-fullscreen-dialog.html
--

wpt-commits: 75bc0cd09e3a018367c214350d5aa70f0eebbbd5, 3b61173da65623c93e80ca978e2adeaf6e0085ab, a2d05880936b9fdea05c22846e26bec32bc535b7
wpt-pr: 24397
2020-07-10 10:37:56 +00:00
Emilio Cobos Álvarez 8be683efd5 Bug 1648839 - Evaluate changes in all media queries, then fire change events. r=jwatt
This ensures that you can't observe an inconsistent state while we go
through the list.

It should also be marginally better as we don't build an array with all
the media queries unconditionally.

Differential Revision: https://phabricator.services.mozilla.com/D82260
2020-07-10 01:21:53 +00:00
Tom Prince 204d796929 Bug 1651731: [lint] Python and shell files without `#!` should not be executable; r=linter-reviewers,perftest-reviewers,geckoview-reviewers,agi,sylvestre,sparky
Differential Revision: https://phabricator.services.mozilla.com/D82954
2020-07-09 20:29:18 +00:00
Perry Jiang d64a360dbc Bug 1398179 - re-enable clients-get-cross-origin.https.html WPT r=dom-workers-and-storage-reviewers,edenchuang
Re-enabling after 2 years of being disabled. If the underlying issue hasn't been
resolved, it'd be good to at least get updated logs for the intermittent failure.
The logs linked to on the bug comments are all too old to view anymore.

Differential Revision: https://phabricator.services.mozilla.com/D82488
2020-07-07 13:48:26 +00:00
Perry Jiang a8b12e8351 Bug 1402542 - re-enable subtest for Android r=dom-workers-and-storage-reviewers,ttung
Comment 14 on the bug seems to be obsolete, and the subtest hasn't failed
recently on different platforms. So if the issue causing the failures isn't
fixed, re-enabling should at least give some updated logs of what's happening.

Differential Revision: https://phabricator.services.mozilla.com/D82477
2020-07-07 07:50:33 +00:00
Cameron McCormack c7b8a0ec83 Bug 1650715 - Make image-orientation apply to all CSS images associated with an element. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D82471
2020-07-08 23:51:15 +00:00
Byron Campen [:bwc] 27a79c0e53 Bug 1326005: Test case for completion of ICE using candidates in reoffer/reanswer instead of trickle. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D82407
2020-07-08 20:48:43 +00:00
James Graham 983278ea99 Bug 1650429 - Restore metadata for win7 debug failure, r=malexandru
Differential Revision: https://phabricator.services.mozilla.com/D82765
2020-07-08 17:38:43 +00:00
R. Martinho Fernandes fb3abbefc6 Bug 1270634 - check usages when generating WebCrypto keys r=keeler,jcj
Differential Revision: https://phabricator.services.mozilla.com/D81146
2020-07-08 16:32:19 +00:00
R. Martinho Fernandes c27996d699 Bug 1286059 - throw correct error when encrypting with a bad AES-GCM tag length r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D81144
2020-07-08 09:25:08 +00:00
R. Martinho Fernandes 6636ae8e72 Bug 1286250 - return correct error code for bad AES key length r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D79455
2020-07-08 09:23:44 +00:00
moz-wptsync-bot a94d673341 Bug 1650429 - [wpt-sync] Update web-platform-tests to 5a8a43621be6bc5f94f3ccdc1ab9b2ad63e68428, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 5a8a43621be6bc5f94f3ccdc1ab9b2ad63e68428
wpt-type: landing
2020-07-08 12:52:54 +00:00
arthursonzogni e75698a477 Bug 1649442 [wpt PR 24395] - [CSP] Add WPT tests for inheritance with window.open., a=testonly
Automatic update from web-platform-tests
[CSP] Add WPT tests for inheritance with window.open.

There are WPT tests about CSP inheritance when opening local-scheme.
This is tested for iframe. Testing for iframes is good, testing for
both iframes and opened window is better.

Initially, I wanted to reproduce bug 1073126, but failed to do so. I
still want to keep the tests.

Bug: chromium:1073126
Change-Id: I4c363037d556bf93f37d43dd5b84a1da608d5e44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274602
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785017}

--

wpt-commits: 51f124152f8d1771382f4b2a8e4d386dd573755d
wpt-pr: 24395
2020-07-08 12:52:53 +00:00
moz-wptsync-bot cef6e1029a Bug 1631350 [wpt PR 23104] - Update wpt metadata, a=testonly
wpt-pr: 23104
wpt-type: metadata
2020-07-08 12:52:52 +00:00
Alexey Shvayka 2420dcec26 Bug 1631350 [wpt PR 23104] - Introduce IdlInterface#should_have_interface_object() method, a=testonly
Automatic update from web-platform-tests
Introduce IdlInterface#should_have_interface_object() method (#23104)

Resolves #18827.
--

wpt-commits: 2979a2231328d641f7bf291b8484135ae262a2d5
wpt-pr: 23104
2020-07-08 12:52:52 +00:00
moz-wptsync-bot eb8780f061 Bug 1650327 [wpt PR 24430] - Update wpt metadata, a=testonly
wpt-pr: 24430
wpt-type: metadata
2020-07-08 12:52:51 +00:00
Florian Rivoal 6c2fd015e0 Bug 1650327 [wpt PR 24430] - [mediaqueries] Confirm that invalid syntax is rejected, a=testonly
Automatic update from web-platform-tests
[mediaqueries] Confirm that invalid syntax is rejected (#24430)

Tests https://github.com/w3c/csswg-drafts/issues/2790
--

wpt-commits: b1d24b1a98699bf65855c6ee5d6140b5a24a7bf6
wpt-pr: 24430
2020-07-08 12:52:50 +00:00
Florian Rivoal 27c4d3b8ab Bug 1650337 [wpt PR 24432] - Test that deprecated media types don't match, a=testonly
Automatic update from web-platform-tests
Test that deprecated media types don't match (#24432)

Relates to https://github.com/w3c/csswg-drafts/issues/1751
--

wpt-commits: e422c23288d1d4d61f7a5ee0d0c919ac6834a627
wpt-pr: 24432
2020-07-08 12:52:50 +00:00
Florian Rivoal 71c527df51 Bug 1650328 [wpt PR 24431] - Add metadata to mediaquery case insensitivity test, a=testonly
Automatic update from web-platform-tests
Add metadata to mediaquery case insensitivity test (#24431)

See https://github.com/w3c/csswg-drafts/issues/2727
--

wpt-commits: 9bb4de40c0c6d46fd44e7f6c0001b760dd9c8eb8
wpt-pr: 24431
2020-07-08 12:52:49 +00:00
Mattias Buelens 90918ee006 Bug 1650229 [wpt PR 24427] - Streams: remove obsolete test for @@asyncIterator === values, a=testonly
Automatic update from web-platform-tests
Streams: remove obsolete test for @@asyncIterator === values (#24427)

As noted in #24266, this Streams test is now covered by the new async
iterable tests from the WebIDL harness. Therefore, we can remove the
Streams-specific test.
--

wpt-commits: 67a169be0bd98bfdb645a8218fdfb0bc2efe0f18
wpt-pr: 24427
2020-07-08 12:52:48 +00:00
moz-wptsync-bot 8f0f42a35d Bug 1648888 [wpt PR 24368] - Update wpt metadata, a=testonly
wpt-pr: 24368
wpt-type: metadata
2020-07-08 12:52:48 +00:00
David Bokan 0ea6f1bffe Bug 1648888 [wpt PR 24368] - Test fragment preservation across HTTP redirects, a=testonly
Automatic update from web-platform-tests
Test fragment preservation across HTTP redirects

This exercises bugs like: https://bugs.webkit.org/show_bug.cgi?id=158420
which should be fixed and which is still broken:
https://bugs.webkit.org/show_bug.cgi?id=24175

Bug: 1055455
Change-Id: I2530356110b7159abf7cacff5c990e6c74eef9e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2271063
Reviewed-by: Nate Chapin <japhet@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784933}

--

wpt-commits: e4b2fe646b9811e8d9a9332ace8ba2dfdb72ccb8
wpt-pr: 24368
2020-07-08 12:52:47 +00:00
Masayuki Nakano c28c0b9359 Bug 1647556 - part 4: Rewrite `WSRunObject::Scrub()` r=m_kato
`Scrub()` does remove leading white-spaces and trailing white-spaces if
there is.  So, it does not require `WSFragment` anymore.

Differential Revision: https://phabricator.services.mozilla.com/D82275
2020-07-07 16:21:50 +00:00
Hiroyuki Ikezoe 8a563af888 Bug 1649663 - Migrate reftest-paged reftests in layout/reftests/backgrounds/ into wpt. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D81807
2020-07-02 04:01:33 +00:00
Emilio Cobos Álvarez 012cd8f804 Bug 1649569 - Don't assert in GetValidationMessage that we got a good number. r=edgar
This can happen because we don't have a nice mechanism to update the
validity bits in all cases where the computed "language" changes.

That's not really a regression, and I'm on PTO, so for now we just deal
with it. The "bad input" message seems appropriate for this case rather
than returning garbage numbers.

Differential Revision: https://phabricator.services.mozilla.com/D82402
2020-07-07 13:32:48 +00:00
Nika Layzell b4a607fc7c Bug 1650456 - Correct name in a few places, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82217
2020-07-03 20:20:29 +00:00
Razvan Maries d3c3f47e4f Backed out 6 changesets (bug 1286059, bug 1270599, bug 1286250, bug 1286880, bug 1270634, bug 1286878) for multiple perma failures. CLOSED TREE
Backed out changeset 888968797a46 (bug 1270634)
Backed out changeset 73f73d6d927f (bug 1286059)
Backed out changeset de7c4515c92e (bug 1286880)
Backed out changeset a5fe48949cec (bug 1286878)
Backed out changeset 2ae604119d7b (bug 1270599)
Backed out changeset 68692026dcb1 (bug 1286250)
2020-07-06 21:20:23 +03:00
aardgoose 07988f4e3a Bug 1266808 - throw exception when canvas.drawImage passed closed ImageBitmap r=baku
Fixed breakages with clipped areas disjoint to image
Fixed text case that didn't expect exception
Fixed coding style
Removed expectation of web platform failure test

Differential Revision: https://phabricator.services.mozilla.com/D31048
2020-07-06 17:21:37 +00:00
R. Martinho Fernandes 13a3b3527f Bug 1270634 - check usages when generating WebCrypto keys r=keeler,jcj
Differential Revision: https://phabricator.services.mozilla.com/D81146
2020-07-06 16:46:51 +00:00
R. Martinho Fernandes 674dd4c80f Bug 1286059 - throw correct error when encrypting with a bad AES-GCM tag length r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D81144
2020-07-06 16:43:54 +00:00
R. Martinho Fernandes c8ef1c44cb Bug 1286250 - return correct error code for bad AES key length r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D79455
2020-07-06 16:43:01 +00:00
Emilio Cobos Álvarez 8a684e8429 Bug 1650189 - Fix an off-by-one in the transition property iterator. r=mrobinson
By the time we get to iterate over the longhands of a shorthand, we've
already advanced the range iterator, so we look at the next duration and
such, which causes this bug.

I'm seriously baffled that no existing test caught this when it
landed, neither in our internal test suite nor wpt...  :/

Differential Revision: https://phabricator.services.mozilla.com/D82396
2020-07-06 16:26:20 +00:00
Sebastian Hengst 02bd55e4e3 Bug 1650258 - Set webkit-appearance-menulist-button-002.html as passing on Android. DONTBUILD CLOSED TREE 2020-07-06 09:28:38 +02:00
Masayuki Nakano 91d82d7cbf Bug 1647556 - Add some WPTs for testing how to treat invisible leading and trailing white-spaces in block element r=m_kato
This adds some WPTs for testing how to treat invisible leading and/or trailing
white-spaces in block elements.  I think that they should be removed as far
as possible because they may become visible suddenly if browsers fail to handle
them with their bugs.  However, it's acceptable if the result keeps white-
spaces as invisible.  Therefore, this makes some new tests allow multiple
results.

Differential Revision: https://phabricator.services.mozilla.com/D82268
2020-07-06 02:36:24 +00:00
Cosmin Sabou b3bf2ee99f Bug 1604316 - Update syntax from PASS to OK. a=test-only 2020-07-06 04:24:48 +03:00
Cameron McCormack ce59fc4337 Bug 1650258 - More fixes to appearance test metadata. r=emilio
In bug 1562932, we disabled a number of appearance reftests on Windows,
since they are intermittent given the animated appearance of <progress>.
This patch disables some other tests that were missed.

This also removes the fuzziness from Android for these tests, which
seems to be no longer needed (probably since the switch to the non-
native theme on Android), and removing Windows Vista disabling
conditions that are superseded by the new all Windows disabling one.

Differential Revision: https://phabricator.services.mozilla.com/D82123
2020-07-03 05:11:01 +00:00
Cosmin Sabou 7a693e1563 Bug 1650464 - Update expectations for access-reporting/property.https.html on linux. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D82301
2020-07-05 22:16:31 +00:00
Cosmin Sabou a99fead824 Bug 1604316 - Update expectations for cors-check.https.html. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D82299
2020-07-05 21:47:11 +00:00
Mihai Alexandru Michis 41c994f79c Bug 1650184 - Re-add box-shadow-table-border-collapse-001.html.ini and mark it as fail-pass on win 7 debug. a=wpt-fix
CLOSED TREE
2020-07-04 00:16:53 +03:00
sefeng 80e3e377d1 Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-07-03 19:48:59 +00:00
Mihai Alexandru Michis cc60edc477 Bug 1650184 - Remove box-shadow-table-border-collapse-001.html.ini for causing unexpected passes. a=wpt-fix
CLOSED TREE
2020-07-03 21:25:28 +03:00
Jeff Muizelaar d6910e71e1 Bug 1649040. Add some more masking and some fuzz to the test.
Differential Revision: https://phabricator.services.mozilla.com/D82209
2020-07-03 17:32:35 +00:00
Cosmin Sabou 5d6a0462a3 Backed out changeset 0f5653007c41 (bug 1645046) for wpt failures. CLOSED TREE 2020-07-03 18:19:17 +03:00
Corentin Arnould a4fc56119e Bug 1650030 - Revert changes for bug 1618225. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D82197
2020-07-03 14:27:59 +00:00
sefeng 383b8d065d Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-07-02 20:36:37 +00:00
Cosmin Sabou 37b151514c Bug 1650278 - Mark mask-print.svg as expected fail. a=test-only 2020-07-03 17:04:44 +03:00
James Graham 6e2d772246 Bug 1650184 - css appearance test is intermittent on Win 10 a=wpt-fix
Differential Revision: https://phabricator.services.mozilla.com/D82189
2020-07-03 12:57:29 +00:00
James Graham cdae0383b4 Bug 1650184 - Update metadata for css-background test a=wpt-fix on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D82176
2020-07-03 11:26:31 +00:00
moz-wptsync-bot ec0b99bf07 Bug 1650184 - [wpt-sync] Update web-platform-tests to 145839c323ba1ec8b9737a3ed66924f6edd3624d, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 145839c323ba1ec8b9737a3ed66924f6edd3624d
wpt-type: landing
2020-07-03 09:39:06 +00:00
moz-wptsync-bot bf31514cbf Bug 1646888 [wpt PR 24245] - Update wpt metadata, a=testonly
wpt-pr: 24245
wpt-type: metadata
2020-07-03 09:39:06 +00:00
autofoolip 924af4e9f1 Bug 1646888 [wpt PR 24245] - Update interfaces/webxr-ar-module.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webxr-ar-module.idl (#24245)

Source: https://github.com/tidoust/reffy-reports/blob/9756a88/ed/idl/webxr-ar-module.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/699918508
--

wpt-commits: 145839c323ba1ec8b9737a3ed66924f6edd3624d
wpt-pr: 24245
2020-07-03 09:39:05 +00:00
ziransun f2642e0d18 Bug 1648419 [wpt PR 24335] - Python 3: port tests in service-workers [part 2], a=testonly
Automatic update from web-platform-tests
Python 3: port tests in service-workers [part 2] (#24335)

--

wpt-commits: f2c264e640ea941f720b94a3e804a2676a51c7f8
wpt-pr: 24335
2020-07-03 09:39:05 +00:00
ziransun 018121d01c Bug 1650064 [wpt PR 24423] - Python 3: port tests of range, stale-while-revalidate in fetch, a=testonly
Automatic update from web-platform-tests
Python 3: port tests of range, stale-while-revalidate in fetch (#24423)

* Python 3: port tests of range, stale-while-revalidate in fetch

* Remove unnecessary prefix and use bytes type for content_range
--

wpt-commits: b13c1d42b3aaf52a4e7b0b18795aeefb17a62eb6
wpt-pr: 24423
2020-07-03 09:39:04 +00:00
Antonio Sartori e720bfe0de Bug 1647715 [wpt PR 24311] - Implement CSPEE Blanket Enforcement logic out-of-blink, a=testonly
Automatic update from web-platform-tests
Implement CSPEE Blanket Enforcement logic out-of-blink

This changes adds to the AncestorThrottle a check for the step
"Does response allow blanket enforcement of policy from request" of
Content Security Policy: Embedded Enforcement:
https://w3c.github.io/webappsec-cspee/#origin-allowed Behind the flag

This is one of the steps of moving CSPEE out-of-blink and is hidden
under the flag network::features::kOutOfBlinkCSPEE.

Change-Id: Id3092322134e055810d4006e63e6974ee64315be
Bug: 1094909
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218019
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784753}

--

wpt-commits: 8a3698a69e785aefc5c83ea2e348fd3350bfa43a
wpt-pr: 24311
2020-07-03 09:39:04 +00:00
Philip Jägenstedt a673cc64a8 Bug 1650035 [wpt PR 24421] - Move asserts inside the test, a=testonly
Automatic update from web-platform-tests
Move asserts inside the test (#24421)

Failing one of these asserts would otherwise result in a harness error.
--

wpt-commits: f5c167568d5f5c02ef9a3b3131c64f3a254c2296
wpt-pr: 24421
2020-07-03 09:39:04 +00:00
Christian Liebel d8a164ac0f Bug 1649113 [wpt PR 24380] - Test `browser`, `minimal-ui`, and `fullscreen` values of the `display` member, a=testonly
Automatic update from web-platform-tests
[appmanifest] add more display member tests (#24380)

--

wpt-commits: aa28173104b557d7c0d4298944f73b5d0308ad74
wpt-pr: 24380
2020-07-03 09:39:03 +00:00
Lukasz Anforowicz 2df711ebf3 Bug 1649293 [wpt PR 24388] - Update bug references in docs and comments: s/891872/1098938/., a=testonly
Automatic update from web-platform-tests
Update bug references in docs and comments: s/891872/1098938/.

Even though https://crbug.com/891872 is fixed (and
blink::Platform::CreateDefaultURLLoaderFactory removed),
|request_initiator_site_lock| might still be a base::nullopt in some
URLLoaderFactory objects vended to renderer processes.  Such remaining
cases are tracked in https://crbug.com/1098938 - this CL updates
bug references in docs and comments to match.

Bug: 891872, 1098938
Change-Id: I64f21f2495514ba72bfcc3c39910151322b176eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274188
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Auto-Submit: Łukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784738}

--

wpt-commits: 3ecff280b727451096f3e3a8b0e9af301ec84263
wpt-pr: 24388
2020-07-03 09:39:03 +00:00
moz-wptsync-bot 4295b4d1da Bug 1649761 [wpt PR 24412] - Update wpt metadata, a=testonly
wpt-pr: 24412
wpt-type: metadata
2020-07-03 09:39:02 +00:00
Rob Buis 6fbe9bdb75 Bug 1649761 [wpt PR 24412] - Add a test to verify finding fragment id in non UTF8 document, a=testonly
Automatic update from web-platform-tests
Add a test to verify finding fragment id in non UTF8 document (#24412)

--

wpt-commits: 7e6dcb93c97da79840977f0f7b3aff6bf15da3eb
wpt-pr: 24412
2020-07-03 09:39:02 +00:00
Koji Ishii 9ef551b67b Bug 1649830 [wpt PR 24416] - [FragmentItem] Clear inline fragment index for positioned objects, a=testonly
Automatic update from web-platform-tests
[FragmentItem] Clear inline fragment index for positioned objects

When once laid out floating object is changed to a positioned
object, it may have |FirstInlineFragmentItemIndex| set, but
positioned objects should not have the index because they do
not produce |NGFragmentIem|. This patch makes sure the index
is cleared for positioned objects.

Also this patch turns DCHECK in |NGInlineCursor::MoveTo| to
NOTREACHED + return to avoid such case could result in crash.

This is a regression in r784297 <crrev.com/c/2275373>, which
started to index floating objects.

Bug: 1101277
Change-Id: I21a75440c3aa77a8d66b1e002d05ff2b252e6b94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2275820
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784685}

--

wpt-commits: 99a09c73e7f1d7b19ec4be2eb8ce2d3bebf52245
wpt-pr: 24416
2020-07-03 09:39:01 +00:00
autofoolip c51e11af03 Bug 1649933 [wpt PR 24419] - Update interfaces/webauthn.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webauthn.idl (#24419)

Source: https://github.com/tidoust/reffy-reports/blob/3aeee91/ed/idl/webauthn.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/704148374
--

wpt-commits: dc9327cd43c5b07679de412e5ff29d7935b4ecdc
wpt-pr: 24419
2020-07-03 09:39:01 +00:00
Alison Maher feff78289b Bug 1649934 [wpt PR 24420] - Display type of ::first-line pseudo-elements, a=testonly
Automatic update from web-platform-tests
Display type of ::first-line pseudo-elements

According to the spec, the display property should not be applied
to ::first-line or ::first-letter pseudo-elements.
https://www.w3.org/TR/css-display-3/#placement

This has already been handled for ::first-letter, so this change
similarly adjusts the display property style for ::first-line. I've
tested the behavior in FireFox and legacy Edge, and this change
aligns with the behavior in other browsers.

Bug: 685925
Change-Id: Idaa299c90e20c69902491837b53e7988da7759c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2278321
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#784655}

--

wpt-commits: 97361605eaf811be5120d97ddf807c735e9a8d22
wpt-pr: 24420
2020-07-03 09:39:00 +00:00
moz-wptsync-bot f37cb4c2a1 Bug 1649891 [wpt PR 24417] - Update wpt metadata, a=testonly
wpt-pr: 24417
wpt-type: metadata
2020-07-03 09:39:00 +00:00
Rune Lillesveen 5a461d8f1b Bug 1649891 [wpt PR 24417] - Progress elements need reattach on appearance change., a=testonly
Automatic update from web-platform-tests
Progress elements need reattach on appearance change.

Dynamic changes to appearance to/from auto/none did not work.

Bug: 853558
Change-Id: I9486a0f3111555ba1975fe28cc58a54b2e20b71c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276260
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784645}

--

wpt-commits: 2677b2edb9d8c5563a496b50cc033e8842614dd9
wpt-pr: 24417
2020-07-03 09:38:59 +00:00
Piotr Bialecki 90a7206303 Bug 1648620 [wpt PR 24349] - WebXR - anchors WPTs - update to account for test API changes, a=testonly
Automatic update from web-platform-tests
WebXR - anchors WPTs - update to account for test API changes

WebXR Test API PR with changes to the API:
https://github.com/immersive-web/webxr-test-api/pull/69

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

--

wpt-commits: bbda80e3e9964567acedd8537f5318b40896ac85
wpt-pr: 24349
2020-07-03 09:38:59 +00:00
moz-wptsync-bot ec2a132056 Bug 1649338 [wpt PR 24391] - Update wpt metadata, a=testonly
wpt-pr: 24391
wpt-type: metadata
2020-07-03 09:38:58 +00:00
Christian Biesinger 19a90e3336 Bug 1649338 [wpt PR 24391] - [AspectRatio] Add test for computing inline size with constrained block size, a=testonly
Automatic update from web-platform-tests
[AspectRatio] Add test for computing inline size with constrained block size

This tests the behavior as specced in
https://github.com/w3c/csswg-drafts/issues/5257

R=ikilpatrick@chromium.org

Bug: 1045668
Change-Id: I75b945a008b9039b751fc7de54da86cbf399a7ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274255
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784523}

--

wpt-commits: b363daeddf3374072306c4f9ccf919261489aa13
wpt-pr: 24391
2020-07-03 09:38:57 +00:00
moz-wptsync-bot bb967bfb66 Bug 1649745 [wpt PR 24410] - Update wpt metadata, a=testonly
wpt-pr: 24410
wpt-type: metadata
2020-07-03 09:38:57 +00:00
Dominic Farolino 2c0edd874e Bug 1649745 [wpt PR 24410] - Add iframe lazy load event semantics test, a=testonly
Automatic update from web-platform-tests
Add iframe lazy load event semantics test

This CL adds WPTs asserting that in-viewport loading=lazy iframes do not
block the outer window load event.

The test accompanies the spec change made at:
https://github.com/whatwg/html/pull/5579.

R=sclittle@chromium.org

Bug: 1101175
Change-Id: I5e337f6c87c8198e8e5bae5a32263698fb3daf28
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2277384
Commit-Queue: Dominic Farolino <dom@chromium.org>
Reviewed-by: Scott Little <sclittle@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784381}

--

wpt-commits: 54eb49dcb97c59910f8b6d9830d73ea11366b7e5
wpt-pr: 24410
2020-07-03 09:38:56 +00:00
moz-wptsync-bot 55dbc4855e Bug 1646485 [wpt PR 24208] - Update wpt metadata, a=testonly
wpt-pr: 24208
wpt-type: metadata
2020-07-03 09:38:56 +00:00
Stephen McGruer 93e1861d32 Bug 1646485 [wpt PR 24208] - Add interfaces/is-input-pending.idl and test, a=testonly
Automatic update from web-platform-tests
Add interfaces/is-input-pending.idl and test (#24208)

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

wpt-commits: f1378425537a4f74895fad230f886b730fd051ad
wpt-pr: 24208
2020-07-03 09:38:56 +00:00
moz-wptsync-bot 3b60cb414e Bug 1648565 [wpt PR 24345] - Update wpt metadata, a=testonly
wpt-pr: 24345
wpt-type: metadata
2020-07-03 09:38:55 +00:00
Stephen McGruer 00ef78d530 Bug 1648565 [wpt PR 24345] - Add interfaces/webhid.idl and test, a=testonly
Automatic update from web-platform-tests
Add interfaces/webhid.idl and test (#24345)

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

wpt-commits: b89d7ff93b5076d389404f2a062b83e73754307f
wpt-pr: 24345
2020-07-03 09:38:55 +00:00
ziransun 520ce11c2a Bug 1646050 [wpt PR 24167] - Python 3: Port tests in content-security-policy, a=testonly
Automatic update from web-platform-tests
Python 3: Port tests in content-security-policy (#24167)

--

wpt-commits: 423013266bec0213679b3fccab8e039bb3f68f0c
wpt-pr: 24167
2020-07-03 09:38:54 +00:00
ziransun 8f8e17d605 Bug 1646366 [wpt PR 24195] - Python 3: Port tests in fetch/corb, fetch/cross-origin-resource-polic…, a=testonly
Automatic update from web-platform-tests
Python 3: Port tests in fetch/corb, fetch/cross-origin-resource-policy and fetch/nosniff (#24195)

--

wpt-commits: 71df9d040dfb23a381cab1a1d64ca380316c8a28
wpt-pr: 24195
2020-07-03 09:38:54 +00:00
Ian Kilpatrick 9806f96d8f Bug 1649489 [wpt PR 24396] - [LayoutNG] Fix anonymous-block child-available-size., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix anonymous-block child-available-size.

The logic introduced for CalculateChildAvailableSize was designed to
have the correct value for an element with:
"<div style="position: relative; left: 50%; top: 50%;></div>"

E.g. the percentage based left/top would resolve against the available
size. However this broke text alignment within anonymous-blocks which
require the child-available-size to be based on the actual inline-size.

This patch uses the actual inline-size in the inline direction, but
keeps the logic for block direction.

This will mean that for postiion:relative calculations we'll use
the Percentage inline-size, and Available block-size for resolving
percentages.

Bug: 1100203
Change-Id: I83c5281c5de9f9fd40f1bfed54e627dff5bb0600
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274359
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784323}

--

wpt-commits: 13b2394002dc74717d528a0f94c9a38d944fc578
wpt-pr: 24396
2020-07-03 09:38:53 +00:00
moz-wptsync-bot d10f8ebdcc Bug 1649649 [wpt PR 24407] - Update wpt metadata, a=testonly
wpt-pr: 24407
wpt-type: metadata
2020-07-03 09:38:53 +00:00
Dominic Farolino 9a68aafab2 Bug 1649649 [wpt PR 24407] - Augment iframe lazyload tests for srcdoc, a=testonly
Automatic update from web-platform-tests
Augment iframe lazyload tests for srcdoc

This CL augments the existing iframe lazyload test for srcdoc lazyload
support. Chrome currently does not implement this.

The test accompanies the spec change made at:
https://github.com/whatwg/html/pull/5579.

R=sclittle@chromium.org

Bug: 1101170
Change-Id: I5c5790c5d2eca3efbb01c5470e2267f2265858f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276624
Reviewed-by: Scott Little <sclittle@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784331}

--

wpt-commits: 36c3b7dbdcb6f955ef2d64aad14efb13c80e4c67
wpt-pr: 24407
2020-07-03 09:38:52 +00:00
Koji Ishii 2d006b5468 Bug 1649550 [wpt PR 24399] - [FragmentItem] Include floats in associated LayoutObject, a=testonly
Automatic update from web-platform-tests
[FragmentItem] Include floats in associated LayoutObject

This patch changes to associate floating |LayoutObject|s to
|NGFragmentItem| using |FirstInlineFragmentItemIndex|.

The index is used for many purposes, but one of them is to
mark destroyed or moved |LayoutObject| in |NGFragmentItem|.
Because floating objects are stored in |NGFragmentItem|,
they need to be indexed to mark correctly.

Also changes |LayoutBlockFlow::
SetShouldDoFullPaintInvalidationForFirstLine| to skip items
for destroyed or moved |LayoutObject| because it may be
called on dirty tree.

Bug: 1100900
Change-Id: If35bf2c77b9a46a9ba598e6785926f6b0e1c5455
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2275373
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784297}

--

wpt-commits: e5fea0ad9e468165aba081d71880ec2b67832df6
wpt-pr: 24399
2020-07-03 09:38:52 +00:00
Nicolás Peña Moreno 01e6174536 Bug 1649619 [wpt PR 24402] - [PaintTiming] Let videos trigger FCP, a=testonly
Automatic update from web-platform-tests
[PaintTiming] Let videos trigger FCP

This CL adds a call to SetImagePainted() so that FCP fires when there we
paint a video.

Bug: 1071450
Change-Id: I9590517fd3355226096fd62079a3a4aa6eb50735
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276244
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784189}

--

wpt-commits: 17f0e364e3584535436669a490887e723f3f61e6
wpt-pr: 24402
2020-07-03 09:38:51 +00:00
Morten Stenshorne cd891b9ffc Bug 1649586 [wpt PR 24401] - Named pages should only have an effect when paginated., a=testonly
Automatic update from web-platform-tests
Named pages should only have an effect when paginated.

Need to check if page breaks are applicable before applying them.

Bug: 1100308, 1053768
Change-Id: I987bf4ce42f7d0f5128cb01c30824214d9c12ea8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276432
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784139}

--

wpt-commits: 046463806888ea0f241f4df19c1bcc23b3d8e50c
wpt-pr: 24401
2020-07-03 09:38:51 +00:00
moz-wptsync-bot a76f41461e Bug 1648529 [wpt PR 24344] - Update wpt metadata, a=testonly
wpt-pr: 24344
wpt-type: metadata
2020-07-03 09:38:50 +00:00
Charlie Hu e6ae98cedf Bug 1648529 [wpt PR 24344] - Accept Permissions-Policy header, a=testonly
Automatic update from web-platform-tests
Accept Permissions-Policy header

This CL does the necessary plumbing so that permissions policy
header can be properly parsed and merged with existing init
procedure of feature policy.

A few wpt tests are added to verify that the plumbing is working
as expected.

Change-Id: I64b956f55fc36e372c23d6f1df92af54e268d92c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2246981
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Charlie Hu <chenleihu@google.com>
Cr-Commit-Position: refs/heads/master@{#784064}

--

wpt-commits: af272845618c79b04d7fdcf9687e9ab9b543b6d7
wpt-pr: 24344
2020-07-03 09:38:50 +00:00
Xianzhu Wang c56fc1ab57 Bug 1649536 [wpt PR 24398] - Fix clip state of synthetic effect for non-backdrop effects, a=testonly
Automatic update from web-platform-tests
Fix clip state of synthetic effect for non-backdrop effects

This fixes a regression caused by crrev.com/c/2183198.
We should move the effect's clip to the outer synthetic effects
for backdrop effects only. For non-backdrop effect we don't move effect
up into the synthetic effect and can share the synthetic effect with
other effects, so we should not move up the clip.

Bug: 1099234
Change-Id: I5dbd63f7c94717e42572342371df6de8fe89308e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2272122
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784097}

--

wpt-commits: 716a3224e9a754234c2fc1166ca6757154a445c0
wpt-pr: 24398
2020-07-03 09:38:49 +00:00
Maks Orlovich 2d6aab3d7c Bug 1645485 [wpt PR 24134] - client hints: Rework how persistent settings are communicated to renderer, a=testonly
Automatic update from web-platform-tests
client hints: Rework how persistent settings are communicated to renderer

Before this CL, the entire settings map was sent to the renderer,
it then parsed accept-ch, and sent IPCs to the browser to persist
settings.

This has following downsides:
1) client-hint settings map can leak history to render (I don't know
   if there are other sources of that, probably, so maybe not such a
   big deal)
2) If this becomes popular, map size would be a performance risk
3) This requires trusting renderer to update client hint settings.

Instead, this uses existing network service hook to parse accept-ch
(which was needed for navigation redirects), and the browser persists
the results and sends the relevant client hint configuration to the
renderer with CommitParams. The IPC for renderer to write config
is therefore removed.

This required teaching the browser code to behave more consistently
with some flags (lang, accept-ch-lifetime support).

Change-Id: I421b3c07d4644e179a0f6a26088e44c55f68f7d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2081628
Commit-Queue: Maksim Orlovich <morlovich@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Reviewed-by: Tarun Bansal <tbansal@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784031}

--

wpt-commits: db1baf1ad1b70d9343284bab7d55dd4f7ba1e07b
wpt-pr: 24134
2020-07-03 09:38:49 +00:00
moz-wptsync-bot 9cc7898739 Bug 1649434 [wpt PR 24394] - Update wpt metadata, a=testonly
wpt-pr: 24394
wpt-type: metadata
2020-07-03 09:38:48 +00:00
Stephen McGruer c7741ba4b1 Bug 1649434 [wpt PR 24394] - Partially revert "Add another https port (#24016)", a=testonly
Automatic update from web-platform-tests
Partially revert "Add another https port (#24016)" (#24394)

This reverts the change to common/get-host-info.sub.js in commit
95cdf1f.

Adding another HTTPS port broke there broke the Chromium WPT
Importer (as the pinned tooling failed to sub common/get-host-info.sub.js
due to indexing out of bounds).
--

wpt-commits: c9d349e49b3140029e4682761d5af5189ae75138
wpt-pr: 24394
2020-07-03 09:38:48 +00:00
Stephen Chenney 7105da951a Bug 1649310 [wpt PR 24390] - [WPT] Fix external/wpt/css/css-backgrounds/border-image-shorthand-001.htm, a=testonly
Automatic update from web-platform-tests
[WPT] Fix external/wpt/css/css-backgrounds/border-image-shorthand-001.htm

The test file and it's reference differed by having a "." inside
or outside the <strong>. Fix it.

TBR: pdr@chromium.org
Bug: 1099732
Change-Id: Ia70fc06fa216bd5494187f18be27e46fa9e1dd36
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274786
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783938}

--

wpt-commits: 7fbf0a9b035b850016885c4b27d267265de615f6
wpt-pr: 24390
2020-07-03 09:38:47 +00:00
ziransun e7eebf22c6 Bug 1648429 [wpt PR 24338] - Python 3: port tests in service-workers [part 5], a=testonly
Automatic update from web-platform-tests
Python 3: port tests in service-workers [part 5] (#24338)

Use random.random() instead of time.clock() for script updates
--

wpt-commits: a9e30a86cdcc6121a23512ea9178f80fba8fd233
wpt-pr: 24338
2020-07-03 09:38:47 +00:00
moz-wptsync-bot a5f9072916 Bug 1648426 [wpt PR 24337] - Update wpt metadata, a=testonly
wpt-pr: 24337
wpt-type: metadata
2020-07-03 09:38:47 +00:00
ziransun 373e2217c2 Bug 1648426 [wpt PR 24337] - Python 3: port tests in service-workers [part 4], a=testonly
Automatic update from web-platform-tests
Python 3: port tests in service-workers [part 4] (#24337)

--

wpt-commits: a3d97e7272302008c34864b3122e6d31b35faa6c
wpt-pr: 24337
2020-07-03 09:38:46 +00:00
Yutaka Hirano 2be0f6abf7 Bug 1649392 [wpt PR 24392] - Fix wpt/html/coep/require-corp-about-{blank,srcdoc}.html, a=testonly
Automatic update from web-platform-tests
Fix wpt/html/coep/require-corp-about-{blank,srcdoc}.html

 - platform/mac-mac10.13/.../require-corp-about-blank-expected.txt
   is redundant - it's same as the base expectation.
 - platform/mac-mac10.14/.../require-corp-about-blank-expected.txt
   is wrong - the test always fails on the platform (and the failures
   are suppressed by TestExpectations).
 - wpt/html/coep/require-corp-about-blank.html always fails because
   COEP is only effective on secure contexts
   (https://github.com/whatwg/html/issues/4930). Rename it to
   wpt/html/coep/require-corp-about-blank.https.html
 - wpt/html/coep/require-corp-about-srcdoc.html always fails because
   COEP is only effective on secure contexts
   (https://github.com/whatwg/html/issues/4930). Rename it to
   wpt/html/coep/require-corp-about-srcdoc.https.html
 - Remove redundant TestExpectations entries.

Bug: 1086065, 626703
Change-Id: I5573dd4446f482acdde828404e0a88893897ce09
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274133
Auto-Submit: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783875}

--

wpt-commits: f911e6744606f48835f3296fab56e40d8185121c
wpt-pr: 24392
2020-07-03 09:38:46 +00:00
Christian Liebel ae6543a772 Bug 1649081 [wpt PR 24378] - Test `orientation` member, a=testonly
Automatic update from web-platform-tests
[appmanifest] Test `orientation` member (#24378)

* [appmanifest] Add orientation member test

* [appmanifest] add portrait orientation test
--

wpt-commits: 1cb9daef513ee0c7e82a6689a6248946d0c580c0
wpt-pr: 24378
2020-07-03 09:38:45 +00:00
Joshua Bell 2cd5bc8167 Bug 1649257 [wpt PR 24386] - Indexed DB: Use correct range upper limit for index iteration, a=testonly
Automatic update from web-platform-tests
Indexed DB: Use correct range upper limit for index iteration

When iterating a forwards, comparisons are done between each record
found and the range's bound to know when to stop. There's an special
case for reverse cursors where a starting key is needed at the upper
end of the range, so the uppermost key in the range is looked up as
the starting cursor position.

The code to do this for indexes was not guarded by a check for the
cursor direction, though. This was harmless for most forward
iterations as the uppermost actual key would match the upper bound
anyway. But when iterating a cursor over a range in an index, records
can change their index keys and thus appear again in the iteration.
This would lead to the cursor stopping at what was no longer the
actual uppermost key in the range, missing records in the iteration.

Add the missing check, and a WPT to verify this behavior.

(The code dates back to before 2013, so this is not a recent regression.)

Bug: 1091731
Change-Id: I23336ba03d31607607d496fc7e18c28bcf644cf0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274085
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Reviewed-by: enne <enne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783792}

--

wpt-commits: 93caf8cf824c75e47a68af9d3000e297139c4974
wpt-pr: 24386
2020-07-03 09:38:45 +00:00
Nate Chapin 1681becf1c Bug 1649252 [wpt PR 24384] - Setting innerHTML in a template element in an inactive document should not crash., a=testonly
Automatic update from web-platform-tests
Setting innerHTML in a template element in an inactive document should not crash.

Bug: 1100176
Test: html/semantics/scripting-1/the-template-element/template-element/template-set-inner-html-in-inactive-document-crash.html
Change-Id: I1d2ad61aead0d8f14952ae9b8e49d855d773e86f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2273798
Auto-Submit: Nate Chapin <japhet@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783693}

--

wpt-commits: 825a7c1a712e0911116031b5e5dcf382d8f50adb
wpt-pr: 24384
2020-07-03 09:38:44 +00:00
moz-wptsync-bot 23b10ffc18 Bug 1641952 [wpt PR 23860] - Update wpt metadata, a=testonly
wpt-pr: 23860
wpt-type: metadata
2020-07-03 09:38:44 +00:00
Kevin Ellis 9a99a6e4bf Bug 1641952 [wpt PR 23860] - Fix calculation of before change style for CSS transitions, a=testonly
Automatic update from web-platform-tests
Fix calculation of before change style for CSS transitions

This patch performs a lazy calculation of the before change style once
it has been determined that a transition is being retargeted. In doing
so, the current position is correctly updated to reflect changes made
via the web-animation API.  The path also addresses a bug in the
calculation of current time, in the case of a paused or play-pending
animation.

Bug: 1082401, 888661, 547609

Change-Id: I4b76879d840b482da8ebf23c1aad41b881fafce8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220263
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783675}

--

wpt-commits: ebe69e97a1ea77b2eb30d7b40ffef2d67455a805
wpt-pr: 23860
2020-07-03 09:38:43 +00:00
ziransun 33281223d4 Bug 1648431 [wpt PR 24339] - Python 3: port tests in service-workers [part 6], a=testonly
Automatic update from web-platform-tests
Python 3: port tests in service-workers [part 6] (#24339)

--

wpt-commits: 5a9b76d3c380269ce95f11072923738ca09f5d2f
wpt-pr: 24339
2020-07-03 09:38:43 +00:00
autofoolip c074051e67 Bug 1649220 [wpt PR 24382] - Update interfaces/media-capabilities.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/media-capabilities.idl (#24382)

Source: https://github.com/tidoust/reffy-reports/blob/3da5357/ed/idl/media-capabilities.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/703263521
--

wpt-commits: 74446fc3996a061c4d50ffa7f99f71dcc0271eb2
wpt-pr: 24382
2020-07-03 09:38:42 +00:00
moz-wptsync-bot 84224785db Bug 1647216 [wpt PR 24270] - Update wpt metadata, a=testonly
wpt-pr: 24270
wpt-type: metadata
2020-07-03 09:38:42 +00:00
Blink WPT Bot 24e5e2ebcc Bug 1647216 [wpt PR 24270] - [COOP] moving reporting tests to reporting/, a=testonly
Automatic update from web-platform-tests
[COOP] moving reporting tests to reporting/ (#24270)

Change-Id: I34bf1a3c07c0f3379a50a68bdd7a07c0032dc37a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2251999
Commit-Queue: Pâris Meuleman <pmeuleman@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#782911}

Co-authored-by: Pâris Meuleman <pmeuleman@chromium.org>
--

wpt-commits: a2c943ce892cd5e0e08243fac426b58ca054d2a2
wpt-pr: 24270
2020-07-03 09:38:41 +00:00
moz-wptsync-bot 62782a73cf Bug 1643786 [wpt PR 24016] - Update wpt metadata, a=testonly
wpt-pr: 24016
wpt-type: metadata
2020-07-03 09:38:41 +00:00
Stephen McGruer f5c848c629 Bug 1643786 [wpt PR 24016] - Add another https port, 8444, a=testonly
Automatic update from web-platform-tests
Add another https port (#24016)

This is required to test origin isolation
(https://github.com/WICG/origin-isolation), which includes guarantees
that two origins with the same host but different ports are treated as
isolated.

Fixes https://github.com/web-platform-tests/wpt/issues/23579
--

wpt-commits: 95cdf1fdf4b4e82ee53edbe43f3f260f28f07bd6
wpt-pr: 24016
2020-07-03 09:38:40 +00:00