[Webkit-unassigned] [Bug 61295] Web Inspector: Applescript "do JavaScript" fails to return same results as javascript console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 11:54:53 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61295


Timothy Hatcher <timothy at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from Timothy Hatcher <timothy at apple.com>  2011-05-23 11:54:53 PST ---
I am not sure how document.images converts to "[object HTMLDivElement]", it should be "[object HTMLCollection]" or similar.

Anyway, this is expected behavior and we don't plan to add "pretty printing" of types to the "do JavaScript" command. It isn't as simple as you make it sound — the Web Inspector code to do this is very disconnected from AppleScript. If you want useful results, you need to stick to basic JS types (array, string, etc) which will get converted to AppleScript types.

This isn't even a WebKit feature, it is a Safari feature, so this isn't even the right bug database.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list