-
adam.bergkvist@ericsson.com authored
https://bugs.webkit.org/show_bug.cgi?id=103642 Reviewed by Kentaro Hara. Updated the bindings generators to support arrays and sequences of host objects. - Arrays and sequences of host objects are mapped to Vector<RefPtr<%RefPtrType%> >. - Fixed issue where "sequence<String>" was used in IDL files instead of "sequence<DOMString>". Updated existing test results. * Modules/indexeddb/IDBDatabase.idl: * Modules/indexeddb/IDBObjectStore.idl: * Modules/mediastream/RTCStatsElement.idl: * Modules/websockets/WebSocket.idl: * bindings/js/JSDOMBinding.h: (WebCore::toRefPtrNativeArray): (WebCore): * bindings/scripts/CodeGenerator.pm: (IsRefPtrType): * bindings/scripts/CodeGeneratorJS.pm: (AddIncludesForType): (GetNativeType): (GetNativeVectorInnerType): (JSValueToNative): (NativeToJSValue): * bindings/scripts/CodeGeneratorV8.pm: (GenerateNormalAttrGetter): (GenerateNormalAttrSetter): (GenerateParametersCheckExpression): (GenerateFunctionCallString): (GetNativeType): (JSValueToNative): (CreateCustomSignature): (NativeToJSValue): * bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg): * bindings/scripts/test/V8/V8TestObj.cpp: (WebCore::TestObjV8Internal::longLongAttrAttrSetter): (WebCore::TestObjV8Internal::unsignedLongLongAttrAttrSetter): (WebCore::TestObjV8Internal::methodWithSequenceArgCallback): (WebCore::TestObjV8Internal::overloadedMethod10Callback): * bindings/v8/V8Binding.h: (WebCore::toRefPtrNativeArray): * testing/Internals.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6c78b23d