mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
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:
parent
1dd8dcf03b
commit
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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user