Ignore:
Timestamp:
Feb 3, 2009, 8:10:21 AM (16 years ago)
Author:
Simon Hausmann
Message:

JavaScriptCore:

2009-02-03 Simon Hausmann <[email protected]>

Reviewed by Tor Arne Vestbø.

Added accessor for JSByteArray storage.

WebCore:

2009-02-03 Simon Hausmann <[email protected]>

Reviewed by Tor Arne Vestbø.

Fix conversion of QByteArray to JavaScript and back. Instead of
converting it to a String (data loss!) we now map it to JSByteArray.

WebKit/qt:

2009-02-03 Simon Hausmann <[email protected]>

Reviewed by Tor Arne Vestbø.

Added a unit test to verify the succesful conversion from QByteArray to
JSByteArray and back to QByteArray.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSByteArray.h

    r40055 r40536  
    8989        size_t length() const { return m_storage->length(); }
    9090
     91        WTF::ByteArray* storage() const { return m_storage.get(); }
     92
    9193    private:
    9294        enum VPtrStealingHackType { VPtrStealingHack };
Note: See TracChangeset for help on using the changeset viewer.