icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -115,6 +115,9 @@ skip-if = [
|
|||
["browser_dbg-call-stack.js"]
|
||||
|
||||
["browser_dbg-chrome-create.js"]
|
||||
skip-if = [
|
||||
"os == 'linux' && os_version == '18.04' && processor == 'x86_64' && asan", # Bug 2030884
|
||||
]
|
||||
|
||||
["browser_dbg-console-async.js"]
|
||||
|
||||
|
|
@ -286,6 +289,7 @@ skip-if = [
|
|||
["browser_dbg-javascript-tracer-values-preview.js"]
|
||||
skip-if = [
|
||||
"os == 'linux' && os_version == '18.04' && processor == 'x86_64' && opt && a11y_checks", # Bug The tracer tree isn't yet accessible
|
||||
"os == 'linux' && os_version == '18.04' && processor == 'x86_64' && tsan", # Bug 1959018, Bug 2030884
|
||||
"os == 'linux' && os_version == '24.04' && processor == 'x86_64' && display == 'x11' && opt && a11y_checks", # Bug The tracer tree isn't yet accessible
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -94,6 +94,18 @@ add_task(async function () {
|
|||
pressKey(dbg, "Escape");
|
||||
assertQuickOpenDisabled(dbg);
|
||||
|
||||
info("Test that the highlighted result matches match the query");
|
||||
await quickOpen(dbg, "sw");
|
||||
await waitForResults(dbg, [
|
||||
"script-switching-01.js",
|
||||
"script-switching-02.js",
|
||||
]);
|
||||
await assertHighlightMatches(dbg, 1, "sw");
|
||||
await assertHighlightMatches(dbg, 2, "sw");
|
||||
EventUtils.sendString("i");
|
||||
await assertHighlightMatches(dbg, 1, "swi");
|
||||
pressKey(dbg, "Escape");
|
||||
|
||||
info("Testing goto line:column");
|
||||
assertLine(dbg, 0);
|
||||
assertColumn(dbg, 1);
|
||||
|
|
@ -170,3 +182,19 @@ async function assertResultIsTab(dbg, index) {
|
|||
"Result should be a tab"
|
||||
);
|
||||
}
|
||||
|
||||
async function assertHighlightMatches(dbg, resultIndex, expectedMatchText) {
|
||||
// Sanitizer API not supported in ESR 140
|
||||
// Should remove at ESR 153
|
||||
if ("Sanitizer" in dbg.win) {
|
||||
const el = await findResultEl(dbg, resultIndex);
|
||||
const highlight = await waitForElementWithSelector(dbg, "mark.highlight");
|
||||
ok(el && !!highlight, "The query match is highlighted");
|
||||
await waitUntil(
|
||||
() => el.querySelector("mark.highlight").innerText == expectedMatchText
|
||||
);
|
||||
ok(true, "The highlighted text matches the query text");
|
||||
} else {
|
||||
ok(true, "The text is not highlighted");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue