Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Mar 2006 05:49:42 +0000 (05:49 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Mar 2006 05:49:42 +0000 (05:49 +0000)
commitdcdaf78f2e7944cfade74e0d8ea8dcc0b90e65cd
tree2664a795b88f1af466e9a98740102f644f0762f3
parenta37e4d5513b76d3d5b0e57d7cdcb91aa83cb2498
    Reviewed by Darin.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=7656
         Query string always appended to Flash URLs, instead of being replaced.

WebKit:
        * Misc/WebNSURLExtras.h: Added _webkit_URLByRemovingResourceSpecifier.
        * Misc/WebNSURLExtras.m:
        (+[NSURL _web_URLWithData:relativeToURL:]): Call _webkit_URLByRemovingResourceSpecifier to
        work around CFURL not removing non-path components from base URLs in some cases.
        (-[NSURL _webkit_URLByRemovingComponent:]): New generic function for removing URL components.
        (-[NSURL _webkit_URLByRemovingFragment]): Moved implementation to the above method.
        (-[NSURL _webkit_URLByRemovingResourceSpecifier]): Added.

WebKitTools:
        * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
        (pluginInvoke): Added a method to test getURL.

LayoutTests:
        * plugins/geturl-replace-query-expected.txt: Added.
        * plugins/geturl-replace-query.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/plugins/geturl-replace-query-expected.txt [new file with mode: 0644]
LayoutTests/plugins/geturl-replace-query.html [new file with mode: 0644]
WebKit/ChangeLog
WebKit/Misc/WebNSURLExtras.h
WebKit/Misc/WebNSURLExtras.m
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c