mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 792675. Part 2: Change assertion to warning since Web content can trigger it (trying to create URIs relative to a blob URI). r=sicking
--HG-- extra : rebase_source : 256474307aeed04af0aae1445a2e488a5afb8fb0
This commit is contained in:
parent
cd4b7e8862
commit
9572e1f68e
@ -69,9 +69,9 @@ nsBlobProtocolHandler::GetFileDataEntryPrincipal(nsACString& aUri)
|
||||
static FileDataInfo*
|
||||
GetFileDataInfo(const nsACString& aUri)
|
||||
{
|
||||
NS_ASSERTION(StringBeginsWith(aUri,
|
||||
NS_LITERAL_CSTRING(BLOBURI_SCHEME ":")),
|
||||
"Bad URI");
|
||||
NS_WARN_IF_FALSE(StringBeginsWith(aUri,
|
||||
NS_LITERAL_CSTRING(BLOBURI_SCHEME ":")),
|
||||
"Bad URI");
|
||||
|
||||
if (!gFileDataTable) {
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user