зеркало из https://github.com/mozilla/gecko-dev.git
Backout changeset 649f50ed53ca (bug 646184) because of debug crashtest failures
This commit is contained in:
Родитель
b6abfa36f7
Коммит
fb77d4086a
|
@ -1,17 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var f = document.getElementById("f");
|
||||
var w = f.contentWindow;
|
||||
f.parentNode.removeChild(f);
|
||||
w.localStorage;
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"><iframe id="f" src="data:text/html,1"></iframe></body>
|
||||
</html>
|
|
@ -88,4 +88,3 @@ load 604262-1.html
|
|||
load 628599-1.html
|
||||
load 637214-1.svg
|
||||
load 637214-2.svg
|
||||
load 646184.html
|
||||
|
|
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче