New issue
Advanced search Search tips

Issue 612724 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jul 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Make getting back accidentally lost entered console text reliable when the execution is busy

Project Member Reported by phistuck@gmail.com, May 18 2016

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.
 
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)
I cannot repro this in stable, but perhaps this is a timing issue?

Comment 2 by l...@chromium.org, May 19 2016

I'm able to repro on stable 50.0.2661.102, after bumping the # to 1e9.  I'll look into this.

Comment 3 by phistuck@gmail.com, 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 :)).
Owner: einbinder@chromium.org
Status: WontFix (was: Assigned)
Looks like working as intended to me.

Comment 5 by phistuck@gmail.com, Jul 19 2016

:|

Sign in to add a comment