Title: [138381] trunk/Source/WebCore
- Revision
- 138381
- Author
- [email protected]
- Date
- 2012-12-21 08:36:22 -0800 (Fri, 21 Dec 2012)
Log Message
Various tests in media/track are intermittently crashing.
https://bugs.webkit.org/show_bug.cgi?id=105606
Reviewed by Eric Seidel.
The root of problem is the fact that we update tracks even if we are in process of deleting the document.
Media element can stop doing that if the document informed the element via ::stop that it is going away.
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::endIgnoringTrackDisplayUpdateRequests):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (138380 => 138381)
--- trunk/Source/WebCore/ChangeLog 2012-12-21 16:19:35 UTC (rev 138380)
+++ trunk/Source/WebCore/ChangeLog 2012-12-21 16:36:22 UTC (rev 138381)
@@ -1,3 +1,16 @@
+2012-12-21 Ilya Tikhonovsky <[email protected]>
+
+ Various tests in media/track are intermittently crashing.
+ https://bugs.webkit.org/show_bug.cgi?id=105606
+
+ Reviewed by Eric Seidel.
+
+ The root of problem is the fact that we update tracks even if we are in process of deleting the document.
+ Media element can stop doing that if the document informed the element via ::stop that it is going away.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::endIgnoringTrackDisplayUpdateRequests):
+
2012-12-21 Alexei Svitkine <[email protected]>
[Chromium/Mac] Don't send an onclick event from a ctrl-click
Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (138380 => 138381)
--- trunk/Source/WebCore/html/HTMLMediaElement.cpp 2012-12-21 16:19:35 UTC (rev 138380)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp 2012-12-21 16:36:22 UTC (rev 138381)
@@ -1380,7 +1380,7 @@
{
ASSERT(m_ignoreTrackDisplayUpdate);
--m_ignoreTrackDisplayUpdate;
- if (!m_ignoreTrackDisplayUpdate)
+ if (!m_ignoreTrackDisplayUpdate && m_inActiveDocument)
updateActiveTextTrackCues(currentTime());
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes