Commit Graph

664924 Commits

Author SHA1 Message Date
Glenn Watson
511c44ac9f Bug 1572779 - Update test expectations for perspective-scrolling-1.html. r=kvark
This bug became an unexpected PASS on tier-2 android platform after
landing the fixes for bug 1572197. The fixes in that bug were
specifically to fix this test on windows platforms, so it's not
surprising that it also fixes it on android.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 01:11:17 +00:00
Yura Zenevich
b444e8b17b Bug 1565460 - add scroll into view preference to the accessibility panel. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39119

--HG--
extra : moz-landing-system : lando
2019-08-12 00:21:56 +00:00
Yura Zenevich
a4a33c2a52 Bug 1565460 - move the specific filter buttons for a11y panel audit from top level toolbar inside a menu. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39118

--HG--
extra : moz-landing-system : lando
2019-08-09 13:13:44 +00:00
Glenn Watson
1dff77fb01 Bug 1559979 - Restructure the WR picture caching code into Tile methods. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D40916

--HG--
extra : moz-landing-system : lando
2019-08-11 23:52:35 +00:00
Erica Wright
c338fe4e07 Bug 1559431 - Add social tracking to the ETP graph r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40476

--HG--
extra : moz-landing-system : lando
2019-08-11 21:43:58 +00:00
Coroiu Cristina
a48224800a Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-08-12 00:54:41 +03:00
Coroiu Cristina
29837a434a Merge inbound to mozilla-central a=merge 2019-08-12 00:49:42 +03:00
Noemi Erli
574227704c Backed out 2 changesets (bug 1573039) for wrench bustages CLOSED TREE
Backed out changeset 97601fb2425d (bug 1573039)
Backed out changeset 2b68d7bddbb6 (bug 1573039)

--HG--
rename : third_party/rust/image/src/hdr/decoder.rs => third_party/rust/image/src/hdr/hdr_decoder.rs
rename : third_party/rust/image/src/hdr/encoder.rs => third_party/rust/image/src/hdr/hdr_encoder.rs
2019-08-12 00:47:12 +03:00
Bastien Orivel
dd394adde7 Bug 1573039 - Part 2: Revendor dependencies. r=emilio
Depends on D41488

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

--HG--
rename : third_party/rust/image/src/hdr/hdr_decoder.rs => third_party/rust/image/src/hdr/decoder.rs
rename : third_party/rust/image/src/hdr/hdr_encoder.rs => third_party/rust/image/src/hdr/encoder.rs
extra : moz-landing-system : lando
2019-08-11 20:42:54 +00:00
Bastien Orivel
e8d58bb4c6 Bug 1573039 - Part 1: Update image to 0.22. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D41488

--HG--
extra : moz-landing-system : lando
2019-08-11 20:41:20 +00:00
Sebastian Hengst
641c17a5b1 Bug 1572983 - Add 10.14.5 and results like for other platforms as annotations for serviceworker_cookieStore_subscriptions.tentative.https.html.ini. a=wpt-fix
--HG--
extra : amend_source : 5c8eb0547c1a334ba570e79b27831c3b39ef8839
2019-08-11 17:47:04 +02:00
Razvan Maries
c9a1909817 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-08-11 12:48:00 +03:00
moz-wptsync-bot
a456f1b3a9 Bug 1572983 - [wpt-sync] Update web-platform-tests to 9f1d801afecd1d214a8b94a2c4bd13773947b6e1, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 9f1d801afecd1d214a8b94a2c4bd13773947b6e1
wpt-type: landing
2019-08-11 06:50:04 +00:00
pyup-bot
f22a11a9eb Bug 1572683 [wpt PR 18349] - Update mozprofile to 2.3.0, a=testonly
Automatic update from web-platform-tests
Update mozprofile from 2.2.0 to 2.3.0
--

wpt-commits: 6003f420a6d71c5038feb8cad6140803e294e198
wpt-pr: 18349
2019-08-11 06:50:04 +00:00
Matt Giuca
c9755487a5 Bug 1572326 [wpt PR 18331] - Clean-up: Updated URLs in comments referencing web-share and web-share-target., a=testonly
Automatic update from web-platform-tests
Clean-up: Updated URLs in comments referencing web-share and web-share-target.

- Web Share spec has moved from WICG to W3C.
- Updated some Web Share Target URLs to point to the WICG spec, not the
  explainer.
