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

661611 Коммитов

Автор SHA1 Сообщение Дата
Frédéric Wang 3963c0214d Bug 1561220 [wpt PR 17486] - Add more tests for fraction gaps., a=testonly
Automatic update from web-platform-tests
Add more tests for fraction gaps. (#17486)

These tests check the gap parameters from https://mathml-refresh.github.io/mathml-core/#fractions-mfrac

The existing frac-parameters-1 and frac-parameters-2 tests use mspace elements as numerator/denominator so the box returned by getBoundingClientRect() perfectly encloses the visual rendering of these elements.

These versions rely on reftests to check when mtext elements are used as numerator/denominator with a font typo ascent/descent different from the actual glyph's bounding box ascent/descent. In each case, three glyphs are tested (centered, above or below the baseline).

These tests pass on gecko/webkit but currently fail with the chromium-mathml build for glyphs that are not centered on the baseline.
--

wpt-commits: ecc43f56d11b2485f17bf57c0db2031778d3eca9
wpt-pr: 17486
2019-07-24 13:31:08 +01:00
Jack Steinberg 64e5271b73 Bug 1561221 [wpt PR 17487] - Change toast default duration to 3000ms, and shorten non-default timeout tests, a=testonly
Automatic update from web-platform-tests
Change toast default duration to 3000ms,
and shorten non-default timeout tests

Change-Id: Ia9e6a14ff66a0f5d4b57ffb59808769bd90e578f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1675544
Commit-Queue: Jack Steinberg <jacksteinberg@chromium.org>
Reviewed-by: Fergal Daly <fergal@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672007}

--

wpt-commits: 0eb81a52b8090066b757cd542713c51e73986bda
wpt-pr: 17487
2019-07-24 13:31:07 +01:00
Andreea Pavel 7d48efdc46 Bug 1559494 [wpt PR 17476] - [Gecko Bug 1559494] disabled new_window_null.tentative.html on android, a=testonly
Automatic update from web-platform-tests
disabled new_window_null.tentative.html on android

Differential Revision: https://phabricator.services.mozilla.com/D35410

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1559494
gecko-commit: 440efb54ea2061cc576c1c6e0823b5cf9ac8a1a9
gecko-integration-branch: central
gecko-reviewers: jmaher

--

wpt-commits: 3d44b23e2683bb460c1b623223a7b34add76dca7
wpt-pr: 17476
2019-07-24 13:31:06 +01:00
Piotr Bialecki b646f15b77 Bug 1561188 [wpt PR 17462] - Bring XRRay.matrix and XRRay constructors up to spec, a=testonly
Automatic update from web-platform-tests
Bring XRRay.matrix and XRRay constructors up to spec

Minor update to XRRay.matrix algorithm to recompute internal matrix
if it was detached.

Modification to XRRay's constructors to throw InvalidStateError in
case direction normalization cannot be performed.

Update WPT tests to account for the change.

Bug: 957763
Change-Id: I7e65b660de013badbc2cff249d5a75a5fa75ab96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671871
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671779}

--

wpt-commits: 766f40ade665477bdc44b5070a5d7cf533748552
wpt-pr: 17462
2019-07-24 13:31:05 +01:00
Emil A Eklund 1f7f287abf Bug 1561186 [wpt PR 17459] - [LayoutNG] Fix list-item marker logic, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix list-item marker logic

Update the list-item marker logic to reflect that list-style-image takes
precedence over list-style-type: none. Also adds a WPT correctness test.

Bug: 976937
Test: wpt/css/css-lists/list-type-none-style-image.html
Change-Id: I2255254f72e58d53671337ccb3f6a285cc515522
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671896
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671772}

--

wpt-commits: b595b20b8acf686daa11290b4c132a79b3f1dfe6
wpt-pr: 17459
2019-07-24 13:31:05 +01:00
Mugdha Lakhani cebe583a38 Bug 1561194 [wpt PR 17347] - [Background Sync] Periodic Background Sync idl, a=testonly
Automatic update from web-platform-tests
[Background Sync] Periodic Background Sync idl

changes + few WPT and web_tests.

Bug: 925297

Change-Id: I5c8833e236f7cf9b2993e69494ec4dc9797f7120
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660446
Commit-Queue: Mugdha Lakhani <nator@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Rayan Kanso <rayankans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671726}

--

wpt-commits: 38ca23981b8b2227e47a497d5952503202350e38
wpt-pr: 17347
2019-07-24 13:31:04 +01:00
Yuki Shiino 7272ca0c98 Bug 1554083 [wpt PR 17463] - [Gecko Bug 1554083] [wpt PR 16992] - Revert "Frame freezing on load.", a=testonly, a=testonly
Automatic update from web-platform-tests
[wpt PR 16992] - Revert "Frame freezing on load.", a=testonly

Automatic update from web-platform-tests
Revert "Frame freezing on load."

This reverts commit 0daefdcf34ba9a8c21ab907b2159c5652169a45b.

Reason for revert:
DCHECK(!GetDocument()->LoadEventStillNeeded());
in local_frame.cc is failing at
https://ci.chromium.org/p/chromium/builders/ci/Mac10.13%20Tests%20%28dbg%29

