зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1513859 - Followup fix to make eslint happy; r=bustage CLOSED TREE
This commit is contained in:
Родитель
849998a8e0
Коммит
f1c68bcc8c
|
@ -367,8 +367,7 @@ function dead_test(finish) {
|
|||
addMessageListener("cpows:dead_done", finish);
|
||||
}
|
||||
|
||||
function localStorage_test(finish)
|
||||
{
|
||||
function localStorage_test(finish) {
|
||||
// This test exits because a synchronous message can be sent from the parent
|
||||
// while localStorage is synchronously blocking the main thread in the child
|
||||
// which can result in deadlock. When unsafe CPOWS go away:
|
||||
|
@ -387,6 +386,6 @@ function localStorage_test(finish)
|
|||
addMessageListener("cpows:localStorage_done", finish);
|
||||
|
||||
for (let i = 0; i < 3; i++) {
|
||||
try { let l = content.localStorage.length; } catch (ex) {}
|
||||
try { content.localStorage.setItem("foo", "bar"); } catch (ex) {}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче