Open Bug 1405067 Opened 7 years ago Updated 2 years ago

Long running console input command breaks future input and prevents toolbox from being closed

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(firefox57 fix-optional)

Tracking Status
firefox57 --- fix-optional

People

(Reporter: bgrins, Unassigned)

References

Details

(Whiteboard: [newconsole-reserve])

Attachments

(1 file)

STR:

Open console
Paste this and press enter:
      var proxy = {};
      for (var i=0; i<100; ++i) proxy = new Proxy(proxy, proxy);
      proxy

Expected: Proxy gets logged
Actual: Input field regains focus before a response comes in at which point you can enter another command without getting a response, and if you attempt to close the toolbox then the toolbox UI gets destroyed but the console frame stays opened
I eventually see:
> ObjectActor.prototype.grip previewer function threw an exception: out of memory

But we should try to at least make the frontend fail more gracefully if possible in this case.
Priority: -- → P3
Whiteboard: [console-html][triage] → [reserve-console-html]
Priority: P3 → P2
Whiteboard: [reserve-console-html] → [newconsole-mvp]
Priority: P2 → P3
Whiteboard: [newconsole-mvp] → [newconsole-reserve]
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: