[Webkit-unassigned] [Bug 84961] [GTK] and [Win] TestWebKitAPI/WebKit2/TestSpacebarScrolling fails
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 28 15:14:53 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=84961
--- Comment #3 from Roger Fong <roger_fong at apple.com> 2012-09-28 15:15:17 PST ---
Same behaviour can be observed earlier in the test right after the first space press is simulated.
webView.simulateSpacebarKeyPress();
EXPECT_JS_FALSE(webView.page(), "isDocumentScrolled()");
EXPECT_JS_TRUE(webView.page(), "textFieldContainsSpace()");
If you switch the second two lines to:
webView.simulateSpacebarKeyPress();
EXPECT_JS_TRUE(webView.page(), "textFieldContainsSpace()");
EXPECT_JS_FALSE(webView.page(), "isDocumentScrolled()");
the test will fail on the first EXPECT_JS_TRUE because the spacebarkeypress has not yet actually happened.
The patch I'll land is a work around for this test but I'll file a new bug for the larger problem at hand.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list