Original change's description:
> Frame freezing on load.
>
> Move load event checks to renderer side so it is consistent with the
> page lifecycle spec. Add additional resource that is slow to load
> to ensure the load event is waited for correctly before freezing.
>
> BUG=907125
>
> Change-Id: I8f45ddffcf3ce88f6244307833325a54e1c2d395
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1625464
> Reviewed-by: Kentaro Hara <haraken@chromium.org>
> Reviewed-by: Avi Drissman <avi@chromium.org>
> Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#662340}

TBR=avi@chromium.org,haraken@chromium.org,dtapuska@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 907125
Change-Id: I4e27e30519359e2a3ef0d2c92a0fc9d88ac78aff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1628499
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#663009}

--

wp5At-commits: 138d2e938d493a5c8435025162759c2e34b3b1d1
wpt-pr: 16992

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1554083
gecko-commit: 6b5ce266625e08bf06a40e6fd2b9b419a9f7f3ed
gecko-integration-branch: central
gecko-reviewers: testonly

--

wpt-commits: 87c8ca1b6f9debb046752ca92d6cea7af6e9f17c
wpt-pr: 17463
2019-07-24 13:31:03 +01:00
Raymond Toy 6c2e309a9d Bug 1558611 [wpt PR 17461] - [Gecko Bug 1558611] [wpt PR 17233] - Active Processing for ConvolverNode, a=testonly, a=testonly
Automatic update from web-platform-tests
[wpt PR 17233] - Active Processing for ConvolverNode, a=testonly

Automatic update from web-platform-tests
Active Processing for ConvolverNode

The ConvolverNode should output a single channel of silence when it is not
actively processing.  Active processing is already supported and just needed
to have the convolver output a single channel of silence when it is
constructed, before anything is connected to it.

Bug: 971389
Change-Id: Icc894cd7ea6dec60a1eccb0fa4a3aea68ac5b51f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1644899
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#668149}

--

wp5At-commits: 6531eab802391a24dabca973cc4329abbeadd896
wpt-pr: 17233

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1558611
gecko-commit: 3b9b543d1c8db5573155dc6ff44e65f871ae6ec9
gecko-integration-branch: central
gecko-reviewers: testonly

--

wpt-commits: 9e43b67f4fec9e0a1ffe2d91a5b4fd0c9b5ad705
wpt-pr: 17461
2019-07-24 13:31:02 +01:00
Dan Beam 76b6395788 Bug 1561189 [wpt PR 17465] - Revert "Insert a generated item after preserved spaces following a forced break", a=testonly
Automatic update from web-platform-tests
Revert "Insert a generated item after preserved spaces following a forced break"

This reverts commit 6b0ca8ce33e71d570fce11ae6fb5f898ddf053e4.

Reason for revert:

Broke external/wpt/css/css-text/word-break/word-break-break-all-004.html on many Mac bots:

https://ci.chromium.org/p/chromium/builders/ci/Mac10.10%20Tests/44291
https://ci.chromium.org/p/chromium/builders/ci/Mac10.11%20Tests/39449
https://ci.chromium.org/p/chromium/builders/ci/Mac10.12%20Tests/24278
https://ci.chromium.org/p/chromium/builders/ci/Mac10.13%20Tests/14909
https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Mac10.13%20%28retina%29/16025

Original change's description:
> Insert a generated item after preserved spaces following a forced break
>
> We already had to implement a special logic to deal with leading
> preserved white spaces due some optimizations we have in the line
> breaking code to give always breaking opportunities before spaces.
>
> However, the presence of forced breaks may cause some of the following
> spaces becoming leading preserved spaces in the next line.
>
> This patch applies the same logic we had for such leading spaces at
> the text's first line. It also needs to define additional cases in the
> function that evaluates the need of adding these generated breaking
> opportunity items.
>
> Bug: 976195
> Change-Id: If39e7ba8a535c15d33d6021c6cd04da9590b1131
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667305
> Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
> Reviewed-by: Koji Ishii <kojii@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#671656}

TBR=jfernandez@igalia.com,kojii@chromium.org

Change-Id: I418bb0d30fce7f9ac5724f76c0a854bcb070aa5c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 976195
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1674249
Reviewed-by: Dan Beam <dbeam@chromium.org>
Commit-Queue: Dan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671703}

--

wpt-commits: 3d97450f2c48758db3f76f3360ff7c3e4069c320
wpt-pr: 17465
2019-07-24 13:31:01 +01:00
Dave Tapuska 973d452f7f Bug 1561175 [wpt PR 17454] - Add test checking SharedArrayBuffers are transferred over MessageChannels, a=testonly
Automatic update from web-platform-tests
Add test checking SharedArrayBuffers are transferred over MessageChannels

SharedArrayBuffers in Chrome don't end up getting passed correctly when
it crosses a document boundary. This is because of the simplistic
Cluster Agent Key implementation. SharedArrayBuffers are currently
passed correctly provided the MessageChannel is all inside the same
document. (a document and itself, or a document and an associated worker).

