Open Bug 1518733 Opened 2 years ago

Getter invoke authorization are cleared when trying to autocomplete on an unexisting prop


(DevTools :: Console, defect, P2)

65 Branch


(Not tracked)


(Reporter: nchevobbe, Unassigned)



Steps to reproduce

  1. Open the console
  2. Evaluate the following:
x = Object.create(null, Object.getOwnPropertyDescriptors({
  get foo() {
    return Object.create(null, Object.getOwnPropertyDescriptors({
      hello: "",
      world: "",
  1. Type
  2. A confirm dialog should open, confirm you want to invoke
  3. Type z. (input should now be
  4. Hit backspace twice to get back at

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.

You need to log in before you can comment on or make changes to this bug.