Bug 172877

Summary: [mac] LayoutTest svg/as-image/svg-image-with-data-uri-background.html is a flaky image failure
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, beidson, cdumez, jlewis3, sabouhallawa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Comment 1 Alexey Proskuryakov 2017-06-04 13:20:41 PDT
This doesn't look good. It sounds like a WebKit bug if we don't wait for SVG subresources before dispatching the load event.

      // window load event fires when the the page and its resources are loaded.
      // However it does not wait till the sub-resources are loaded. And this is
      // why we need to wait a little bit before we call notifyDone().
      window.addEventListener("load", function() {
        setTimeout(function () {
          testRunner.notifyDone();
        }, 200);
      });
Comment 3 Matt Lewis 2017-09-05 15:36:33 PDT
Marked test as flaky:
https://trac.webkit.org/changeset/221638/webkit