Changeset 231179 in webkit


Ignore:
Timestamp:
Apr 30, 2018 4:42:22 PM (6 years ago)
Author:
jer.noble@apple.com
Message:

<img src=mp4> does not display on ios despite Accept: video/* advertisement
https://bugs.webkit.org/show_bug.cgi?id=185029
<rdar://problem/39771989>

Reviewed by Eric Carlson.

Source/WebCore:

Returning "NO" from resourceLoader:shouldWaitForLoadingOfResource: signals that the load failed,
even if the resource request is successfully fulfilled prior to the return. Always return YES in
the case that loading succeeded.

  • platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm:

(-[WebCoreSharedBufferResourceLoaderDelegate resourceLoader:shouldWaitForLoadingOfRequestedResource:]):

LayoutTests:

  • platform/ios/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r231178 r231179  
     12018-04-30  Jer Noble  <jer.noble@apple.com>
     2
     3        <img src=mp4> does not display on ios despite Accept: video/* advertisement
     4        https://bugs.webkit.org/show_bug.cgi?id=185029
     5        <rdar://problem/39771989>
     6
     7        Reviewed by Eric Carlson.
     8
     9        * platform/ios/TestExpectations:
     10
    1112018-04-30  Zalan Bujtas  <zalan@apple.com>
    212
  • trunk/LayoutTests/platform/ios/TestExpectations

    r231159 r231179  
    11121112fast/css/variables/env/ios [ Pass ]
    11131113
    1114 # This test relies on APIs not available on iOS
    1115 fast/images/animated-image-mp4.html [ Skip ]
    1116 
    1117 
    11181114###
    11191115# Known failures
  • trunk/Source/WebCore/ChangeLog

    r231178 r231179  
     12018-04-30  Jer Noble  <jer.noble@apple.com>
     2
     3        <img src=mp4> does not display on ios despite Accept: video/* advertisement
     4        https://bugs.webkit.org/show_bug.cgi?id=185029
     5        <rdar://problem/39771989>
     6
     7        Reviewed by Eric Carlson.
     8
     9        Returning "NO" from resourceLoader:shouldWaitForLoadingOfResource: signals that the load failed,
     10        even if the resource request is successfully fulfilled prior to the return. Always return YES in
     11        the case that loading succeeded.
     12
     13        * platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm:
     14        (-[WebCoreSharedBufferResourceLoaderDelegate resourceLoader:shouldWaitForLoadingOfRequestedResource:]):
     15
    1162018-04-30  Zalan Bujtas  <zalan@apple.com>
    217
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm

    r229893 r231179  
    204204        [self fulfillRequest:loadingRequest];
    205205        if (loadingRequest.finished)
    206             return NO;
     206            return YES;
    207207    }
    208208
Note: See TracChangeset for help on using the changeset viewer.