- Updated some Web Share Target URLs to point to the WICG spec, not a
  draft on the pr-preview site.
- Removed some notes that say Web Share Target is part of an unlaunched
  experiment.

Change-Id: I48132388192d773d962d13bc9361778ddeb66e4e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1742258
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Commit-Queue: Matt Giuca <mgiuca@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685457}

--

wpt-commits: 40c12bca52d4a695eb36e2887d93675251a3e3ef
wpt-pr: 18331
2019-08-11 06:50:03 +00:00
Robert Ma
c72542c0ec Bug 1572220 [wpt PR 18324] - [cookie-store] Deflake service worker registration, a=testonly
Automatic update from web-platform-tests
[cookie-store] Deflake service worker registration

Instead of attempting to unregister previously installed service workers
at the beginning of a test, use `add_completion_callback` to unregister
them at test completion. This will deflake the tests when they are run
multiple times without restarts (`--rerun`).

The alternative is to do what many tests in service-workers do:
unregister service workers at the start, but wait for newly installed
service workers to become activated and use `registration.active`
instead of `registration.installing`, which is a bit more complex.

--

wpt-commits: cc9dc6bb113ac7e04aee6b8e4157fbe8eb2d731c
wpt-pr: 18324
2019-08-11 06:50:03 +00:00
moz-wptsync-bot
336af76e2b Bug 1568691 [wpt PR 18061] - Update wpt metadata, a=testonly
wpt-pr: 18061
wpt-type: metadata
2019-08-11 06:50:03 +00:00
Lukasz Anforowicz
c47e9d0cbb Bug 1568691 [wpt PR 18061] - Use correct URLLoaderFactory in an unload handler., a=testonly
Automatic update from web-platform-tests
Use correct URLLoaderFactory in an unload handler.

Context and behavior implemented + expected before and after the CL
===================================================================

A content::RenderFrameImpl stores |subresource_loader_factories| that
are used for all requests/XHRs/etc initiated by the frame.  We don't
currently swap the RenderFrame when committing another same-process
document (this future work is tracked by https://crbug.com/936696).

The URLLoaderFactory for handling http/https requests contains a
|request_initiator_site_lock| in network::URLLoaderFactoryParams.
This lock limits what network::ResourceRequest::request_initiator may be
used.  The lock is currently used in various, security-sensitive
features like CORB, CORP, Sec-Fetch-Site.  In the future the lock may be
consulted for all requests handled by the NetworkService (see
https://crbug.com/920634 and also https://crbug.com/961614).

When a cross-origin, same-process navigation commits, then:

- The commit IPC carries a bundle of |subresource_loader_factories|.
  The new |subresource_loader_factories| should be used by the newly
  committed document.

- Before committing the new document, the old document's unload
  handler needs to run.  The unload handler needs to use the old
  |subresource_loader_factories| (e.g. because otherwise
  |URLLoaderFactoryParams::request_initiator_site_lock| might
  not match the document origin).

The problematic behavior before this CL
=======================================

Before the CL, content::RenderFrameImpl::CommitNavigationWithParams
would start using the new |subresource_loader_factories| before running
the unload handler of the old document (i.e. before calling
blink::WebNavigationControl::CommitNavigation on |frame_|).

The CL adds WPT tests that fail when the old, incorrect behavior
happens.  The new test initiates a beacon request from a frame's unload
handler and verifies the Sec-Fetch-Site request header associated with
this request.  The header depends on the correct
request_initiator_site_lock / on using the correct URLLoaderFactory.

The fixes in this CL
====================

This CL introduces the |call_before_attaching_new_document| callback
that is taken by blink::WebNavigationControl::CommitNavigation and
called *after* finishing running the old document's unload handler
and *before* the new document can initiate any requests of its own.

This fix is a bit icky.  In the long-term the callback can be avoided if
the |subresource_loader_factories| are stored in a per-document object
(i.e. if we swap RenderFrame on every document change, or if we replace
RenderFrame with a RenderDocument - see https://crbug.com/936696).  The
CL adds a TODO to call this out.

The fix had to refactor BuildServiceWorkerNetworkProviderForNavigation
to make sure that it uses the |new_loader_factories| (even though they
have not yet been passes to SetLoaderFactoryBundle).

The fix also refactored GetLoaderFactoryBundleFromCreator to a separate
method, so that setting the creator-based factories can also be
postponed to |call_before_attaching_new_document|.

Bug: 986577
Change-Id: If0209df61b0305ec43b5179bfdc1b9f8668a88b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1716084
Reviewed-by: Wei Li <weili@chromium.org>
Reviewed-by: Tommy Li <tommycli@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685290}

--

wpt-commits: c0b0a0d72066faf8838420b601bcd99d94842b22
wpt-pr: 18061
2019-08-11 06:50:02 +00:00
Chris Harrelson
89b2fa411a Bug 1572342 [wpt PR 18332] - Don't apply filter or clip-path in SVGForeignObjectPainter., a=testonly
Automatic update from web-platform-tests
Don't apply filter or clip-path in SVGForeignObjectPainter.

SVG foreign objects always have PaintLayers now, since they are
stacking contexts. The filter and clip-path are applied by
PaintLayerPainter.

Therefore we shouldn't try to apply them in SVGForeignObjectPainter,
nor should we early-out if they "fail" to apply.

Bug: 989673

Change-Id: I4a20da8f8ea85d377b25d8376d591f36f172d854
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1743256
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685285}

--

wpt-commits: 2a0b3d690c0b56aeb189dc3042f4b36e1acd0564
wpt-pr: 18332
2019-08-11 06:50:02 +00:00
Jacob DeWitt
6d30888b18 Bug 1572284 [wpt PR 18330] - Update tests to check XRInputSource profiles + gamepad.id, a=testonly
Automatic update from web-platform-tests
Update tests to check XRInputSource profiles + gamepad.id

Per the latest WebXR spec, XRInputSource.gamepad.id must be the empty
string. Update the browser and layout tests to actually check this.

Also update the browser tests that run on Windows to check the profiles
array contents against expected values for WMR and OpenVR.

Bug: 989114, 942201
Change-Id: I36dff42cff55728d5d90384623623ea871d3a13e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1742439
Commit-Queue: Jacob DeWitt <jacde@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685270}

