Closed Bug 1678394 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26577 - dpwas: Add object to Window Controls Overlay (WCO) Javascript API

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 26577 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/26577
Details from upstream follow.

b'Hassan Talat <hatalat@microsoft.com>' wrote:

dpwas: Add object to Window Controls Overlay (WCO) Javascript API

This CL adds windowControlsOverlay object to the window.navigator
API. The changes are behind the flag: "WebAppWindowControlsOverlay"

Explainer: https://github.com/WICG/window-controls-overlay/blob/master/explainer.md
Design Doc: https://docs.google.com/document/d/1k0YL_-VMLIfjYCgJ2v6cMvuUv2qMKg4BgLI2tJ4qtyo/edit?usp=sharing
I2P: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/cper6nNLFRQ/hU91kfCWBQAJ

Bug: 937121
Change-Id: Iabe3ff49ab4948e3aa225fb2764f6975c890bddf

Reviewed-on: https://chromium-review.googlesource.com/2549120
WPT-Export-Revision: 1fb90f759568f599cc751bbfe2c24a9b9955a79f

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 6 subtests

Status Summary

Firefox

OK : 1
FAIL: 6

Chrome

OK : 1
FAIL: 6

Safari

OK : 1
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator-window-controls-overlay.html
the windowControlsOverlay object should exist on the navigator object: FAIL (Chrome: FAIL, Safari: FAIL)
visible should be a member of the windowControlsOverlay object: FAIL (Chrome: FAIL, Safari: FAIL)
visible should be false: FAIL (Chrome: FAIL, Safari: FAIL)
getBoundingClientRect should be a method of the windowControlsOverlay object: FAIL (Chrome: FAIL, Safari: FAIL)
getBoundingClientRect return type should be DOMRect: FAIL (Chrome: FAIL, Safari: FAIL)
getBoundingClientRect should return a empty DOMRect: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/098eab7a7977 [wpt PR 26577] - dpwas: Add object to Window Controls Overlay (WCO) Javascript API, a=testonly https://hg.mozilla.org/integration/autoland/rev/f4c00cd52dce [wpt PR 26577] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3733fe33c543 [wpt PR 26577] - dpwas: Add object to Window Controls Overlay (WCO) Javascript API, a=testonly https://hg.mozilla.org/integration/autoland/rev/3d6aa9c5e6d1 [wpt PR 26577] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.