Bug 41676

Summary: [Qt] QtScript should have an API for creating custom native objects
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:    
Bug Blocks: 31863    

Description Kent Hansen 2010-07-06 03:05:42 PDT
See http://doc.trolltech.com/latest/qscriptengine.html#newObject-2

This requires providing the QScriptClass interface (see http://doc.trolltech.com/latest/qscriptclass.html).
Comment 1 Kent Hansen 2010-07-06 03:29:10 PDT
There should also be corresponding methods QScriptValue::scriptClass() and QScriptValue::setScriptClass().
Comment 2 Jędrzej Nowacki 2011-07-07 07:50:03 PDT
Porting QtScript API over JSC C API will not be continued.