Bug 1513859 - Followup fix to make eslint happy; r=bustage CLOSED TREE

This commit is contained in:
Jan Varga 2018-12-19 13:08:42 +01:00
Родитель 849998a8e0
Коммит f1c68bcc8c
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -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) {}
}
}