| Summary: | [ macOS and iOS ] editing/deleting/forward-delete-crash.html is timing out | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | ayumi_kojima | ||||||||
| Component: | New Bugs | Assignee: | Rob Buis <rbuis> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | darin, gpoo, rbuis, rniwa, ryanhaddad, tsavell, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=229281 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
ayumi_kojima
2021-09-08 08:56:09 PDT
Seems the test has been timing out since it was added at https://trac.webkit.org/changeset/282074/webkit The test is also showing up on EWS as a pre-existing test. Marked expectations to speed up EWS https://trac.webkit.org/changeset/282145/webkit Why are we not reverting r282074, given that it included a broken test? (In reply to Alexey Proskuryakov from comment #4) > Why are we not reverting r282074, given that it included a broken test? I don't think there is any issue with the fix. The issue is with the test. (In reply to Ryosuke Niwa from comment #5) > (In reply to Alexey Proskuryakov from comment #4) > > Why are we not reverting r282074, given that it included a broken test? > > I don't think there is any issue with the fix. The issue is with the test. Also note that the test was passing on EWS. This test is not enough to trigger the original problem anymore on ToT (with the original fix reverted). Still bisecting, but perhaps d0b3b4b3becae0da071719c86df2450e283e43bb changed timing/behaviour here. (In reply to Rob Buis from comment #7) > This test is not enough to trigger the original problem anymore on ToT (with > the original fix reverted). Still bisecting, but perhaps > d0b3b4b3becae0da071719c86df2450e283e43bb changed timing/behaviour here. Indeed d0b3b4b3becae0da071719c86df2450e283e43bb is the one. Created attachment 444955 [details]
Patch
(In reply to Rob Buis from comment #8) > (In reply to Rob Buis from comment #7) > > This test is not enough to trigger the original problem anymore on ToT (with > > the original fix reverted). Still bisecting, but perhaps > > d0b3b4b3becae0da071719c86df2450e283e43bb changed timing/behaviour here. > > Indeed d0b3b4b3becae0da071719c86df2450e283e43bb is the one. I should not have used the SHA, needed to bisect again, it is https://bugs.webkit.org/show_bug.cgi?id=229905 that changed behaviour so the test does not trigger the crash anymore. Created attachment 445861 [details]
Patch
Comment on attachment 445861 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445861&action=review > LayoutTests/editing/deleting/forward-delete-crash.html:40 > + setTimeout(function() { document.write("Test passes if it does not crash."); window.testRunner.notifyDone(); }, 10); Seems like using a duration here adds a race to the test. While I won’t insist on it, is there a way to solve the problem without a race? Created attachment 446161 [details]
Patch
Comment on attachment 445861 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445861&action=review >> LayoutTests/editing/deleting/forward-delete-crash.html:40 >> + setTimeout(function() { document.write("Test passes if it does not crash."); window.testRunner.notifyDone(); }, 10); > > Seems like using a duration here adds a race to the test. While I won’t insist on it, is there a way to solve the problem without a race? I checked, indeed the 10ms wait is not needed. Committed r286966 (245189@main): <https://commits.webkit.org/245189@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446161 [details]. |