Bug 982997 - Add some logging. r=jwalker

This commit is contained in:
Girish Sharma 2014-03-14 00:07:50 +05:30
Родитель 8dedb3d212
Коммит 61491401d5
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -114,6 +114,7 @@ function testReload() {
info("shouldBeEmptyFirst is empty now"); info("shouldBeEmptyFirst is empty now");
} }
else if (!data.added || !Object.keys(data.added).length) { else if (!data.added || !Object.keys(data.added).length) {
info(JSON.stringify(data));
ok(false, "deleted object should have something if an added object " + ok(false, "deleted object should have something if an added object " +
"does not have anything"); "does not have anything");
endTestReloaded(); endTestReloaded();
@ -159,6 +160,7 @@ function testAddIframe() {
}; };
let onStoresUpdate = data => { let onStoresUpdate = data => {
info(JSON.stringify(data));
info("checking if the hosts list is correct for this iframe addition"); info("checking if the hosts list is correct for this iframe addition");
markOutMatched(shouldBeEmpty, data.added); markOutMatched(shouldBeEmpty, data.added);