Bug 1224237 - Remove the !baseURL check from ServiceWorkerContainer::Register;r=bkelly

This commit is contained in:
Eddy Bruel 2015-11-13 10:48:49 +01:00
Родитель caf1f67d29
Коммит cb30e9f8bf
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

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