NEW 121208
Web Inspector: 'arguments' should be accessible from the console
https://bugs.webkit.org/show_bug.cgi?id=121208
Summary Web Inspector: 'arguments' should be accessible from the console
Geoffrey Garen
Reported 2013-09-11 21:06:29 PDT
It's currently inaccessible because of the scope the Web Inspector sets up before evaluating code. See <http://trac.webkit.org/browser/trunk/Source/WebCore/inspector/InjectedScriptSource.js#L559>. The steps to fix this are: (1) Refactor console scope to allow 'arguments' access again. (2) Change the activation object to always provide an 'arguments' property, but perform eager tear-off if the user program didn't use the arguments object. To avoid regressing bug 121206, and allocating the arguments object when it wasn't used: (3) Provide a per-callFrame flag that specifies whether the user program used the arguments object. (4) ScopeChainDetailsSidebarPanel should make an "excludedProperties" array (the inverse of extraProperties). If the flag is false, it should add 'arguments' to the excludedProperties array.
Attachments
Radar WebKit Bug Importer
Comment 1 2013-09-11 21:06:39 PDT
Timothy Hatcher
Comment 2 2015-01-10 10:17:37 PST
*** Bug 118314 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.