Changeset 166274 in webkit


Ignore:
Timestamp:
Mar 25, 2014 5:57:25 PM (10 years ago)
Author:
eric.carlson@apple.com
Message:

[Mac] Always retry a failed MediaDocument as a PluginDocument
https://bugs.webkit.org/show_bug.cgi?id=130742

Reviewed by Jer Noble.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::mediaLoadingFailedFatally): If the element is in a media document,

tell it that loading failed so it can retry as a plug-in.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r166273 r166274  
     12014-03-25  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [Mac] Always retry a failed MediaDocument as a PluginDocument
     4        https://bugs.webkit.org/show_bug.cgi?id=130742
     5
     6        Reviewed by Jer Noble.
     7
     8        * html/HTMLMediaElement.cpp:
     9        (WebCore::HTMLMediaElement::mediaLoadingFailedFatally): If the element is in a media document,
     10            tell it that loading failed so it can retry as a plug-in.
     11
    1122014-03-25  Ryosuke Niwa  <rniwa@webkit.org>
    213
  • trunk/Source/WebCore/html/HTMLMediaElement.cpp

    r166261 r166274  
    18771877    // 6 - Abort the overall resource selection algorithm.
    18781878    m_currentSourceNode = 0;
     1879
     1880#if PLATFORM(COCOA)
     1881    if (document().isMediaDocument())
     1882        toMediaDocument(document()).mediaElementSawUnsupportedTracks();
     1883#endif
    18791884}
    18801885
Note: See TracChangeset for help on using the changeset viewer.