Bug 1534913 - Follow-up: test fixes. r=jorgk

--HG--
extra : rebase_source : 1bf1d20459ea9fcb0f607f6f50322177eb63f28f
This commit is contained in:
Magnus Melin 2019-05-12 20:01:31 +02:00
Родитель e0652117f8
Коммит 6fdca4f603
3 изменённых файлов: 3 добавлений и 5 удалений

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

@ -542,7 +542,7 @@ function handleNewCalendarWizard(wizard, name, data = undefined) {
}
wizard.type(wizardlookup(`
/id("calendar-wizard")/{"pageid":"locationPage"}/[1]/[1]/{"align":"center"}/
id("calendar-uri")/anon({"anonid":"moz-input-box"})/anon({"anonid":"input"})
id("calendar-uri")/{"class":"textbox-input"}
`), data.network.location);
// Choose offline support.

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

@ -44,7 +44,6 @@ function setupModule(module) {
calendarFile.append(calendarName + ".ics");
}
testLocalICS.__force_skip__ = true; // See bug 1534913.
function testLocalICS() {
plan_for_modal_dialog("Calendar:NewCalendarWizard", (wizard) => {
handleNewCalendarWizard(wizard, calendarName, { network: { format: "ics" } });

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

@ -126,7 +126,6 @@ function test_escape_does_not_reach_us_from_gloda_search() {
* Control-shift-k expands the quick filter bar when it's collapsed. When
* already expanded, it focuses the text box and selects its text.
*/
test_control_shift_k_shows_quick_filter_bar.__force_skip__ = true; // See bug 1534913.
function test_control_shift_k_shows_quick_filter_bar() {
let dispatcha = mc.window.document.commandDispatcher;
let qfbTextbox = mc.e("qfb-qs-textbox");
@ -148,8 +147,8 @@ function test_control_shift_k_shows_quick_filter_bar() {
if (dispatcha.focusedElement != qfbTextbox.inputField)
throw new Error("second control-shift-k did not keep focus on filter " +
"textbox");
if (qfbTextbox.selectionStart != 0 ||
qfbTextbox.selectionEnd != qfbTextbox.textLength)
if (qfbTextbox.inputField.selectionStart != 0 ||
qfbTextbox.inputField.selectionEnd != qfbTextbox.inputField.textLength)
throw new Error("second control-shift-k did not select text in filter " +
"textbox");