⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 233555 in webkit


Ignore:
Timestamp:
Jul 5, 2018, 6:35:31 PM (8 years ago)
Author:
sbarati@apple.com
Message:

[mac-wk1] Layout Test editing/selection/navigation-clears-editor-state.html is a flaky failure
​https://bugs.webkit.org/show_bug.cgi?id=187309

Reviewed by Mark Lam.

Try to make this test less flaky by making percents threshold of freed
objects smaller.

  • editing/selection/navigation-clears-editor-state-expected.txt:
  • editing/selection/navigation-clears-editor-state.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r233554 r233555  
     12018-07-05  Saam Barati  <sbarati@apple.com>
     2
     3        [mac-wk1] Layout Test editing/selection/navigation-clears-editor-state.html is a flaky failure
     4        https://bugs.webkit.org/show_bug.cgi?id=187309
     5
     6        Reviewed by Mark Lam.
     7
     8        Try to make this test less flaky by making percents threshold of freed
     9        objects smaller.
     10
     11        * editing/selection/navigation-clears-editor-state-expected.txt:
     12        * editing/selection/navigation-clears-editor-state.html:
     13
    1142018-07-05  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/LayoutTests/editing/selection/navigation-clears-editor-state-expected.txt

    r233236 r233555  
    44
    55
    6 PASS freed more than 60 documents
     6PASS freed more than 15% of documents
    77PASS successfullyParsed is true
    88
  • trunk/LayoutTests/editing/selection/navigation-clears-editor-state.html

    r233236 r233555  
    6060            let after = internals.numberOfLiveDocuments();
    6161            let delta = before - after;
    62             if (delta > 0.3 * count)
    63                 debug("PASS freed more than 60 documents");
     62            if (delta > 0.15 * count)
     63                debug("PASS freed more than 15% of documents");
    6464            else
    65                 debug("FAIL freed fewer than 60 documents");
     65                debug("FAIL freed less than 15% of documents");
    6666            finishJSTest();               
    6767        };
Note: See TracChangeset for help on using the changeset viewer.