Closed
Bug 1464483
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 11166 - [css-layout-api] Allow passing of serialized data between parent<->child.
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 11166 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/11166 Details from upstream follow. Ian Kilpatrick <ikilpatrick@chromium.org> wrote: > [css-layout-api] Allow passing of serialized data between parent<->child. > > This allow arbitary parent<->child communation during layout. A parent > can send data to a child via: > > // parent > const fragment = yield child.layoutNextFragment({data}); > > // child > *layout(children, edges, constraints, style) { > const data = constraints.data; // receive data. > } > > And child to parent via: > > // child > *layout() { > return {data}; > } > > // parent > const fragment = yield child.layoutNextFragment(); > const data = fragment.data; // receive data. > > As the parent and child layouts may be invoked in different worklet > global scopes, and don't allow data shared, the serialization of data > uses "kForStorage" which means that SABs aren't allowed in the > serialization. > > Serialization also occurs so that we are able to cache results. > > Bug: 726125 > Change-Id: Ib7e81b5778cef3af2c2f8a1ccef749f1d2ba4dfa > > Reviewed-on: https://chromium-review.googlesource.com/1072150 > WPT-Export-Revision: d5c92b8567dc48c997b299f81842046f7eed2feb > > >
Assignee | ||
Comment 1•6 years ago
|
||
PR 11166 applied with additional changes from upstream: 127a32efa15d361e0eb4d0db1cbf5a99d26d72d9
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=9b0e4bbd19c8de96a0545a024b502e3f54d2aafd
Assignee | ||
Comment 3•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c127fd9cdcd771f81ececc72aa2952111f9149c7
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=ca097c4017e3c551ac60d1b1f8ab6a8729c86ff5
Assignee | ||
Comment 5•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=70d5fd27ee1492265b367a3706941d232f1a60c3
Assignee | ||
Comment 6•6 years ago
|
||
Ran 22 tests FAIL : 22 New tests that have failures or other problems: /css/css-layout-api/constraints-data-function-failure.https.html: FAIL /css/css-layout-api/constraints-data-sab-failure.https.html: FAIL /css/css-layout-api/constraints-data.https.html: FAIL /css/css-layout-api/fragment-data-function-failure.https.html: FAIL /css/css-layout-api/fragment-data-immutable.https.html: FAIL /css/css-layout-api/fragment-data-sab-failure.https.html: FAIL /css/css-layout-api/fragment-data.https.html: FAIL /css/css-layout-api/perform-child-layout-available-inline-size-htb-htb.https.html: FAIL /css/css-layout-api/perform-child-layout-available-inline-size-htb-vrl.https.html: FAIL /css/css-layout-api/perform-child-layout-available-inline-size-vrl-htb.https.html: FAIL /css/css-layout-api/perform-child-layout-available-inline-size-vrl-vrl.https.html: FAIL
Assignee | ||
Comment 7•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=fdd3c52403f28b82dc2b6bc89d7a8b4aa6ea9484
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/f22694f50ea6 [wpt PR 11166] - [css-layout-api] Allow passing of serialized data between parent<->child., a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/22fb23cdbd67 [wpt PR 11166] - Update wpt metadata, a=testonly
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f22694f50ea6 https://hg.mozilla.org/mozilla-central/rev/22fb23cdbd67
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•