WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 103642
100537
WebKitIDL: sequence<> types incorrectly mapped to native types
https://bugs.webkit.org/show_bug.cgi?id=100537
Summary
WebKitIDL: sequence<> types incorrectly mapped to native types
Joshua Bell
Reported
2012-10-26 10:24:51 PDT
Examples: Source/WebCore/testing/InternalSettings.idl: sequence<String> userPreferredLanguages(); Source/WebCore/testing/InternalSettings.idl: void setUserPreferredLanguages(in sequence<String> languages); Source/WebCore/testing/Internals.idl: sequence<String> userPreferredLanguages(); Source/WebCore/testing/Internals.idl: void setUserPreferredLanguages(in sequence<String> languages); Source/WebCore/testing/Internals.idl: [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in Document document); These should be using sequence<DOMString>, but when that is used invalid code is generated. The sequence type needs to be mapped to a native type (e.g. DOMString -> String), appropriate headers need to be pulled in based on the native type, etc.
Attachments
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2012-10-26 13:54:29 PDT
This should be an easy change to the code generators. We already know how to map DOMString to String in other situations.
Joshua Bell
Comment 2
2012-12-04 10:53:37 PST
*** This bug has been marked as a duplicate of
bug 103763
***
Joshua Bell
Comment 3
2012-12-04 12:27:25 PST
*** This bug has been marked as a duplicate of
bug 103642
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug