[Webkit-unassigned] [Bug 241676] New: Resetting source on a long-loading <img> still prevents window "load" event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 16 00:58:51 PDT 2022


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

            Bug ID: 241676
           Summary: Resetting source on a long-loading <img> still
                    prevents window "load" event
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at webkit.org
                CC: beidson at apple.com

If you have an <img> element pointing to a long-loading resource it should prevent the window "load" event from firing until that image is loaded. However, if you cancel the load by setting the "src" to the empty string, the window "load" event should trigger and not be delayed anymore. In WebKit, the original resource load will continue to block the window "load" event. This came up investigating the failure of a CSS Transition WPT test, see https://github.com/web-platform-tests/wpt/issues/34444.

-- 
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/20220616/313c8ae4/attachment.htm>


More information about the webkit-unassigned mailing list