зеркало из https://github.com/mozilla/gecko-dev.git
Moving Andreas Otte's fix for bug 166085 (Assertion constructing about: URIs) to the new location of these files. r=bzbarsky, sr=darin.
This commit is contained in:
Родитель
c487f606ba
Коммит
79d4542503
|
@ -102,9 +102,6 @@ nsDateTimeHandler::NewURI(const nsACString &aSpec,
|
|||
nsIURI **result) {
|
||||
nsresult rv;
|
||||
|
||||
// no concept of a relative datetime url
|
||||
NS_ASSERTION(!aBaseURI, "base url passed into datetime protocol handler");
|
||||
|
||||
nsIURI* url;
|
||||
rv = nsComponentManager::CreateInstance(kSimpleURICID, nsnull,
|
||||
NS_GET_IID(nsIURI),
|
||||
|
|
|
@ -87,9 +87,6 @@ nsFingerHandler::NewURI(const nsACString &aSpec,
|
|||
nsIURI **result) {
|
||||
nsresult rv;
|
||||
|
||||
// no concept of a relative finger url
|
||||
NS_ASSERTION(!aBaseURI, "base url passed into finger protocol handler");
|
||||
|
||||
nsIURI* url;
|
||||
rv = nsComponentManager::CreateInstance(kSimpleURICID, nsnull,
|
||||
NS_GET_IID(nsIURI),
|
||||
|
|
Загрузка…
Ссылка в новой задаче