BUG=798572

Change-Id: I012b2fbdae52ebee7d26034caa996f2e0cf929ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1672777
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671672}

--

wpt-commits: b3418ad6bf7b49e59025e5278e1291587c6fc10e
wpt-pr: 17454
2019-07-24 13:31:01 +01:00
pyup-bot 67636320b5 Bug 1556885 [wpt PR 17179] - Update typed-ast to 1.4.0, a=testonly
Automatic update from web-platform-tests
Update typed-ast from 1.3.5 to 1.4.0
--

wpt-commits: fe547533a8aca6859ce51cfd12522079d9e5a732
wpt-pr: 17179
2019-07-24 13:31:00 +01:00
Javier Fernandez 150170970b Bug 1561168 [wpt PR 17393] - Insert a generated item after preserved spaces following a forced break, a=testonly
Automatic update from web-platform-tests
Insert a generated item after preserved spaces following a forced break

We already had to implement a special logic to deal with leading
preserved white spaces due some optimizations we have in the line
breaking code to give always breaking opportunities before spaces.

However, the presence of forced breaks may cause some of the following
spaces becoming leading preserved spaces in the next line.

This patch applies the same logic we had for such leading spaces at
the text's first line. It also needs to define additional cases in the
function that evaluates the need of adding these generated breaking
opportunity items.

Bug: 976195
Change-Id: If39e7ba8a535c15d33d6021c6cd04da9590b1131
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667305
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671656}

--

