Bug 94691

Summary: [Qt] Conversion between Qt array types and JavaScript could be improved
Product: WebKit Reporter: Simon Hausmann <hausmann>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: allan.jensen
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 60842    
Bug Blocks:    

Description Simon Hausmann 2012-08-22 04:15:07 PDT
The current code for converting a QVariant list type to a JS array involves converting each element.

This could be implemented more efficiently by introducing a dedicated array class/type that converts the elements lazily on-demand.
Comment 1 Allan Sandfeld Jensen 2012-11-11 09:49:56 PST
I wouldn't even call it a lazy conversion. What we are missing is essentially a Qt wrapper for JSValues, a QtWebKit version of QJSValue. 

Btw, this bug probably also blocks bug #39717