WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
221083
EnterPictureInPictureEvent event was renamed to PictureInPictureEvent in spec
https://bugs.webkit.org/show_bug.cgi?id=221083
Summary
EnterPictureInPictureEvent event was renamed to PictureInPictureEvent in spec
Philip Jägenstedt
Reported
2021-01-28 01:20:49 PST
https://github.com/w3c/picture-in-picture/pull/189
renamed the EnterPictureInPictureEvent interface to just PictureInPictureEvent. The event type is still "enterpictureinpicture" so doing this renaming should be very low risk. There are some failures in WPT due to this:
https://wpt.fyi/results/picture-in-picture/idlharness.window.html?run_id=5142493001678848&run_id=5150525664264192&run_id=5705922615705600
Attachments
Patch
(23.65 KB, patch)
2022-01-28 10:43 PST
,
Peng Liu
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(24.32 KB, patch)
2022-01-28 12:48 PST
,
Peng Liu
youennf
: review+
Details
Formatted Diff
Diff
Rebase the patch
(24.34 KB, patch)
2022-03-08 12:39 PST
,
Peng Liu
no flags
Details
Formatted Diff
Diff
[fast-cq] Patch for landing
(26.34 KB, patch)
2022-03-09 14:35 PST
,
Peng Liu
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Peng Liu
Comment 1
2021-01-28 10:21:23 PST
We also need to update "leavepictureinpicture" event based on the discussion in
https://github.com/w3c/picture-in-picture/issues/188
.
Peng Liu
Comment 2
2021-01-28 10:39:12 PST
https://github.com/w3c/picture-in-picture/issues/145
Radar WebKit Bug Importer
Comment 3
2021-02-04 01:21:12 PST
<
rdar://problem/73971131
>
Peng Liu
Comment 4
2022-01-28 10:43:26 PST
Created
attachment 450256
[details]
Patch
Peng Liu
Comment 5
2022-01-28 12:48:38 PST
Created
attachment 450269
[details]
Patch
youenn fablet
Comment 6
2022-01-29 01:50:54 PST
Comment on
attachment 450269
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=450269&action=review
r=me, worth checking API test results though.
> Source/WebCore/ChangeLog:11 > + (
https://github.com/w3c/picture-in-picture/issues/188
)
Not sure how much of this is tested in WPT tests but maybe it is already covered and we should just resync the corresponding WPT tests.
> Source/WebCore/ChangeLog:13 > + Covered by media/picture-in-picture/picture-in-picture-api-events.html.
PictureInPictureEvent new name is not covered though. Can we update LayoutTests/imported/w3c/web-platform-tests/picture-in-picture/ to take benefit of the IDL harness coverage? I would hope the IDL harness coverage test to be runnable without any issue.
youenn fablet
Comment 7
2022-01-29 01:52:11 PST
Hum, I see
webkit.org/b/202617
now. Might be worth the effort. I still wonder whether some of the tests can already be run today, say imported/w3c/web-platform-tests/picture-in-picture/idlharness.window.html for instance. Can you try removing some of the Skip test expectations and update the expected.txt files in this patch?
Peng Liu
Comment 8
2022-02-07 10:10:04 PST
(In reply to youenn fablet from
comment #7
)
> Hum, I see
webkit.org/b/202617
now. > Might be worth the effort. > I still wonder whether some of the tests can already be run today, say > imported/w3c/web-platform-tests/picture-in-picture/idlharness.window.html > for instance. Can you try removing some of the Skip test expectations and > update the expected.txt files in this patch?
Probably we can enable some tests now, but not all of them. The reason is that those tests "shares" the system picture-in-picture implementation and cannot execute in parallel. One possible solution would be enabling the MockVideoPresentationMode of the WKTR by default.
Peng Liu
Comment 9
2022-03-08 12:39:41 PST
Created
attachment 454145
[details]
Rebase the patch
Peng Liu
Comment 10
2022-03-09 14:35:02 PST
Created
attachment 454289
[details]
[fast-cq] Patch for landing
EWS
Comment 11
2022-03-10 21:04:38 PST
Committed
r291144
(
248304@main
): <
https://commits.webkit.org/248304@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 454289
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug