Make getting back accidentally lost entered console text reliable when the execution is busy |
||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36
Steps to reproduce the problem:
1. Press F12.
2. Enter for (var i = 0; i < 1e7; i++) {}
3. Press Enter.
5. Enter some text within the console.
6. Press Up.
7. Press Down.
What is the expected behavior?
The entered text will be restored.
What went wrong?
The entered text will not be restored. The entered text is lost.
Did this work before? N/A
Chrome version: 50.0.2661.94 Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 21.0 r0
Some code will take a while to execute (or the page does something already and the evaluation waits for it to finish) and you may lose your entered code (code be a lot of code, or could be a single line) because you accidentally pressed Up or Down or whatever.
If the console works (you can type) while the page is busy, it should work in every aspect (save the currently typed text and restore it accordingly).
It happened to me a significant number of times where my entered code got lost. Actual evaluation should not be the signal to save or not save any input.
,
May 19 2016
I'm able to repro on stable 50.0.2661.102, after bumping the # to 1e9. I'll look into this.
,
May 20 2016
Sorry - I meant to put there 1e10, actually (on my system 1e9 finished running after about a second or two, to my great surprise :)).
,
Jul 19 2016
Looks like working as intended to me.
,
Jul 19 2016
:| |
||
►
Sign in to add a comment |
||
Comment 1 by dgozman@chromium.org
, May 19 2016Status: Assigned (was: Unconfirmed)