Bug 89447 - [JSC] Implement support for JSDictionary::convertValue(Vector<String>& result)
Summary: [JSC] Implement support for JSDictionary::convertValue(Vector<String>& result)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks: 45110
  Show dependency treegraph
 
Reported: 2012-06-19 01:26 PDT by Chris Dumez
Modified: 2012-06-19 08:47 PDT (History)
7 users (show)

See Also:


Attachments
Patch (2.74 KB, patch)
2012-06-19 01:29 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2012-06-19 01:26:15 PDT
Without JSDictionary::convertValue(Vector<String>& result), the IndexedDB code is not compiling for JSC.

This is needed for these line to compile:
  Vector<String> keyPathArray;
  if (options.get("keyPath", keyPathArray))
in IDBDatabase::createObjectStore().
Comment 1 Chris Dumez 2012-06-19 01:29:44 PDT
Created attachment 148284 [details]
Patch
Comment 2 Adam Barth 2012-06-19 01:37:55 PDT
Comment on attachment 148284 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=148284&action=review

> Source/WebCore/bindings/js/JSDictionary.cpp:110
> +    unsigned length;

unsigned -> size_t, right?
Comment 3 Chris Dumez 2012-06-19 02:28:17 PDT
(In reply to comment #2)
> (From update of attachment 148284 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=148284&action=review
> 
> > Source/WebCore/bindings/js/JSDictionary.cpp:110
> > +    unsigned length;
> 
> unsigned -> size_t, right?

No, the method I'm calling is defined as:
Source/WebCore/bindings/js/JSDOMBinding.h:
JSC::JSObject* toJSSequence(JSC::ExecState*, JSC::JSValue, unsigned&);
Comment 4 Chris Dumez 2012-06-19 02:29:28 PDT
Comment on attachment 148284 [details]
Patch

Setting back cq? flag after double checking.
Comment 5 Chris Dumez 2012-06-19 04:41:27 PDT
Could someone please cq+?
Comment 6 WebKit Review Bot 2012-06-19 08:47:45 PDT
Comment on attachment 148284 [details]
Patch

Clearing flags on attachment: 148284

Committed r120719: <http://trac.webkit.org/changeset/120719>
Comment 7 WebKit Review Bot 2012-06-19 08:47:52 PDT
All reviewed patches have been landed.  Closing bug.