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");
|
||||
const expectedLabels = ["temp", "temp2"];
|
||||
if (AppConstants.NIGHTLY_BUILD) {
|
||||
expectedLabels.push("Temporal");
|
||||
}
|
||||
const expectedLabels = ["temp", "temp2", "Temporal"];
|
||||
ok(
|
||||
hasExactPopupLabels(popup, expectedLabels),
|
||||
"Autocomplete popup displays original variable name when entering a complete variable name"
|
||||
|
||||
Reference in New Issue
Block a user