[Webkit-unassigned] [Bug 216478] New: REGRESSION image.decode() promise does not resolve or reject on some <img src=mp4>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 14 05:52:54 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216478

            Bug ID: 216478
           Summary: REGRESSION image.decode() promise does not resolve or
                    reject on some <img src=mp4>
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: colin at bendell.ca

image.decode() promise does not resolve nor reject on some resources. Valid <img src=mp4> with hvc1 encoded payloads no longer resolve or reject in latest macOS, iOS betas and Tech Preview (regression). This might be related to bug 216088. Additionally, <img src=mp4> with av1 byte streams also do not resolve nor reject but this is pre-existing in all versions of Safari.


const img = new Image();
img.src = "hvc1.mp4";
document.body.appendChild(img);

// will not return
await img.decode();

You can see this tested here: https://colinbendell.github.io/webperf/img-decode-promise/

(NB: the above wpt test may yield some false-negatives due to github latencies and the aggressive timeouts)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200914/2284035e/attachment-0001.htm>


More information about the webkit-unassigned mailing list