WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
197065
[Mac WK2] REGRESSION (
r244182
) editing/execCommand/change-list-type.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=197065
Summary
[Mac WK2] REGRESSION (r244182) editing/execCommand/change-list-type.html is a...
Shawn Roberts
Reported
2019-04-18 11:15:52 PDT
The following layout test is flaky on Mac WK2 Release editing/execCommand/change-list-type.html Probable cause: Test started to become flaky on the dashboard around
r244328
. Found through local testing that changes in
https://trac.webkit.org/changeset/244182/webkit
caused this test to become flaky. Testing with prior revisions pass 100% Reproduced with: run-webkit-tests editing/execCommand/change-list-type.html --iterations 100 -f Flakiness Dashboard:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=editing%2FexecCommand%2Fchange-list-type.html
Diff: --- /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/editing/execCommand/change-list-type-expected.txt +++ /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/editing/execCommand/change-list-type-actual.txt @@ -354,7 +354,64 @@ | "one" | " " -| <ol> +| <ul> +| class="list" +| style="color: red" +| " + " +| <li> +| id="two" +| "two" +| " + " +| <li> +| id="three" +| "three<#selection-caret>" +| " + " +| " + " +| <li> +| id="four" +| "four" +| " + " +| <pre> +| " " +| <ol> +| class="list" +| " + " +| <li> +| id="five" +| "five" +| " + " +| <li> +| id="six" +| "six" +| " + " +| " + " +| " + " +| " + " + +After making the outer list unordered: +| " + " +| <ul> +| class="list" +| " + " +| <li> +| id="one" +| "one" +| " + " +| <ul> | class="list" | style="color: red" | " @@ -384,25 +441,25 @@ " | <li> | id="five" -| "<#selection-anchor>five" -| " - " -| <li> -| id="six" -| "six<#selection-focus>" -| " - " -| " - " -| " - " -| " - " - -After making the outer list unordered: -| " - " -| <ul> +| "five" +| " + " +| <li> +| id="six" +| "six" +| " + " +| " + <#selection-caret>" +| " + " +| " + " + +After making the outer list ordered again: +| " + " +| <ol> | class="list" | " " @@ -411,64 +468,7 @@ | "one" | " " -| <ol> -| class="list" -| style="color: red" -| " - " -| <li> -| id="two" -| "two" -| " - " -| <li> -| id="three" -| "three" -| " - " -| " - " -| <li> -| id="four" -| "four" -| " - " -| <pre> -| " " -| <ol> -| class="list" -| " - " -| <li> -| id="five" -| "five" -| " - " -| <li> -| id="six" -| "six" -| " - " -| " - <#selection-caret>" -| " - " -| " - " - -After making the outer list ordered again: -| " - " -| <ol> -| class="list" -| " - " -| <li> -| id="one" -| "one" -| " - " -| <ol> +| <ul> | class="list" | style="color: red" | "
Attachments
Fixes the test
(1.73 KB, patch)
2019-04-19 12:51 PDT
,
Ryosuke Niwa
wenson_hsieh
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-04-18 11:18:29 PDT
<
rdar://problem/50021964
>
Wenson Hsieh
Comment 2
2019-04-19 12:36:35 PDT
This test just needs the same tweak as
r244461
.
Ryosuke Niwa
Comment 3
2019-04-19 12:51:42 PDT
Created
attachment 367815
[details]
Fixes the test
Ryosuke Niwa
Comment 4
2019-04-19 12:56:00 PDT
Committed
r244462
: <
https://trac.webkit.org/changeset/244462
>
Simon Fraser (smfr)
Comment 5
2019-04-19 13:18:16 PDT
Comment on
attachment 367815
[details]
Fixes the test View in context:
https://bugs.webkit.org/attachment.cgi?id=367815&action=review
> LayoutTests/editing/execCommand/change-list-type.html:74 > + testRunner.runUIScript(`(function() { uiController.uiScriptComplete(); })()`, resolve);
Wouldn't doAfterPresentationUpdate() have been better?
Wenson Hsieh
Comment 6
2019-04-19 13:26:31 PDT
(In reply to Simon Fraser (smfr) from
comment #5
)
> Comment on
attachment 367815
[details]
> Fixes the test > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=367815&action=review
> > > LayoutTests/editing/execCommand/change-list-type.html:74 > > + testRunner.runUIScript(`(function() { uiController.uiScriptComplete(); })()`, resolve); > > Wouldn't doAfterPresentationUpdate() have been better?
I wouldn't think this needs to wait for the next layer tree flush; it simply needs to ensure that the current runloop in the UI process has finished.
Ryosuke Niwa
Comment 7
2019-04-22 19:39:21 PDT
Looks like the flakiness is gone!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug