[Webkit-unassigned] [Bug 179488] New: Fix preload/picture-type.html to address race conditions with preloader and necessary DPR test setup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 9 09:23:01 PST 2017


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

            Bug ID: 179488
           Summary: Fix preload/picture-type.html to address race
                    conditions with preloader and necessary DPR test setup
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: colin at bendell.ca
                CC: lforschler at apple.com

Current test http/preload/picture-type.html can fail because of race conditions from the test setup. In order to test <source sizes srcset> tags, the browser DPR must be fixed. There is a pre-existing deficiency in testRunner.setBackingScaleFactor which requires the browser to reload for the target DPR to be effective in `srcset` evaluation. This unfortunately creates test delays and a race condition with the preloader and the page reload.

A less elegant solution is to adjust the `srcset` targets to account for a wide range of browser DPRs in the tests. This is adequate because this test is not testing the `srcset` evaluation logic but rather that `srcset` continues to work with the additional `type` attribute test.

-- 
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/20171109/c8f412a4/attachment.html>


More information about the webkit-unassigned mailing list