Changeset 255223 in webkit


Ignore:
Timestamp:
Jan 27, 2020, 7:54:59 PM (6 years ago)
Author:
rniwa@webkit.org
Message:

http/tests/loading/remove-child-triggers-parser.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=103115

Reviewed by Alexey Proskuryakov.

Delay the end of the test until the timer fires.

  • http/tests/loading/remove-child-triggers-parser-expected.txt:
  • http/tests/loading/remove-child-triggers-parser.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r255215 r255223  
     12020-01-27  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        http/tests/loading/remove-child-triggers-parser.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=103115
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Delay the end of the test until the timer fires.
     9
     10        * http/tests/loading/remove-child-triggers-parser-expected.txt:
     11        * http/tests/loading/remove-child-triggers-parser.html:
     12
    1132020-01-27  Peng Liu  <peng.liu6@apple.com>
    214
  • trunk/LayoutTests/http/tests/loading/remove-child-triggers-parser-expected.txt

    r125988 r255223  
    44main frame - didHandleOnloadEventsForFrame
    55main frame - didFinishLoadForFrame
    6 
  • trunk/LayoutTests/http/tests/loading/remove-child-triggers-parser.html

    r125988 r255223  
    22<!-- This test covers Bug 93641 -->
    33<script>
    4 if (window.testRunner)
     4if (window.testRunner) {
    55    testRunner.dumpAsText();
    6 setTimeout(function() { var child = document.documentElement; child.parentNode.removeChild(child); }, 36);
     6    testRunner.waitUntilDone();
     7}
     8window.onload = () => {
     9    setTimeout(function() {
     10        var child = document.documentElement;
     11        child.parentNode.removeChild(child);
     12        if (window.testRunner)
     13            testRunner.notifyDone();
     14    }, 36);
     15}
    716</script>
    817<script></script>
Note: See TracChangeset for help on using the changeset viewer.