Summary: | Synchronous event dispatch confuses the popup blocker into incorrectly blocking chat popups @ gmail.com | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Geoffrey Garen <ggaren> | ||||||
Component: | WebCore Misc. | Assignee: | Mark Rowe (bdash) <mrowe> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ggaren, mrowe | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.5 | ||||||||
Attachments: |
|
Description
Geoffrey Garen
2008-04-22 11:31:34 PDT
Created attachment 20751 [details]
A patch of a layout test
Created attachment 20752 [details]
Patch of kjs_events.cpp
Comment on attachment 20751 [details]
A patch of a layout test
+if (window.layoutTestController) {
+ layoutTestController.dumpAsText();
+}
According to our style guidelines, this one-line if body should not include braces.
Comment on attachment 20752 [details]
Patch of kjs_events.cpp
+ Event* saved_event = windowWrapper->window()->currentEvent();
According to our style guidelines, variable names should use camelCase, so "saved_event" should be named "savedEvent".
Thanks for fixing this! ggaren, thanks for you review. You can take the patch and make changes as you suggested and land the patch. I don't have SVN checkin right. I'm making the requested changes and will land this shortly. |