Bug 139903

Summary: editing/spelling/grammar-paste.html is flaky in debug after r177682
Product: WebKit Reporter: Grzegorz Czajkowski <g.czajkowski>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Grzegorz Czajkowski 2014-12-23 02:12:52 PST
This test is flaky in debug builds after http://trac.webkit.org/changeset/177682.

It seems that the test needs to call internals.updateEditorUINowIfScheduled() after programmatic selection changes.
Comment 1 Grzegorz Czajkowski 2014-12-23 02:29:24 PST
Committed r177684: <http://trac.webkit.org/changeset/177684>
Comment 2 Grzegorz Czajkowski 2014-12-23 03:23:59 PST
It looks like it's flaky in Release builds as well https://build.webkit.org/builders/Apple%20Yosemite%20Release%20WK1%20%28Tests%29/builds/1527/steps/layout-test/logs/stdio
Comment 3 Grzegorz Czajkowski 2014-12-23 05:24:19 PST
I was able to reproduce it with:
./Tools/Scripts/run-webkit-tests --debug LayoutTests/editing/spelling/grammar-paste.html --iterations=200 --time-out-ms=3000

Result:
[1/1] editing/spelling/grammar-paste.html passed

196 tests ran as expected, 4 didn't:

Might be similar to https://bugs.webkit.org/show_bug.cgi?id=139862. This is probably regression from http://trac.webkit.org/changeset/164401
Comment 4 Alexey Proskuryakov 2015-01-11 01:15:44 PST
Looks like this happens on all Mac WK1 bots, not just on debug. I'll update test expectations.