WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-10-19 15:05:14 PDT
<
rdar://problem/28856279
>
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.
Top of Page
Format For Printing
XML
Clone This Bug