--

wpt-commits: d328e5763f3d76e8b5f9e62030e9d4e578931c78
wpt-pr: 18330
2019-08-11 06:50:01 +00:00
Eric Willigers
a4cdd27f97 Bug 1572264 [wpt PR 18327] - CSS: Test height and width do not inherit, a=testonly
Automatic update from web-platform-tests
CSS: Test height and width do not inherit

WPT to verify the width and height properties do
not inherit.
https://drafts.csswg.org/css-sizing-3/#propdef-width

Change-Id: Ib35db7d4d5b55a5bc1b56db38eff49ec0fb4c427
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1741785
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685251}

--

wpt-commits: 9c1737440fc7001ea43189e6a56a8e04905401e1
wpt-pr: 18327
2019-08-11 06:50:01 +00:00
Eric Willigers
2e24b7d650 Bug 1572239 [wpt PR 18325] - CSS: Test dominant-baseline initial value 'auto', a=testonly
Automatic update from web-platform-tests
CSS: Test dominant-baseline initial value 'auto'

The CSS Inline Layout spec has been updated to
show the initial value of dominant-baseline as
'auto', matching SVG 1.1 and browsers.

https://drafts.csswg.org/css-inline/#dominant-baseline-property
https://github.com/w3c/csswg-drafts/issues/4115

Change-Id: Ib2dbdf91a9535c4d149aa773b61302c36c360305
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1741445
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685218}

--

wpt-commits: b1fd38d1568441ff1d6a93c04a7eedb5458cf30a
wpt-pr: 18325
2019-08-11 06:50:00 +00:00
autofoolip
47ecc047b7 Bug 1572358 [wpt PR 18333] - Update interfaces/web-share.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/web-share.idl (#18333)

Source: https://github.com/tidoust/reffy-reports/blob/ba2e670/whatwg/idl/web-share.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/569206523
--

wpt-commits: 7a7583dabe2fcac05bfcffc0b913f25168e96d33
wpt-pr: 18333
2019-08-11 06:50:00 +00:00
moz-wptsync-bot
0e10b13de0 Bug 1572181 [wpt PR 18319] - Update wpt metadata, a=testonly
wpt-pr: 18319
wpt-type: metadata
2019-08-11 06:50:00 +00:00
Rayan Kanso
cb793c122b Bug 1572181 [wpt PR 18319] - [Contacts] Add contacts wpt tests with a mock contacts implementation., a=testonly
Automatic update from web-platform-tests
[Contacts] Add contacts wpt tests with a mock contacts implementation.

- Create a mocked contacts interface that requires user agents to set
the contacts to return when queried.
- Implement the mocked contacts interface for chromium.
- Move chromium web_tests to the wpt folder. I've added one test and
removed one test.

Change-Id: I8fe518eef37eedf2908b4b0ea9bec9df9ea4938f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1741915
Commit-Queue: Rayan Kanso <rayankans@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685182}

