WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
48140
WebKit2 needs to pass the current event modifier flags when requesting a new window
https://bugs.webkit.org/show_bug.cgi?id=48140
Summary
WebKit2 needs to pass the current event modifier flags when requesting a new ...
Sam Weinig
Reported
2010-10-22 10:49:50 PDT
Now that the policy delegates are really being handle asynchronously, we need to pass more information (such as the event that caused the new window) to ChromeClient::createWindow about how the window was requested (this is necessary because by the time the decidePolicyForNewWindowAction returns, the event will no longer be on the stack.).
Attachments
Patch
(68.70 KB, patch)
2010-10-22 11:13 PDT
,
Sam Weinig
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2010-10-22 10:50:00 PDT
<
rdar://problem/8579145
>
Sam Weinig
Comment 2
2010-10-22 11:13:56 PDT
Created
attachment 71578
[details]
Patch
Anders Carlsson
Comment 3
2010-10-22 11:16:59 PDT
Comment on
attachment 71578
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=71578&action=review
> WebCore/page/ContextMenuController.cpp:144 > + if (Page* newPage = oldPage->chrome()->createWindow(frame, FrameLoadRequest(ResourceRequest(urlToLoad, frame->loader()->outgoingReferrer())), features, action))
You can just pass NavigationAction as a temporary here.
Early Warning System Bot
Comment 4
2010-10-22 11:35:53 PDT
Attachment 71578
[details]
did not build on qt: Build output:
http://queues.webkit.org/results/4716027
WebKit Review Bot
Comment 5
2010-10-22 16:30:29 PDT
http://trac.webkit.org/changeset/70333
might have broken GTK Linux 32-bit Release
Sam Weinig
Comment 6
2010-10-27 20:09:14 PDT
Fixed in
http://trac.webkit.org/changeset/70333
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug