-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=114478 Reviewed by Mark Hahnenberg. Source/WebCore: Add a bunch more type checks to the JS DOM bindings. * Modules/mediastream/MediaStream.idl: * Modules/webaudio/AudioDestinationNode.idl: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMBinding.h: (WebCore::getExistingWrapper): (WebCore): (WebCore::createNewWrapper): * bindings/scripts/CodeGeneratorJS.pm: (GetNativeTypeForConversions): (GetGnuVTableRefForInterface): (GetGnuVTableNameForInterface): (GetGnuMangledNameForInterface): (GetGnuVTableOffsetForType): (GetWinVTableRefForInterface): (GetWinVTableNameForInterface): (GetWinMangledNameForInterface): (GetNamespaceForInterface): (GetImplementationLacksVTableForInterface): (GetSkipVTableValidationForInterface): (GenerateImplementation): * bindings/scripts/IDLAttributes.txt: * css/CSSRuleList.idl: * css/CSSStyleDeclaration.idl: * dom/Clipboard.idl: * dom/DOMStringMap.idl: * dom/MutationRecord.idl: * dom/NodeList.idl: * html/DOMTokenList.idl: * html/track/TextTrack.idl: * inspector/ScriptProfileNode.idl: * storage/Storage.idl: * xml/XPathNSResolver.idl: Source/WTF: Add BINDING_VALIDATION flag and make RELEASE_ASSERT use UNLIKELY. * wtf/Assertions.h: * wtf/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
239499fd