Closed Bug 1517411 Opened 5 years ago Closed 5 years ago

Add a test case to check globalThis is autocompleted

Categories

(DevTools :: Console, defect, P2)

65 Branch
defect

Tracking

(firefox71 fixed)

RESOLVED FIXED
Firefox 71
Tracking Status
firefox71 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

**Steps to reproduce**
1. Open the console on any page
2. Type `global`


**Expected results**

It autocompletes to `globalThis`

**Actual results**

It doesn't autocomplete

---
Priority: -- → P2
it looks like we already have to insert `this` manually here: https://searchfox.org/mozilla-central/rev/ecf61f8f3904549f5d65a8a511dbd7ea4fd1a51d/devtools/shared/webconsole/js-property-provider.js#808-814 

We might want to do the same with `globalThis`

Looks fixed in latest Nightly (v71)

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Summary: globalThis is not completed → Add a test case to check globalThis is autocompleted
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5a9644571570
Add test cases for globalThis in js-property-provider test. r=Honza.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: