[wpt-sync] Sync PR 40052 - Make CaptureController inherit from EventTarget
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox117 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40052 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40052
Details from upstream follow.
Frédéric Wang <fwang@igalia.com> wrote:
Make CaptureController inherit from EventTarget
See https://github.com/w3c/mediacapture-screen-share/issues/268
TODO:
- Get the change accepted in the Screen Capture spec.
- Get approval from API owners.
Bug: 1444712
Change-Id: I32caa53a0f70825b09ab5c9e3aeb4cab847640d5
Reviewed-on: https://chromium-review.googlesource.com/4542243
WPT-Export-Revision: 4cc52b2449994ee15ba8a26341f6a8bdac423556
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 23 subtests
Status Summary
Firefox
OK : 1
PASS : 13[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] 16[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt, GitHub]
FAIL : 7[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt, GitHub] 10[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview]
ERROR: 1
Chrome
OK : 2
PASS : 21
FAIL : 5
Safari
OK : 1
PASS : 16
FAIL : 7
ERROR: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /screen-capture/capture-controller-event-target.https.window.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /screen-capture/idlharness.https.window.html [wpt.fyi]
- CaptureController interface: existence and properties of interface object:
FAIL(Chrome:FAIL, Safari:FAIL) - CaptureController interface object length:
FAIL(Chrome:PASS, Safari:FAIL) - CaptureController interface object name:
FAIL(Chrome:PASS, Safari:FAIL) - CaptureController interface: existence and properties of interface prototype object:
FAIL(Chrome:FAIL, Safari:FAIL) - CaptureController interface: existence and properties of interface prototype object's "constructor" property:
FAIL(Chrome:PASS, Safari:FAIL) - CaptureController interface: existence and properties of interface prototype object's @@unscopables property:
FAIL(Chrome:PASS, Safari:FAIL) - CaptureController interface: operation setFocusBehavior(CaptureStartFocusBehavior):
FAIL(Chrome:PASS, Safari:FAIL) - MediaDevices interface: operation getDisplayMedia(optional DisplayMediaStreamOptions):
FAIL[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview],PASS[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt,GitHub] (Chrome:PASS, Safari:PASS) - MediaDevices interface: navigator.mediaDevices must inherit property "getDisplayMedia(optional DisplayMediaStreamOptions)" with the proper type:
FAIL[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview],PASS[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt,GitHub] (Chrome:PASS, Safari:PASS) - MediaDevices interface: calling getDisplayMedia(optional DisplayMediaStreamOptions) on navigator.mediaDevices with too few arguments must throw TypeError:
FAIL[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview],PASS[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt,GitHub] (Chrome:PASS, Safari:PASS)
- CaptureController interface: existence and properties of interface object:
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/06bc6eecbdac
https://hg.mozilla.org/mozilla-central/rev/ca4e4c71c2cb
Description
•