RESOLVED DUPLICATE of bug 142061 Bug 140864
Web Inspector: Change $1, $2, $3, $4 to be about previous result in the REPL, not DOM nodes
https://bugs.webkit.org/show_bug.cgi?id=140864
Summary Web Inspector: Change $1, $2, $3, $4 to be about previous result in the REPL,...
Timothy Hatcher
Reported 2015-01-25 10:00:45 PST
Lets change these weird things since no one in my unscientific poll (https://twitter.com/xeenon/status/559388400864591872) uses them. We should assign previous values a number starting with $1 ($0 will still be the current selected DOM node). Anything not null or undefined (or 0?) should get assigned. If the value (strict equal) has a $n referencing it already, don't make a new one and reuse the previous $n. The $n should be shown to the user in the console for quick at-a-glance reference when typing new expressions.
Attachments
Radar WebKit Bug Importer
Comment 1 2015-01-25 10:01:21 PST
Joseph Pecoraro
Comment 2 2015-05-05 21:07:46 PDT
Oop, we did this already. Bug 142061. *** This bug has been marked as a duplicate of bug 142061 ***
Note You need to log in before you can comment on or make changes to this bug.