Bug 1960912: Handle 'Temporal' in auto-completion. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D245747
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user