[Webkit-unassigned] [Bug 7012] Coerce javascript objects to appleScript compatible types prior to returning them to applescript

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Feb 1 22:10:31 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7012


ap at nypop.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at nypop.com,
                   |                            |sullivan at apple.com
             Status|UNCONFIRMED                 |NEW
          Component|JavaScript                  |WebKit API
     Ever Confirmed|0                           |1




------- Comment #1 from ap at nypop.com  2006-02-01 22:10 PDT -------
Looks like this cannot be done entirely in open-source WebKit - Safari calls
-[WebView stringByEvaluatingJavaScriptFromString:] to execute "do JavaScript",
so returning lists doesn't appear possible at the moment.

My suggestion is to add a method returning NSAppleEventDescriptor to WebView,
and to make Safari call it. Does this sound right?


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list