[Webkit-unassigned] [Bug 16522] Frame navigation policy not enforced for Java

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 19 23:41:57 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16522





------- Comment #1 from webkit at collinjackson.com  2007-12-19 23:41 PDT -------
Created an attachment (id=18002)
 --> (http://bugs.webkit.org/attachment.cgi?id=18002&action=view)
Checks if shouldAllowNavigation() before allowing navigation

Here's a patch the ensures that shouldAllowNavigation() is checked before
load() in called in WebCore/loader/FrameLoader.cpp. The change required to fix
Java is on line 2073 of FrameLoader.cpp. 

This patch also changes the behavior when shouldAllowNavigation() returns false
to open a new window, mimicking Internet Explorer 7.

Also, there were a couple other cases where shouldAllowNavigation() was not
being called. 


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list