diff --git a/content/base/crashtests/646184.html b/content/base/crashtests/646184.html deleted file mode 100644 index ef34d41a64bc..000000000000 --- a/content/base/crashtests/646184.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - diff --git a/content/base/crashtests/crashtests.list b/content/base/crashtests/crashtests.list index 8ef191b605d8..c06123c42cfb 100644 --- a/content/base/crashtests/crashtests.list +++ b/content/base/crashtests/crashtests.list @@ -88,4 +88,3 @@ load 604262-1.html load 628599-1.html load 637214-1.svg load 637214-2.svg -load 646184.html diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index 31d53795aca7..9cbc9f783e2d 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -7951,9 +7951,7 @@ nsGlobalWindow::GetSessionStorage(nsIDOMStorage ** aSessionStorage) *aSessionStorage = nsnull; nsString documentURI; - if (mDocument) { - mDocument->GetDocumentURI(documentURI); - } + mDocument->GetDocumentURI(documentURI); nsresult rv = docShell->GetSessionStorageForPrincipal(principal, documentURI, @@ -8037,9 +8035,7 @@ nsGlobalWindow::GetLocalStorage(nsIDOMStorage ** aLocalStorage) NS_ENSURE_SUCCESS(rv, rv); nsString documentURI; - if (mDocument) { - mDocument->GetDocumentURI(documentURI); - } + mDocument->GetDocumentURI(documentURI); rv = storageManager->GetLocalStorageForPrincipal(principal, documentURI,