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

Changeset 286966 in webkit


Ignore:
Timestamp:
Dec 13, 2021, 12:19:24 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

[ macOS and iOS ] editing/deleting/forward-delete-crash.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=230047

Patch by Rob Buis <rbuis@igalia.com> on 2021-12-13
Reviewed by Wenson Hsieh.

Rewrite forward-delete-crash.html to avoid the timeouts on
macOS and iOS.

  • editing/deleting/forward-delete-crash.html:
  • platform/ipad/TestExpectations:
  • platform/mac/TestExpectations:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r286955 r286966  
     12021-12-13  Rob Buis  <rbuis@igalia.com>
     2
     3        [ macOS and iOS ] editing/deleting/forward-delete-crash.html is timing out
     4        https://bugs.webkit.org/show_bug.cgi?id=230047
     5
     6        Reviewed by Wenson Hsieh.
     7
     8        Rewrite forward-delete-crash.html to avoid the timeouts on
     9        macOS and iOS.
     10
     11        * editing/deleting/forward-delete-crash.html:
     12        * platform/ipad/TestExpectations:
     13        * platform/mac/TestExpectations:
     14
    1152021-12-13  Tim Nguyen  <ntim@apple.com>
    216
  • trunk/LayoutTests/editing/deleting/forward-delete-crash.html

    r282074 r286966  
    1919    img0.onerror = () => {
    2020      document.execCommand('ForwardDelete');
    21       setTimeout(function() { window.testRunner.notifyDone(); }, 0);
    22       document.write("Test passes if it does not crash.");
    2321    };
    2422    let datalist0 = document.createElement('datalist');
     
    4038      await document.fonts.load("80px Ahem");
    4139    document.execCommand('Delete');
     40    setTimeout(function() { document.write("Test passes if it does not crash."); window.testRunner.notifyDone(); }, 0);
    4241  };
    4342</script>
  • trunk/LayoutTests/platform/ipad/TestExpectations

    r284752 r286966  
    9595webkit.org/b/203264 editing/pasteboard/smart-paste-paragraph-001.html [ Pass ]
    9696
    97 webkit.org/b/230047 editing/deleting/forward-delete-crash.html [ Pass Timeout ]
    98 
    9997webkit.org/b/231635 [ Release ] editing/selection/ios/scroll-to-reveal-selection-when-showing-software-keyboard.html [ Timeout ]
    10098
  • trunk/LayoutTests/platform/mac/TestExpectations

    r286906 r286966  
    10851085editing/selection/triple-click-in-pre.html [ Failure ]
    10861086
    1087 webkit.org/b/230047 editing/deleting/forward-delete-crash.html [ Pass Timeout ]
    1088 
    10891087# rdar://problem/31243824
    10901088webkit.org/b/158747 media/restore-from-page-cache.html [ Pass Failure Crash ]
Note: See TracChangeset for help on using the changeset viewer.