зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1492482 - Remove CPOW usage from browser_datetime_picker.js. r=Felipe
Depends on D6969 Differential Revision: https://phabricator.services.mozilla.com/D6970 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
1dd8dcf03b
Коммит
49f0fb11c5
|
@ -167,7 +167,10 @@ add_task(async function test_datepicker_clicked() {
|
|||
await ContentTaskUtils.waitForEvent(inputEl, "input");
|
||||
});
|
||||
|
||||
Assert.equal(gBrowser.contentDocumentAsCPOW.querySelector("input").value, firstDayOnCalendar);
|
||||
let value = await ContentTask.spawn(gBrowser.selectedBrowser, null, async () => {
|
||||
return content.document.querySelector("input").value;
|
||||
});
|
||||
Assert.equal(value, firstDayOnCalendar);
|
||||
|
||||
await helper.tearDown();
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче