WebCore:
2008-09-27 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=21178
<rdar://problem/
6248651>
Check if the plug-in is allowed to load the resource. This matches Firefox.
Test: http/tests/plugins/local-geturl-from-remote.html
* plugins/PluginView.cpp:
(WebCore::PluginView::load):
WebKit/mac:
2008-09-27 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=21178
<rdar://problem/
6248651>
Check if the plug-in is allowed to load the resource. This matches Firefox.
* Plugins/WebBaseNetscapePluginView.mm:
(-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
WebKitTools:
2008-09-27 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=21178
<rdar://problem/
6248651>
Return the result value from getURL.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(getURL):
LayoutTests:
2008-09-27 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=21178
<rdar://problem/
6248651>
Add tests.
* http/tests/plugins/local-geturl-from-remote-expected.txt: Added.
* http/tests/plugins/local-geturl-from-remote.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37008 268f45cc-cd09-0410-ab3c-d52691b4dbfc