Open
Bug 1518733
Opened 6 years ago
Updated 3 years ago
Getter invoke authorization are cleared when trying to autocomplete on an unexisting prop
Categories
(DevTools :: Console, defect, P2)
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned)
References
Details
Steps to reproduce
- Open the console
- Evaluate the following:
x = Object.create(null, Object.getOwnPropertyDescriptors({
get foo() {
return Object.create(null, Object.getOwnPropertyDescriptors({
hello: "",
world: "",
}));
}
}));
- Type
x.foo. - A confirm dialog should open, confirm you want to invoke
- Type
z.(input should now bex.foo.z.) - Hit backspace twice to get back at
x.foo.
Expected results
The autocomplete popup is displayed with 2 items (hello and world)
Actual results
The confirm dialog popups again
We are probably clearing the invoke authorizations too agressively.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•