[Webkit-unassigned] [Bug 165681] Web Inspector: Console could be made useful for very simple await expressions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 12 09:35:56 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=165681
--- Comment #6 from Brian Burg <bburg at apple.com> ---
(In reply to comment #4)
> Created attachment 296882 [details]
> [PATCH] Proposed Fix
>
> I think I want to play with this a bit more. The `console.info` may be a
> little too weird since for primitive values it stringifys the primitive. So:
>
> console.info(1);
> console.info("alpha");
>
> Look the same as info messages with the string "1" or "alpha".
>
> We could do something like:
>
> console.info("Awaited result", x)
That will not get `x` assigned to the proper $result or $n. Is there a way we can do that?
> Or go whole hog and add a protocol method saying this is expected to produce
> a result and treat it specially on the frontend. (It could show number of
> ongoing await expressions, etc).
This seems overly complicated given the small utility on the frontend. But maybe its unavoidable given the issues above re: stringification and result bindings.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161212/8617ab8f/attachment.html>
More information about the webkit-unassigned
mailing list