Web Inspector: store last evaluation result in $_
authorpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Aug 2012 13:21:41 +0000 (13:21 +0000)
committerpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Aug 2012 13:21:41 +0000 (13:21 +0000)
commitc01f9a16107c037a7dbb098246ca68190e0e0ecf
tree5380a49014f33e33b935d326281f3fd03654e09b
parent357d106c4952c4367b04c9a4eb1cf79fda7e2d59
Web Inspector: store last evaluation result in $_
https://bugs.webkit.org/show_bug.cgi?id=93377

Reviewed by Vsevolod Vlasov.

Source/WebCore:

All "console" evaluations end up in that variable on command line API.

Test: inspector/console/console-last-result.html

* inspector/InjectedScriptSource.js:
(.):

LayoutTests:

* inspector/console/console-last-result-expected.txt: Added.
* inspector/console/console-last-result.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@125033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/console/console-last-result-expected.txt [new file with mode: 0644]
LayoutTests/inspector/console/console-last-result.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/inspector/InjectedScriptSource.js