Make the URI of an nsIImageLoadingContent immutable. Bug 337246, r=biesi, sr=sicking
This commit is contained in:
@@ -705,6 +705,8 @@ nsObjectLoadingContent::LoadObject(const nsAString& aURI,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_TryToSetImmutable(uri);
|
||||
|
||||
return LoadObject(uri, aNotify, aTypeHint, aForceLoad);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user