[wpt-sync] Sync PR 24177 - Add getWindowSegments JavaScript API
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox79 fixed)
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24177 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24177
Details from upstream follow.
Daniel Libby <dlibby@microsoft.com> wrote:
Add getWindowSegments JavaScript API
This change builds on crrev.com/c/2229668 to plumb the window segment
information from the content layer into Blink, where it is exposed via
a JavaScript API.From RenderWidget, the root window segments are stored on the
local WebFrameWidgetBase root, and returned via script through the
FrameWidget interface.i2p: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/_1_ljYsaqrU/qOoHJ7MhAgAJ
Explainer: https://github.com/webscreens/window-segments/blob/master/EXPLAINER.mdChange-Id: I9b80f189e41160fc490bd09191722cb20b7115e9
Reviewed-on: https://chromium-review.googlesource.com/2246988
WPT-Export-Revision: 6f6637c4d711574998d08c97bc079ac6ed3b8947
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK : 2
FAIL: 2
Chrome
OK : 2
FAIL: 2
Safari
OK : 2
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/window-segments/getWindowSegments.https.tentative.html
getWindowSegments() returns a single segment, equal to the layout viewport dimesions: FAIL (Chrome: FAIL, Safari: FAIL)
/window-segments/getWindowSegments-iframes.tentative.sub.html
Window segments of child frames (same or different domain) must match those of the main frame.: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f468703d8535
https://hg.mozilla.org/mozilla-central/rev/f4c08ad7631b
Description
•