Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Surround the expression to be evaluated in parenthesis so the
result of the eval is the result of the whole expression not the last potential sub-expression. So evaluating {x: 123} will show the Object not 123. https://bugs.webkit.org/show_bug.cgi?id=20428 Reviewed by Kevin McCullough. * page/inspector/Console.js: (Console.prototype._evalInInspectedWindow): Add parenthesis around the expression. And add couple comments. Canonical link: https://commits.webkit.org/28240@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@35834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information