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

Changeset 254530 in webkit


Ignore:
Timestamp:
Jan 14, 2020, 1:23:18 PM (7 years ago)
Author:
mmaxfield@apple.com
Message:

[iOS] fast/forms/contenteditable-font-optical-size.html landed flaky
​https://bugs.webkit.org/show_bug.cgi?id=203371
<rdar://problem/56590026>

Reviewed by Wenson Hsieh.

  • fast/forms/contenteditable-font-optical-size-expected.txt:
  • fast/forms/contenteditable-font-optical-size.html:
  • platform/ios-wk2/TestExpectations:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r254529 r254530  
     12020-01-14  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        [iOS] fast/forms/contenteditable-font-optical-size.html landed flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=203371
     5        <rdar://problem/56590026>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        * fast/forms/contenteditable-font-optical-size-expected.txt:
     10        * fast/forms/contenteditable-font-optical-size.html:
     11        * platform/ios-wk2/TestExpectations:
     12
    1132020-01-14  Myles C. Maxfield  <mmaxfield@apple.com>
    214
  • trunk/LayoutTests/fast/forms/contenteditable-font-optical-size-expected.txt

    r251086 r254530  
    77
    88TEST COMPLETE
    9 Lorem ipsumabcde
     9asdfLorem ipsum
  • trunk/LayoutTests/fast/forms/contenteditable-font-optical-size.html

    r251086 r254530  
    88}
    99</style>
    10 <script src="../../resources/js-test-pre.js"></script>
    11 <script src="../../resources/ui-helper.js"></script>
     10<script src="../../resources/js-test.js"></script>
    1211</head>
    1312<body>
    1413<div id="target" contenteditable="true">Lorem ipsum</div>
    1514<script>
    16 window.jsTestIsAsync = true;
    1715description("This test makes sure that contenteditable with optical size doesn't hang the browser. The test passes if there is no hang when typing occurs in the contenteditable element.");
    1816let target = document.getElementById("target");
    19 function handleFocus() {
    20     if (window.testRunner) {
    21         // For some reason, "await" doesn't seem to work...
    22         UIHelper.ensurePresentationUpdate().then(function() {
    23             UIHelper.keyDown("a").then(function() {
    24                 UIHelper.keyDown("b").then(function() {
    25                     UIHelper.keyDown("c").then(function() {
    26                         UIHelper.keyDown("d").then(function() {
    27                             UIHelper.keyDown("e").then(function() {
    28                                 UIHelper.ensurePresentationUpdate().then(function() {
    29                                     finishJSTest();
    30                                 });
    31                             });
    32                         });
    33                     });
    34                 });
    35             });
    36         });
    37     }
    38 }
    39 target.addEventListener("focus", handleFocus, { once: true });
    40 if (window.testRunner)
    41     UIHelper.activateFormControl(target);
    42 else
    43     target.focus();
     17target.focus();
     18document.execCommand("insertText", true, "asdf");
    4419</script>
    45 <script src="../../resources/js-test-post.js"></script>
    4620</body>
    4721</html>
  • trunk/LayoutTests/platform/ios-wk2/TestExpectations

    r253856 r254530  
    13401340webkit.org/b/203264 [ Release ] editing/pasteboard/smart-paste-paragraph-004.html [ Pass Failure ]
    13411341
    1342 # <rdar://problem/56590026> [iOS] fast/forms/contenteditable- font-optical-size.html landed flaky (203371)
    1343 webkit.org/b/203371 fast/forms/contenteditable-font-optical-size.html [ Pass Failure ]
    1344 
    13451342# <rdar://problem/56714139> (r251242) [ iOS ]: fast/scrolling/ios/touch-scroll-visibility-hidden.html is a Flaky Timeout (203577)
    13461343webkit.org/b/203577 fast/scrolling/ios/touch-scroll-visibility-hidden.html [ Pass Timeout ]
Note: See TracChangeset for help on using the changeset viewer.