WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 45688
JavaScript dialog should not deactivate media element
https://bugs.webkit.org/show_bug.cgi?id=45688
Summary
JavaScript dialog should not deactivate media element
Eric Carlson
Reported
2010-09-13 11:14:48 PDT
The fix for 45306 made media elements derive from ActiveDOMObject so an element can prevent its wrapper object from being collected while it has events in the pending queue. An unintended side effect of this change is a media element is now deactivated when a JavaScript dialog is shown, because ActiveDOMObject::suspend is called just before a dialog is shown.
Attachments
Proposed patch
(17.42 KB, patch)
2010-09-13 11:26 PDT
,
Eric Carlson
ggaren
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Carlson
Comment 1
2010-09-13 11:26:46 PDT
Created
attachment 67439
[details]
Proposed patch
Geoffrey Garen
Comment 2
2010-09-13 13:17:01 PDT
Comment on
attachment 67439
[details]
Proposed patch 51 enum ReasonForSuspension { 52 JavaScriptPaused, 53 WillShowDialog, 54 DocumentWillBecomeInactive 55 }; "JavaScriptPaused" is a bit vague. How about "JavaScriptDebuggerPaused" instead? r=me
Eric Carlson
Comment 3
2010-09-13 19:43:07 PDT
http://trac.webkit.org/changeset/67432
WebKit Review Bot
Comment 4
2010-09-13 19:51:19 PDT
http://trac.webkit.org/changeset/67432
might have broken Qt Linux Release minimal
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