Web Inspector: Update $ to alias to querySelector rather than getElementById
https://bugs.webkit.org/show_bug.cgi?id=92648
Reviewed by Yury Semikhatsky.
Source/WebCore:
Completed implementation started by Addy Osmani. Updates $ to alias to querySelector
with more flexible handling of selectors. Also adds a warning about the change (as per Firebug).
* inspector/InjectedScriptSource.js:
(.):
LayoutTests:
* inspector/console/command-line-api-expected.txt:
* inspector/console/command-line-api-inspect.html:
* inspector/console/command-line-api.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7 files changed