wpt-commits: 9348328991a301000225e6da1010755eceaf1389
wpt-pr: 17393
2019-07-24 13:30:59 +01:00
Kagami Sascha Rosylight a7823b7894 Bug 1552418 [wpt PR 16864] - Update to webidl2.js@22.0.0, a=testonly
Automatic update from web-platform-tests
Update to webidl2.js@22.0.0 (#16864)

--

wpt-commits: 3f55557a6495b3bf437bd541253fff127acd6103
wpt-pr: 16864
2019-07-24 13:30:58 +01:00
jugglinmike 5922407bda Bug 1561172 [wpt PR 17386] - [docs] Add detail on writing Python handlers, a=testonly
Automatic update from web-platform-tests
[docs] Add detail on writing Python handlers (#17386)

Extend the documentation on writing Python handlers to more completely
describe the feature. Introduce a short example to concretely
demonstrate its usage. Apply similar changes to the corresponding
documentation in the `wptserve` directory for parity.

--

wpt-commits: acbefd606a1b9284b96d21a4a332d0202e36d531
wpt-pr: 17386
2019-07-24 13:30:57 +01:00
Philip Jägenstedt 4d9cb4b0b4 Bug 1561169 [wpt PR 17409] - [Azure Pipelines] put parenthesis pack in step names, a=testonly
Automatic update from web-platform-tests
[Azure Pipelines] put parenthesis pack in step names

This reverts drive-by changes for consistency in commit
e75855649360298870a40ed78874bd4ab1470c20, which actually left the step
names inconsistent.

--

wpt-commits: 42ea2f906ab2367dc4403fb5cf8f7d476f9e0e5c
wpt-pr: 17409
2019-07-24 13:30:57 +01:00
Kagami Sascha Rosylight 6c38352306 Bug 1561166 [wpt PR 17440] - Fix markdown to use powershell syntax highlighter, a=testonly
Automatic update from web-platform-tests
Fix markdown to use powershell syntax highlighter
--

wpt-commits: f7ee963089151bd746c15acb72e2a65fb92ebacc
wpt-pr: 17440
2019-07-24 13:30:56 +01:00
Emilio Cobos Álvarez 019c28cf0f Bug 1561163 [wpt PR 17452] - Improve failing condition of a test., a=testonly
Automatic update from web-platform-tests
Improve failing condition of a test (#17452)

So it doesn't time out.
--

wpt-commits: 1f512077ca0998e0af60ff727eea8c8ba5d78491
wpt-pr: 17452
2019-07-24 13:30:55 +01:00
moz-wptsync-bot d7cb05044a Bug 1561149 [wpt PR 17433] - [serve] Second attempt to fix the logging more properly, a=testonly
Automatic update from web-platform-tests
Revert "[serve] Make pywebsocket honor log_level config"

This reverts commit 7edf9eabfae3550a4dd2a48625e68b02a734de15.

--
Fix pywebsocket logging properly

The previous attempt (#17124) called pywebsocket._configure_logging,
which had the unwanted side effect of resetting lots of logging setup in
the pywebsocket subprocess (e.g. mozlog configured by wptrunner -- the
log messages produced by pywebsocket lost its structure and became a
simple STDERR text captured by mozlog.capture).

Instead of calling pywebsocket._configure_logging, the original issue
(log level in config.json not honoured by pywebsocket) should be fixed
by setting the log level on the root logger instead, which will set up
all loggers (including those in third-party libraries) correctly. This
is done only on the entry point of `wpt serve` and won't affect
wptrunner which has its own logging setup.

--

wpt-commits: b693b1b954a8828dc5a0c69319e234b9e3b2d76d, 6e7ac6df08e23d9c8e7aa3223f387f71beb39b9c
wpt-pr: 17433
2019-07-24 13:30:54 +01:00
Rune Lillesveen 73c5a11c8c Bug 1561130 [wpt PR 17447] - Handle null ::first-letter text layout object., a=testonly
Automatic update from web-platform-tests
Handle null ::first-letter text layout object.

Ideally, UpdateFirstLetterPseudoElement() will remove the ::first-letter
pseudo element from the DOM when there is no text which can contain the
first letter. Hence, we should not end up in a situation where we try to
AttachLayoutTree for the FirstLetterPseudoElement with a null
first_letter_text.

However, the layout tree is different in AttachLayoutTree() than in
UpdateFirstLetterPseudoElement() in the case where there already was a
::first-letter pseudo element, since we detached it right before
AttachLayoutTree. This means we may have different results for
FirstLetterTextLayoutObject() at those two points if the method has
bugs.

Such a bug was found here where a list item marker inside an anonymous
block had an out-of-flow sibling, but we were not able to traverse out
of the anonymous block to find the first letter text.

Add a DCHECK to let us trigger cases where FirstLetterTextLayoutObject()
is buggy, but also add if-tests to make sure we don't crash.

Bug: 977044
Change-Id: Id80f8aad5c04678d64927e7a7ca4d60cdb6a4b8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1672845
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671629}

--

wpt-commits: 53ebe42e282c9cd4c49d8e615b30eee06c2211a0
wpt-pr: 17447
2019-07-24 13:30:52 +01:00
Wanming Lin bac21dd67c Bug 1560937 [wpt PR 17392] - [shapedetection] Add some shapedetection tests, a=testonly
Automatic update from web-platform-tests
[shapedetection] Add some shapedetection tests

Cover following two checkpoints:
- If the ImageBitmapSource is an HTMLVideoElement object whose readyState attribute
  is either HAVE_NOTHING or HAVE_METADATA then reject the Promise with a new
  DOMException whose name is InvalidStateError.
- If the ImageBitmapSource argument is an HTMLCanvasElement whose bitmap’s origin-clean
  flag is false, then reject the Promise with a new DOMException whose name is SecurityError.

spec: https://wicg.github.io/shape-detection-api/#image-sources-for-detection
Change-Id: I0522d0340d3cb0291df6be65dfc1ab99037b30f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1666766
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Cr-Commit-Position: refs/heads/master@{#671578}

--

wpt-commits: ec977dea05df9ce55c03a842ffe05a1bf6ee399a
wpt-pr: 17392
2019-07-24 13:30:51 +01:00
Olivier Yiptong dc94c7cd2b Bug 1560932 [wpt PR 17364] - [Native File System] Create FileSystemFileWriterImpl to mirror the renderer side, a=testonly
Automatic update from web-platform-tests
[Native File System] Create FileSystemFileWriterImpl to mirror the renderer side

This is the initial cl of the refactor of NativeFileSystemFileHandleImpl to
mirror the split on the renderer side with the handle and the writer as
two separate entities.

It is the initial implementation for FileSystemFileWriterImpl. It includes
only one no-op method for now: close().

This sets the stage for atomic writes as close() will be the explicit
termination of a write, which allows us to do the atomic operation.

Bug: 968550
Change-Id: I0af81efa46789f18c4a8b0bca3ab89c5703b798c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662709
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Auto-Submit: Olivier Yiptong <oyiptong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671539}

--

wpt-commits: 3cb5a99e5521936fb8819de8aaba806050b84184
wpt-pr: 17364
2019-07-24 13:30:50 +01:00
George Roman 066cdb206c Bug 1557463 [wpt PR 17212] - Add mandatory capabilities parameter for webdriver new session command, a=testonly
Automatic update from web-platform-tests
Add mandatory capabilities parameter in the body for the webdriver new session command (#17212)

--

wpt-commits: 693543f7296ef79cc4ec534422c5a0bb433992dd
wpt-pr: 17212
2019-07-24 13:30:50 +01:00
Christian Biesinger c11633eb30 Bug 1560930 [wpt PR 17434] - [css-flexbox] Clamp the cross-size by the min/max size, a=testonly
Automatic update from web-platform-tests
[css-flexbox] Clamp the cross-size by the min/max size

...when computing the main-axis size of a flex item.

As per this change:
https://drafts.csswg.org/css-flexbox/#change-2018-used-cross-size

R=dgrogan@chromium.org, eae@chromium.org

Bug: 972576
Change-Id: I11a1ac14e2e0e44e39fcd45d4568874da2dcfce8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1672014
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671485}

--

wpt-commits: cc0f6ffd9998bdc180d3c70354656f438d99f701
wpt-pr: 17434
2019-07-24 13:30:49 +01:00
Xianzhu Wang 44143e4feb Bug 1560929 [wpt PR 17429] - Don't skip fragment clip if there are other clips for composited layers, a=testonly
Automatic update from web-platform-tests
Don't skip fragment clip if there are other clips for composited layers

Composited layer under multicol is still not fully correctly
supported. Currently we don't allow fragmentation of composited layers,
and skip fragment clip for them. However, if there are other clips below
the fragment clip, we should not skip fragment clip to ensure the other
clips are correctly applied. This is still not fully correct (see the
comment in the code for details), but the result is less broken in many
cases. Hopefully we'll fully fix the issue in
CompositeAfterPaint+LayoutNG-box-fragments.

Bug: 976187
Change-Id: Ica9acc71f0d1204d6380f1bcac3e2159631d63e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670413
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671480}

--

wpt-commits: 1c33536fe6e7d2a6a0323bdb849a5a80c33513a6
wpt-pr: 17429
2019-07-24 13:30:48 +01:00
Koji Ishii 4d0e2fd4d6 Bug 1560928 [wpt PR 17428] - [LayoutNG] Fix |ComputeMinMaxSize| not to clear |NeedsLayout|, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix |ComputeMinMaxSize| not to clear |NeedsLayout|

This patch fixes |ComputeMinMaxSize| not to clear |NeedsLayout|
when all of following conditions are met:
1. Needs |MinMaxSize|
2. Is an orthogonal flow root.
3. Is legacy layout.
4. Change is applied that dirties the layout.

In this case, |NGBlockNode::ComputeMinMaxSize()| calls
|Layout()|, which goes to |RunLegacyLayout()|, which calls
|LayoutObject::LayoutIfNeeded()|. However, its constraint
space is intermediate that it does not update
|CachedLayoutResult|.

Then when laying it out, because |NeedsLayout()| is cleared,
existing out-of-date |CachedLayoutResult| is used.

This patch fixes:
1. Not to pre-layout orthogonal roots if it has
   |CachedLayoutResult|.
2. Set |NeedsLayout()| if |RunLegacyLayout()| clears it, but
   |CachedLayoutResult| was not updated.

Bug: 976859
Change-Id: Ic2d979a3c4f9479040bfd0e54cf4283b60ed52b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670146
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671460}

--

wpt-commits: 47b08c15495e05fa73e243736742851109198af1
wpt-pr: 17428
2019-07-24 13:30:47 +01:00
Jeremy Roman de3dc8b626 Bug 1560925 [wpt PR 17431] - Remove unused BroadcastChannel in portal-activate-data.html., a=testonly
Automatic update from web-platform-tests
Remove unused BroadcastChannel in portal-activate-data.html.

It was probably left behind during recent WPT refactoring.

Change-Id: Ia993654248303c56559cb8cf755d11944213048a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671947
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Auto-Submit: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671414}

