Changeset 45537 in webkit
- Timestamp:
- Jul 3, 2009 1:54:24 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r45535 r45537 1 2009-07-03 Simon Fraser <simon.fraser@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Background audio stops playing when JS GC runs 6 https://bugs.webkit.org/show_bug.cgi?id=26956 7 8 Ensure we keep the Audio object around while it is playing, so that it 9 doesn't get collected. 10 11 Not testable because there's no way to know whether the audio keeps 12 playing without holding a reference to it. 13 14 * bindings/js/JSDOMBinding.cpp: 15 (WebCore::isObservableThroughDOM): 16 1 17 2009-07-02 Xan Lopez <xlopez@igalia.com> 2 18 -
trunk/WebCore/bindings/js/JSDOMBinding.cpp
r44916 r45537 33 33 #include "ExceptionCode.h" 34 34 #include "Frame.h" 35 #include "HTMLAudioElement.h" 35 36 #include "HTMLImageElement.h" 36 37 #include "HTMLScriptElement.h" … … 289 290 if (node->hasTagName(scriptTag) && !static_cast<HTMLScriptElement*>(node)->haveFiredLoadEvent()) 290 291 return true; 292 #if ENABLE(VIDEO) 293 if (node->hasTagName(audioTag) && !static_cast<HTMLAudioElement*>(node)->paused()) 294 return true; 295 #endif 291 296 } 292 297
Note: See TracChangeset
for help on using the changeset viewer.