WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
100047
Clear m_mediaSource reference when the MediaSource is closed
https://bugs.webkit.org/show_bug.cgi?id=100047
Summary
Clear m_mediaSource reference when the MediaSource is closed
Aaron Colwell
Reported
2012-10-22 16:22:20 PDT
The existing code in HTMLMediaElement holds the reference to m_mediaSource longer then it needs to. The object shouldn't be used again after it has transitioned to "closed" so I'm adding code to clear the reference when this transition happens.
Attachments
Patch
(2.08 KB, patch)
2012-10-22 16:35 PDT
,
Aaron Colwell
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Aaron Colwell
Comment 1
2012-10-22 16:35:11 PDT
Created
attachment 170019
[details]
Patch
Early Warning System Bot
Comment 2
2012-10-22 16:54:44 PDT
Comment on
attachment 170019
[details]
Patch
Attachment 170019
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/14489715
Darin Adler
Comment 3
2012-10-22 18:23:29 PDT
Comment on
attachment 170019
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=170019&action=review
> Source/WebCore/ChangeLog:12 > + No new tests because the change isn't visible to JavaScript.
Understood that it is not “visible to JavaScript”. What end user detectable effect does it have?
Aaron Colwell
Comment 4
2012-10-23 07:26:06 PDT
(In reply to
comment #3
)
> (From update of
attachment 170019
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=170019&action=review
> > > Source/WebCore/ChangeLog:12 > > + No new tests because the change isn't visible to JavaScript. > > Understood that it is not “visible to JavaScript”. What end user detectable effect does it have?
I don't believe it has an end user detectable effect. This change simply makes the object state more consistent so code can't access the object when it isn't supposed to.
Aaron Colwell
Comment 5
2012-10-23 07:30:12 PDT
Comment on
attachment 170019
[details]
Patch resetting commit-queue? since the qt-wk2 failure doesn't appear to be related to my change.
WebKit Review Bot
Comment 6
2012-10-23 16:15:32 PDT
Comment on
attachment 170019
[details]
Patch Clearing flags on attachment: 170019 Committed
r132280
: <
http://trac.webkit.org/changeset/132280
>
WebKit Review Bot
Comment 7
2012-10-23 16:15:35 PDT
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