[Webkit-unassigned] [Bug 163664] New: Unable to query tab url using AppleScript/JXA

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 19 09:10:49 PDT 2016


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

            Bug ID: 163664
           Summary: Unable to query tab url using AppleScript/JXA
    Classification: Unclassified
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: w0nka at mac.com

Created attachment 292070
  --> https://bugs.webkit.org/attachment.cgi?id=292070&action=review
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161019/36d3a8ff/attachment.html>


More information about the webkit-unassigned mailing list