Changeset 145263 in webkit


Ignore:
Timestamp:
Mar 8, 2013 1:20:24 PM (11 years ago)
Author:
jamesr@google.com
Message:

Layout Test fast/dom/HTMLMeterElement/meter-element-crash.html is failing
https://bugs.webkit.org/show_bug.cgi?id=88131

Reviewed by Tony Chang.

This test was calling setTimeout(..., 0) in a <script> block before the end of the document.
The timeout sometimes fired before parsing the rest of the document and sometimes after,
depending on when the parser yielded. This moves the <script> block to the end of the document
so it always runs after parsing the rest of the test, which is the more common and expected
behavior.

  • fast/dom/HTMLMeterElement/meter-element-crash.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r145261 r145263  
     12013-03-08  James Robinson  <jamesr@chromium.org>
     2
     3        Layout Test fast/dom/HTMLMeterElement/meter-element-crash.html is failing
     4        https://bugs.webkit.org/show_bug.cgi?id=88131
     5
     6        Reviewed by Tony Chang.
     7
     8        This test was calling setTimeout(..., 0) in a <script> block before the end of the document.
     9        The timeout sometimes fired before parsing the rest of the document and sometimes after,
     10        depending on when the parser yielded. This moves the <script> block to the end of the document
     11        so it always runs after parsing the rest of the test, which is the more common and expected
     12        behavior.
     13
     14        * fast/dom/HTMLMeterElement/meter-element-crash.html:
     15
    1162013-03-07  Geoffrey Garen  <ggaren@apple.com>
    217
  • trunk/LayoutTests/fast/dom/HTMLMeterElement/meter-element-crash.html

    r120792 r145263  
    55 } 
    66</style>
     7<span id="test">
     8    <script>
     9    document.body.offsetTop;
     10    </script>
     11    <input type="text">
     12    <meter>
     13    </meter>
     14</span>
    715<script>
    816    if (window.testRunner) {
     
    1725    }, 0);
    1826</script>
    19 <span id="test">
    20     <script>
    21     document.body.offsetTop;
    22     </script>
    23     <input type="text">
    24     <meter>
    25     </meter>
    26 </span>
Note: See TracChangeset for help on using the changeset viewer.