Summary: | fast/css/hover-update.html is flaky | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||||
Component: | Tools / Tests | Assignee: | Tony Chang <tony> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | gyuyoung.kim, ojan, pnormand, rakuco, tkent, tony, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Ryosuke Niwa
2013-03-06 10:14:50 PST
Added a failing test expectation in http://trac.webkit.org/changeset/144944. *** Bug 85951 has been marked as a duplicate of this bug. *** *** Bug 80246 has been marked as a duplicate of this bug. *** Created attachment 191790 [details]
Patch
Comment on attachment 191790 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=191790&action=review Let's try this. > LayoutTests/fast/css/hover-update.html:31 > + if (timeSinceStartedCheckingMs < 200 && window.getComputedStyle(document.getElementById('b'), null).backgroundColor != expectedBackgroundColor) { > + setTimeout(finish, 10); > + return; > + } > + shouldBeEqualToString("window.getComputedStyle(document.getElementById('b'), null).backgroundColor", expectedBackgroundColor); Nit: It seems like window. is unnecessary? Comment on attachment 191790 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=191790&action=review >> LayoutTests/fast/css/hover-update.html:31 >> + shouldBeEqualToString("window.getComputedStyle(document.getElementById('b'), null).backgroundColor", expectedBackgroundColor); > > Nit: It seems like window. is unnecessary? Yeah, I didn't want to change the expected results which lists this string verbatim. Comment on attachment 191790 [details]
Patch
Actually, I can get rid of it in the 'if' above.
Created attachment 191805 [details]
Patch for landing
Comment on attachment 191805 [details] Patch for landing Clearing flags on attachment: 191805 Committed r144963: <http://trac.webkit.org/changeset/144963> All reviewed patches have been landed. Closing bug. |