--

wpt-commits: 3c2d193651aad8eabad20b0bf870614f0df9c4c8
wpt-pr: 18319
2019-08-11 06:49:59 +00:00
Csoregi Natalia
99bc0eceee Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-08-11 00:39:45 +03:00
Csoregi Natalia
6d04491407 Merge inbound to mozilla-central. a=merge 2019-08-11 00:28:20 +03:00
Emilio Cobos Álvarez
20dc132b08 Bug 1553545 - Remove now-incorrect comment. r=comment-only
MANUAL PUSH: Comment-only fixup to an inbound patch.

DONTBUILD
2019-08-10 18:40:18 +02:00
Joel Olsson
aa7bc8f357 Bug 1553545 - Enable font-size:xxx-large. r=emilio
MANUAL PUSH: Manually fixed up contributor's patch stack to squash the two patches in the bug.

Differential Revision: https://phabricator.services.mozilla.com/D41240
2019-08-10 18:32:33 +02:00
Jed Davis
7489270632 Bug 1572868 - Remove ChannelOpened and related dead code. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D41452

--HG--
extra : moz-landing-system : lando
2019-08-09 22:20:51 +00:00
thomasmo
afb76f5fe2 Bug 1570123 - Export Input functions from vrhost r=kip
This change adds a new export, SendUIMessageToVRWindow, from vrhost.dll
that allows the caller to forward a subset of UI messages to the VR
window in Firefox.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 22:41:23 +00:00
Cosmin Sabou
c317b7ed38 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-08-10 01:17:41 +03:00
Cosmin Sabou
7a5022a31f Merge mozilla-inbound to mozilla-central. a=merge 2019-08-10 00:57:59 +03:00
Cosmin Sabou
23d4f0c224 Bug 1570953 - Add || to the syntax. a=test-only CLOSED TREE
--HG--
extra : rebase_source : 5ac0edb58dea4702323aa19147523f518af4f2a5
extra : amend_source : be0e79da775f634e9745d09dd93c49109f33a6d2
2019-08-10 00:09:22 +03:00
moz-wptsync-bot
2eef287fb8 Bug 1572693 - [wpt-sync] Update web-platform-tests to 5c61f2493fe744dc9f3d08e1f5a80165f574cfa3, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 5c61f2493fe744dc9f3d08e1f5a80165f574cfa3
wpt-type: landing
2019-08-09 20:31:47 +00:00
moz-wptsync-bot
4ee0f1ab36 Bug 1570552 [wpt PR 18223] - Update wpt metadata, a=testonly
wpt-pr: 18223
wpt-type: metadata
2019-08-09 20:31:46 +00:00
Rakina Zata Amni
d8f0892596 Bug 1570552 [wpt PR 18223] - Add ARIA role, state and properties to ElementInternals, a=testonly
Automatic update from web-platform-tests
Add ARIA role, state and properties to ElementInternals

Adds a way to set default ARIA role, state & properties for custom
elements through ElementInternals. These can be overridden with setting
the ARIA attributes on the element directly.

See https://github.com/whatwg/html/pull/4658 for spec PR.
Explainer: https://github.com/alice/aom/blob/gh-pages/explainer.md#per-instance-dynamic-semantics-via-the-elementinternals-object
Intent to Implement: https://groups.google.com/a/chromium.org/d/msg/blink-dev/b-cGz9c67pM/0zvBzjhrAAAJ

Change-Id: I0caf6bc302445e48f4e0324513105eba3d6303a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1709950
Commit-Queue: Rakina Zata Amni <rakina@chromium.org>
Reviewed-by: Alice Boxhall <aboxhall@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685141}

--

