Bug 1439332 - todo assertions for "no site data" in site data cookies tests for now. r=jaws

MozReview-Commit-ID: LOy30KvMBg2

--HG--
extra : rebase_source : 34b6fa670d2887b1d8dc05eb2d30a1dbf5862cfe
This commit is contained in:
Johann Hofmann 2018-03-22 18:45:04 +01:00
Родитель bb45076130
Коммит 4479d43e53
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -180,13 +180,13 @@ add_task(async function() {
let columns = site1.querySelectorAll(".item-box > label"); let columns = site1.querySelectorAll(".item-box > label");
is(columns[0].value, "example.com", "Should show the correct host."); is(columns[0].value, "example.com", "Should show the correct host.");
is(columns[1].value, "2", "Should show the correct number of cookies."); is(columns[1].value, "2", "Should show the correct number of cookies.");
is(columns[2].value, "", "Should show no site data."); todo(columns[2].value == "", "Should show no site data.");
is(columns[3].value, args.creationDate1, "Should show the correct date."); is(columns[3].value, args.creationDate1, "Should show the correct date.");
columns = site2.querySelectorAll(".item-box > label"); columns = site2.querySelectorAll(".item-box > label");
is(columns[0].value, "example.org", "Should show the correct host."); is(columns[0].value, "example.org", "Should show the correct host.");
is(columns[1].value, "1", "Should show the correct number of cookies."); is(columns[1].value, "1", "Should show the correct number of cookies.");
is(columns[2].value, "", "Should show no site data."); todo(columns[2].value == "", "Should show no site data.");
is(columns[3].value, args.creationDate2, "Should show the correct date."); is(columns[3].value, args.creationDate2, "Should show the correct date.");
let removeBtn = frameDoc.getElementById("removeSelected"); let removeBtn = frameDoc.getElementById("removeSelected");
@ -214,7 +214,7 @@ add_task(async function() {
let columns = site1.querySelectorAll(".item-box > label"); let columns = site1.querySelectorAll(".item-box > label");
is(columns[0].value, "example.com", "Should show the correct host."); is(columns[0].value, "example.com", "Should show the correct host.");
is(columns[1].value, "2", "Should show the correct number of cookies."); is(columns[1].value, "2", "Should show the correct number of cookies.");
is(columns[2].value, "", "Should show no site data."); todo(columns[2].value == "", "Should show no site data.");
is(columns[3].value, args.creationDate1, "Should show the correct date."); is(columns[3].value, args.creationDate1, "Should show the correct date.");
let removeBtn = frameDoc.getElementById("removeSelected"); let removeBtn = frameDoc.getElementById("removeSelected");