Bug 34715
Summary: | webkit-gtk doesn't emit new-window-policy-decision-requested for onclick js popups | ||
---|---|---|---|
Product: | WebKit | Reporter: | Senko Rasic <senko> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | juanpablougarte, mathstuf, mrobinson |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
Senko Rasic
I'm using python-webkit 1.1.7-1+b1 with libwebkit 1.1.19-1 on Debian unstable.
From what I've been told on IRC, the problem is in webkit-gtk and not the python bindings.
I'm trying to catch all new window creation requests in my application. I have a handler
for 'new-window-policy-decision-requested' (and 'navigation-policy-decision-requested').
When clicking on links in gmail, it attempts to open a new window in the onclick handler,
but the 'new-window-policy-decision-requested' signal is never emitted (neither is
'navigation-policy-decision-requested', fwiw).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Senko Rasic
Additional note: newly created webview for the popup (if you do create one) does emit 'navigation-policy-decision-requested', which is a documented behaviour.
Juan Pablo Ugarte
This looks like a duplicate of https://bugs.webkit.org/show_bug.cgi?id=23432
Martin Robinson
The GTK+ port of WebKit1 has been removed.
*** This bug has been marked as a duplicate of bug 23432 ***