wpt-commits: 5c61f2493fe744dc9f3d08e1f5a80165f574cfa3
wpt-pr: 18223
2019-08-09 20:31:46 +00:00
Danyao Wang
c19333fc69 Bug 1572270 [wpt PR 18329] - [payment-request] Fix uncaught rejections in payment-is-showing test, a=testonly
Automatic update from web-platform-tests
Catch all promise rejections so the test harness doesn't fail due to uncaught rejection

--

wpt-commits: 5c3c67adc2cfce655b6ec0e65b3e4b785590e821
wpt-pr: 18329
2019-08-09 20:31:45 +00:00
Lukasz Anforowicz
7971f07d03 Bug 1571900 [wpt PR 18301] - Test coverage for excluding application/x-www-form-urlencoded from CORB., a=testonly
Automatic update from web-platform-tests
Test coverage for excluding application/x-www-form-urlencoded from CORB.

In addition to covering application/x-www-form-urlencoded, this CL
takes the opportunity to also cover application/octet-stream which
was identified long time ago in a Firefox bug.

This CL is a follow-up to https://crbug.com/990853, but won't need to be
merged to release branches, so it doesn't refer to this bug below.

Bug: 802836
Change-Id: Idc95a1b070f4b4ecce391eb4f173196b89d989fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1739749
Commit-Queue: Charlie Reis <creis@chromium.org>
Auto-Submit: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Charlie Reis <creis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684988}

--

wpt-commits: 2a71f56c7f40ad03c66f9c1d0b9aea1f461f3e03
wpt-pr: 18301
2019-08-09 20:31:45 +00:00
Danyao Wang
d7503e6fc6 Bug 1572254 [wpt PR 18326] - [payment-request] Fix style: use double quotes consistently, a=testonly
Automatic update from web-platform-tests
Fix style - use double quotes consistently

--

wpt-commits: d4b0b9369573bb3cb296101b442f7ddb2f54f331
wpt-pr: 18326
2019-08-09 20:31:44 +00:00
Frédéric Wang
a175d67711 Bug 1572213 [wpt PR 18323] - mfrac without bar: Remove test for AxisHeight parameter., a=testonly
Automatic update from web-platform-tests
mfrac without bar: Remove test for AxisHeight parameter. (#18323)

AxisHeight is no longer involved in the layout:
https://mathml-refresh.github.io/mathml-core/#fraction-with-zero-line-thickness

Confirmed by Microsoft:
https://lists.w3.org/Archives/Public/public-mathml4/2019Aug/0019.html

See https://github.com/mathml-refresh/mathml/issues/123
--

wpt-commits: 3abd8090b7e83bb9271f8a4dcab83dea7b5e97c0
wpt-pr: 18323
2019-08-09 20:31:44 +00:00
Ian Kilpatrick
eb616cf2e0 Bug 1572159 [wpt PR 18316] - [LayoutNG] Fix invalidation issue with grids., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix invalidation issue with grids.

with: https://chromium-review.googlesource.com/c/chromium/src/+/1554113

We introduced a new flag for SelfNeedsLayoutForAvailableSpace. For any
alignment change this was set to true for grid-items.

SelfNeedsLayout reports true if this flag is set, or if the normal
SelfNeedsLayoutForStyle is true.

This caused an issue where we weren't performing layout on the whole tree
however.

If a child of the grid-item (whose alignment changed) was marked for
needing style-layout, it would try and mark its container chain for
layout, hit the grid item, and abort, as it already "needed" layout.

Within NG we'd come across the grid-item, hit the cache, or perform
simplified layout, never clearing layout, having a bad ptr, etc.

This is a conservative fix so that this can be merged.

Bug: 991446
Change-Id: I75edebc864eb470ebfad757966ddc0e0248de153
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1741439
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Auto-Submit: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684966}

--

wpt-commits: 65cb7eabbbc54c79dd01ae7e4acf458585f5d079
wpt-pr: 18316
2019-08-09 20:31:43 +00:00
David Grogan
d4d4611714 Bug 1571581 [wpt PR 18287] - [LayoutNG] First part of ShrinkToFit for flex items, a=testonly
Automatic update from web-platform-tests
[LayoutNG] First part of ShrinkToFit for flex items

Two places in the spec call for treating an item's inline size as
'fit-content' under certain conditions. This patch implements that
logic.

