Title: [111938] trunk/Source/WebCore
Revision
111938
Author
[email protected]
Date
2012-03-23 17:29:48 -0700 (Fri, 23 Mar 2012)

Log Message

Layout Test media/video-source-load.html is failing
https://bugs.webkit.org/show_bug.cgi?id=82094

Reviewed by Alexey Proskuryakov.

No new tests, tested by media/video-source-load.html.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::sourceWasAdded): Set m_nextChildNodeToConsider when called
    with networkState == NETWORK_EMPTY because the resource selection algorithm has
    not started yet.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (111937 => 111938)


--- trunk/Source/WebCore/ChangeLog	2012-03-24 00:25:20 UTC (rev 111937)
+++ trunk/Source/WebCore/ChangeLog	2012-03-24 00:29:48 UTC (rev 111938)
@@ -1,3 +1,17 @@
+2012-03-23  Eric Carlson  <[email protected]>
+
+        Layout Test media/video-source-load.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=82094
+
+        Reviewed by Alexey Proskuryakov.
+
+        No new tests, tested by media/video-source-load.html.
+
+        * html/HTMLMediaElement.cpp:
+        (WebCore::HTMLMediaElement::sourceWasAdded): Set m_nextChildNodeToConsider when called 
+            with networkState == NETWORK_EMPTY because the resource selection algorithm has
+            not started yet.
+
 2012-03-23  Alexey Proskuryakov  <[email protected]>
 
         [Mac] No need for platform-specific ENABLE_BLOB values

Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (111937 => 111938)


--- trunk/Source/WebCore/html/HTMLMediaElement.cpp	2012-03-24 00:25:20 UTC (rev 111937)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp	2012-03-24 00:29:48 UTC (rev 111938)
@@ -2874,6 +2874,7 @@
     // the media element's resource selection algorithm.
     if (networkState() == HTMLMediaElement::NETWORK_EMPTY) {
         scheduleLoad(MediaResource);
+        m_nextChildNodeToConsider = source;
         return;
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to