[Webkit-unassigned] [Bug 56360] New: loader/reload-subresource-when-type-changes.html might be flaky

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 20:42:19 PDT 2011


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

           Summary: loader/reload-subresource-when-type-changes.html might
                    be flaky
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: wangxianzhu at google.com


In loader/reload-subresource-when-type-changes.html:

<link rel="prefetch" href="resources/image1.png">
<img src="resources/image1.png" onerror="log('LOAD ERROR - FAIL 2 of 3)" onload="checkLoadedImage(event, 2)">

<script src="resources/image2.png"></script>
<img src="resources/image2.png" onerror="log('LOAD ERROR - FAIL 2 of 3)" onload="checkLoadedImage(event, 3)">

Because the last two images might be loaded asynchronously, onload of the third image might be triggered before that of the second image, thus the actual result might be:

PASS 3 of 3
PASS 2 of 3

The situation might not happen in normal test environment because the images are all accessed as local files. However, in an environment with slow access (such as NFS, or tests accessed through HTTP), this might happen.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list