4 tests now pass and 2 "regress": FlexNG previously rendered the
scrollbars tests and their references so incorrectly that the first
800x600 pixels matched but most of rest of the output actually did not
match. Both the tests and their references are rendered better now, but
the differences now show up in the first 800x600 pixels.

Bug: 845235
Change-Id: I60de7ba4a26e54f6f171ba8a5e05299c3e953452
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1737742
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684952}

--

wpt-commits: 99fda55bb52ae85162644dbeebce68de271c62da
wpt-pr: 18287
2019-08-09 20:31:43 +00:00
moz-wptsync-bot
0a89dc47c8 Bug 1570758 [wpt PR 18240] - Update wpt metadata, a=testonly
wpt-pr: 18240
wpt-type: metadata
2019-08-09 20:31:43 +00:00
Becca Hughes
d9a488eb2c Bug 1570758 [wpt PR 18240] - [Media Session] Implement position state API, a=testonly
Automatic update from web-platform-tests
[Media Session] Implement position state API

Implement the new setPositionState API in Blink.

BUG=984620

Change-Id: I7a6eb1849f4e4afba2fb51771a6485aa58a7cdaf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730773
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684943}

--

wpt-commits: b3624301279fb51242dc04e955e7c516b45a89d4
wpt-pr: 18240
2019-08-09 20:31:42 +00:00
moz-wptsync-bot
1a061da67d Bug 1571788 [wpt PR 18297] - Update wpt metadata, a=testonly
wpt-pr: 18297
wpt-type: metadata
2019-08-09 20:31:42 +00:00
Ian Kilpatrick
4364b3b811 Bug 1571788 [wpt PR 18297] - [css-layout-api] Convert to promise based API., a=testonly
Automatic update from web-platform-tests
[css-layout-api] Convert to promise based API.

As above! This switches the API from being generator based, to promise
based.

This introduces the specification's work queue, which is run until
exhaustion. After the work queue has been run the given promise should
be resolved, (if not we fallback to block layout).

This also introduces the CustomLayoutScope, and CustomLayoutToken
which are used together.

The CustomLayoutToken is a heap allocated class held onto objects which
should only be used within a certain layout pass. E.g. you cannot
hold onto a fragment from a previous layout pass, and use it within
the current layout pass.

This is managed by a stack allocated CustomLayoutScope, which once
destroyed marks the CustomLayoutToken as "detached". Any object which
has a "detached" token shouldn't be used.

The CustomLayoutScope is also used to hold onto the work queue.

Bug: 726125
Change-Id: Ic435c8c50fe3d3779f068b41eada815253d0b78b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1716035
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684927}

--

wpt-commits: dd38623d0edc9005cf87397feb2e011eb0679c52
wpt-pr: 18297
2019-08-09 20:31:41 +00:00
Danyao Wang
066f823559 Bug 1569731 [wpt PR 18157] - Fix timeout in payment-is-showing.https.html, a=testonly
Automatic update from web-platform-tests
Fix timeout in payment-is-showing.https.html (#18157)

* popupShowPromise will never settle after popup navigates away. Remove promise_rejects

* Remove unnecessary console.log

--

wpt-commits: 1d05642f8266f6324a6e3cce472ac39b3976032e
wpt-pr: 18157
2019-08-09 20:31:41 +00:00
Mike Pennisi
d79be6f95c Bug 1572166 [wpt PR 18317] - [docs] Correct errors in build process, a=testonly
Automatic update from web-platform-tests
[docs] Correct errors in build process

Ensure that the contents of the top-level `certs/` directory are
available to the Sphinx process at build time.

Correct references to recently-relocated document from a new tutorial.

--

wpt-commits: 0a6beaa1610aa22683d2991811af98f587780764
wpt-pr: 18317
2019-08-09 20:31:40 +00:00
Eric Willigers
33874df8e7 Bug 1572020 [wpt PR 18310] - CSS: WPT for backdrop-filter inheritance, a=testonly
Automatic update from web-platform-tests
CSS: WPT for backdrop-filter inheritance

backdrop-filter does not inherit, and has initial value 'none'.
https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty

Change-Id: I245e6586d25787a322532b53c8b96a90de7acfa9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1741432
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684913}

--

wpt-commits: 1c052beb2d81769ce2d6099e5805ba7b59c5f6a5
wpt-pr: 18310
2019-08-09 20:31:40 +00:00