Changeset 269903 in webkit


Ignore:
Timestamp:
Nov 17, 2020 8:38:16 AM (3 years ago)
Author:
Lauro Moura
Message:

REGRESSION(r269227) [GTK] editing/selection/navigation-clears-editor-state.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=219019

Reviewed by Chris Dumez.

Apply a similar fix to what was done in
requestidlecallback/requestidlecallback-document-gc.html in the
original revision, giving the timers a spin to allow the released
documents to be collected.

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

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r269902 r269903  
     12020-11-17  Lauro Moura  <lmoura@igalia.com>
     2
     3        REGRESSION(r269227) [GTK] editing/selection/navigation-clears-editor-state.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=219019
     5
     6        Reviewed by Chris Dumez.
     7
     8        Apply a similar fix to what was done in
     9        requestidlecallback/requestidlecallback-document-gc.html in the
     10        original revision, giving the timers a spin to allow the released
     11        documents to be collected.
     12
     13        * editing/selection/navigation-clears-editor-state.html:
     14
    1152020-11-17  Rob Buis  <rbuis@igalia.com>
    216
  • trunk/LayoutTests/editing/selection/navigation-clears-editor-state.html

    r233754 r269903  
    5252    for (let frame of frames) {
    5353        frame.src = "resources/select-iframe-focusin-document-crash-frame.html";
    54         frame.onload = () => {
     54        frame.onload = async () => {
    5555            ++resolved;
    5656            if (resolved !== count)
    5757                return;
    5858            let before = internals.numberOfLiveDocuments();
     59            await wait(0);
    5960            GCController.collect();
    6061            let after = internals.numberOfLiveDocuments();
Note: See TracChangeset for help on using the changeset viewer.