WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
146460
Media Session: implement algorithm for updating a media element's session (6.1)
https://bugs.webkit.org/show_bug.cgi?id=146460
Summary
Media Session: implement algorithm for updating a media element's session (6.1)
Matt Rajca
Reported
2015-06-30 10:24:46 PDT
In addition to keeping track of the new media session, we should: - pause the media element if it is 'active' in the current media session - remove the element from the current media session - release the current media session if there are no more active media elements - set the default media session if the new media session is null - update the 'kind' attribute to match the kind of the new media session
Attachments
Patch
(5.78 KB, patch)
2015-06-30 10:44 PDT
,
Matt Rajca
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-06-30 10:30:11 PDT
<
rdar://problem/21613814
>
Matt Rajca
Comment 2
2015-06-30 10:44:20 PDT
Created
attachment 255831
[details]
Patch
Darin Adler
Comment 3
2015-06-30 11:01:25 PDT
Comment on
attachment 255831
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=255831&action=review
> Source/WebCore/html/HTMLMediaElement.cpp:6490 > + ASSERT_ARG(session, session);
If the function requires a non-null pointer, then the type it takes should be MediaSession&, not MediaSession*.
Matt Rajca
Comment 4
2015-06-30 11:10:05 PDT
(In reply to
comment #3
)
> Comment on
attachment 255831
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=255831&action=review
> > > Source/WebCore/html/HTMLMediaElement.cpp:6490 > > + ASSERT_ARG(session, session); > > If the function requires a non-null pointer, then the type it takes should > be MediaSession&, not MediaSession*.
Fixed.
Matt Rajca
Comment 5
2015-06-30 11:12:08 PDT
Committed
r186123
: <
http://trac.webkit.org/changeset/186123
>
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