--

wpt-commits: 674c9f5b6c076746d8823ee215181b9b471cd1a4
wpt-pr: 17431
2019-07-24 13:30:47 +01:00
autofoolip ef85332fe9 Bug 1560924 [wpt PR 17423] - Update interfaces/webrtc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc.idl (#17423)

Source: https://github.com/tidoust/reffy-reports/blob/7e64fc0/whatwg/idl/webrtc.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/548532003
--

wpt-commits: 4501cf73a612984558cb2babbd4287f149ab2591
wpt-pr: 17423
2019-07-24 13:30:46 +01:00
autofoolip 6151869f9a Bug 1560922 [wpt PR 17422] - Update interfaces/mediasession.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/mediasession.idl (#17422)

Source: https://github.com/tidoust/reffy-reports/blob/7e64fc0/whatwg/idl/mediasession.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/548532003
--

wpt-commits: 99f9b7e682948620190ce740f72a4adedcd52c6a
wpt-pr: 17422
2019-07-24 13:30:45 +01:00
Aleksey Shvayka 902dc56207 Bug 1558682 [wpt PR 17278] - Assert that `visibilitychange` event bubbles, a=testonly
Automatic update from web-platform-tests
Assert that `visibilitychange` event bubbles

--
Move pop-up documents to resources/

--
Remove unused statement

--

wpt-commits: 9dc0854f96b351813babc0529a7a313c51e06e94, 1df71f303422d3cc98602ae3ee1168a8d044c110, c2c26462a2dc136ced644fc04f8baaf7ac178312
wpt-pr: 17278


--HG--
rename : testing/web-platform/tests/page-visibility/unload-1.html => testing/web-platform/tests/page-visibility/resources/unload.html
2019-07-24 13:30:44 +01:00
jugglinmike 561d4c5cdf Bug 1539940 [wpt PR 15964] - [docs] Deprecate some requirement flags, a=testonly
Automatic update from web-platform-tests
[docs] Deprecate some requirement flags (#15964)

Reference: https://github.com/web-platform-tests/wpt/issues/5293

Also update the example to use non-deprecated flags.
--

wpt-commits: a56df4a639b5e1c278037d53ce461f66e06c902a
wpt-pr: 15964
2019-07-24 13:30:44 +01:00
Mike Pennisi 63e0c98530 Bug 1560921 [wpt PR 16339] - [docs] Reorganize information on Ahem, a=testonly
Automatic update from web-platform-tests
[docs] Reorganize information on Ahem

WPT maintains a document dedicated to configuring systems to run the
tests. Relocate the instructions on installing Ahem to this document,
and reference them from their original location (an explanation of how
to use the font to author tests).

--

wpt-commits: 49e92561e87e4e1dd7a798dc74f69378b4526878
wpt-pr: 16339
2019-07-24 13:30:43 +01:00
Mike Pennisi 64041687a6 Bug 1560917 [wpt PR 17418] - [docs] Incorporate wptserve documentation , a=testonly
Automatic update from web-platform-tests
[docs] Enable Sphinx's "nit-picky" mode

The `-n` flag to Sphinx is documented as "warn about all missing
references." Enable that flag and correct the missing references which
were previously tolerated.

--
[docs] Incorporate wptserve documentation

While Sphinx is capable of including the contents of files which exist
outside of the documentation root (via the `include` directive), it
interprets such text in the context of the including file. That makes
the mechanism inappropriate for including documentation that references
still other files using relative paths.

To address this, create a symbolic link to the `wptserve` source
directory. Fix or ignore infractions in the newly-incorporated files.

--

wpt-commits: 929bb86fff798cac3b94af7a2549480fac40a84e, a54dccec285341423d3e956bcbdbaac5b0e45ab8
wpt-pr: 17418
2019-07-24 13:30:42 +01:00
Hiroki Nakagawa 9a92162fa5 Bug 1560916 [wpt PR 17395] - Worker: Deflake worker-interception.https.html, a=testonly
Automatic update from web-platform-tests
Worker: Deflake worker-interception.https.html

This is a follow-up CL for
https://chromium-review.googlesource.com/c/chromium/src/+/1657855/10#message-de50523b6c1fc520cf1a7c2edf3033d4e2139103

worker-interception.https.html is flaky on Firefox. It looks like service worker
unregistration is unexpectedly canceled. Each test case doesn't explicitly
terminate (shared) workers, so they may prolong the lifetime of the registration
being unregistered, and the next test case may unexpectedly reuse it. This
results in failures in setup_service_worker().

To fix it, this CL separates service worker scope per test. Note that explicit
worker termination should not work in this case because shared workers are
out-of-process workers and it's not possible to terminate them
deterministically.

Bug: n/a
Change-Id: I16c32d6477c8b1a4d1a246b33a8e21747b4fec66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663459
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670831}

--

wpt-commits: 8ad6f6a2ebb5b861f17c1b8084b264c71e6b965b
wpt-pr: 17395
2019-07-24 13:30:41 +01:00
Kevin Ellis ad2463efda Bug 1560913 [wpt PR 17349] - Optimize cubic bezier solver., a=testonly
Automatic update from web-platform-tests
Optimize cubic bezier solver.

Newton's method requires an accurate guess to get good convergence.
This patch introduces a linear interpolation of a crude spline as a
starting point for the iterative solver. Previously the starting point
t = x was used.  The patch also introduces a tighter tolerance for
Newton's method than the fallback, and is justified by Newton's method
having quadratic convergence characteristics. Speed testing indicates
that the solver is roughly 50% faster, since the number of iterations
is typically less even at the higher accuracy requirement.

Bug: 827560
Change-Id: I89e3cc9061823269aabb16697e2d167751aa52b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643973
Reviewed-by: Ian Vollick <vollick@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670995}

--

wpt-commits: dbe15f82985f2e2a978255665f388c7dcdd425b1
wpt-pr: 17349
2019-07-24 13:30:41 +01:00
Robert Ma 95ad8a27e3 Bug 1560912 [wpt PR 17415] - Expect actionsWithKeyPressed.html to fail on Mac, a=testonly
Automatic update from web-platform-tests
Expect actionsWithKeyPressed.html to fail on Mac

Related to issue #17296. This PR does not fix the underlying issue, but
only unblocks the infrastructure tests on macOS.

--
Expect elementPosition.html to timeout

For Chrome on macOS

--

wpt-commits: 2e5b9fb08c42966831690bd01b9b6410efc479fa, fe2232a673785d77c1b23509c5ae52c325378918
wpt-pr: 17415
2019-07-24 13:30:40 +01:00
pyup.io bot c539ce5388 Bug 1560911 [wpt PR 17405] - Update mypy to 0.710, a=testonly
Automatic update from web-platform-tests
Update mypy from 0.701 to 0.710 (#17405)

--

wpt-commits: eecf6c3158d229132698164e06b13e89657d1ea1
wpt-pr: 17405
2019-07-24 13:30:39 +01:00
Yoav Weiss cd5238cddf Bug 1560908 [wpt PR 17412] - [Navigation Timing] Replace TAO restrictions with same-origin ones, a=testonly
Automatic update from web-platform-tests
[Navigation Timing] Replace TAO restrictions with same-origin ones

The NavigationTiming specification changed [1] to replace TAO based opt-in
to get information about unloadStart, unloadEnd and redirectCount with
same origin restrictions.

Our implementation was not aligned with the old spec language, but
isn't aligned with the new one either.

This CL aligns the implementation with the new language.

Change-Id: Ic4f3c7061e7b9a40f960f0bf26ef26823d5fe743
Bug: 977147

[1] https://github.com/w3c/navigation-timing/pull/108

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

--

wpt-commits: 94f51553f1413cf2118b9bf89762bfad16d8a18a
wpt-pr: 17412
2019-07-24 13:30:38 +01:00
Jake Archibald 9019f4daff Bug 1558761 [wpt PR 17285] - Service worker: self.serviceWorker, a=testonly
Automatic update from web-platform-tests
Service worker: self.serviceWorker (#17285)

* Tests for self.serviceWorker

* Don't need `self`

* Add read only test

* Adding comments & test the object doesn't change

* Swap order

--

wpt-commits: 3725067ef0328c998be2ba93dbaeb0579586fccd
wpt-pr: 17285
2019-07-24 13:30:38 +01:00
Wanming Lin e585e10cd2 Bug 1560906 [wpt PR 17425] - [webnfc] Remove incorrect test, a=testonly
Automatic update from web-platform-tests
[webnfc] Remove incorrect tests (#17425)

Per spec https://heycam.github.io/webidl/#es-DOMString,
non string value will be converted to string via `toString()`
method, therefore there's no `TypeError` to be thrown.

--

wpt-commits: 3a00a57af5f449a72f0e1b89dae6f1bd15ad8fcd
wpt-pr: 17425
2019-07-24 13:30:37 +01:00
Hiroki Nakagawa c4c8dc14af Bug 1560905 [wpt PR 17414] - Worker: Remove duplicate service worker interception tests for shared workers, a=testonly
Automatic update from web-platform-tests
Worker: Remove duplicate service worker interception tests for shared workers

worker-interception.https.html has more test coverage, and is well-formatted.

Bug: n/a
Change-Id: I29640ffa781c1b90b1faa56eab4f771c1a3c0a84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669137
Auto-Submit: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671183}

--

wpt-commits: 982f12dc86098e5b32ffec455520a5eb114c27af
wpt-pr: 17414
2019-07-24 13:30:36 +01:00
Jack Steinberg b13e808157 Bug 1560904 [wpt PR 17408] - Move toast/ directory to elements/ directory and update paths, a=testonly
Automatic update from web-platform-tests
Move toast/ directory to elements/ directory and update paths

Bug: 972945
Change-Id: I4b46a09f7bdb0d2ab61728b6161b085a22f89fb1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669248
Reviewed-by: Fergal Daly <fergal@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Jack Steinberg <jacksteinberg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671165}

--

wpt-commits: 7da4a4441cc8133386b06d7a91b4c5eeefd7e090
wpt-pr: 17408
2019-07-24 13:30:35 +01:00
jugglinmike 98bcfce7bb Bug 1560902 [wpt PR 17401] - [docs] Increase strictness of build process, a=testonly
Automatic update from web-platform-tests
[docs] Increase strictness of build process (#17401)

Use the `-W` flag to interpret Sphinx warnings as errors, causing the
build to fail in the presence of either. This makes various authoring
mistakes more visible. Perhaps most importantly: it highlights instances
of "orphaned" content.

Fix all details which were previously reported as warnings and thus
permitted.
--

wpt-commits: 9c6304b71c5ee090ebc1eef02ab32b70444d9704
wpt-pr: 17401
2019-07-24 13:30:35 +01:00
Nicolás Peña Moreno 4a861cafd1 Bug 1560901 [wpt PR 17388] - [ElementTiming] Add tests for generated and shadow text, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Add tests for generated and shadow text

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

--

wpt-commits: 042be7d39a11e80f6a8a6fe5fe1bcd34137661bb
wpt-pr: 17388
2019-07-24 13:30:34 +01:00
Anders Hartvoll Ruud 958a1daa0a Bug 1560900 [wpt PR 17411] - Allow var() references in -internal-visited-* properties., a=testonly
Automatic update from web-platform-tests
Allow var() references in -internal-visited-* properties.

Previously, -internal-visited-* properties didn't get any parsing behavior,
because they were assumed to be used during style application only. In
other words, it was assumed that the parsing would happen _before_ e.g.
color would expand to -internal-visited-color.

This is (of course) not true if the value has a var() reference, since
the actual parsing then happens computed-value time.

To fix this, this CL gives all -internal-visited-* properties parsing
behavior.

The "pending substitution value" adds complexity here, since the value
itself contains the shorthand it came from. This means that if e.g. the
border shorthand is parsed with a value that contains a var() reference,
the corresponding -internal-border-*-color property will point to the
same pending substitution value, that contains the "border" shorthand.
When resolving that pending substitution value computed-value time,
we expand the shorthand into its longhands, which of course are unaware
of the -internal-visited-* context. To fix this, this CL adds a way to
get the unvisited counterpart from a visited property, and uses the
unvisited CSSPropertyID as they key for the pending substitution cache.

Bug: 974665, 976913
Change-Id: I1a168bfe188eaccad7feac6c065f8e447ee56dbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669290
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670896}

--

wpt-commits: be93a1b93e08be1bd161208aaa6ab662c1c2d1c1
wpt-pr: 17411
2019-07-24 13:30:33 +01:00
Adam Rice 70092d48fe Bug 1560899 [wpt PR 17380] - WebSocket: stop removing an iframe in onerror from crashing, a=testonly
Automatic update from web-platform-tests
WebSocket: stop removing an iframe in onerror from crashing

There was an issue that if the iframe owning a WebSocket was
synchronously removed in the onerror handler then it would crash the
render process. This was caused by unconditionally calling Close()
without checking the current state.

Fix it.

Also add a web platform test.

Bug: 974667
Change-Id: Iaeb8f96cf600a2c052f06b5b59f4444b02615e83
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663681
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670061}

--
Set a long timeout

--

wpt-commits: 433e1f06259a79c6cb8bf695bc03ffdfdfe4e7e7, 28ad65497bccb301707e341a9d36f9d144e2793e
wpt-pr: 17380
2019-07-24 13:30:32 +01:00
Nicolás Peña Moreno 631ce37940 Bug 1557479 [wpt PR 17214] - Implement basic LargestContentfulPaint API, a=testonly
Automatic update from web-platform-tests
Implement basic LargestContentfulPaint API

This CL adds a basic implementation of the LargestContentfulPaint API.
The implementation is done behind a flag, and is missing attribution
information and special handling for images.

Explainer: https://github.com/WICG/LargestContentfulPaint
Intent to Implement:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/WVqgYtyaGJk

Bug: 965505
Change-Id: Ic29604349dc60de2808bdef3df4684e81e1845d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1646634
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670911}

