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
cecf3ae790
commit
52979461b7
@ -69,9 +69,9 @@ nsBlobProtocolHandler::GetFileDataEntryPrincipal(nsACString& aUri)
|
|||||||
static FileDataInfo*
|
static FileDataInfo*
|
||||||
GetFileDataInfo(const nsACString& aUri)
|
GetFileDataInfo(const nsACString& aUri)
|
||||||
{
|
{
|
||||||
NS_ASSERTION(StringBeginsWith(aUri,
|
NS_WARN_IF_FALSE(StringBeginsWith(aUri,
|
||||||
NS_LITERAL_CSTRING(BLOBURI_SCHEME ":")),
|
NS_LITERAL_CSTRING(BLOBURI_SCHEME ":")),
|
||||||
"Bad URI");
|
"Bad URI");
|
||||||
|
|
||||||
if (!gFileDataTable) {
|
if (!gFileDataTable) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user