Bug 41678

Summary: [Qt] QtScript should provide an API for accessing the JS environment from slots
Product: WebKit Reporter: Kent Hansen <kent.hansen>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: cmarcelo, jedrzej.nowacki
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Bug Depends on: 41664    
Bug Blocks: 31863    

Kent Hansen
Reported 2010-07-06 03:15:08 PDT
See http://doc.trolltech.com/latest/qscriptable.html This API effectively gives a C++ slot access to the this-object and arguments when the slot is invoked from JS. It's most useful for implementing a QObject-based prototype object. It can also be used to implement slots that can take an arbitrary number of arguments (normally the "extra" arguments would be discarded when calling the slot).
Attachments
Jędrzej Nowacki
Comment 1 2011-07-07 07:49:28 PDT
Porting QtScript API over JSC C API will not be continued.
Note You need to log in before you can comment on or make changes to this bug.