[Webkit-unassigned] [Bug 93702] New: jsc has no facility for loading files as data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 10 02:12:36 PDT 2012


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

           Summary: jsc has no facility for loading files as data
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: khakionion at gmail.com


Using the jsc command-line tool, I have noticed there is no way to load a file other than to evaluate it as JavaScript. It is useful to be able to load a file as text or data, so I have created a patch to add a loadFile(path) function to jsc. The only change is to jsc.cpp, and simply adds the ability to load a file and turn its contents into a JSC string value.

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