Changeset 82658 in webkit


Ignore:
Timestamp:
Mar 31, 2011 8:45:50 PM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-03-31 Adam Barth <abarth@webkit.org>

Reviewed by Tony Gentilcore.

fast/preloader/scan-body-from-head.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=57594

This test was flaky because the script and the import load would race.
By breaking down this test into two pieces, we can still see that the
parse-blocking loads happen before the non-blocking load (the img) but
we don't suffer flakiness.

  • fast/preloader/scan-body-from-head-expected.txt: Removed.
  • fast/preloader/scan-body-from-head-import-expected.txt: Added.
  • fast/preloader/scan-body-from-head-import.html: Added.
  • fast/preloader/scan-body-from-head-script-expected.txt: Added.
  • fast/preloader/scan-body-from-head-script.html: Added.
  • fast/preloader/scan-body-from-head.html-disabled: Removed.
Location:
trunk/LayoutTests
Files:
1 edited
2 copied
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r82657 r82658  
     12011-03-31  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Tony Gentilcore.
     4
     5        fast/preloader/scan-body-from-head.html is flaky
     6        https://bugs.webkit.org/show_bug.cgi?id=57594
     7
     8        This test was flaky because the script and the import load would race.
     9        By breaking down this test into two pieces, we can still see that the
     10        parse-blocking loads happen before the non-blocking load (the img) but
     11        we don't suffer flakiness.
     12
     13        * fast/preloader/scan-body-from-head-expected.txt: Removed.
     14        * fast/preloader/scan-body-from-head-import-expected.txt: Added.
     15        * fast/preloader/scan-body-from-head-import.html: Added.
     16        * fast/preloader/scan-body-from-head-script-expected.txt: Added.
     17        * fast/preloader/scan-body-from-head-script.html: Added.
     18        * fast/preloader/scan-body-from-head.html-disabled: Removed.
     19
    1202011-03-31  Sheriff Bot  <webkit.review.bot@gmail.com>
    221
  • trunk/LayoutTests/fast/preloader/scan-body-from-head-import-expected.txt

    r82657 r82658  
    11style1.css has MIME type text/css
    2 script1.js has MIME type application/x-javascript
    32image1.png has MIME type image/png
    43
     
    76resources are loaded.
    87<img src=resources/image1.png>
    9 <script src=resources/script1.js></script>
    108<style>
    119  @import "resources/style1.css";
  • trunk/LayoutTests/fast/preloader/scan-body-from-head-import.html

    r82657 r82658  
    1515resources are loaded.
    1616<img src=resources/image1.png>
    17 <script src=resources/script1.js></script>
    1817<style>
    1918  @import "resources/style1.css";
  • trunk/LayoutTests/fast/preloader/scan-body-from-head-script-expected.txt

    r82657 r82658  
    1 style1.css has MIME type text/css
    21script1.js has MIME type application/x-javascript
    32image1.png has MIME type image/png
     
    87<img src=resources/image1.png>
    98<script src=resources/script1.js></script>
    10 <style>
    11   @import "resources/style1.css";
    12 </style>
    139</body>
    1410</html>
  • trunk/LayoutTests/fast/preloader/scan-body-from-head-script.html

    r82657 r82658  
    1616<img src=resources/image1.png>
    1717<script src=resources/script1.js></script>
    18 <style>
    19   @import "resources/style1.css";
    20 </style>
    2118</body>
    2219</html>
Note: See TracChangeset for help on using the changeset viewer.