--

wpt-commits: 93ba864d402d941a2670681d535e33723e5296c0
wpt-pr: 17214
2019-07-24 13:30:31 +01:00
Dave Tapuska e71611d2ab Bug 1560898 [wpt PR 17363] - Enable PauseExecutionContextOnBackgroundFreeze, a=testonly
Automatic update from web-platform-tests
Enable PauseExecutionContextOnBackgroundFreeze

Thie change enables (experimentally) pausing the execution context
when a document is frozen.

The WPT tests written required that promise resolution continued after
the page was frozen. This isn't the case when
PauseExecutionContextOnBackgroundFreeze is enabled so rewrite the tests
to poll for the correct state.

BUG=957589

Change-Id: If104235fd7281d88b5d86a3f0b89337828e7f4e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662633
Reviewed-by: Shubhie Panicker <panicker@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670883}

--

wpt-commits: 81c649c98aa73ac14416491271ed001ffe9e4bbe
wpt-pr: 17363
2019-07-24 13:30:31 +01:00
Robert Ma 2114f1013f Bug 1560897 [wpt PR 17404] - Fix EdgeChromium on Azure, a=testonly
Automatic update from web-platform-tests
[Azure] Fix logging params

This makes the logging behaviour consistent across all jobs on Azure:
info level tbpl logging to stdout, which is also consistent with
Taskcluster setup.

