Bug 1960912: Handle 'Temporal' in auto-completion. r=devtools-reviewers,nchevobbe

Differential Revision: https://phabricator.services.mozilla.com/D245747
This commit is contained in:
André Bargull
2025-04-16 15:19:47 +00:00
parent b9fd8b2781
commit 0de084b646

View File

@@ -34,10 +34,7 @@ add_task(async function () {
); );
await setInputValueForAutocompletion(hud, "temp"); await setInputValueForAutocompletion(hud, "temp");
const expectedLabels = ["temp", "temp2"]; const expectedLabels = ["temp", "temp2", "Temporal"];
if (AppConstants.NIGHTLY_BUILD) {
expectedLabels.push("Temporal");
}
ok( ok(
hasExactPopupLabels(popup, expectedLabels), hasExactPopupLabels(popup, expectedLabels),
"Autocomplete popup displays original variable name when entering a complete variable name" "Autocomplete popup displays original variable name when entering a complete variable name"