WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203989
Entering/Exiting Picture-in-Picture mode through webkitSetPresentationMode() does not fire events (enterpictureinpicture and leavepictureinpicture) defined in the spec
https://bugs.webkit.org/show_bug.cgi?id=203989
Summary
Entering/Exiting Picture-in-Picture mode through webkitSetPresentationMode() ...
Peng Liu
Reported
2019-11-07 22:02:51 PST
The events are defined in
https://w3c.github.io/picture-in-picture/
. We want the WebKit prefix version of the picture-in-picture API also fires these events.
Attachments
Patch
(69.77 KB, patch)
2019-11-08 12:34 PST
,
Peng Liu
no flags
Details
Formatted Diff
Diff
Rebase the patch
(68.72 KB, patch)
2019-11-08 13:36 PST
,
Peng Liu
eric.carlson
: review+
Details
Formatted Diff
Diff
Patch for landing
(68.44 KB, patch)
2019-11-08 15:19 PST
,
Peng Liu
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-11-07 22:03:28 PST
<
rdar://problem/57011418
>
Peng Liu
Comment 2
2019-11-08 12:34:09 PST
Created
attachment 383152
[details]
Patch
Peng Liu
Comment 3
2019-11-08 13:36:19 PST
Created
attachment 383159
[details]
Rebase the patch
Eric Carlson
Comment 4
2019-11-08 14:06:47 PST
Comment on
attachment 383159
[details]
Rebase the patch View in context:
https://bugs.webkit.org/attachment.cgi?id=383159&action=review
> Source/WebCore/Modules/pictureinpicture/HTMLVideoElementPictureInPicture.h:91 > +void providePictureInPictureTo(HTMLVideoElement&);
I thinks this would be better as a static method on HTMLVideoElementPictureInPicture than as a free function.
Peng Liu
Comment 5
2019-11-08 15:04:47 PST
Comment on
attachment 383159
[details]
Rebase the patch View in context:
https://bugs.webkit.org/attachment.cgi?id=383159&action=review
>> Source/WebCore/Modules/pictureinpicture/HTMLVideoElementPictureInPicture.h:91 >> +void providePictureInPictureTo(HTMLVideoElement&); > > I thinks this would be better as a static method on HTMLVideoElementPictureInPicture than as a free function.
Right! Will update that.
Peng Liu
Comment 6
2019-11-08 15:19:15 PST
Created
attachment 383171
[details]
Patch for landing
WebKit Commit Bot
Comment 7
2019-11-08 16:38:03 PST
The commit-queue encountered the following flaky tests while processing
attachment 383171
[details]
: inspector/model/remote-object-weak-collection.html
bug 204016
(authors:
drousso@apple.com
and
joepeck@webkit.org
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 8
2019-11-08 16:39:36 PST
Comment on
attachment 383171
[details]
Patch for landing Clearing flags on attachment: 383171 Committed
r252276
: <
https://trac.webkit.org/changeset/252276
>
Peng Liu
Comment 9
2019-11-10 19:18:21 PST
All reviewed patches have been landed. Closing bug.
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