Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh
This commit is contained in:
@@ -3761,8 +3761,7 @@ nsObjectFrame* nsPluginInstanceOwner::GetFrame()
|
||||
// |value| for certain inputs of |name|
|
||||
void nsPluginInstanceOwner::FixUpURLS(const nsString &name, nsAString &value)
|
||||
{
|
||||
if (name.LowerCaseEqualsLiteral("pluginurl") ||
|
||||
name.LowerCaseEqualsLiteral("pluginspage")) {
|
||||
if (name.LowerCaseEqualsLiteral("pluginspage")) {
|
||||
nsCOMPtr<nsIURI> baseURI = mContent->GetBaseURI();
|
||||
nsAutoString newURL;
|
||||
NS_MakeAbsoluteURI(newURL, value, baseURI);
|
||||
|
||||
Reference in New Issue
Block a user