RESOLVED FIXED 163664
REGRESSION (STP 14): Unable to query tab url using AppleScript/JXA
https://bugs.webkit.org/show_bug.cgi?id=163664
Summary REGRESSION (STP 14): Unable to query tab url using AppleScript/JXA
Jack Wellborn
Reported 2016-10-19 09:10:49 PDT
Created attachment 292070 [details] Screenshot form Script Editor. Starting with Release 14, the following statement in JavaScript for Automation (haven't tested in plain Applescript yet) returns "Error -1700: Can't convert types." var stp = Application("Safari Technology Preview"); (stp.windows[0].currentTab().url()); Switching to either Safari or WebKit nightly works. The issue has persisted with Release 15.
Attachments
Screenshot form Script Editor. (58.08 KB, image/png)
2016-10-19 09:10 PDT, Jack Wellborn
no flags
Radar WebKit Bug Importer
Comment 1 2016-10-19 15:05:14 PDT
Blaze Burg
Comment 2 2018-04-13 13:51:09 PDT
This has been fixed in Safari 10.1 or later.
Note You need to log in before you can comment on or make changes to this bug.