Notably, the previous configuration for "all tests: Edge" accidentally
specified --log-tbpl twice, causing duplicate log outputs, which is
fixed in this commit.

--
Disable version check of EdgeDriver

--

wpt-commits: 7dd31d2b2f9ebca522b50af958c18208d08683ae, 5303a4e841969e0b5991c45c276027a671e3ba20
wpt-pr: 17404
2019-07-24 13:30:30 +01:00
Jack Steinberg ea7b48eb02 Bug 1560894 [wpt PR 17406] - Change message presence check and add tests for different message behavior, a=testonly
Automatic update from web-platform-tests
Change message presence check and add tests for different message behavior

Bug: 972945
Change-Id: I0df09e4a1fde33f558fad87536e2a52eed715ab9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1668728
Reviewed-by: Fergal Daly <fergal@chromium.org>
Commit-Queue: Jack Steinberg <jacksteinberg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670810}

--

wpt-commits: 341842ea958edf33bf13cf894005122977195bfd
wpt-pr: 17406
2019-07-24 13:30:29 +01:00
Dominic Farolino 4ef23f36db Bug 1560893 [wpt PR 17394] - Refactor SRI script tests to prepare for Preload + SRI, a=testonly
Automatic update from web-platform-tests
Refactor SRI script tests to prepare for Preload + SRI

This CL refactors the SRI script tests and what script resources they
consume to remove duplication, and factor out + generalize some of the
helpers, such as the script URL prefixes.

Before this CL, there were multiple script files whose contents were
irrelevant to the tests. The scripts would be served differently due
to `.headers` files. This CL consolidates all of the script resources
into a single `script.js` that the test runner can use while demanding
specific headers for tests. This file and factored-out URL prefixes in
`sri-test-helpers.sub.js` will be used by Preload + SRI tests, so this
CL makes writing those tests cleaner.

Bug: 677022
Change-Id: Ie6cc312f9d81de4d5f75925810b7ce88a61910a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667326
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670809}

--

wpt-commits: 1dd0bc9ffd9b1433cb2aa1e20f972fd477c65ad4
wpt-pr: 17394
2019-07-24 13:30:28 +01:00