mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1224237 - Remove the !baseURL check from ServiceWorkerContainer::Register;r=bkelly
This commit is contained in:
parent
c4719a75e5
commit
0841e8beae
@ -158,12 +158,6 @@ ServiceWorkerContainer::Register(const nsAString& aScriptURL,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!baseURI) {
|
||||
aRv.Throw(NS_ERROR_DOM_INVALID_STATE_ERR);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
nsresult rv;
|
||||
nsCOMPtr<nsIURI> scriptURI;
|
||||
rv = NS_NewURI(getter_AddRefs(scriptURI), aScriptURL, nullptr, baseURI);
|
||||
|
Loading…
Reference in New Issue
Block a user