Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh

This commit is contained in:
John Schoenick
2012-08-20 16:16:02 -07:00
parent ffea41f07c
commit 291183557a
11 changed files with 18 additions and 91 deletions

View File

@@ -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);