[Webkit-unassigned] [Bug 122763] New: Objective-C API doesn't provide a means to specify source URL in evaluateScript:

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 14 10:41:24 PDT 2013


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

           Summary: Objective-C API doesn't provide a means to specify
                    source URL in evaluateScript:
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: don.hays at yahoo.com


As far as I can tell, JSContext only provides evaluateScript:, and provides nothing if you want to specify a source URL or starting line number for a script. Since JSContext exposes the underlying JSContextRef, I'm able to dip down into the C layer to get that functionality while still otherwise using the Objective-C API, but it would be nice to have an Objective-C method in the JSC API that does it.

-- 
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