[Webkit-unassigned] [Bug 26350] Make WebInspector's console evaluation/completion asynchronous.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 12 14:17:40 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26350





------- Comment #2 from timothy at hatcher.name  2009-06-12 14:17 PDT -------
(From update of attachment 31206)
The code looks correct. I think this just gets ready for asynchronous
evaluation, but the callback is still called synchronously. Is that correct?

Maybe use setTimeout with a zero/quick delay to simulate asynchronous
behaviour.

One concern I have with the completion code being asynchronous is if the user
keeps typing and the completions for the previous range have not been returned
yet. When the results are returned to the callback, the user typed text might
get messed up or mangled in some way.

So I think completion results need to be ignored if more user typing has
happened since. Make sense?


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list