-
ap authored
- 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: http://svn.webkit.org/repository/webkit/trunk@13225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ecc98dbe