Bug 172877 - [mac] LayoutTest svg/as-image/svg-image-with-data-uri-background.html is a flaky image failure
Summary: [mac] LayoutTest svg/as-image/svg-image-with-data-uri-background.html is a fl...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-02 15:28 PDT by Ryan Haddad
Modified: 2017-09-05 15:36 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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