Remove unused bindings code generators

This patch removes the unused CodeGenerators as well as their tests. I created
this CL by running clean-05-codegenerators.py from pyclean.

TBR=eseidel

git-svn-id: svn://svn.chromium.org/blink/trunk@147578 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm b/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm
deleted file mode 100644
index 3f9f84b..0000000
--- a/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm
+++ /dev/null
@@ -1,999 +0,0 @@
-
-# Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
-# Copyright (C) 2006 Anders Carlsson <andersca@mac.com> 
-# Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
-# Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
-# Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
-# Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
-# Copyright (C) Research In Motion Limited 2010. All rights reserved.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Library General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-# 
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Library General Public License for more details.
-# 
-# You should have received a copy of the GNU Library General Public License
-# aint with this library; see the file COPYING.LIB.  If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-#
-
-package CodeGeneratorCPP;
-
-use constant FileNamePrefix => "WebDOM";
-
-# Global Variables
-
-my @headerContentHeader = ();
-my @headerContent = ();
-my %headerForwardDeclarations = ();
-
-my @implContentHeader = ();
-my @implContent = ();
-my %implIncludes = ();
-
-# Constants
-my $exceptionInit = "WebCore::ExceptionCode ec = 0;";
-my $exceptionRaiseOnError = "webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));";
-
-# Default License Templates
-my $headerLicenseTemplate = << "EOF";
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig\@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-EOF
-
-my $implementationLicenseTemplate = << "EOF";
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-EOF
-
-# Default constructor
-sub new
-{
-    my $object = shift;
-    my $reference = { };
-
-    $codeGenerator = shift;
-    shift; # $useLayerOnTop
-    shift; # $preprocessor
-    shift; # $writeDependencies
-
-    bless($reference, $object);
-    return $reference;
-}
-
-sub GenerateInterface
-{
-    my $object = shift;
-    my $interface = shift;
-    my $defines = shift;
-
-    my $name = $interface->name;
-    my $className = GetClassName($name);
-    my $parentClassName = "WebDOM" . GetParentImplClassName($interface);
-
-    $object->GenerateHeader($interface);
-    $object->GenerateImplementation($interface);
-}
-
-sub GetClassName
-{
-    my $name = shift;
-
-    # special cases
-    return "WebDOMString" if $codeGenerator->IsStringType($name) or $name eq "SerializedScriptValue";
-    return "WebDOMObject" if $name eq "any";
-    return "bool" if $name eq "boolean";
-    return $name if $codeGenerator->IsPrimitiveType($name);
-
-    return "WebDOM$name";
-}
-
-sub GetImplClassName
-{
-    return shift;
-}
-
-sub GetParentImplClassName
-{
-    my $interface = shift;
-
-    if (@{$interface->parents} eq 0) {
-        return "EventTarget" if $interface->extendedAttributes->{"EventTarget"};
-        return "Object";
-    }
-
-    return $interface->parents(0);
-}
-
-sub GetParent
-{
-    my $interface = shift;
-    my $numParents = @{$interface->parents};
-
-    my $parent = "";
-    if ($numParents eq 0) {
-        $parent = "WebDOMObject";
-        $parent = "WebDOMEventTarget" if $interface->extendedAttributes->{"EventTarget"};
-    } elsif ($numParents eq 1) {
-        my $parentName = $interface->parents(0);
-        $parent = "WebDOM" . $parentName;
-    } else {
-        my @parents = @{$interface->parents};
-        my $firstParent = shift(@parents);
-        $parent = "WebDOM" . $firstParent;
-    }
-
-    return $parent;
-}
-
-sub SkipFunction
-{
-    my $function = shift;
-
-    return 1 if $function->signature->extendedAttributes->{"Custom"};
-
-    # FIXME: We don't generate bindings for SVG related interfaces yet
-    return 1 if $function->signature->name =~ /getSVGDocument/;
-
-    if ($codeGenerator->GetArrayType($function->signature->type)) {
-        return 1;
-    }
-
-    if ($codeGenerator->GetSequenceType($function->signature->type)) {
-        return 1;
-    }
-
-    foreach my $param (@{$function->parameters}) {
-        return 1 if $codeGenerator->GetSequenceType($param->type);
-        return 1 if $param->extendedAttributes->{"Clamp"};
-    }
-
-    # FIXME: This is typically used to add script execution state arguments to the method.
-    # These functions will not compile with the C++ bindings as is, so disable them
-    # to restore compilation until a proper implementation can be developed.
-    return 1 if $function->signature->extendedAttributes->{"CallWith"};
-}
-
-sub SkipAttribute
-{
-    my $attribute = shift;
-    my $type = $attribute->signature->type;
-
-    return 1 if $attribute->signature->extendedAttributes->{"Custom"}
-                or $attribute->signature->extendedAttributes->{"CustomGetter"};
-
-    return 1 if $type =~ /Constructor$/;
-    return 1 if $attribute->isStatic;
-    return 1 if $codeGenerator->IsTypedArrayType($type);
-
-    if ($codeGenerator->GetArrayType($type)) {
-        return 1;
-    }
-
-    if ($codeGenerator->GetSequenceType($type)) {
-        return 1;
-    }
-
-    if ($codeGenerator->IsEnumType($type)) {
-        return 1;
-    }
-
-    $codeGenerator->AssertNotSequenceType($type);
-
-    # FIXME: This is typically used to add script execution state arguments to the method.
-    # These functions will not compile with the C++ bindings as is, so disable them
-    # to restore compilation until a proper implementation can be developed.
-    return 1 if $attribute->signature->extendedAttributes->{"CallWith"};
-
-    return 0;
-}
-
-sub GetCPPType
-{
-    my $type = shift;
-    my $useConstReference = shift;
-    my $name = GetClassName($type);
-
-    return "int" if $type eq "long";
-    return "unsigned" if $name eq "unsigned long";
-    return "unsigned short" if $type eq "CompareHow";
-    return "double" if $name eq "Date";
-
-    if ($codeGenerator->IsStringType($type)) {
-        if ($useConstReference) {
-            return "const $name&";
-        }
-
-        return $name;
-    }
-
-    return $name if $codeGenerator->IsPrimitiveType($type) or $type eq "DOMTimeStamp";
-    return "const $name&" if $useConstReference;
-    return $name;
-}
-
-sub ConversionNeeded
-{
-    my $type = shift;
-    return !$codeGenerator->IsNonPointerType($type) && !$codeGenerator->IsStringType($type);
-}
-
-sub GetCPPTypeGetter
-{
-    my $argName = shift;
-    my $type = shift;
-
-    return $argName if $codeGenerator->IsPrimitiveType($type) or $codeGenerator->IsStringType($type);
-    return "static_cast<WebCore::Range::CompareHow>($argName)" if $type eq "CompareHow";
-    return "WebCore::SerializedScriptValue::create(WTF::String($argName))" if $type eq "SerializedScriptValue";
-    return "to" . GetNamespaceForClass($argName) . "($argName)";
-}
-
-sub AddForwardDeclarationsForType
-{
-    my $type = shift;
-    my $public = shift;
-
-    return if $codeGenerator->IsNonPointerType($type) or $codeGenerator->IsStringType($type);
-
-    my $class = GetClassName($type);
-    $headerForwardDeclarations{$class} = 1 if $public;
-}
-
-sub AddIncludesForType
-{
-    my $type = shift;
-
-    return if $codeGenerator->GetSequenceType($type);
-    return if $codeGenerator->GetArrayType($type);
-    return if $codeGenerator->IsNonPointerType($type);
-    return if $type =~ /Constructor/;
-
-    if ($codeGenerator->IsStringType($type)) {
-        $implIncludes{"wtf/text/AtomicString.h"} = 1;
-        $implIncludes{"KURL.h"} = 1;
-        $implIncludes{"WebDOMString.h"} = 1;
-        return;
-    }
-
-    if ($type eq "any") {
-        $implIncludes{"WebDOMObject.h"} = 1;
-        return;
-    }
-
-    if ($type eq "EventListener") {
-        $implIncludes{"WebNativeEventListener.h"} = 1;
-        return;
-    }
-
-    if ($type eq "SerializedScriptValue") {
-        $implIncludes{"SerializedScriptValue.h"} = 1;
-        return;
-    }
-
-    # Also include CSSImportRule so that the toWebKit methods for subclasses are found
-    if ($type eq "CSSRule") {
-        $implIncludes{"WebDOMCSSImportRule.h"} = 1;
-    }
-
-    $implIncludes{"Node.h"} = 1 if $type eq "NodeList";
-    $implIncludes{"StylePropertySet.h"} = 1 if $type eq "CSSStyleDeclaration";
-
-    # Default, include the same named file (the implementation) and the same name prefixed with "WebDOM". 
-    $implIncludes{"$type.h"} = 1 unless $type eq "any";
-    $implIncludes{"WebDOM$type.h"} = 1;
-}
-
-sub GetNamespaceForClass
-{
-    my $type = shift;
-    return "WTF" if (($type eq "ArrayBuffer") or ($type eq "ArrayBufferView")); 
-    return "WTF" if (($type eq "Uint8Array") or ($type eq "Uint8ClampedArray") or ($type eq "Uint16Array") or ($type eq "Uint32Array")); 
-    return "WTF" if (($type eq "Int8Array") or ($type eq "Int16Array") or ($type eq "Int32Array")); 
-    return "WTF" if (($type eq "Float32Array") or ($type eq "Float64Array"));    
-    return "WebCore";
-}
-
-sub GenerateHeader
-{
-    my $object = shift;
-    my $interface = shift;
-
-    my $interfaceName = $interface->name;
-    my $className = GetClassName($interfaceName);
-    my $implClassName = GetImplClassName($interfaceName);
-    
-    my $implClassNameWithNamespace = GetNamespaceForClass($implClassName) . "::" . $implClassName;
-
-    my $parentName = "";
-    $parentName = GetParent($interface);
-
-    my $numConstants = @{$interface->constants};
-    my $numAttributes = @{$interface->attributes};
-    my $numFunctions = @{$interface->functions};
-
-    # - Add default header template
-    @headerContentHeader = split("\r", $headerLicenseTemplate);
-    push(@headerContentHeader, "\n#ifndef $className" . "_h");
-    push(@headerContentHeader, "\n#define $className" . "_h\n\n");
-
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    push(@headerContentHeader, "#if ${conditionalString}\n\n") if $conditionalString;
-
-    # - INCLUDES -
-
-    my %headerIncludes = ();
-    $headerIncludes{"WebDOMString.h"} = 1;
-    $headerIncludes{"$parentName.h"} = 1;
-    foreach my $include (sort keys(%headerIncludes)) {
-        push(@headerContentHeader, "#include <$include>\n");
-    }
-
-    push(@headerContent, "class $className");
-    push(@headerContent, " : public $parentName") if $parentName;
-    push(@headerContent, " {\n");
-    push(@headerContent, "public:\n");
-
-    # Constructor
-    push(@headerContent, "    $className();\n");
-    push(@headerContent, "    explicit $className($implClassNameWithNamespace*);\n");
-
-    # Copy constructor and assignment operator on classes which have the d-ptr
-    if ($parentName eq "WebDOMObject") {
-        push(@headerContent, "    $className(const $className&);\n");
-        push(@headerContent, "    ${className}& operator=(const $className&);\n");
-    }
-
-    # Destructor
-    if ($parentName eq "WebDOMObject") {
-        push(@headerContent, "    virtual ~$className();\n");
-    } else {
-        push(@headerContent, "    virtual ~$className() { }\n");
-    }
-
-    push(@headerContent, "\n");
-    $headerForwardDeclarations{$implClassNameWithNamespace} = 1;
-
-    # - Add constants.
-    if ($numConstants > 0) {
-        my @headerConstants = ();
-        my @constants = @{$interface->constants};
-        my $combinedConstants = "";
-
-        # FIXME: we need a way to include multiple enums.
-        foreach my $constant (@constants) {
-            my $constantName = $constant->name;
-            my $constantValue = $constant->value;
-            my $conditional = $constant->extendedAttributes->{"Conditional"};
-            my $notLast = $constant ne $constants[-1];
-
-            if ($conditional) {
-                my $conditionalString = $codeGenerator->GenerateConditionalStringFromAttributeValue($conditional);
-                $combinedConstants .= "#if ${conditionalString}\n";
-            }
-            $combinedConstants .= "        WEBDOM_$constantName = $constantValue";
-            $combinedConstants .= "," if $notLast;
-            if ($conditional) {
-                $combinedConstants .= "\n#endif\n";
-            } elsif ($notLast) {
-                $combinedConstants .= "\n";
-            }
-        }
-
-        push(@headerContent, "    ");
-        push(@headerContent, "enum {\n");
-        push(@headerContent, $combinedConstants);
-        push(@headerContent, "\n    ");
-        push(@headerContent, "};\n\n");
-    }
-
-    my @headerAttributes = ();
-
-    # - Add attribute getters/setters.
-    if ($numAttributes > 0) {
-        foreach my $attribute (@{$interface->attributes}) {
-            next if SkipAttribute($attribute);
-
-            my $attributeConditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
-            my $attributeName = $attribute->signature->name;
-            my $attributeType = GetCPPType($attribute->signature->type, 0);
-            my $attributeIsReadonly = ($attribute->type =~ /^readonly/);
-            my $property = "";
-            
-            $property .= "#if ${attributeConditionalString}\n" if $attributeConditionalString;
-            $property .= "    " . $attributeType . ($attributeType =~ /\*$/ ? "" : " ") . $attributeName . "() const";
-
-            my $availabilityMacro = "";
-            my $declarationSuffix = ";\n";
-
-            AddForwardDeclarationsForType($attribute->signature->type, 1);
-
-            $attributeType = GetCPPType($attribute->signature->type, 1);
-            my $setterName = "set" . ucfirst($attributeName);
-
-            $property .= $declarationSuffix;
-            push(@headerAttributes, $property);
-            if (!$attributeIsReadonly and !$attribute->signature->extendedAttributes->{"Replaceable"}) {
-                $property = "    void $setterName($attributeType)";
-                $property .= $declarationSuffix;
-                push(@headerAttributes, $property); 
-            }
-
-            push(@headerAttributes, "#endif\n") if $attributeConditionalString;
-        }
-        push(@headerContent, @headerAttributes) if @headerAttributes > 0;
-    }
-
-    my @headerFunctions = ();
-    my @deprecatedHeaderFunctions = ();
-    my @interfaceFunctions = ();
-
-    # - Add functions.
-    if ($numFunctions > 0) {
-        foreach my $function (@{$interface->functions}) {
-            next if SkipFunction($function);
-            next if ($function->signature->name eq "set" and $interface->extendedAttributes->{"TypedArray"});
-            my $functionName = $function->signature->extendedAttributes->{"ImplementedAs"} || $function->signature->name;
-
-            my $returnType = GetCPPType($function->signature->type, 0);
-            my $numberOfParameters = @{$function->parameters};
-            my %typesToForwardDeclare = ($function->signature->type => 1);
-
-            my $parameterIndex = 0;
-            my $functionSig = "$returnType $functionName(";
-            my $methodName = $functionName;
-            foreach my $param (@{$function->parameters}) {
-                my $paramName = $param->name;
-                my $paramType = GetCPPType($param->type, 1);
-                $typesToForwardDeclare{$param->type} = 1;
-
-                $functionSig .= ", " if $parameterIndex >= 1;
-                $functionSig .= "$paramType $paramName";
-                $parameterIndex++;
-            }
-            $functionSig .= ")";
-            if ($interface->extendedAttributes->{"CPPPureInterface"}) {
-                push(@interfaceFunctions, "    virtual " . $functionSig . " = 0;\n");
-            }
-            my $functionDeclaration = $functionSig;
-            $functionDeclaration .= ";\n";
-
-            foreach my $type (keys %typesToForwardDeclare) {
-                # add any forward declarations to the public header if a deprecated version will be generated
-                AddForwardDeclarationsForType($type, 1);
-            }
-
-            my $conditionalString = $codeGenerator->GenerateConditionalString($function->signature);
-            push(@headerFunctions, "#if ${conditionalString}\n") if $conditionalString;
-            push(@headerFunctions, "    ");
-            push(@headerFunctions, $functionDeclaration);
-            push(@headerFunctions, "#endif\n") if $conditionalString;
-        }
-
-        if (@headerFunctions > 0) {
-            push(@headerContent, "\n") if @headerAttributes > 0;
-            push(@headerContent, @headerFunctions);
-        }
-    }
-
-    push(@headerContent, "\n");
-    push(@headerContent, "    $implClassNameWithNamespace* impl() const;\n");
-
-    if ($parentName eq "WebDOMObject") {
-        push(@headerContent, "\nprotected:\n");
-        push(@headerContent, "    struct ${className}Private;\n");
-        push(@headerContent, "    ${className}Private* m_impl;\n");
-    }
-
-    push(@headerContent, "};\n\n");
-
-    # for CPPPureInterface classes also add the interface that the client code needs to
-    # implement
-    if ($interface->extendedAttributes->{"CPPPureInterface"}) {
-        push(@headerContent, "class WebUser$interfaceName {\n");
-        push(@headerContent, "public:\n");
-        push(@headerContent, "    virtual void ref() = 0;\n");
-        push(@headerContent, "    virtual void deref() = 0;\n\n");
-        push(@headerContent, @interfaceFunctions);
-        push(@headerContent, "\nprotected:\n");
-        push(@headerContent, "    virtual ~WebUser$interfaceName() {}\n");
-        push(@headerContent, "};\n\n");
-    }
-
-    my $namespace = GetNamespaceForClass($implClassName);
-    push(@headerContent, "$namespace" . "::$implClassName* toWebCore(const $className&);\n");
-    push(@headerContent, "$className toWebKit($namespace" . "::$implClassName*);\n");
-    if ($interface->extendedAttributes->{"CPPPureInterface"}) {
-        push(@headerContent, "$className toWebKit(WebUser$interfaceName*);\n");
-    }
-    push(@headerContent, "\n#endif\n");
-    push(@headerContent, "#endif // ${conditionalString}\n\n") if $conditionalString;
-}
-
-sub AddEarlyReturnStatement
-{
-    my $returnType = shift;
-
-    if (!defined($returnType) or $returnType eq "void") {
-        $returnType = "";
-    } elsif ($codeGenerator->IsPrimitiveType($returnType)) {
-        $returnType = " 0";
-    } elsif ($returnType eq "bool") {
-        $returnType = " false";
-    } else {
-        $returnType = " $returnType()";
-    }
-
-    # TODO: We could set exceptions here, if we want that
-    my $statement = "    if (!impl())\n";
-    $statement .=   "        return$returnType;\n\n";
-    return $statement;
-}
-
-sub AddReturnStatement
-{
-    my $typeInfo = shift;
-    my $returnValue = shift;
-
-    # Used to invoke KURLs "const String&" operator
-    if ($codeGenerator->IsStringType($typeInfo->signature->type)) {
-        return "    return static_cast<const WTF::String&>($returnValue);\n";
-    }
-
-    return "    return $returnValue;\n";
-}
-
-sub GenerateImplementation
-{
-    my $object = shift;
-    my $interface = shift;
-
-    my @ancestorInterfaceNames = ();
-
-    if (@{$interface->parents} > 1) {
-        $codeGenerator->AddMethodsConstantsAndAttributesFromParentInterfaces($interface, \@ancestorInterfaceNames);
-    }
-
-    my $interfaceName = $interface->name;
-    my $className = GetClassName($interfaceName);
-    my $implClassName = GetImplClassName($interfaceName);
-    my $parentImplClassName = GetParentImplClassName($interface);
-    my $implClassNameWithNamespace = GetNamespaceForClass($implClassName) . "::" . $implClassName;
-    my $baseClass = "WebDOM$parentImplClassName";
-    my $conditional = $interface->extendedAttributes->{"Conditional"};
-
-    my $numAttributes = @{$interface->attributes};
-    my $numFunctions = @{$interface->functions};
-
-    # - Add default header template.
-    @implContentHeader = split("\r", $implementationLicenseTemplate);
-
-    # - INCLUDES -
-    push(@implContentHeader, "\n#include \"config.h\"\n");
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    push(@implContentHeader, "\n#if ${conditionalString}\n\n") if $conditionalString;
-    push(@implContentHeader, "#include \"$className.h\"\n\n");
-
-    $implIncludes{"WebExceptionHandler.h"} = 1;
-    $implIncludes{"$implClassName.h"} = 1;
-    @implContent = ();
-
-    push(@implContent, "#include <wtf/GetPtr.h>\n");
-    push(@implContent, "#include <wtf/RefPtr.h>\n\n");
-
-    # Private datastructure, encapsulating WebCore types
-    if ($baseClass eq "WebDOMObject") {
-        push(@implContent, "struct ${className}::${className}Private {\n");
-        push(@implContent, "    ${className}Private($implClassNameWithNamespace* object = 0)\n");
-        push(@implContent, "        : impl(object)\n");
-        push(@implContent, "    {\n");
-        push(@implContent, "    }\n\n");
-        push(@implContent, "    RefPtr<$implClassNameWithNamespace> impl;\n");
-        push(@implContent, "};\n\n");
-    }
-
-    # Constructor
-    push(@implContent, "${className}::$className()\n");
-    push(@implContent, "    : ${baseClass}()\n");
-    push(@implContent, "    , m_impl(0)\n") if ($baseClass eq "WebDOMObject");
-    push(@implContent, "{\n");
-    push(@implContent, "}\n\n");
-
-    push(@implContent, "${className}::$className($implClassNameWithNamespace* impl)\n");
-    if ($baseClass eq "WebDOMObject") {
-        push(@implContent, "    : ${baseClass}()\n");
-        push(@implContent, "    , m_impl(new ${className}Private(impl))\n");
-        push(@implContent, "{\n");
-        push(@implContent, "}\n\n");
-
-        push(@implContent, "${className}::${className}(const ${className}& copy)\n");
-        push(@implContent, "    : ${baseClass}()\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    m_impl = copy.impl() ? new ${className}Private(copy.impl()) : 0;\n");
-        push(@implContent, "}\n\n");
-
-        push(@implContent, "${className}& ${className}::operator\=(const ${className}& copy)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    delete m_impl;\n");
-        push(@implContent, "    m_impl = copy.impl() ? new ${className}Private(copy.impl()) : 0;\n");
-        push(@implContent, "    return *this;\n");
-        push(@implContent, "}\n\n");
-
-        push(@implContent, "$implClassNameWithNamespace* ${className}::impl() const\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    return m_impl ? WTF::getPtr(m_impl->impl) : 0;\n");
-        push(@implContent, "}\n\n");
-
-        # Destructor
-        push(@implContent, "${className}::~$className()\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    delete m_impl;\n");
-        push(@implContent, "    m_impl = 0;\n");
-        push(@implContent, "}\n\n");
-    } else {
-        push(@implContent, "    : ${baseClass}(impl)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "}\n\n");
-
-        push(@implContent, "$implClassNameWithNamespace* ${className}::impl() const\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    return static_cast<$implClassNameWithNamespace*>(${baseClass}::impl());\n");
-        push(@implContent, "}\n\n");
-    }
-
-    # START implementation
-    %attributeNames = ();
-
-    # - Attributes
-    if ($numAttributes > 0) {
-        foreach my $attribute (@{$interface->attributes}) {
-            next if SkipAttribute($attribute);
-            AddIncludesForType($attribute->signature->type);
-
-            my $idlType = $attribute->signature->type;
-
-            my $attributeName = $attribute->signature->name;
-            my $attributeType = GetCPPType($attribute->signature->type, 0);
-            my $attributeIsReadonly = ($attribute->type =~ /^readonly/);
-            my $attributeIsNullable = $attribute->signature->isNullable;
-
-            $attributeNames{$attributeName} = 1;
-
-            # - GETTER
-            my $getterSig = "$attributeType $className\:\:$attributeName() const\n";
-            my $hasGetterException = @{$attribute->getterExceptions};
-            my ($functionName, @arguments) = $codeGenerator->GetterExpression(\%implIncludes, $interfaceName, $attribute);
-            push(@arguments, "isNull") if $attributeIsNullable;
-            push(@arguments, "ec") if $hasGetterException;
-            if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
-                my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
-                $implIncludes{"${implementedBy}.h"} = 1;
-                unshift(@arguments, "impl()");
-                $functionName = "${implementedBy}::${functionName}";
-            } else {
-                $functionName = "impl()->${functionName}";
-            }
-
-            # Special cases
-            my $getterContentHead = "";
-            my $getterContentTail = "";
-            my @customGetterContent = (); 
-            if ($attribute->signature->extendedAttributes->{"ConvertToString"}) {
-                $getterContentHead = "WTF::String::number(";
-                $getterContentTail = ")";
-            } elsif ($attribute->signature->type eq "SerializedScriptValue") {
-                $getterContentTail = "->toString()";
-            } elsif (ConversionNeeded($attribute->signature->type)) {
-                $getterContentHead = "toWebKit(WTF::getPtr(";
-                $getterContentTail = "))";
-            }
-
-            my $getterContent = "${getterContentHead}${functionName}(" . join(", ", @arguments) . ")${getterContentTail}";
-            my $attributeConditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
-            push(@implContent, "#if ${attributeConditionalString}\n") if $attributeConditionalString;
-
-            push(@implContent, $getterSig);
-            push(@implContent, "{\n");
-            push(@implContent, AddEarlyReturnStatement($attributeType));
-            push(@implContent, @customGetterContent);
-
-            # FIXME: Should we return a default value when isNull == true?
-            if ($attributeIsNullable) {
-                push(@implContent, "    bool isNull = false;\n");
-            }
-
-            if ($hasGetterException) {
-                # Differentiated between when the return type is a pointer and
-                # not for white space issue (ie. Foo *result vs. int result).
-                if ($attributeType =~ /\*$/) {
-                    $getterContent = $attributeType . "result = " . $getterContent;
-                } else {
-                    $getterContent = $attributeType . " result = " . $getterContent;
-                }
-
-                push(@implContent, "    $exceptionInit\n");
-                push(@implContent, "    $getterContent;\n");
-                push(@implContent, "    $exceptionRaiseOnError\n");
-                push(@implContent, AddReturnStatement($attribute, "result"));
-            } else {
-                push(@implContent, AddReturnStatement($attribute, $getterContent));
-            }
-            push(@implContent, "}\n\n");
-
-            # - SETTER
-            if (!$attributeIsReadonly and !$attribute->signature->extendedAttributes->{"Replaceable"}) {
-                # Exception handling
-                my $hasSetterException = @{$attribute->setterExceptions};
-
-                my $coreSetterName = "set" . $codeGenerator->WK_ucfirst($attributeName);
-                my $setterName = "set" . ucfirst($attributeName);
-                my $argName = "new" . ucfirst($attributeName);
-                my $arg = GetCPPTypeGetter($argName, $idlType);
-
-                my $attributeType = GetCPPType($attribute->signature->type, 1);
-                push(@implContent, "void $className\:\:$setterName($attributeType $argName)\n");
-                push(@implContent, "{\n");
-                push(@implContent, AddEarlyReturnStatement());
-
-                push(@implContent, "    $exceptionInit\n") if $hasSetterException;
-
-                my ($functionName, @arguments) = $codeGenerator->SetterExpression(\%implIncludes, $interfaceName, $attribute);
-                push(@arguments, $arg);
-                push(@arguments, "ec") if $hasSetterException;
-                if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
-                    my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
-                    $implIncludes{"${implementedBy}.h"} = 1;
-                    unshift(@arguments, "impl()");
-                    $functionName = "${implementedBy}::${functionName}";
-                } else {
-                    $functionName = "impl()->${functionName}";
-                }
-                push(@implContent, "    ${functionName}(" . join(", ", @arguments) . ");\n");
-                push(@implContent, "    $exceptionRaiseOnError\n") if $hasSetterException;
-                push(@implContent, "}\n\n");
-            }
-
-            push(@implContent, "#endif\n") if $attributeConditionalString;
-        }
-    }
-
-    # - Functions
-    if ($numFunctions > 0) {
-        foreach my $function (@{$interface->functions}) {
-            # Treat CPPPureInterface as Custom as well, since the WebCore versions will take a script context as well
-            next if SkipFunction($function) || $interface->extendedAttributes->{"CPPPureInterface"};
-            next if ($function->signature->name eq "set" and $interface->extendedAttributes->{"TypedArray"});
-            AddIncludesForType($function->signature->type);
-
-            my $functionName = $function->signature->name;
-            my $returnType = GetCPPType($function->signature->type, 0);
-            my $hasParameters = @{$function->parameters};
-            my $raisesExceptions = @{$function->raisesExceptions};
-
-            my @parameterNames = ();
-            my @needsAssert = ();
-            my %needsCustom = ();
-
-            my $parameterIndex = 0;
-
-            my $functionSig = "$returnType $className\:\:$functionName(";
-            foreach my $param (@{$function->parameters}) {
-                my $paramName = $param->name;
-                my $paramType = GetCPPType($param->type, 1);
-
-                # make a new parameter name if the original conflicts with a property name
-                $paramName = "in" . ucfirst($paramName) if $attributeNames{$paramName};
-
-                AddIncludesForType($param->type);
-
-                my $idlType = $param->type;
-                my $implGetter = GetCPPTypeGetter($paramName, $idlType);
-
-                push(@parameterNames, $implGetter);
-                $needsCustom{"NodeToReturn"} = $paramName if $param->extendedAttributes->{"CustomReturn"};
-
-                unless ($codeGenerator->IsPrimitiveType($idlType) or $codeGenerator->IsStringType($idlType)) {
-                    push(@needsAssert, "    ASSERT($paramName);\n");
-                }
-
-                $functionSig .= ", " if $parameterIndex >= 1;
-                $functionSig .= "$paramType $paramName";
-                $parameterIndex++;
-            }
-
-            $functionSig .= ")";
-
-            my @functionContent = ();
-            push(@parameterNames, "ec") if $raisesExceptions;
-
-            my $content;
-            if ($function->signature->extendedAttributes->{"ImplementedBy"}) {
-                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
-                $implIncludes{"${implementedBy}.h"} = 1;
-                unshift(@parameterNames, "impl()");
-                $content = "WebCore::${implementedBy}::" . $codeGenerator->WK_lcfirst($functionName) . "(" . join(", ", @parameterNames) . ")";
-            } else {
-                $content = "impl()->" . $codeGenerator->WK_lcfirst($functionName) . "(" . join(", ", @parameterNames) . ")";
-            }
-
-            if ($returnType eq "void") {
-                # Special case 'void' return type.
-                if ($raisesExceptions) {
-                    push(@functionContent, "    $exceptionInit\n");
-                    push(@functionContent, "    $content;\n");
-                    push(@functionContent, "    $exceptionRaiseOnError\n");
-                } else {
-                    push(@functionContent, "    $content;\n");
-                }
-            } elsif (defined $needsCustom{"NodeToReturn"}) {
-                # TODO: This is important to enable, once we care about custom code!
-
-                # Special case the insertBefore, replaceChild, removeChild 
-                # and appendChild functions from DOMNode 
-                my $toReturn = $needsCustom{"NodeToReturn"};
-                if ($raisesExceptions) {
-                    push(@functionContent, "    $exceptionInit\n");
-                    push(@functionContent, "    if ($content)\n");
-                    push(@functionContent, "        return $toReturn;\n");
-                    push(@functionContent, "    $exceptionRaiseOnError\n");
-                    push(@functionContent, "    return $className();\n");
-                } else {
-                    push(@functionContent, "    if ($content)\n");
-                    push(@functionContent, "        return $toReturn;\n");
-                    push(@functionContent, "    return NULL;\n");
-                }
-            } else {
-                if (ConversionNeeded($function->signature->type)) {
-                    $content = "toWebKit(WTF::getPtr($content))";
-                }
-
-                if ($raisesExceptions) {
-                    # Differentiated between when the return type is a pointer and
-                    # not for white space issue (ie. Foo *result vs. int result).
-                    if ($returnType =~ /\*$/) {
-                        $content = $returnType . "result = " . $content;
-                    } else {
-                        $content = $returnType . " result = " . $content;
-                    }
-
-                    push(@functionContent, "    $exceptionInit\n");
-                    push(@functionContent, "    $content;\n");
-                    push(@functionContent, "    $exceptionRaiseOnError\n");
-                    push(@functionContent, "    return result;\n");
-                } else {
-                    push(@functionContent, "    return $content;\n");
-                }
-            }
-
-            my $conditionalString = $codeGenerator->GenerateConditionalString($function->signature);
-            push(@implContent, "\n#if ${conditionalString}\n") if $conditionalString;
-
-            push(@implContent, "$functionSig\n");
-            push(@implContent, "{\n");
-            push(@implContent, AddEarlyReturnStatement($returnType));
-            push(@implContent, @functionContent);
-            push(@implContent, "}\n\n");
-
-            push(@implContent, "#endif\n\n") if $conditionalString;
-
-            # Clear the hash
-            %needsCustom = ();
-        }
-    }
-
-    # END implementation
-
-    # Generate internal interfaces
-    my $namespace = GetNamespaceForClass($implClassName);
-    push(@implContent, "$namespace" . "::$implClassName* toWebCore(const $className& wrapper)\n");
-    push(@implContent, "{\n");
-    push(@implContent, "    return wrapper.impl();\n");
-    push(@implContent, "}\n\n");
-
-    push(@implContent, "$className toWebKit($namespace" . "::$implClassName* value)\n");
-    push(@implContent, "{\n");
-    push(@implContent, "    return $className(value);\n");
-    push(@implContent, "}\n");
-
-    # - End the ifdef conditional if necessary
-    push(@implContent, "\n#endif // ${conditionalString}\n") if $conditionalString;
-}
-
-sub WriteData
-{
-    my $object = shift;
-    my $dataNode = shift;
-    my $outputDir = shift;
-
-    # Open files for writing...
-    my $name = $dataNode->name;
-    my $prefix = FileNamePrefix;
-    my $headerFileName = "$outputDir/$prefix$name.h";
-    my $implFileName = "$outputDir/$prefix$name.cpp";
-
-    # Update a .h file if the contents are changed.
-    my $contents = join "", @headerContentHeader;
-    $contents .= "\n";
-    foreach my $class (sort keys(%headerForwardDeclarations)) {
-        if ($class =~ /::/) {
-            my $namespacePart = $class;
-            $namespacePart =~ s/::.*//;
-
-            my $classPart = $class;
-            $classPart =~ s/${namespacePart}:://;
-
-            $contents .= "namespace $namespacePart {\nclass $classPart;\n};\n\n";
-        } else {
-            $contents .= "class $class;\n"
-        }
-    }
-
-    my $hasForwardDeclarations = keys(%headerForwardDeclarations);
-    $contents .= "\n" if $hasForwardDeclarations;
-    $contents .= join "", @headerContent;
-    $codeGenerator->UpdateFile($headerFileName, $contents);
-
-    @headerContentHeader = ();
-    @headerContent = ();
-    %headerForwardDeclarations = ();
-
-    # Update a .cpp file if the contents are changed.
-    $contents = join "", @implContentHeader;
-
-    foreach my $include (sort keys(%implIncludes)) {
-        # "className.h" is already included right after config.h, silence check-webkit-style
-        next if $include eq "$name.h";
-        $contents .= "#include \"$include\"\n";
-    }
-
-    $contents .= join "", @implContent;
-    $codeGenerator->UpdateFile($implFileName, $contents);
-
-    @implContentHeader = ();
-    @implContent = ();
-    %implIncludes = ();
-}
-
-1;
diff --git a/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm b/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
deleted file mode 100644
index d416fa2..0000000
--- a/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
+++ /dev/null
@@ -1,1525 +0,0 @@
-# Copyright (C) 2008 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
-# Copyright (C) 2008 Martin Soto <soto@freedesktop.org>
-# Copyright (C) 2008 Alp Toker <alp@atoker.com>
-# Copyright (C) 2009 Adam Dingle <adam@yorba.org>
-# Copyright (C) 2009 Jim Nelson <jim@yorba.org>
-# Copyright (C) 2009, 2010 Igalia S.L.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Library General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Library General Public License for more details.
-#
-# You should have received a copy of the GNU Library General Public License
-# along with this library; see the file COPYING.LIB.  If not, write to
-# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307, USA.
-
-package CodeGeneratorGObject;
-
-use constant FileNamePrefix => "WebKitDOM";
-
-# Global Variables
-my %implIncludes = ();
-my %hdrIncludes = ();
-
-my $defineTypeMacro = "G_DEFINE_TYPE";
-my $defineTypeInterfaceImplementation = ")";
-my @txtEventListeners = ();
-my @txtInstallProps = ();
-my @txtSetProps = ();
-my @txtGetProps = ();
-
-my $className = "";
-
-# Default constructor
-sub new {
-    my $object = shift;
-    my $reference = { };
-
-    $codeGenerator = shift;
-
-    bless($reference, $object);
-}
-
-my $licenceTemplate = << "EOF";
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-EOF
-
-sub GetParentClassName {
-    my $interface = shift;
-
-    return "WebKitDOMObject" if @{$interface->parents} eq 0;
-    return "WebKitDOM" . $interface->parents(0);
-}
-
-sub GetParentImplClassName {
-    my $interface = shift;
-
-    return "Object" if @{$interface->parents} eq 0;
-    return $interface->parents(0);
-}
-
-# From String::CamelCase 0.01
-sub camelize
-{
-        my $s = shift;
-        join('', map{ ucfirst $_ } split(/(?<=[A-Za-z])_(?=[A-Za-z])|\b/, $s));
-}
-
-sub decamelize
-{
-        my $s = shift;
-        $s =~ s{([^a-zA-Z]?)([A-Z]*)([A-Z])([a-z]?)}{
-                my $fc = pos($s)==0;
-                my ($p0,$p1,$p2,$p3) = ($1,lc$2,lc$3,$4);
-                my $t = $p0 || $fc ? $p0 : '_';
-                $t .= $p3 ? $p1 ? "${p1}_$p2$p3" : "$p2$p3" : "$p1$p2";
-                $t;
-        }ge;
-        $s;
-}
-
-sub FixUpDecamelizedName {
-    my $classname = shift;
-
-    # FIXME: try to merge this somehow with the fixes in ClassNameToGobjectType
-    $classname =~ s/x_path/xpath/;
-    $classname =~ s/web_kit/webkit/;
-    $classname =~ s/htmli_frame/html_iframe/;
-
-    return $classname;
-}
-
-sub HumanReadableConditional {
-    my @conditional = split('_', shift);
-    my @upperCaseExceptions = ("SQL", "API");
-    my @humanReadable;
-
-    for $part (@conditional) {
-        if (!grep {$_ eq $part} @upperCaseExceptions) {
-            $part = camelize(lc($part));
-        }
-        push(@humanReadable, $part);
-    }
-
-    return join(' ', @humanReadable);
-}
-
-sub ClassNameToGObjectType {
-    my $className = shift;
-    my $CLASS_NAME = uc(decamelize($className));
-    # Fixup: with our prefix being 'WebKitDOM' decamelize can't get
-    # WebKitDOMCSS and similar names right, so we have to fix it
-    # manually.
-    $CLASS_NAME =~ s/DOMCSS/DOM_CSS/;
-    $CLASS_NAME =~ s/DOMHTML/DOM_HTML/;
-    $CLASS_NAME =~ s/DOMDOM/DOM_DOM/;
-    $CLASS_NAME =~ s/DOMCDATA/DOM_CDATA/;
-    $CLASS_NAME =~ s/DOMX_PATH/DOM_XPATH/;
-    $CLASS_NAME =~ s/DOM_WEB_KIT/DOM_WEBKIT/;
-    $CLASS_NAME =~ s/DOMUI/DOM_UI/;
-    $CLASS_NAME =~ s/HTMLI_FRAME/HTML_IFRAME/;
-    return $CLASS_NAME;
-}
-
-sub GetParentGObjType {
-    my $interface = shift;
-
-    return "WEBKIT_TYPE_DOM_OBJECT" if @{$interface->parents} eq 0;
-    return "WEBKIT_TYPE_DOM_" . ClassNameToGObjectType($interface->parents(0));
-}
-
-sub GetClassName {
-    my $name = shift;
-
-    return "WebKitDOM$name";
-}
-
-sub GetCoreObject {
-    my ($interfaceName, $name, $parameter) = @_;
-
-    return "WebCore::${interfaceName}* $name = WebKit::core($parameter);";
-}
-
-sub SkipAttribute {
-    my $attribute = shift;
-
-    if ($attribute->signature->extendedAttributes->{"Custom"}
-        || $attribute->signature->extendedAttributes->{"CustomGetter"}
-        || $attribute->signature->extendedAttributes->{"CustomSetter"}) {
-        return 1;
-    }
-
-    my $propType = $attribute->signature->type;
-    if ($propType =~ /Constructor$/) {
-        return 1;
-    }
-
-    return 1 if $attribute->isStatic;
-    return 1 if $codeGenerator->IsTypedArrayType($propType);
-
-    $codeGenerator->AssertNotSequenceType($propType);
-
-    if ($codeGenerator->GetArrayType($propType)) {
-        return 1;
-    }
-
-    if ($codeGenerator->IsEnumType($propType)) {
-        return 1;
-    }
-
-    # This is for DOMWindow.idl location attribute
-    if ($attribute->signature->name eq "location") {
-        return 1;
-    }
-
-    # This is for HTMLInput.idl valueAsDate
-    if ($attribute->signature->name eq "valueAsDate") {
-        return 1;
-    }
-
-    # This is for DOMWindow.idl Crypto attribute
-    if ($attribute->signature->type eq "Crypto") {
-        return 1;
-    }
-
-    # Skip indexed database attributes for now, they aren't yet supported for the GObject generator.
-    if ($attribute->signature->name =~ /^(?:webkit)?[Ii]ndexedDB/ or $attribute->signature->name =~ /^(?:webkit)?IDB/) {
-        return 1;
-    }
-
-    return 0;
-}
-
-sub SkipFunction {
-    my $function = shift;
-    my $decamelize = shift;
-    my $prefix = shift;
-
-    my $functionName = "webkit_dom_" . $decamelize . "_" . $prefix . decamelize($function->signature->name);
-    my $functionReturnType = $prefix eq "set_" ? "void" : $function->signature->type;
-    my $isCustomFunction = $function->signature->extendedAttributes->{"Custom"};
-    my $callWith = $function->signature->extendedAttributes->{"CallWith"};
-    my $isUnsupportedCallWith = $codeGenerator->ExtendedAttributeContains($callWith, "ScriptArguments") || $codeGenerator->ExtendedAttributeContains($callWith, "CallStack");
-
-    if (($isCustomFunction || $isUnsupportedCallWith) &&
-        $functionName ne "webkit_dom_node_replace_child" &&
-        $functionName ne "webkit_dom_node_insert_before" &&
-        $functionName ne "webkit_dom_node_remove_child" &&
-        $functionName ne "webkit_dom_node_append_child" &&
-        $functionName ne "webkit_dom_html_collection_item" &&
-        $functionName ne "webkit_dom_html_collection_named_item") {
-        return 1;
-    }
-
-    if ($function->signature->name eq "getSVGDocument") {
-        return 1;
-    }
-
-    if ($function->signature->name eq "getCSSCanvasContext") {
-        return 1;
-    }
-
-    if ($function->signature->name eq "setRangeText" && @{$function->parameters} == 1) {
-        return 1;
-    }
-
-    # This is for DataTransferItemList.idl add(File) method
-    if ($functionName eq "webkit_dom_data_transfer_item_list_add" &&
-        @{$function->parameters} == 1) {
-        return 1;
-    }
-
-    if ($function->signature->name eq "timeEnd") {
-        return 1;
-    }
-
-    if ($codeGenerator->GetSequenceType($functionReturnType)) {
-        return 1;
-    }
-
-    if ($function->signature->name eq "supports" && @{$function->parameters} == 1) {
-        return 1;
-    }
-
-    # Skip functions that have ["Callback"] parameters, because this
-    # code generator doesn't know how to auto-generate callbacks.
-    # Skip functions that have "MediaQueryListListener" or sequence<T> parameters, because this
-    # code generator doesn't know how to auto-generate MediaQueryListListener or sequence<T>.
-    foreach my $param (@{$function->parameters}) {
-        if ($param->extendedAttributes->{"Callback"} ||
-            $param->extendedAttributes->{"Clamp"} ||
-            $param->type eq "MediaQueryListListener" ||
-            $codeGenerator->GetSequenceType($param->type)) {
-            return 1;
-        }
-    }
-
-    return 0;
-}
-
-# Name type used in the g_value_{set,get}_* functions
-sub GetGValueTypeName {
-    my $type = shift;
-
-    my %types = ("DOMString", "string",
-                 "DOMTimeStamp", "uint",
-                 "float", "float",
-                 "double", "double",
-                 "boolean", "boolean",
-                 "char", "char",
-                 "long", "long",
-                 "long long", "int64",
-                 "short", "int",
-                 "uchar", "uchar",
-                 "unsigned", "uint",
-                 "int", "int",
-                 "unsigned int", "uint",
-                 "unsigned long long", "uint64", 
-                 "unsigned long", "ulong",
-                 "unsigned short", "uint");
-
-    return $types{$type} ? $types{$type} : "object";
-}
-
-# Name type used in C declarations
-sub GetGlibTypeName {
-    my $type = shift;
-    my $name = GetClassName($type);
-
-    my %types = ("DOMString", "gchar*",
-                 "DOMTimeStamp", "guint32",
-                 "CompareHow", "gushort",
-                 "float", "gfloat",
-                 "double", "gdouble",
-                 "boolean", "gboolean",
-                 "char", "gchar",
-                 "long", "glong",
-                 "long long", "gint64",
-                 "short", "gshort",
-                 "uchar", "guchar",
-                 "unsigned", "guint",
-                 "int", "gint",
-                 "unsigned int", "guint",
-                 "unsigned long", "gulong",
-                 "unsigned long long", "guint64",
-                 "unsigned short", "gushort",
-                 "void", "void");
-
-    return $types{$type} ? $types{$type} : "$name*";
-}
-
-sub IsGDOMClassType {
-    my $type = shift;
-
-    return 0 if $codeGenerator->IsNonPointerType($type) || $codeGenerator->IsStringType($type);
-    return 1;
-}
-
-sub GetReadableProperties {
-    my $properties = shift;
-
-    my @result = ();
-
-    foreach my $property (@{$properties}) {
-        if (!SkipAttribute($property)) {
-            push(@result, $property);
-        }
-    }
-
-    return @result;
-}
-
-sub GetWriteableProperties {
-    my $properties = shift;
-    my @result = ();
-
-    foreach my $property (@{$properties}) {
-        my $writeable = $property->type !~ /^readonly/;
-        my $gtype = GetGValueTypeName($property->signature->type);
-        my $hasGtypeSignature = ($gtype eq "boolean" || $gtype eq "float" || $gtype eq "double" ||
-                                 $gtype eq "uint64" || $gtype eq "ulong" || $gtype eq "long" || 
-                                 $gtype eq "uint" || $gtype eq "ushort" || $gtype eq "uchar" ||
-                                 $gtype eq "char" || $gtype eq "string");
-        # FIXME: We are not generating setters for 'Replaceable'
-        # attributes now, but we should somehow.
-        my $replaceable = $property->signature->extendedAttributes->{"Replaceable"};
-        if ($writeable && $hasGtypeSignature && !$replaceable) {
-            push(@result, $property);
-        }
-    }
-
-    return @result;
-}
-
-sub GenerateConditionalWarning
-{
-    my $node = shift;
-    my $indentSize = shift;
-    if (!$indentSize) {
-        $indentSize = 4;
-    }
-
-    my $conditional = $node->extendedAttributes->{"Conditional"};
-    my @warn;
-
-    if ($conditional) {
-        if ($conditional =~ /&/) {
-            my @splitConditionals = split(/&/, $conditional);
-            foreach $condition (@splitConditionals) {
-                push(@warn, "#if !ENABLE($condition)\n");
-                push(@warn, ' ' x $indentSize . "WEBKIT_WARN_FEATURE_NOT_PRESENT(\"" . HumanReadableConditional($condition) . "\")\n");
-                push(@warn, "#endif\n");
-            }
-        } elsif ($conditional =~ /\|/) {
-            foreach $condition (split(/\|/, $conditional)) {
-                push(@warn, ' ' x $indentSize . "WEBKIT_WARN_FEATURE_NOT_PRESENT(\"" . HumanReadableConditional($condition) . "\")\n");
-            }
-        } else {
-            push(@warn, ' ' x $indentSize . "WEBKIT_WARN_FEATURE_NOT_PRESENT(\"" . HumanReadableConditional($conditional) . "\")\n");
-        }
-    }
-
-    return @warn;
-}
-
-sub GenerateProperty {
-    my $attribute = shift;
-    my $interfaceName = shift;
-    my @writeableProperties = @{shift @_};
-    my $parentNode = shift;
-
-    my $conditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
-    my @conditionalWarn = GenerateConditionalWarning($attribute->signature, 8);
-    my $parentConditionalString = $codeGenerator->GenerateConditionalString($parentNode);
-    my @parentConditionalWarn = GenerateConditionalWarning($parentNode, 8);
-    my $camelPropName = $attribute->signature->name;
-    my $setPropNameFunction = $codeGenerator->WK_ucfirst($camelPropName);
-    my $getPropNameFunction = $codeGenerator->WK_lcfirst($camelPropName);
-
-    my $propName = decamelize($camelPropName);
-    my $propNameCaps = uc($propName);
-    $propName =~ s/_/-/g;
-    my ${propEnum} = "PROP_${propNameCaps}";
-    push(@cBodyProperties, "    ${propEnum},\n");
-
-    my $propType = $attribute->signature->type;
-    my ${propGType} = decamelize($propType);
-    my ${ucPropGType} = uc($propGType);
-
-    my $gtype = GetGValueTypeName($propType);
-    my $gparamflag = "WEBKIT_PARAM_READABLE";
-    my $writeable = $attribute->type !~ /^readonly/;
-    my $const = "read-only ";
-    my $custom = $attribute->signature->extendedAttributes->{"Custom"};
-    if ($writeable && $custom) {
-        $const = "read-only (due to custom functions needed in webkitdom)";
-        return;
-    }
-    if ($writeable && !$custom) {
-        $gparamflag = "WEBKIT_PARAM_READWRITE";
-        $const = "read-write ";
-    }
-
-    my $type = GetGlibTypeName($propType);
-    $nick = decamelize("${interfaceName}_${propName}");
-    $long = "${const} ${type} ${interfaceName}.${propName}";
-
-    my $convertFunction = "";
-    if ($gtype eq "string") {
-        $convertFunction = "WTF::String::fromUTF8";
-    }
-
-    my ($getterFunctionName, @getterArguments) = $codeGenerator->GetterExpression(\%implIncludes, $interfaceName, $attribute);
-    my ($setterFunctionName, @setterArguments) = $codeGenerator->SetterExpression(\%implIncludes, $interfaceName, $attribute);
-
-    if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
-        my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
-        $implIncludes{"${implementedBy}.h"} = 1;
-        push(@setterArguments, "${convertFunction}(g_value_get_$gtype(value))");
-        unshift(@getterArguments, "coreSelf");
-        unshift(@setterArguments, "coreSelf");
-        $getterFunctionName = "WebCore::${implementedBy}::$getterFunctionName";
-        $setterFunctionName = "WebCore::${implementedBy}::$setterFunctionName";
-    } else {
-        push(@setterArguments, "${convertFunction}(g_value_get_$gtype(value))");
-        $getterFunctionName = "coreSelf->$getterFunctionName";
-        $setterFunctionName = "coreSelf->$setterFunctionName";
-    }
-    push(@getterArguments, "isNull") if $attribute->signature->isNullable;
-    push(@getterArguments, "ec") if @{$attribute->getterExceptions};
-    push(@setterArguments, "ec") if @{$attribute->setterExceptions};
-
-    if (grep {$_ eq $attribute} @writeableProperties) {
-        push(@txtSetProps, "    case ${propEnum}: {\n");
-        push(@txtSetProps, "#if ${parentConditionalString}\n") if $parentConditionalString;
-        push(@txtSetProps, "#if ${conditionalString}\n") if $conditionalString;
-        push(@txtSetProps, "        WebCore::ExceptionCode ec = 0;\n") if @{$attribute->setterExceptions};
-        push(@txtSetProps, "        ${setterFunctionName}(" . join(", ", @setterArguments) . ");\n");
-        push(@txtSetProps, "#else\n") if $conditionalString;
-        push(@txtSetProps, @conditionalWarn) if scalar(@conditionalWarn);
-        push(@txtSetProps, "#endif /* ${conditionalString} */\n") if $conditionalString;
-        push(@txtSetProps, "#else\n") if $parentConditionalString;
-        push(@txtSetProps, @parentConditionalWarn) if scalar(@parentConditionalWarn);
-        push(@txtSetProps, "#endif /* ${parentConditionalString} */\n") if $parentConditionalString;
-        push(@txtSetProps, "        break;\n    }\n");
-    }
-
-    push(@txtGetProps, "    case ${propEnum}: {\n");
-    push(@txtGetProps, "#if ${parentConditionalString}\n") if $parentConditionalString;
-    push(@txtGetProps, "#if ${conditionalString}\n") if $conditionalString;
-    push(@txtGetProps, "        bool isNull = false;\n") if $attribute->signature->isNullable;
-    push(@txtGetProps, "        WebCore::ExceptionCode ec = 0;\n") if @{$attribute->getterExceptions};
-
-    # FIXME: Should we return a default value when isNull == true?
-
-    my $postConvertFunction = "";
-    my $done = 0;
-    if ($gtype eq "string") {
-        push(@txtGetProps, "        g_value_take_string(value, convertToUTF8String(${getterFunctionName}(" . join(", ", @getterArguments) . ")));\n");
-        $done = 1;
-    } elsif ($gtype eq "object") {
-        push(@txtGetProps, "        RefPtr<WebCore::${propType}> ptr = ${getterFunctionName}(" . join(", ", @getterArguments) . ");\n");
-        push(@txtGetProps, "        g_value_set_object(value, WebKit::kit(ptr.get()));\n");
-        $done = 1;
-    }
-
-    # FIXME: get rid of this glitch?
-    my $_gtype = $gtype;
-    if ($gtype eq "ushort") {
-        $_gtype = "uint";
-    }
-
-    if (!$done) {
-        if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
-            my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
-            $implIncludes{"${implementedBy}.h"} = 1;
-            push(@txtGetProps, "        g_value_set_$_gtype(value, ${convertFunction}${getterFunctionName}(" . join(", ", @getterArguments) .  ")${postConvertFunction});\n");
-        } else {
-            push(@txtGetProps, "        g_value_set_$_gtype(value, ${convertFunction}${getterFunctionName}(" . join(", ", @getterArguments) . ")${postConvertFunction});\n");
-        }
-    }
-
-    push(@txtGetProps, "#else\n") if $conditionalString;
-    push(@txtGetProps, @conditionalWarn) if scalar(@conditionalWarn);
-    push(@txtGetProps, "#endif /* ${conditionalString} */\n") if $conditionalString;
-    push(@txtGetProps, "#else\n") if $parentConditionalString;
-    push(@txtGetProps, @parentConditionalWarn) if scalar(@parentConditionalWarn);
-    push(@txtGetProps, "#endif /* ${parentConditionalString} */\n") if $parentConditionalString;
-    push(@txtGetProps, "        break;\n    }\n");
-
-    my %param_spec_options = ("int", "G_MININT, /* min */\nG_MAXINT, /* max */\n0, /* default */",
-                              "boolean", "FALSE, /* default */",
-                              "float", "-G_MAXFLOAT, /* min */\nG_MAXFLOAT, /* max */\n0.0, /* default */",
-                              "double", "-G_MAXDOUBLE, /* min */\nG_MAXDOUBLE, /* max */\n0.0, /* default */",
-                              "uint64", "0, /* min */\nG_MAXUINT64, /* min */\n0, /* default */",
-                              "long", "G_MINLONG, /* min */\nG_MAXLONG, /* max */\n0, /* default */",
-                              "int64", "G_MININT64, /* min */\nG_MAXINT64, /* max */\n0, /* default */",
-                              "ulong", "0, /* min */\nG_MAXULONG, /* max */\n0, /* default */",
-                              "uint", "0, /* min */\nG_MAXUINT, /* max */\n0, /* default */",
-                              "ushort", "0, /* min */\nG_MAXUINT16, /* max */\n0, /* default */",
-                              "uchar", "G_MININT8, /* min */\nG_MAXINT8, /* max */\n0, /* default */",
-                              "char", "0, /* min */\nG_MAXUINT8, /* max */\n0, /* default */",
-                              "string", "\"\", /* default */",
-                              "object", "WEBKIT_TYPE_DOM_${ucPropGType}, /* gobject type */");
-
-    my $txtInstallProp = << "EOF";
-    g_object_class_install_property(gobjectClass,
-                                    ${propEnum},
-                                    g_param_spec_${_gtype}("${propName}", /* name */
-                                                           "$nick", /* short description */
-                                                           "$long", /* longer - could do with some extra doc stuff here */
-                                                           $param_spec_options{$gtype}
-                                                           ${gparamflag}));
-EOF
-    push(@txtInstallProps, $txtInstallProp);
-}
-
-sub GenerateProperties {
-    my ($object, $interfaceName, $interface) = @_;
-
-    my $clsCaps = substr(ClassNameToGObjectType($className), 12);
-    my $lowerCaseIfaceName = "webkit_dom_" . (FixUpDecamelizedName(decamelize($interfaceName)));
-    my $parentImplClassName = GetParentImplClassName($interface);
-
-    my $conditionGuardStart = "";
-    my $conditionGuardEnd = "";
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    if ($conditionalString) {
-        $conditionGuardStart = "#if ${conditionalString}";
-        $conditionGuardEnd = "#endif // ${conditionalString}";
-    }
-
-    # Properties
-    my $implContent = "";
-    my @readableProperties = GetReadableProperties($interface->attributes);
-    my @writeableProperties = GetWriteableProperties(\@readableProperties);
-    my $numProperties = scalar @readableProperties;
-
-    # Properties
-    my $privFunction = GetCoreObject($interfaceName, "coreSelf", "self");
-    if ($numProperties > 0) {
-        $implContent = << "EOF";
-enum {
-    PROP_0,
-EOF
-        push(@cBodyProperties, $implContent);
-
-        my $txtGetProp = << "EOF";
-static void ${lowerCaseIfaceName}_get_property(GObject* object, guint propertyId, GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-EOF
-        push(@txtGetProps, $txtGetProp);
-        $txtGetProp = << "EOF";
-$conditionGuardStart
-    ${className}* self = WEBKIT_DOM_${clsCaps}(object);
-    $privFunction
-$conditionGuardEnd
-EOF
-        push(@txtGetProps, $txtGetProp);
-
-        $txtGetProp = << "EOF";
-    switch (propertyId) {
-EOF
-        push(@txtGetProps, $txtGetProp);
-
-        if (scalar @writeableProperties > 0) {
-            my $txtSetProps = << "EOF";
-static void ${lowerCaseIfaceName}_set_property(GObject* object, guint propertyId, const GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-EOF
-            push(@txtSetProps, $txtSetProps);
-
-            $txtSetProps = << "EOF";
-$conditionGuardStart
-    ${className}* self = WEBKIT_DOM_${clsCaps}(object);
-    $privFunction
-$conditionGuardEnd
-EOF
-            push(@txtSetProps, $txtSetProps);
-
-            $txtSetProps = << "EOF";
-    switch (propertyId) {
-EOF
-            push(@txtSetProps, $txtSetProps);
-        }
-
-        foreach my $attribute (@readableProperties) {
-            if ($attribute->signature->type ne "EventListener" &&
-                $attribute->signature->type ne "MediaQueryListListener") {
-                GenerateProperty($attribute, $interfaceName, \@writeableProperties, $interface);
-            }
-        }
-
-        push(@cBodyProperties, "};\n\n");
-
-        $txtGetProp = << "EOF";
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-EOF
-        push(@txtGetProps, $txtGetProp);
-
-        if (scalar @writeableProperties > 0) {
-            $txtSetProps = << "EOF";
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-EOF
-            push(@txtSetProps, $txtSetProps);
-        }
-    }
-
-    # Do not insert extra spaces when interpolating array variables
-    $" = "";
-
-    if ($parentImplClassName eq "Object") {
-        $implContent = << "EOF";
-static void ${lowerCaseIfaceName}_finalize(GObject* object)
-{
-    ${className}Private* priv = WEBKIT_DOM_${clsCaps}_GET_PRIVATE(object);
-$conditionGuardStart
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-$conditionGuardEnd
-    priv->~${className}Private();
-    G_OBJECT_CLASS(${lowerCaseIfaceName}_parent_class)->finalize(object);
-}
-
-EOF
-        push(@cBodyProperties, $implContent);
-    }
-
-    if ($numProperties > 0) {
-        if (scalar @writeableProperties > 0) {
-            push(@cBodyProperties, @txtSetProps);
-            push(@cBodyProperties, "\n");
-        }
-        push(@cBodyProperties, @txtGetProps);
-        push(@cBodyProperties, "\n");
-    }
-
-    # Add a constructor implementation only for direct subclasses of Object to make sure
-    # that the WebCore wrapped object is added only once to the DOM cache. The DOM garbage
-    # collector works because Node is a direct subclass of Object and the version of
-    # DOMObjectCache::put() that receives a Node (which is the one setting the frame) is
-    # always called for DOM objects derived from Node.
-    if ($parentImplClassName eq "Object") {
-        $implContent = << "EOF";
-static GObject* ${lowerCaseIfaceName}_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(${lowerCaseIfaceName}_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-$conditionGuardStart
-    ${className}Private* priv = WEBKIT_DOM_${clsCaps}_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::${interfaceName}*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-$conditionGuardEnd
-    return object;
-}
-
-EOF
-        push(@cBodyProperties, $implContent);
-    }
-
-    $implContent = << "EOF";
-static void ${lowerCaseIfaceName}_class_init(${className}Class* requestClass)
-{
-EOF
-    push(@cBodyProperties, $implContent);
-
-    if ($parentImplClassName eq "Object" || $numProperties > 0) {
-        push(@cBodyProperties, "    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);\n");
-
-        if ($parentImplClassName eq "Object") {
-            push(@cBodyProperties, "    g_type_class_add_private(gobjectClass, sizeof(${className}Private));\n");
-            push(@cBodyProperties, "    gobjectClass->constructor = ${lowerCaseIfaceName}_constructor;\n");
-            push(@cBodyProperties, "    gobjectClass->finalize = ${lowerCaseIfaceName}_finalize;\n");
-        }
-
-        if ($numProperties > 0) {
-            if (scalar @writeableProperties > 0) {
-                push(@cBodyProperties, "    gobjectClass->set_property = ${lowerCaseIfaceName}_set_property;\n");
-            }
-            push(@cBodyProperties, "    gobjectClass->get_property = ${lowerCaseIfaceName}_get_property;\n");
-            push(@cBodyProperties, "\n");
-            push(@cBodyProperties, @txtInstallProps);
-        }
-    }
-    $implContent = << "EOF";
-}
-
-static void ${lowerCaseIfaceName}_init(${className}* request)
-{
-EOF
-    push(@cBodyProperties, $implContent);
-
-    if ($parentImplClassName eq "Object") {
-        $implContent = << "EOF";
-    ${className}Private* priv = WEBKIT_DOM_${clsCaps}_GET_PRIVATE(request);
-    new (priv) ${className}Private();
-EOF
-        push(@cBodyProperties, $implContent);
-    }
-    $implContent = << "EOF";
-}
-
-EOF
-    push(@cBodyProperties, $implContent);
-}
-
-sub GenerateHeader {
-    my ($object, $interfaceName, $parentClassName) = @_;
-
-    my $implContent = "";
-
-    # Add the default header template
-    @hPrefix = split("\r", $licenceTemplate);
-    push(@hPrefix, "\n");
-
-    # Force single header include.
-    my $headerCheck = << "EOF";
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-EOF
-    push(@hPrefix, $headerCheck);
-
-    # Header guard
-    my $guard = $className . "_h";
-
-    @hPrefixGuard = << "EOF";
-#ifndef $guard
-#define $guard
-
-EOF
-
-    $implContent = << "EOF";
-G_BEGIN_DECLS
-
-EOF
-
-    push(@hBodyPre, $implContent);
-
-    my $decamelize = FixUpDecamelizedName(decamelize($interfaceName));
-    my $clsCaps = uc($decamelize);
-    my $lowerCaseIfaceName = "webkit_dom_" . ($decamelize);
-
-    $implContent = << "EOF";
-#define WEBKIT_TYPE_DOM_${clsCaps}            (${lowerCaseIfaceName}_get_type())
-#define WEBKIT_DOM_${clsCaps}(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_${clsCaps}, ${className}))
-#define WEBKIT_DOM_${clsCaps}_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_${clsCaps}, ${className}Class)
-#define WEBKIT_DOM_IS_${clsCaps}(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_${clsCaps}))
-#define WEBKIT_DOM_IS_${clsCaps}_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_${clsCaps}))
-#define WEBKIT_DOM_${clsCaps}_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_${clsCaps}, ${className}Class))
-
-struct _${className} {
-    ${parentClassName} parent_instance;
-};
-
-struct _${className}Class {
-    ${parentClassName}Class parent_class;
-};
-
-WEBKIT_API GType
-${lowerCaseIfaceName}_get_type (void);
-
-EOF
-
-    push(@hBody, $implContent);
-}
-
-sub GetGReturnMacro {
-    my ($paramName, $paramIDLType, $returnType) = @_;
-
-    my $condition;
-    if ($paramIDLType eq "GError") {
-        $condition = "!$paramName || !*$paramName";
-    } elsif (IsGDOMClassType($paramIDLType)) {
-        my $paramTypeCaps = uc(FixUpDecamelizedName(decamelize($paramIDLType)));
-        $condition = "WEBKIT_DOM_IS_${paramTypeCaps}($paramName)";
-    } else {
-        $condition = "$paramName";
-    }
-
-    my $macro;
-    if ($returnType ne "void") {
-        $defaultReturn = $returnType eq "gboolean" ? "FALSE" : 0;
-        $macro = "    g_return_val_if_fail($condition, $defaultReturn);\n";
-    } else {
-        $macro = "    g_return_if_fail($condition);\n";
-    }
-
-    return $macro;
-}
-
-sub GenerateFunction {
-    my ($object, $interfaceName, $function, $prefix, $parentNode) = @_;
-
-    my $decamelize = FixUpDecamelizedName(decamelize($interfaceName));
-
-    if ($object eq "MediaQueryListListener") {
-        return;
-    }
-
-    if (SkipFunction($function, $decamelize, $prefix)) {
-        return;
-    }
-
-    return if ($function->signature->name eq "set" and $parentNode->extendedAttributes->{"TypedArray"});
-
-    my $functionSigType = $prefix eq "set_" ? "void" : $function->signature->type;
-    my $functionName = "webkit_dom_" . $decamelize . "_" . $prefix . decamelize($function->signature->name);
-    my $returnType = GetGlibTypeName($functionSigType);
-    my $returnValueIsGDOMType = IsGDOMClassType($functionSigType);
-
-    my $conditionalString = $codeGenerator->GenerateConditionalString($function->signature);
-    my $parentConditionalString = $codeGenerator->GenerateConditionalString($parentNode);
-    my @conditionalWarn = GenerateConditionalWarning($function->signature);
-    my @parentConditionalWarn = GenerateConditionalWarning($parentNode);
-
-    my $functionSig = "${className}* self";
-
-    my @callImplParams;
-
-    foreach my $param (@{$function->parameters}) {
-        my $paramIDLType = $param->type;
-        if ($paramIDLType eq "EventListener" || $paramIDLType eq "MediaQueryListListener") {
-            # EventListeners are handled elsewhere.
-            return;
-        }
-
-        my $paramType = GetGlibTypeName($paramIDLType);
-        my $const = $paramType eq "gchar*" ? "const " : "";
-        my $paramName = $param->name;
-
-        $functionSig .= ", ${const}$paramType $paramName";
-
-        my $paramIsGDOMType = IsGDOMClassType($paramIDLType);
-        if ($paramIsGDOMType) {
-            if ($paramIDLType ne "any") {
-                $implIncludes{"WebKitDOM${paramIDLType}Private.h"} = 1;
-            }
-        }
-        if ($paramIsGDOMType || ($paramIDLType eq "DOMString") || ($paramIDLType eq "CompareHow")) {
-            $paramName = "converted" . $codeGenerator->WK_ucfirst($paramName);
-        }
-        push(@callImplParams, $paramName);
-    }
-
-    if ($returnType ne "void" && $returnValueIsGDOMType && $functionSigType ne "any") {
-        if ($functionSigType ne "EventTarget") {
-            $implIncludes{"WebKitDOM${functionSigType}Private.h"} = 1;
-        } else {
-            $implIncludes{"WebKitDOM${functionSigType}.h"} = 1;
-        }
-    }
-
-    if (@{$function->raisesExceptions}) {
-        $functionSig .= ", GError** error";
-    }
-
-    # Insert introspection annotations
-    push(@hBody, "/**\n");
-    push(@hBody, " * ${functionName}:\n");
-    push(@hBody, " * \@self: A #${className}\n");
-
-    foreach my $param (@{$function->parameters}) {
-        my $paramType = GetGlibTypeName($param->type);
-        # $paramType can have a trailing * in some cases
-        $paramType =~ s/\*$//;
-        my $paramName = $param->name;
-        push(@hBody, " * \@${paramName}: A #${paramType}\n");
-    }
-    if(@{$function->raisesExceptions}) {
-        push(@hBody, " * \@error: #GError\n");
-    }
-    push(@hBody, " *\n");
-    if (IsGDOMClassType($function->signature->type)) {
-        push(@hBody, " * Returns: (transfer none):\n");
-    } else {
-        push(@hBody, " * Returns:\n");
-    }
-    push(@hBody, " *\n");
-    push(@hBody, "**/\n");
-
-    push(@hBody, "WEBKIT_API $returnType\n$functionName($functionSig);\n");
-    push(@hBody, "\n");
-
-    push(@cBody, "$returnType\n$functionName($functionSig)\n{\n");
-    push(@cBody, "#if ${parentConditionalString}\n") if $parentConditionalString;
-    push(@cBody, "#if ${conditionalString}\n") if $conditionalString;
-
-    push(@cBody, "    WebCore::JSMainThreadNullState state;\n");
-
-    # g_return macros to check parameters of public methods.
-    $gReturnMacro = GetGReturnMacro("self", $interfaceName, $returnType);
-    push(@cBody, $gReturnMacro);
-
-    foreach my $param (@{$function->parameters}) {
-        my $paramName = $param->name;
-        my $paramIDLType = $param->type;
-        my $paramTypeIsPrimitive = $codeGenerator->IsPrimitiveType($paramIDLType);
-        my $paramIsGDOMType = IsGDOMClassType($paramIDLType);
-        if (!$paramTypeIsPrimitive) {
-            # FIXME: Temporary hack for generating a proper implementation
-            #        of the webkit_dom_document_evaluate function (Bug-ID: 42115)
-            if (!(($functionName eq "webkit_dom_document_evaluate") && ($paramIDLType eq "XPathResult"))) {
-                $gReturnMacro = GetGReturnMacro($paramName, $paramIDLType, $returnType);
-                push(@cBody, $gReturnMacro);
-            }
-        }
-    }
-
-    if (@{$function->raisesExceptions}) {
-        $gReturnMacro = GetGReturnMacro("error", "GError", $returnType);
-        push(@cBody, $gReturnMacro);
-    }
-
-    # The WebKit::core implementations check for null already; no need to duplicate effort.
-    push(@cBody, "    WebCore::${interfaceName}* item = WebKit::core(self);\n");
-
-    $returnParamName = "";
-    foreach my $param (@{$function->parameters}) {
-        my $paramIDLType = $param->type;
-        my $paramName = $param->name;
-
-        my $paramIsGDOMType = IsGDOMClassType($paramIDLType);
-        $convertedParamName = "converted" . $codeGenerator->WK_ucfirst($paramName);
-        if ($paramIDLType eq "DOMString") {
-            push(@cBody, "    WTF::String ${convertedParamName} = WTF::String::fromUTF8($paramName);\n");
-        } elsif ($paramIDLType eq "CompareHow") {
-            push(@cBody, "    WebCore::Range::CompareHow ${convertedParamName} = static_cast<WebCore::Range::CompareHow>($paramName);\n");
-        } elsif ($paramIsGDOMType) {
-            push(@cBody, "    WebCore::${paramIDLType}* ${convertedParamName} = WebKit::core($paramName);\n");
-        }
-        $returnParamName = $convertedParamName if $param->extendedAttributes->{"CustomReturn"};
-    }
-
-    my $assign = "";
-    my $assignPre = "";
-    my $assignPost = "";
-
-    # We need to special-case these Node methods because their C++
-    # signature is different from what we'd expect given their IDL
-    # description; see Node.h.
-    my $functionHasCustomReturn = $functionName eq "webkit_dom_node_append_child" ||
-        $functionName eq "webkit_dom_node_insert_before" ||
-        $functionName eq "webkit_dom_node_replace_child" ||
-        $functionName eq "webkit_dom_node_remove_child";
-         
-    if ($returnType ne "void" && !$functionHasCustomReturn) {
-        if ($returnValueIsGDOMType) {
-            $assign = "RefPtr<WebCore::${functionSigType}> gobjectResult = ";
-            $assignPre = "WTF::getPtr(";
-            $assignPost = ")";
-        } else {
-            $assign = "${returnType} result = ";
-        }
-    }
-
-    # FIXME: Should we return a default value when isNull == true?
-    if ($function->signature->isNullable) {
-        push(@cBody, "    bool isNull = false;\n");
-        push(@callImplParams, "isNull");
-    }
-
-    if (@{$function->raisesExceptions}) {
-        push(@cBody, "    WebCore::ExceptionCode ec = 0;\n");
-        push(@callImplParams, "ec");
-    }
-
-    my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementedAs"} || $function->signature->name;
-
-    if ($functionHasCustomReturn) {
-        push(@cBody, "    bool ok = item->${functionImplementationName}(" . join(", ", @callImplParams) . ");\n");
-        my $customNodeAppendChild = << "EOF";
-    if (ok)
-        return WebKit::kit($returnParamName);
-EOF
-        push(@cBody, $customNodeAppendChild);
-    
-        if(@{$function->raisesExceptions}) {
-            my $exceptionHandling = << "EOF";
-
-    WebCore::ExceptionCodeDescription ecdesc(ec);
-    g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-EOF
-            push(@cBody, $exceptionHandling);
-        }
-        push(@cBody, "    return 0;\n");
-        push(@cBody, "}\n\n");
-        return;
-    } elsif ($functionSigType eq "DOMString") {
-        my $getterContentHead;
-        if ($prefix) {
-            my ($functionName, @arguments) = $codeGenerator->GetterExpression(\%implIncludes, $interfaceName, $function);
-            push(@arguments, @callImplParams);
-            if ($function->signature->extendedAttributes->{"ImplementedBy"}) {
-                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
-                $implIncludes{"${implementedBy}.h"} = 1;
-                unshift(@arguments, "item");
-                $functionName = "WebCore::${implementedBy}::${functionName}";
-            } else {
-                $functionName = "item->${functionName}";
-            }
-            $getterContentHead = "${assign}convertToUTF8String(${functionName}(" . join(", ", @arguments) . "));\n";
-        } else {
-            my @arguments = @callImplParams;
-            if ($function->signature->extendedAttributes->{"ImplementedBy"}) {
-                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
-                $implIncludes{"${implementedBy}.h"} = 1;
-                unshift(@arguments, "item");
-                $getterContentHead = "${assign}convertToUTF8String(WebCore::${implementedBy}::${functionImplementationName}(" . join(", ", @arguments) . "));\n";
-            } else {
-                $getterContentHead = "${assign}convertToUTF8String(item->${functionImplementationName}(" . join(", ", @arguments) . "));\n";
-            }
-        }
-        push(@cBody, "    ${getterContentHead}");
-    } else {
-        my $contentHead;
-        if ($prefix eq "get_") {
-            my ($functionName, @arguments) = $codeGenerator->GetterExpression(\%implIncludes, $interfaceName, $function);
-            push(@arguments, @callImplParams);
-            if ($function->signature->extendedAttributes->{"ImplementedBy"}) {
-                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
-                $implIncludes{"${implementedBy}.h"} = 1;
-                unshift(@arguments, "item");
-                $functionName = "WebCore::${implementedBy}::${functionName}";
-            } else {
-                $functionName = "item->${functionName}";
-            }
-            $contentHead = "${assign}${assignPre}${functionName}(" . join(", ", @arguments) . "${assignPost});\n";
-        } elsif ($prefix eq "set_") {
-            my ($functionName, @arguments) = $codeGenerator->SetterExpression(\%implIncludes, $interfaceName, $function);
-            push(@arguments, @callImplParams);
-            if ($function->signature->extendedAttributes->{"ImplementedBy"}) {
-                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
-                $implIncludes{"${implementedBy}.h"} = 1;
-                unshift(@arguments, "item");
-                $functionName = "WebCore::${implementedBy}::${functionName}";
-                $contentHead = "${assign}${assignPre}${functionName}(" . join(", ", @arguments) . "${assignPost});\n";
-            } else {
-                $functionName = "item->${functionName}";
-                $contentHead = "${assign}${assignPre}${functionName}(" . join(", ", @arguments) . "${assignPost});\n";
-            }
-        } else {
-            my @arguments = @callImplParams;
-            if ($function->signature->extendedAttributes->{"ImplementedBy"}) {
-                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
-                $implIncludes{"${implementedBy}.h"} = 1;
-                unshift(@arguments, "item");
-                $contentHead = "${assign}${assignPre}WebCore::${implementedBy}::${functionImplementationName}(" . join(", ", @arguments) . "${assignPost});\n";
-            } else {
-                $contentHead = "${assign}${assignPre}item->${functionImplementationName}(" . join(", ", @arguments) . "${assignPost});\n";
-            }
-        }
-        push(@cBody, "    ${contentHead}");
-        
-        if(@{$function->raisesExceptions}) {
-            my $exceptionHandling = << "EOF";
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-EOF
-            push(@cBody, $exceptionHandling);
-        }
-    }
-
-    if ($returnType ne "void" && !$functionHasCustomReturn) {
-        if ($functionSigType ne "any") {
-            if ($returnValueIsGDOMType) {
-                push(@cBody, "    return WebKit::kit(gobjectResult.get());\n");
-            } else {
-                push(@cBody, "    return result;\n");
-            }
-        } else {
-            push(@cBody, "    return 0; // TODO: return canvas object\n");
-        }
-    }
-
-    if ($conditionalString) {
-        push(@cBody, "#else\n");
-        push(@cBody, @conditionalWarn) if scalar(@conditionalWarn);
-        if ($returnType ne "void") {
-            if ($codeGenerator->IsNonPointerType($functionSigType)) {
-                push(@cBody, "    return static_cast<${returnType}>(0);\n");
-            } else {
-                push(@cBody, "    return 0;\n");
-            }
-        }
-        push(@cBody, "#endif /* ${conditionalString} */\n");
-    }
-
-    if ($parentConditionalString) {
-        push(@cBody, "#else\n");
-        push(@cBody, @parentConditionalWarn) if scalar(@parentConditionalWarn);
-        if ($returnType ne "void") {
-            if ($codeGenerator->IsNonPointerType($functionSigType)) {
-                push(@cBody, "    return static_cast<${returnType}>(0);\n");
-            } else {
-                push(@cBody, "    return 0;\n");
-            }
-        }
-        push(@cBody, "#endif /* ${parentConditionalString} */\n");
-    }
-
-    push(@cBody, "}\n\n");
-}
-
-sub ClassHasFunction {
-    my ($class, $name) = @_;
-
-    foreach my $function (@{$class->functions}) {
-        if ($function->signature->name eq $name) {
-            return 1;
-        }
-    }
-
-    return 0;
-}
-
-sub GenerateFunctions {
-    my ($object, $interfaceName, $interface) = @_;
-
-    foreach my $function (@{$interface->functions}) {
-        $object->GenerateFunction($interfaceName, $function, "", $interface);
-    }
-
-    TOP:
-    foreach my $attribute (@{$interface->attributes}) {
-        if (SkipAttribute($attribute) ||
-            $attribute->signature->type eq "EventListener" ||
-            $attribute->signature->type eq "MediaQueryListListener") {
-            next TOP;
-        }
-        
-        if ($attribute->signature->name eq "type"
-            # This will conflict with the get_type() function we define to return a GType
-            # according to GObject conventions.  Skip this for now.
-            || $attribute->signature->name eq "URL"     # TODO: handle this
-            ) {
-            next TOP;
-        }
-            
-        my $attrNameUpper = $codeGenerator->WK_ucfirst($attribute->signature->name);
-        my $getname = "get${attrNameUpper}";
-        my $setname = "set${attrNameUpper}";
-        if (ClassHasFunction($interface, $getname) || ClassHasFunction($interface, $setname)) {
-            # Very occasionally an IDL file defines getter/setter functions for one of its
-            # attributes; in this case we don't need to autogenerate the getter/setter.
-            next TOP;
-        }
-        
-        # Generate an attribute getter.  For an attribute "foo", this is a function named
-        # "get_foo" which calls a DOM class method named foo().
-        my $function = new domFunction();
-        $function->signature($attribute->signature);
-        $function->raisesExceptions($attribute->getterExceptions);
-        $object->GenerateFunction($interfaceName, $function, "get_", $interface);
-
-        # FIXME: We are not generating setters for 'Replaceable'
-        # attributes now, but we should somehow.
-        if ($attribute->type =~ /^readonly/ ||
-            $attribute->signature->extendedAttributes->{"Replaceable"}) {
-            next TOP;
-        }
-        
-        # Generate an attribute setter.  For an attribute, "foo", this is a function named
-        # "set_foo" which calls a DOM class method named setFoo().
-        $function = new domFunction();
-        
-        $function->signature(new domSignature());
-        $function->signature->name($attribute->signature->name);
-        $function->signature->type($attribute->signature->type);
-        $function->signature->extendedAttributes($attribute->signature->extendedAttributes);
-        
-        my $param = new domSignature();
-        $param->name("value");
-        $param->type($attribute->signature->type);
-        my %attributes = ();
-        $param->extendedAttributes(\%attributes);
-        my $arrayRef = $function->parameters;
-        push(@$arrayRef, $param);
-        
-        $function->raisesExceptions($attribute->setterExceptions);
-        
-        $object->GenerateFunction($interfaceName, $function, "set_", $interface);
-    }
-}
-
-sub GenerateCFile {
-    my ($object, $interfaceName, $parentClassName, $parentGObjType, $interface) = @_;
-
-    if ($interface->extendedAttributes->{"EventTarget"}) {
-        $object->GenerateEventTargetIface($interface);
-    }
-
-    my $implContent = "";
-
-    my $clsCaps = uc(FixUpDecamelizedName(decamelize($interfaceName)));
-    my $lowerCaseIfaceName = "webkit_dom_" . FixUpDecamelizedName(decamelize($interfaceName));
-    my $parentImplClassName = GetParentImplClassName($interface);
-
-    # Add a private struct only for direct subclasses of Object so that we can use RefPtr
-    # for the WebCore wrapped object and make sure we only increment the reference counter once.
-    if ($parentImplClassName eq "Object") {
-        my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-        push(@cStructPriv, "#define WEBKIT_DOM_${clsCaps}_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_${clsCaps}, ${className}Private)\n\n");
-        push(@cStructPriv, "typedef struct _${className}Private {\n");
-        push(@cStructPriv, "#if ${conditionalString}\n") if $conditionalString;
-        push(@cStructPriv, "    RefPtr<WebCore::${interfaceName}> coreObject;\n");
-        push(@cStructPriv, "#endif // ${conditionalString}\n") if $conditionalString;
-        push(@cStructPriv, "} ${className}Private;\n\n");
-    }
-
-    $implContent = << "EOF";
-${defineTypeMacro}(${className}, ${lowerCaseIfaceName}, ${parentGObjType}${defineTypeInterfaceImplementation}
-
-EOF
-    push(@cBodyProperties, $implContent);
-
-    if (!UsesManualKitImplementation($interfaceName)) {
-        $implContent = << "EOF";
-${className}* kit(WebCore::$interfaceName* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_${clsCaps}(ret);
-
-    return wrap${interfaceName}(obj);
-}
-
-EOF
-        push(@cBodyPriv, $implContent);
-    }
-
-    $implContent = << "EOF";
-WebCore::${interfaceName}* core(${className}* request)
-{
-    return request ? static_cast<WebCore::${interfaceName}*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-${className}* wrap${interfaceName}(WebCore::${interfaceName}* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_${clsCaps}(g_object_new(WEBKIT_TYPE_DOM_${clsCaps}, "core-object", coreObject, NULL));
-}
-
-EOF
-    push(@cBodyPriv, $implContent);
-
-    $object->GenerateProperties($interfaceName, $interface);
-    $object->GenerateFunctions($interfaceName, $interface);
-}
-
-sub GenerateEndHeader {
-    my ($object) = @_;
-
-    #Header guard
-    my $guard = $className . "_h";
-
-    push(@hBody, "G_END_DECLS\n\n");
-    push(@hPrefixGuardEnd, "#endif /* $guard */\n");
-}
-
-sub UsesManualKitImplementation {
-    my $type = shift;
-
-    return 1 if $type eq "Node" or $type eq "Element" or $type eq "HTMLElement" or $type eq "Event";
-    return 0;
-}
-
-sub GenerateEventTargetIface {
-    my $object = shift;
-    my $interface = shift;
-
-    my $interfaceName = $interface->name;
-    my $decamelize = FixUpDecamelizedName(decamelize($interfaceName));
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    my @conditionalWarn = GenerateConditionalWarning($interface);
-
-    $implIncludes{"GObjectEventListener.h"} = 1;
-    $implIncludes{"WebKitDOMEventTarget.h"} = 1;
-    $implIncludes{"WebKitDOMEventPrivate.h"} = 1;
-
-    push(@cBodyProperties, "static void webkit_dom_${decamelize}_dispatch_event(WebKitDOMEventTarget* target, WebKitDOMEvent* event, GError** error)\n{\n");
-    push(@cBodyProperties, "#if ${conditionalString}\n") if $conditionalString;
-    push(@cBodyProperties, "    WebCore::Event* coreEvent = WebKit::core(event);\n");
-    push(@cBodyProperties, "    WebCore::${interfaceName}* coreTarget = static_cast<WebCore::${interfaceName}*>(WEBKIT_DOM_OBJECT(target)->coreObject);\n\n");
-    push(@cBodyProperties, "    WebCore::ExceptionCode ec = 0;\n");
-    push(@cBodyProperties, "    coreTarget->dispatchEvent(coreEvent, ec);\n");
-    push(@cBodyProperties, "    if (ec) {\n        WebCore::ExceptionCodeDescription description(ec);\n");
-    push(@cBodyProperties, "        g_set_error_literal(error, g_quark_from_string(\"WEBKIT_DOM\"), description.code, description.name);\n    }\n");
-    push(@cBodyProperties, "#else\n") if $conditionalString;
-    push(@cBodyProperties, @conditionalWarn) if scalar(@conditionalWarn);
-    push(@cBodyProperties, "#endif // ${conditionalString}\n") if $conditionalString;
-    push(@cBodyProperties, "}\n\n");
-
-    push(@cBodyProperties, "static gboolean webkit_dom_${decamelize}_add_event_listener(WebKitDOMEventTarget* target, const char* eventName, GCallback handler, gboolean bubble, gpointer userData)\n{\n");
-    push(@cBodyProperties, "#if ${conditionalString}\n") if $conditionalString;
-    push(@cBodyProperties, "    WebCore::${interfaceName}* coreTarget = static_cast<WebCore::${interfaceName}*>(WEBKIT_DOM_OBJECT(target)->coreObject);\n");
-    push(@cBodyProperties, "    return WebCore::GObjectEventListener::addEventListener(G_OBJECT(target), coreTarget, eventName, handler, bubble, userData);\n");
-    push(@cBodyProperties, "#else\n") if $conditionalString;
-    push(@cBodyProperties, @conditionalWarn) if scalar(@conditionalWarn);
-    push(@cBodyProperties, "    return false;\n#endif // ${conditionalString}\n") if $conditionalString;
-    push(@cBodyProperties, "}\n\n");
-
-    push(@cBodyProperties, "static gboolean webkit_dom_${decamelize}_remove_event_listener(WebKitDOMEventTarget* target, const char* eventName, GCallback handler, gboolean bubble)\n{\n");
-    push(@cBodyProperties, "#if ${conditionalString}\n") if $conditionalString;
-    push(@cBodyProperties, "    WebCore::${interfaceName}* coreTarget = static_cast<WebCore::${interfaceName}*>(WEBKIT_DOM_OBJECT(target)->coreObject);\n");
-    push(@cBodyProperties, "    return WebCore::GObjectEventListener::removeEventListener(G_OBJECT(target), coreTarget, eventName, handler, bubble);\n");
-    push(@cBodyProperties, "#else\n") if $conditionalString;
-    push(@cBodyProperties, @conditionalWarn) if scalar(@conditionalWarn);
-    push(@cBodyProperties, "    return false;\n#endif // ${conditionalString}\n") if $conditionalString;
-    push(@cBodyProperties, "}\n\n");
-
-    push(@cBodyProperties, "static void webkit_dom_event_target_init(WebKitDOMEventTargetIface* iface)\n{\n");
-    push(@cBodyProperties, "    iface->dispatch_event = webkit_dom_${decamelize}_dispatch_event;\n");
-    push(@cBodyProperties, "    iface->add_event_listener = webkit_dom_${decamelize}_add_event_listener;\n");
-    push(@cBodyProperties, "    iface->remove_event_listener = webkit_dom_${decamelize}_remove_event_listener;\n}\n\n");
-
-    $defineTypeMacro = "G_DEFINE_TYPE_WITH_CODE";
-    $defineTypeInterfaceImplementation = ", G_IMPLEMENT_INTERFACE(WEBKIT_TYPE_DOM_EVENT_TARGET, webkit_dom_event_target_init))";
-}
-
-sub Generate {
-    my ($object, $interface) = @_;
-
-    my $parentClassName = GetParentClassName($interface);
-    my $parentGObjType = GetParentGObjType($interface);
-    my $interfaceName = $interface->name;
-
-    # Add the default impl header template
-    @cPrefix = split("\r", $licenceTemplate);
-    push(@cPrefix, "\n");
-
-    $implIncludes{"DOMObjectCache.h"} = 1;
-    $implIncludes{"WebKitDOMBinding.h"} = 1;
-    $implIncludes{"gobject/ConvertToUTF8String.h"} = 1;
-    $implIncludes{"${className}Private.h"} = 1;
-    $implIncludes{"JSMainThreadExecState.h"} = 1;
-    $implIncludes{"ExceptionCode.h"} = 1;
-    $implIncludes{"CSSImportRule.h"} = 1;
-
-    $hdrIncludes{"webkitdom/${parentClassName}.h"} = 1;
-
-    $object->GenerateHeader($interfaceName, $parentClassName);
-    $object->GenerateCFile($interfaceName, $parentClassName, $parentGObjType, $interface);
-    $object->GenerateEndHeader();
-}
-
-sub WriteData {
-    my $object = shift;
-    my $interface = shift;
-    my $outputDir = shift;
-    mkdir $outputDir;
-
-    # Write a private header.
-    my $interfaceName = $interface->name;
-    my $filename = "$outputDir/" . $className . "Private.h";
-    my $guard = "${className}Private_h";
-
-    # Add the guard if the 'Conditional' extended attribute exists
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-
-    open(PRIVHEADER, ">$filename") or die "Couldn't open file $filename for writing";
-
-    print PRIVHEADER split("\r", $licenceTemplate);
-    print PRIVHEADER "\n";
-
-    my $text = << "EOF";
-#ifndef $guard
-#define $guard
-
-#include "${interfaceName}.h"
-#include <webkitdom/${className}.h>
-EOF
-
-    print PRIVHEADER $text;
-    print PRIVHEADER "#if ${conditionalString}\n" if $conditionalString;
-    print PRIVHEADER map { "#include \"$_\"\n" } sort keys(%hdrPropIncludes);
-    print PRIVHEADER "\n";
-    $text = << "EOF";
-namespace WebKit {
-${className}* wrap${interfaceName}(WebCore::${interfaceName}*);
-WebCore::${interfaceName}* core(${className}* request);
-EOF
-
-    print PRIVHEADER $text;
-
-    if ($className ne "WebKitDOMNode") {
-        print PRIVHEADER "${className}* kit(WebCore::${interfaceName}* node);\n"
-    }
-
-    $text = << "EOF";
-} // namespace WebKit
-
-EOF
-
-    print PRIVHEADER $text;
-    print PRIVHEADER "#endif /* ${conditionalString} */\n\n" if $conditionalString;
-    print PRIVHEADER "#endif /* ${guard} */\n";
-
-    close(PRIVHEADER);
-
-    my $basename = FileNamePrefix . $interfaceName;
-    $basename =~ s/_//g;
-
-    # Write public header.
-    my $fullHeaderFilename = "$outputDir/" . $basename . ".h";
-    my $installedHeaderFilename = "${basename}.h";
-    open(HEADER, ">$fullHeaderFilename") or die "Couldn't open file $fullHeaderFilename";
-
-    print HEADER @hPrefix;
-    print HEADER @hPrefixGuard;
-    print HEADER "#include <glib-object.h>\n";
-    print HEADER map { "#include <$_>\n" } sort keys(%hdrIncludes);
-    print HEADER "#include <webkitdom/webkitdomdefines.h>\n\n";
-    print HEADER @hBodyPre;
-    print HEADER @hBody;
-    print HEADER @hPrefixGuardEnd;
-
-    close(HEADER);
-
-    # Write the implementation sources
-    my $implFileName = "$outputDir/" . $basename . ".cpp";
-    open(IMPL, ">$implFileName") or die "Couldn't open file $implFileName";
-
-    print IMPL @cPrefix;
-    print IMPL "#include \"config.h\"\n";
-    print IMPL "#include \"$installedHeaderFilename\"\n\n";
-
-    # Remove the implementation header from the list of included files.
-    %includesCopy = %implIncludes;
-    print IMPL map { "#include \"$_\"\n" } sort keys(%includesCopy);
-
-    print IMPL "#include <wtf/GetPtr.h>\n";
-    print IMPL "#include <wtf/RefPtr.h>\n\n";
-    print IMPL @cStructPriv;
-    print IMPL "#if ${conditionalString}\n\n" if $conditionalString;
-
-    print IMPL "namespace WebKit {\n\n";
-    print IMPL @cBodyPriv;
-    print IMPL "} // namespace WebKit\n\n";
-    print IMPL "#endif // ${conditionalString}\n\n" if $conditionalString;
-
-    print IMPL @cBodyProperties;
-    print IMPL @cBody;
-
-    close(IMPL);
-
-    %implIncludes = ();
-    %hdrIncludes = ();
-    @hPrefix = ();
-    @hBody = ();
-
-    @cPrefix = ();
-    @cBody = ();
-    @cBodyPriv = ();
-    @cBodyProperties = ();
-    @cStructPriv = ();
-}
-
-sub GenerateInterface {
-    my ($object, $interface, $defines) = @_;
-
-    # Set up some global variables
-    $className = GetClassName($interface->name);
-
-    $object->Generate($interface);
-}
-
-1;
diff --git a/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm b/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
deleted file mode 100644
index 2a0348f..0000000
--- a/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
+++ /dev/null
@@ -1,4100 +0,0 @@
-#
-# Copyright (C) 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
-# Copyright (C) 2006 Anders Carlsson <andersca@mac.com>
-# Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
-# Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
-# Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
-# Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
-# Copyright (C) Research In Motion Limited 2010. All rights reserved.
-# Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
-# Copyright (C) 2011 Patrick Gansterer <paroga@webkit.org>
-# Copyright (C) 2012 Ericsson AB. All rights reserved.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Library General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Library General Public License for more details.
-#
-# You should have received a copy of the GNU Library General Public License
-# along with this library; see the file COPYING.LIB.  If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-
-package CodeGeneratorJS;
-
-use strict;
-use constant FileNamePrefix => "JS";
-use Hasher;
-
-my $codeGenerator;
-
-my $writeDependencies = 0;
-
-my @headerContentHeader = ();
-my @headerContent = ();
-my %headerIncludes = ();
-my %headerTrailingIncludes = ();
-
-my @implContentHeader = ();
-my @implContent = ();
-my %implIncludes = ();
-my @depsContent = ();
-my $numCachedAttributes = 0;
-my $currentCachedAttribute = 0;
-
-# Default .h template
-my $headerTemplate = << "EOF";
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-EOF
-
-# Default constructor
-sub new
-{
-    my $object = shift;
-    my $reference = { };
-
-    $codeGenerator = shift;
-    shift; # $useLayerOnTop
-    shift; # $preprocessor
-    $writeDependencies = shift;
-
-    bless($reference, $object);
-    return $reference;
-}
-
-sub GenerateInterface
-{
-    my $object = shift;
-    my $interface = shift;
-    my $defines = shift;
-
-    $codeGenerator->LinkOverloadedFunctions($interface);
-
-    # Start actual generation
-    if ($interface->extendedAttributes->{"Callback"}) {
-        $object->GenerateCallbackHeader($interface);
-        $object->GenerateCallbackImplementation($interface);
-    } else {
-        $object->GenerateHeader($interface);
-        $object->GenerateImplementation($interface);
-    }
-}
-
-sub GenerateAttributeEventListenerCall
-{
-    my $className = shift;
-    my $implSetterFunctionName = shift;
-    my $windowEventListener = shift;
-
-    my $wrapperObject = $windowEventListener ? "globalObject" : "thisObject";
-    my @GenerateEventListenerImpl = ();
-
-    if ($className eq "JSSVGElementInstance") {
-        # SVGElementInstances have to create JSEventListeners with the wrapper equal to the correspondingElement
-        $wrapperObject = "asObject(correspondingElementWrapper)";
-
-        push(@GenerateEventListenerImpl, <<END);
-    JSValue correspondingElementWrapper = toJS(exec, castedThis->globalObject(), impl->correspondingElement());
-    if (correspondingElementWrapper.isObject())
-END
-
-        # Add leading whitespace to format the impl->set... line correctly
-        push(@GenerateEventListenerImpl, "    ");
-    }
-
-    push(@GenerateEventListenerImpl, "    impl->set$implSetterFunctionName(createJSAttributeEventListener(exec, value, $wrapperObject));\n");
-    return @GenerateEventListenerImpl;
-}
-
-sub GenerateEventListenerCall
-{
-    my $className = shift;
-    my $functionName = shift;
-    my $passRefPtrHandling = ($functionName eq "add") ? "" : ".get()";
-
-    $implIncludes{"JSEventListener.h"} = 1;
-
-    my @GenerateEventListenerImpl = ();
-    my $wrapperObject = "castedThis";
-    if ($className eq "JSSVGElementInstance") {
-        # SVGElementInstances have to create JSEventListeners with the wrapper equal to the correspondingElement
-        $wrapperObject = "asObject(correspondingElementWrapper)";
-
-        push(@GenerateEventListenerImpl, <<END);
-    JSValue correspondingElementWrapper = toJS(exec, castedThis->globalObject(), impl->correspondingElement());
-    if (!correspondingElementWrapper.isObject())
-        return JSValue::encode(jsUndefined());
-END
-    }
-
-    push(@GenerateEventListenerImpl, <<END);
-    JSValue listener = exec->argument(1);
-    if (!listener.isObject())
-        return JSValue::encode(jsUndefined());
-    impl->${functionName}EventListener(exec->argument(0).toString(exec)->value(exec), JSEventListener::create(asObject(listener), $wrapperObject, false, currentWorld(exec))$passRefPtrHandling, exec->argument(2).toBoolean(exec));
-    return JSValue::encode(jsUndefined());
-END
-    return @GenerateEventListenerImpl;
-}
-
-sub GetParentClassName
-{
-    my $interface = shift;
-
-    return $interface->extendedAttributes->{"JSLegacyParent"} if $interface->extendedAttributes->{"JSLegacyParent"};
-    return "JSDOMWrapper" if (@{$interface->parents} eq 0);
-    return "JS" . $interface->parents(0);
-}
-
-sub GetCallbackClassName
-{
-    my $className = shift;
-
-    return "JS$className";
-}
-
-sub IndexGetterReturnsStrings
-{
-    my $type = shift;
-
-    return 1 if $type eq "CSSStyleDeclaration" or $type eq "MediaList" or $type eq "DOMStringList" or $type eq "DOMTokenList" or $type eq "DOMSettableTokenList";
-    return 0;
-}
-
-sub AddIncludesForTypeInImpl
-{
-    my $type = shift;
-    my $isCallback = @_ ? shift : 0;
-    
-    AddIncludesForType($type, $isCallback, \%implIncludes);
-    
-    # additional includes (things needed to compile the bindings but not the header)
-    if ($type eq "CanvasRenderingContext2D") {
-        $implIncludes{"CanvasGradient.h"} = 1;
-        $implIncludes{"CanvasPattern.h"} = 1;
-        $implIncludes{"CanvasStyle.h"} = 1;
-    }
-
-    if ($type eq "CanvasGradient" or $type eq "XPathNSResolver" or $type eq "MessagePort") {
-        $implIncludes{"<wtf/text/WTFString.h>"} = 1;
-    }
-
-    if ($type eq "Document") {
-        $implIncludes{"NodeFilter.h"} = 1;
-    }
-
-    if ($type eq "MediaQueryListListener") {
-        $implIncludes{"MediaQueryListListener.h"} = 1;
-    }
-}
-
-sub AddIncludesForTypeInHeader
-{
-    my $type = shift;
-    my $isCallback = @_ ? shift : 0;
-    
-    AddIncludesForType($type, $isCallback, \%headerIncludes);
-}
-
-sub AddIncludesForType
-{
-    my $type = shift;
-    my $isCallback = shift;
-    my $includesRef = shift;
-
-    # When we're finished with the one-file-per-class
-    # reorganization, we won't need these special cases.
-    if ($codeGenerator->IsPrimitiveType($type) or $codeGenerator->SkipIncludeHeader($type)
-        or $type eq "DOMString" or $type eq "any" or $type eq "Array" or $type eq "DOMTimeStamp") {
-    } elsif ($type =~ /SVGPathSeg/) {
-        my $joinedName = $type;
-        $joinedName =~ s/Abs|Rel//;
-        $includesRef->{"${joinedName}.h"} = 1;
-    } elsif ($type eq "XPathNSResolver") {
-        $includesRef->{"JSXPathNSResolver.h"} = 1;
-        $includesRef->{"JSCustomXPathNSResolver.h"} = 1;
-    } elsif ($type eq "SerializedScriptValue") {
-        $includesRef->{"SerializedScriptValue.h"} = 1;
-    } elsif ($isCallback) {
-        $includesRef->{"JS${type}.h"} = 1;
-    } elsif ($codeGenerator->IsTypedArrayType($type)) {
-        $includesRef->{"<wtf/${type}.h>"} = 1;
-    } elsif ($codeGenerator->GetSequenceType($type)) {
-    } elsif ($codeGenerator->GetArrayType($type)) {
-    } else {
-        # default, include the same named file
-        $includesRef->{"${type}.h"} = 1;
-    }
-}
-
-# FIXME: This method will go away once all SVG animated properties are converted to the new scheme.
-sub AddIncludesForSVGAnimatedType
-{
-    my $type = shift;
-    $type =~ s/SVGAnimated//;
-
-    if ($type eq "Point" or $type eq "Rect") {
-        $implIncludes{"Float$type.h"} = 1;
-    } elsif ($type eq "String") {
-        $implIncludes{"<wtf/text/WTFString.h>"} = 1;
-    }
-}
-
-sub AddToImplIncludes
-{
-    my $header = shift;
-    my $conditional = shift;
-
-    if (not $conditional) {
-        $implIncludes{$header} = 1;
-    } elsif (not exists($implIncludes{$header})) {
-        $implIncludes{$header} = $conditional;
-    } else {
-        my $oldValue = $implIncludes{$header};
-        if ($oldValue ne 1) {
-            my %newValue = ();
-            $newValue{$conditional} = 1;
-            foreach my $condition (split(/\|/, $oldValue)) {
-                $newValue{$condition} = 1;
-            }
-            $implIncludes{$header} = join("|", sort keys %newValue);
-        }
-    }
-}
-
-sub IsScriptProfileType
-{
-    my $type = shift;
-    return 1 if ($type eq "ScriptProfileNode");
-    return 0;
-}
-
-sub IsReadonly
-{
-    my $attribute = shift;
-    return $attribute->type =~ /readonly/ && !$attribute->signature->extendedAttributes->{"Replaceable"};
-}
-
-sub AddTypedefForScriptProfileType
-{
-    my $type = shift;
-    (my $jscType = $type) =~ s/Script//;
-
-    push(@headerContent, "typedef JSC::$jscType $type;\n\n");
-}
-
-sub AddClassForwardIfNeeded
-{
-    my $interfaceName = shift;
-
-    # SVGAnimatedLength/Number/etc. are typedefs to SVGAnimatedTemplate, so don't use class forwards for them!
-    unless ($codeGenerator->IsSVGAnimatedType($interfaceName) or IsScriptProfileType($interfaceName) or $codeGenerator->IsTypedArrayType($interfaceName)) {
-        push(@headerContent, "class $interfaceName;\n\n");
-    # ScriptProfile and ScriptProfileNode are typedefs to JSC::Profile and JSC::ProfileNode.
-    } elsif (IsScriptProfileType($interfaceName)) {
-        $headerIncludes{"<profiler/ProfileNode.h>"} = 1;
-        AddTypedefForScriptProfileType($interfaceName);
-    }
-}
-
-sub HashValueForClassAndName
-{
-    my $class = shift;
-    my $name = shift;
-
-    # SVG Filter enums live in WebCore namespace (platform/graphics/)
-    if ($class =~ /^SVGFE*/ or $class =~ /^SVGComponentTransferFunctionElement$/) {
-        return "WebCore::$name";
-    }
-
-    return "${class}::$name";
-}
-
-sub hashTableAccessor
-{
-    my $noStaticTables = shift;
-    my $className = shift;
-    if ($noStaticTables) {
-        return "get${className}Table(exec)";
-    } else {
-        return "&${className}Table";
-    }
-}
-
-sub prototypeHashTableAccessor
-{
-    my $noStaticTables = shift;
-    my $className = shift;
-    if ($noStaticTables) {
-        return "get${className}PrototypeTable(exec)";
-    } else {
-        return "&${className}PrototypeTable";
-    }
-}
-
-sub constructorHashTableAccessor
-{
-    my $noStaticTables = shift;
-    my $constructorClassName = shift;
-    if ($noStaticTables) {
-        return "get${constructorClassName}Table(exec)";
-    } else {
-        return "&${constructorClassName}Table";
-    }
-}
-
-sub GetGenerateIsReachable
-{
-    my $interface = shift;
-    return $interface->extendedAttributes->{"GenerateIsReachable"} || $interface->extendedAttributes->{"JSGenerateIsReachable"};
-}
-
-sub GetCustomIsReachable
-{
-    my $interface = shift;
-    return $interface->extendedAttributes->{"CustomIsReachable"} || $interface->extendedAttributes->{"JSCustomIsReachable"};
-}
-
-sub GenerateGetOwnPropertySlotBody
-{
-    my ($interface, $interfaceName, $className, $hasAttributes, $inlined) = @_;
-
-    my $namespaceMaybe = ($inlined ? "JSC::" : "");
-
-    my @getOwnPropertySlotImpl = ();
-
-    if ($interfaceName eq "NamedNodeMap" or $interfaceName =~ /^HTML\w*Collection$/) {
-        push(@getOwnPropertySlotImpl, "    ${namespaceMaybe}JSValue proto = thisObject->prototype();\n");
-        push(@getOwnPropertySlotImpl, "    if (proto.isObject() && jsCast<${namespaceMaybe}JSObject*>(asObject(proto))->hasProperty(exec, propertyName))\n");
-        push(@getOwnPropertySlotImpl, "        return false;\n\n");
-    }
-
-    my $manualLookupGetterGeneration = sub {
-        my $requiresManualLookup = $interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NamedGetter"};
-        if ($requiresManualLookup) {
-            push(@getOwnPropertySlotImpl, "    const ${namespaceMaybe}HashEntry* entry = getStaticValueSlotEntryWithoutCaching<$className>(exec, propertyName);\n");
-            push(@getOwnPropertySlotImpl, "    if (entry) {\n");
-            push(@getOwnPropertySlotImpl, "        slot.setCustom(thisObject, entry->propertyGetter());\n");
-            push(@getOwnPropertySlotImpl, "        return true;\n");
-            push(@getOwnPropertySlotImpl, "    }\n");
-        }
-    };
-
-    if (!$interface->extendedAttributes->{"CustomNamedGetter"}) {
-        &$manualLookupGetterGeneration();
-    }
-
-    if ($interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NumericIndexedGetter"}) {
-        push(@getOwnPropertySlotImpl, "    unsigned index = propertyName.asIndex();\n");
-
-        # If the item function returns a string then we let the TreatReturnedNullStringAs handle the cases
-        # where the index is out of range.
-        if (IndexGetterReturnsStrings($interfaceName)) {
-            push(@getOwnPropertySlotImpl, "    if (index != PropertyName::NotAnIndex) {\n");
-        } else {
-            push(@getOwnPropertySlotImpl, "    if (index != PropertyName::NotAnIndex && index < static_cast<$interfaceName*>(thisObject->impl())->length()) {\n");
-        }
-        if ($interface->extendedAttributes->{"NumericIndexedGetter"}) {
-            push(@getOwnPropertySlotImpl, "        slot.setValue(thisObject->getByIndex(exec, index));\n");
-        } else {
-            push(@getOwnPropertySlotImpl, "        slot.setCustomIndex(thisObject, index, indexGetter);\n");
-        }
-        push(@getOwnPropertySlotImpl, "        return true;\n");
-        push(@getOwnPropertySlotImpl, "    }\n");
-    }
-
-    if ($interface->extendedAttributes->{"NamedGetter"} || $interface->extendedAttributes->{"CustomNamedGetter"}) {
-        push(@getOwnPropertySlotImpl, "    if (canGetItemsForName(exec, static_cast<$interfaceName*>(thisObject->impl()), propertyName)) {\n");
-        push(@getOwnPropertySlotImpl, "        slot.setCustom(thisObject, thisObject->nameGetter);\n");
-        push(@getOwnPropertySlotImpl, "        return true;\n");
-        push(@getOwnPropertySlotImpl, "    }\n");
-        if ($inlined) {
-            $headerIncludes{"wtf/text/AtomicString.h"} = 1;
-        } else {
-            $implIncludes{"wtf/text/AtomicString.h"} = 1;
-        }
-    }
-
-    if ($interface->extendedAttributes->{"CustomNamedGetter"}) {
-        &$manualLookupGetterGeneration();
-    }
-
-    if ($interface->extendedAttributes->{"JSCustomGetOwnPropertySlotAndDescriptor"}) {
-        push(@getOwnPropertySlotImpl, "    if (thisObject->getOwnPropertySlotDelegate(exec, propertyName, slot))\n");
-        push(@getOwnPropertySlotImpl, "        return true;\n");
-    }
-
-    if ($hasAttributes) {
-        if ($inlined) {
-            die "Cannot inline if NoStaticTables is set." if ($interface->extendedAttributes->{"JSNoStaticTables"});
-            push(@getOwnPropertySlotImpl, "    return ${namespaceMaybe}getStaticValueSlot<$className, Base>(exec, s_info.staticPropHashTable, thisObject, propertyName, slot);\n");
-        } else {
-            push(@getOwnPropertySlotImpl, "    return ${namespaceMaybe}getStaticValueSlot<$className, Base>(exec, " . hashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $className) . ", thisObject, propertyName, slot);\n");
-        }
-    } else {
-        push(@getOwnPropertySlotImpl, "    return Base::getOwnPropertySlot(thisObject, exec, propertyName, slot);\n");
-    }
-
-    return @getOwnPropertySlotImpl;
-}
-
-sub GenerateGetOwnPropertyDescriptorBody
-{
-    my ($interface, $interfaceName, $className, $hasAttributes, $inlined) = @_;
-    
-    my $namespaceMaybe = ($inlined ? "JSC::" : "");
-    
-    my @getOwnPropertyDescriptorImpl = ();
-    if ($interface->extendedAttributes->{"CheckSecurity"}) {
-        if ($interfaceName eq "DOMWindow") {
-            $implIncludes{"BindingSecurity.h"} = 1;
-            push(@implContent, "    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, jsCast<$className*>(thisObject)->impl()))\n");
-        } else {
-            push(@implContent, "    if (!shouldAllowAccessToFrame(exec, thisObject->impl()->frame()))\n");
-        }
-        push(@implContent, "        return false;\n");
-    }
-    
-    if ($interfaceName eq "NamedNodeMap" or $interfaceName =~ /^HTML\w*Collection$/) {
-        push(@getOwnPropertyDescriptorImpl, "    ${namespaceMaybe}JSValue proto = thisObject->prototype();\n");
-        push(@getOwnPropertyDescriptorImpl, "    if (proto.isObject() && jsCast<${namespaceMaybe}JSObject*>(asObject(proto))->hasProperty(exec, propertyName))\n");
-        push(@getOwnPropertyDescriptorImpl, "        return false;\n\n");
-    }
-    
-    my $manualLookupGetterGeneration = sub {
-        my $requiresManualLookup = $interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NamedGetter"};
-        if ($requiresManualLookup) {
-            push(@getOwnPropertyDescriptorImpl, "    const ${namespaceMaybe}HashEntry* entry = ${className}Table.entry(exec, propertyName);\n");
-            push(@getOwnPropertyDescriptorImpl, "    if (entry) {\n");
-            push(@getOwnPropertyDescriptorImpl, "        PropertySlot slot;\n");
-            push(@getOwnPropertyDescriptorImpl, "        slot.setCustom(thisObject, entry->propertyGetter());\n");
-            push(@getOwnPropertyDescriptorImpl, "        descriptor.setDescriptor(slot.getValue(exec, propertyName), entry->attributes());\n");
-            push(@getOwnPropertyDescriptorImpl, "        return true;\n");
-            push(@getOwnPropertyDescriptorImpl, "    }\n");
-        }
-    };
-
-    if (!$interface->extendedAttributes->{"CustomNamedGetter"}) {
-        &$manualLookupGetterGeneration();
-    }
-
-    if ($interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NumericIndexedGetter"}) {
-        push(@getOwnPropertyDescriptorImpl, "    unsigned index = propertyName.asIndex();\n");
-        push(@getOwnPropertyDescriptorImpl, "    if (index != PropertyName::NotAnIndex && index < static_cast<$interfaceName*>(thisObject->impl())->length()) {\n");
-        if ($interface->extendedAttributes->{"NumericIndexedGetter"}) {
-            # Assume that if there's a setter, the index will be writable
-            if ($interface->extendedAttributes->{"CustomIndexedSetter"}) {
-                push(@getOwnPropertyDescriptorImpl, "        descriptor.setDescriptor(thisObject->getByIndex(exec, index), ${namespaceMaybe}DontDelete);\n");
-            } else {
-                push(@getOwnPropertyDescriptorImpl, "        descriptor.setDescriptor(thisObject->getByIndex(exec, index), ${namespaceMaybe}DontDelete | ${namespaceMaybe}ReadOnly);\n");
-            }
-        } else {
-            push(@getOwnPropertyDescriptorImpl, "        ${namespaceMaybe}PropertySlot slot;\n");
-            push(@getOwnPropertyDescriptorImpl, "        slot.setCustomIndex(thisObject, index, indexGetter);\n");
-            # Assume that if there's a setter, the index will be writable
-            if ($interface->extendedAttributes->{"CustomIndexedSetter"}) {
-                push(@getOwnPropertyDescriptorImpl, "        descriptor.setDescriptor(slot.getValue(exec, propertyName), ${namespaceMaybe}DontDelete);\n");
-            } else {
-                push(@getOwnPropertyDescriptorImpl, "        descriptor.setDescriptor(slot.getValue(exec, propertyName), ${namespaceMaybe}DontDelete | ${namespaceMaybe}ReadOnly);\n");
-            }
-        }
-        push(@getOwnPropertyDescriptorImpl, "        return true;\n");
-        push(@getOwnPropertyDescriptorImpl, "    }\n");
-    }
-
-    if ($interface->extendedAttributes->{"NamedGetter"} || $interface->extendedAttributes->{"CustomNamedGetter"}) {
-        push(@getOwnPropertyDescriptorImpl, "    if (canGetItemsForName(exec, static_cast<$interfaceName*>(thisObject->impl()), propertyName)) {\n");
-        push(@getOwnPropertyDescriptorImpl, "        ${namespaceMaybe}PropertySlot slot;\n");
-        push(@getOwnPropertyDescriptorImpl, "        slot.setCustom(thisObject, nameGetter);\n");
-        push(@getOwnPropertyDescriptorImpl, "        descriptor.setDescriptor(slot.getValue(exec, propertyName), ReadOnly | DontDelete | DontEnum);\n");
-        push(@getOwnPropertyDescriptorImpl, "        return true;\n");
-        push(@getOwnPropertyDescriptorImpl, "    }\n");
-        if ($inlined) {
-            $headerIncludes{"wtf/text/AtomicString.h"} = 1;
-        } else {
-            $implIncludes{"wtf/text/AtomicString.h"} = 1;
-        }
-    }
-
-    if ($interface->extendedAttributes->{"CustomNamedGetter"}) {
-        &$manualLookupGetterGeneration();
-    }
-
-    if ($interface->extendedAttributes->{"JSCustomGetOwnPropertySlotAndDescriptor"}) {
-        push(@getOwnPropertyDescriptorImpl, "    if (thisObject->getOwnPropertyDescriptorDelegate(exec, propertyName, descriptor))\n");
-        push(@getOwnPropertyDescriptorImpl, "        return true;\n");
-    }
-
-    if ($hasAttributes) {
-        if ($inlined) {
-            die "Cannot inline if NoStaticTables is set." if ($interface->extendedAttributes->{"JSNoStaticTables"});
-            push(@getOwnPropertyDescriptorImpl, "    return ${namespaceMaybe}getStaticValueDescriptor<$className, Base>(exec, s_info.staticPropHashTable, thisObject, propertyName, descriptor);\n");
-        } else {
-            push(@getOwnPropertyDescriptorImpl, "    return ${namespaceMaybe}getStaticValueDescriptor<$className, Base>(exec, " . hashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $className) . ", thisObject, propertyName, descriptor);\n");
-        }
-    } else {
-        push(@getOwnPropertyDescriptorImpl, "    return Base::getOwnPropertyDescriptor(thisObject, exec, propertyName, descriptor);\n");
-    }
-    
-    return @getOwnPropertyDescriptorImpl;
-}
-
-sub GenerateHeaderContentHeader
-{
-    my $interface = shift;
-    my $className = "JS" . $interface->name;
-
-    my @headerContentHeader = split("\r", $headerTemplate);
-
-    # - Add header protection
-    push(@headerContentHeader, "\n#ifndef $className" . "_h");
-    push(@headerContentHeader, "\n#define $className" . "_h\n\n");
-
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    push(@headerContentHeader, "#if ${conditionalString}\n\n") if $conditionalString;
-    return @headerContentHeader;
-}
-
-sub GenerateImplementationContentHeader
-{
-    my $interface = shift;
-    my $className = "JS" . $interface->name;
-
-    my @implContentHeader = split("\r", $headerTemplate);
-
-    push(@implContentHeader, "\n#include \"config.h\"\n");
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    push(@implContentHeader, "\n#if ${conditionalString}\n\n") if $conditionalString;
-    push(@implContentHeader, "#include \"$className.h\"\n\n");
-    return @implContentHeader;
-}
-
-my %usesToJSNewlyCreated = (
-    "CDATASection" => 1,
-    "Element" => 1,
-    "Node" => 1,
-    "Text" => 1,
-    "Touch" => 1,
-    "TouchList" => 1
-);
-
-sub ShouldGenerateToJSDeclaration
-{
-    my ($hasParent, $interface) = @_;
-    return 0 if ($interface->extendedAttributes->{"SuppressToJSObject"});
-    return 1 if (!$hasParent or $interface->extendedAttributes->{"JSGenerateToJSObject"} or ($interface->extendedAttributes->{"CustomToJSObject"} or $interface->extendedAttributes->{"JSCustomToJSObject"}));
-    return 0;
-}
-
-sub ShouldGenerateToJSImplementation
-{
-    my ($hasParent, $interface) = @_;
-    return 0 if ($interface->extendedAttributes->{"SuppressToJSObject"});
-    return 1 if ((!$hasParent or $interface->extendedAttributes->{"JSGenerateToJSObject"}) and !($interface->extendedAttributes->{"CustomToJSObject"} or $interface->extendedAttributes->{"JSCustomToJSObject"}));
-    return 0;
-}
-
-sub GetAttributeGetterName
-{
-    my ($interfaceName, $className, $attribute) = @_;
-    if ($attribute->isStatic) {
-        return $codeGenerator->WK_lcfirst($className) . "Constructor" . $codeGenerator->WK_ucfirst($attribute->signature->name);
-    }
-    return "js" . $interfaceName . $codeGenerator->WK_ucfirst($attribute->signature->name) . ($attribute->signature->type =~ /Constructor$/ ? "Constructor" : "");
-}
-
-sub GetAttributeSetterName
-{
-    my ($interfaceName, $className, $attribute) = @_;
-    if ($attribute->isStatic) {
-        return "set" . $codeGenerator->WK_ucfirst($className) . "Constructor" . $codeGenerator->WK_ucfirst($attribute->signature->name);
-    }
-    return "setJS" . $interfaceName . $codeGenerator->WK_ucfirst($attribute->signature->name) . ($attribute->signature->type =~ /Constructor$/ ? "Constructor" : "");
-}
-
-sub GetFunctionName
-{
-    my ($className, $function) = @_;
-    my $kind = $function->isStatic ? "Constructor" : "Prototype";
-    return $codeGenerator->WK_lcfirst($className) . $kind . "Function" . $codeGenerator->WK_ucfirst($function->signature->name);
-}
-
-sub GenerateHeader
-{
-    my $object = shift;
-    my $interface = shift;
-
-    my $interfaceName = $interface->name;
-    my $className = "JS$interfaceName";
-    my @ancestorInterfaceNames = ();
-    my %structureFlags = ();
-
-    # We only support multiple parents with SVG (for now).
-    if (@{$interface->parents} > 1) {
-        die "A class can't have more than one parent" unless $interfaceName =~ /SVG/;
-        $codeGenerator->AddMethodsConstantsAndAttributesFromParentInterfaces($interface, \@ancestorInterfaceNames);
-    }
-
-    my $hasLegacyParent = $interface->extendedAttributes->{"JSLegacyParent"};
-    my $hasRealParent = @{$interface->parents} > 0;
-    my $hasParent = $hasLegacyParent || $hasRealParent;
-    my $parentClassName = GetParentClassName($interface);
-    my $needsMarkChildren = $interface->extendedAttributes->{"JSCustomMarkFunction"} || $interface->extendedAttributes->{"EventTarget"} || $interface->name eq "EventTarget";
-
-    # - Add default header template and header protection
-    push(@headerContentHeader, GenerateHeaderContentHeader($interface));
-
-    if ($hasParent) {
-        $headerIncludes{"$parentClassName.h"} = 1;
-    } else {
-        $headerIncludes{"JSDOMBinding.h"} = 1;
-        $headerIncludes{"<runtime/JSGlobalObject.h>"} = 1;
-        if ($interface->isException) {
-            $headerIncludes{"<runtime/ErrorPrototype.h>"} = 1;
-        } else {
-            $headerIncludes{"<runtime/ObjectPrototype.h>"} = 1;
-        }
-    }
-
-    if ($interface->extendedAttributes->{"CustomCall"}) {
-        $headerIncludes{"<runtime/CallData.h>"} = 1;
-    }
-
-    if ($interface->extendedAttributes->{"JSInlineGetOwnPropertySlot"}) {
-        $headerIncludes{"<runtime/Lookup.h>"} = 1;
-        $headerIncludes{"<wtf/AlwaysInline.h>"} = 1;
-    }
-
-    if ($hasParent && $interface->extendedAttributes->{"JSGenerateToNativeObject"}) {
-        if ($codeGenerator->IsTypedArrayType($interfaceName)) {
-            $headerIncludes{"<wtf/$interfaceName.h>"} = 1;
-        } else {
-            $headerIncludes{"$interfaceName.h"} = 1;
-        }
-    }
-    
-    $headerIncludes{"<runtime/JSObject.h>"} = 1;
-    $headerIncludes{"SVGElement.h"} = 1 if $className =~ /^JSSVG/;
-
-    my $implType = $interfaceName;
-    my ($svgPropertyType, $svgListPropertyType, $svgNativeType) = GetSVGPropertyTypes($implType);
-    $implType = $svgNativeType if $svgNativeType;
-
-    my $svgPropertyOrListPropertyType;
-    $svgPropertyOrListPropertyType = $svgPropertyType if $svgPropertyType;
-    $svgPropertyOrListPropertyType = $svgListPropertyType if $svgListPropertyType;
-
-    my $numConstants = @{$interface->constants};
-    my $numAttributes = @{$interface->attributes};
-    my $numFunctions = @{$interface->functions};
-
-    push(@headerContent, "\nnamespace WebCore {\n\n");
-
-    if ($codeGenerator->IsSVGAnimatedType($interfaceName)) {
-        $headerIncludes{"$interfaceName.h"} = 1;
-    } else {
-        # Implementation class forward declaration
-        if ($interfaceName eq "DOMWindow" || $interface->extendedAttributes->{"IsWorkerContext"}) {
-            AddClassForwardIfNeeded($interfaceName) unless $svgPropertyOrListPropertyType;
-        }
-    }
-
-    AddClassForwardIfNeeded("JSDOMWindowShell") if $interfaceName eq "DOMWindow";
-    AddClassForwardIfNeeded("JSDictionary") if $codeGenerator->IsConstructorTemplate($interface, "Event");
-
-    # Class declaration
-    push(@headerContent, "class $className : public $parentClassName {\n");
-
-    # Static create methods
-    push(@headerContent, "public:\n");
-    push(@headerContent, "    typedef $parentClassName Base;\n");
-    if ($interfaceName eq "DOMWindow") {
-        push(@headerContent, "    static $className* create(JSC::JSGlobalData& globalData, JSC::Structure* structure, PassRefPtr<$implType> impl, JSDOMWindowShell* windowShell)\n");
-        push(@headerContent, "    {\n");
-        push(@headerContent, "        $className* ptr = new (NotNull, JSC::allocateCell<$className>(globalData.heap)) ${className}(globalData, structure, impl, windowShell);\n");
-        push(@headerContent, "        ptr->finishCreation(globalData, windowShell);\n");
-        push(@headerContent, "        globalData.heap.addFinalizer(ptr, destroy);\n");
-        push(@headerContent, "        return ptr;\n");
-        push(@headerContent, "    }\n\n");
-    } elsif ($interface->extendedAttributes->{"IsWorkerContext"}) {
-        push(@headerContent, "    static $className* create(JSC::JSGlobalData& globalData, JSC::Structure* structure, PassRefPtr<$implType> impl)\n");
-        push(@headerContent, "    {\n");
-        push(@headerContent, "        $className* ptr = new (NotNull, JSC::allocateCell<$className>(globalData.heap)) ${className}(globalData, structure, impl);\n");
-        push(@headerContent, "        ptr->finishCreation(globalData);\n");
-        push(@headerContent, "        globalData.heap.addFinalizer(ptr, destroy);\n");
-        push(@headerContent, "        return ptr;\n");
-        push(@headerContent, "    }\n\n");
-    } elsif ($interface->extendedAttributes->{"MasqueradesAsUndefined"}) {
-        AddIncludesForTypeInHeader($implType) unless $svgPropertyOrListPropertyType;
-        push(@headerContent, "    static $className* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<$implType> impl)\n");
-        push(@headerContent, "    {\n");
-        push(@headerContent, "        globalObject->masqueradesAsUndefinedWatchpoint()->notifyWrite();\n");
-        push(@headerContent, "        $className* ptr = new (NotNull, JSC::allocateCell<$className>(globalObject->globalData().heap)) $className(structure, globalObject, impl);\n");
-        push(@headerContent, "        ptr->finishCreation(globalObject->globalData());\n");
-        push(@headerContent, "        return ptr;\n");
-        push(@headerContent, "    }\n\n");
-    } else {
-        AddIncludesForTypeInHeader($implType) unless $svgPropertyOrListPropertyType;
-        push(@headerContent, "    static $className* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<$implType> impl)\n");
-        push(@headerContent, "    {\n");
-        push(@headerContent, "        $className* ptr = new (NotNull, JSC::allocateCell<$className>(globalObject->globalData().heap)) $className(structure, globalObject, impl);\n");
-        push(@headerContent, "        ptr->finishCreation(globalObject->globalData());\n");
-        push(@headerContent, "        return ptr;\n");
-        push(@headerContent, "    }\n\n");
-    }
-
-    if ($interfaceName eq "DOMWindow" || $interface->extendedAttributes->{"IsWorkerContext"}) {
-        push(@headerContent, "    static const bool needsDestruction = false;\n\n");
-    }
-
-    # Prototype
-    push(@headerContent, "    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);\n") unless ($interface->extendedAttributes->{"ExtendsDOMGlobalObject"});
-
-    $headerTrailingIncludes{"${className}Custom.h"} = 1 if $interface->extendedAttributes->{"JSCustomHeader"};
-
-    $implIncludes{"${className}Custom.h"} = 1 if !$interface->extendedAttributes->{"JSCustomHeader"} && ($interface->extendedAttributes->{"CustomPutFunction"} || $interface->extendedAttributes->{"CustomNamedSetter"});
-
-    my $hasImpureNamedGetter =
-        $interface->extendedAttributes->{"NamedGetter"}
-        || $interface->extendedAttributes->{"CustomNamedGetter"}
-        || $interface->extendedAttributes->{"CustomGetOwnPropertySlot"};
-
-    my $hasComplexGetter =
-        $interface->extendedAttributes->{"IndexedGetter"}
-        || $interface->extendedAttributes->{"NumericIndexedGetter"}
-        || $interface->extendedAttributes->{"JSCustomGetOwnPropertySlotAndDescriptor"}
-        || $hasImpureNamedGetter;
-    
-    my $hasGetter = $numAttributes > 0 || !$interface->extendedAttributes->{"OmitConstructor"} || $hasComplexGetter;
-
-    if ($hasImpureNamedGetter) {
-        $structureFlags{"JSC::HasImpureGetOwnPropertySlot"} = 1;
-    }
-
-    # Getters
-    if ($hasGetter) {
-        push(@headerContent, "    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);\n");
-        push(@headerContent, "    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);\n");
-        push(@headerContent, "    static bool getOwnPropertySlotByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);\n") if ($hasComplexGetter);
-        push(@headerContent, "    bool getOwnPropertySlotDelegate(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);\n") if $interface->extendedAttributes->{"JSCustomGetOwnPropertySlotAndDescriptor"};
-        push(@headerContent, "    bool getOwnPropertyDescriptorDelegate(JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);\n") if $interface->extendedAttributes->{"JSCustomGetOwnPropertySlotAndDescriptor"};
-        $structureFlags{"JSC::OverridesGetOwnPropertySlot"} = 1;
-        $structureFlags{"JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero"} = 1;
-    }
-
-    # Check if we have any writable properties
-    my $hasReadWriteProperties = 0;
-    foreach (@{$interface->attributes}) {
-        if (!IsReadonly($_) && !$_->isStatic) {
-            $hasReadWriteProperties = 1;
-        }
-    }
-
-    my $hasComplexSetter =
-        $interface->extendedAttributes->{"CustomPutFunction"}
-        || $interface->extendedAttributes->{"CustomNamedSetter"}
-        || $interface->extendedAttributes->{"CustomIndexedSetter"};
-        
-    my $hasSetter = $hasReadWriteProperties || $hasComplexSetter;
-
-    # Getters
-    if ($hasSetter) {
-        push(@headerContent, "    static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);\n");
-        push(@headerContent, "    static void putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);\n") if ($hasComplexSetter);
-        push(@headerContent, "    bool putDelegate(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);\n") if $interface->extendedAttributes->{"CustomNamedSetter"};
-    }
-
-    if (!$hasParent) {
-        push(@headerContent, "    static void destroy(JSC::JSCell*);\n");
-        push(@headerContent, "    ~${className}();\n");
-    }
-
-    # Class info
-    if ($interfaceName eq "Node") {
-        push(@headerContent, "    static WEBKIT_EXPORTDATA const JSC::ClassInfo s_info;\n\n");
-    } else {
-        push(@headerContent, "    static const JSC::ClassInfo s_info;\n\n");
-    }
-    # Structure ID
-    if ($interfaceName eq "DOMWindow") {
-        $structureFlags{"JSC::ImplementsHasInstance"} = 1;
-    }
-    push(@headerContent, "    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)\n");
-    push(@headerContent, "    {\n");
-    if ($interfaceName eq "DOMWindow" || $interface->extendedAttributes->{"IsWorkerContext"}) {
-        push(@headerContent, "        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::GlobalObjectType, StructureFlags), &s_info);\n");
-    } else {
-        push(@headerContent, "        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);\n");
-    }
-    push(@headerContent, "    }\n\n");
-
-    # Custom pushEventHandlerScope function
-    push(@headerContent, "    JSC::JSScope* pushEventHandlerScope(JSC::ExecState*, JSC::JSScope*) const;\n\n") if $interface->extendedAttributes->{"JSCustomPushEventHandlerScope"};
-
-    # Custom call functions
-    push(@headerContent, "    static JSC::CallType getCallData(JSC::JSCell*, JSC::CallData&);\n\n") if $interface->extendedAttributes->{"CustomCall"};
-
-    # Custom deleteProperty function
-    push(@headerContent, "    static bool deleteProperty(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName);\n") if $interface->extendedAttributes->{"CustomDeleteProperty"};
-    push(@headerContent, "    static bool deletePropertyByIndex(JSC::JSCell*, JSC::ExecState*, unsigned);\n") if $interface->extendedAttributes->{"CustomDeleteProperty"};
-
-    # Custom getPropertyNames function exists on DOMWindow
-    if ($interfaceName eq "DOMWindow") {
-        push(@headerContent, "    static void getPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&, JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties);\n");
-        $structureFlags{"JSC::OverridesGetPropertyNames"} = 1;
-    }
-
-    # Custom getOwnPropertyNames function
-    if ($interface->extendedAttributes->{"CustomEnumerateProperty"} || $interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NumericIndexedGetter"}) {
-        push(@headerContent, "    static void getOwnPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&, JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties);\n");
-        $structureFlags{"JSC::OverridesGetPropertyNames"} = 1;       
-    }
-
-    # Custom defineOwnProperty function
-    push(@headerContent, "    static bool defineOwnProperty(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&, bool shouldThrow);\n") if $interface->extendedAttributes->{"JSCustomDefineOwnProperty"};
-
-    # Override toBoolean to return false for objects that want to 'MasqueradesAsUndefined'.
-    if ($interface->extendedAttributes->{"MasqueradesAsUndefined"}) {
-        $structureFlags{"JSC::MasqueradesAsUndefined"} = 1;
-    }
-
-    # Constructor object getter
-    push(@headerContent, "    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);\n") if !$interface->extendedAttributes->{"OmitConstructor"};
-
-    my $numCustomFunctions = 0;
-    my $numCustomAttributes = 0;
-
-    # Attribute and function enums
-    if ($numAttributes > 0) {
-        foreach (@{$interface->attributes}) {
-            my $attribute = $_;
-            $numCustomAttributes++ if HasCustomGetter($attribute->signature->extendedAttributes);
-            $numCustomAttributes++ if HasCustomSetter($attribute->signature->extendedAttributes);
-            if ($attribute->signature->extendedAttributes->{"CachedAttribute"}) {
-                my $conditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
-                push(@headerContent, "#if ${conditionalString}\n") if $conditionalString;
-                push(@headerContent, "    JSC::WriteBarrier<JSC::Unknown> m_" . $attribute->signature->name . ";\n");
-                $numCachedAttributes++;
-                $needsMarkChildren = 1;
-                push(@headerContent, "#endif\n") if $conditionalString;
-            }
-        }
-    }
-
-    # visit function
-    if ($needsMarkChildren) {
-        push(@headerContent, "    static void visitChildren(JSCell*, JSC::SlotVisitor&);\n\n");
-        $structureFlags{"JSC::OverridesVisitChildren"} = 1;
-    }
-
-    if ($numCustomAttributes > 0) {
-        push(@headerContent, "\n    // Custom attributes\n");
-
-        foreach my $attribute (@{$interface->attributes}) {
-            my $conditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
-            if (HasCustomGetter($attribute->signature->extendedAttributes)) {
-                push(@headerContent, "#if ${conditionalString}\n") if $conditionalString;
-                my $methodName = $codeGenerator->WK_lcfirst($attribute->signature->name);
-                push(@headerContent, "    JSC::JSValue " . $methodName . "(JSC::ExecState*) const;\n");
-                push(@headerContent, "#endif\n") if $conditionalString;
-            }
-            if (HasCustomSetter($attribute->signature->extendedAttributes) && !IsReadonly($attribute)) {
-                push(@headerContent, "#if ${conditionalString}\n") if $conditionalString;
-                push(@headerContent, "    void set" . $codeGenerator->WK_ucfirst($attribute->signature->name) . "(JSC::ExecState*, JSC::JSValue);\n");
-                push(@headerContent, "#endif\n") if $conditionalString;
-            }
-        }
-    }
-
-    foreach my $function (@{$interface->functions}) {
-        $numCustomFunctions++ if HasCustomMethod($function->signature->extendedAttributes);
-    }
-
-    if ($numCustomFunctions > 0) {
-        push(@headerContent, "\n    // Custom functions\n");
-        foreach my $function (@{$interface->functions}) {
-            next unless HasCustomMethod($function->signature->extendedAttributes);
-            next if $function->{overloads} && $function->{overloadIndex} != 1;
-            my $conditionalString = $codeGenerator->GenerateConditionalString($function->signature);
-            push(@headerContent, "#if ${conditionalString}\n") if $conditionalString;
-            my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementedAs"} || $codeGenerator->WK_lcfirst($function->signature->name);
-            push(@headerContent, "    " . ($function->isStatic ? "static " : "") . "JSC::JSValue " . $functionImplementationName . "(JSC::ExecState*);\n");
-            push(@headerContent, "#endif\n") if $conditionalString;
-        }
-    }
-
-    if (!$hasParent) {
-        push(@headerContent, "    $implType* impl() const { return m_impl; }\n");
-        push(@headerContent, "    void releaseImpl() { m_impl->deref(); m_impl = 0; }\n\n");
-        push(@headerContent, "    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }\n\n");
-        push(@headerContent, "private:\n");
-        push(@headerContent, "    $implType* m_impl;\n");
-    } elsif ($interface->extendedAttributes->{"JSGenerateToNativeObject"}) {
-        push(@headerContent, "    $interfaceName* impl() const\n");
-        push(@headerContent, "    {\n");
-        push(@headerContent, "        return static_cast<$interfaceName*>(Base::impl());\n");
-        push(@headerContent, "    }\n");
-    }
-
-    if ($codeGenerator->IsTypedArrayType($implType) and ($implType ne "ArrayBufferView") and ($implType ne "ArrayBuffer")) {
-        push(@headerContent, "    static const JSC::TypedArrayType TypedArrayStorageType = JSC::");
-        push(@headerContent, "TypedArrayInt8") if $implType eq "Int8Array";
-        push(@headerContent, "TypedArrayInt16") if $implType eq "Int16Array";
-        push(@headerContent, "TypedArrayInt32") if $implType eq "Int32Array";
-        push(@headerContent, "TypedArrayUint8") if $implType eq "Uint8Array";
-        push(@headerContent, "TypedArrayUint8Clamped") if $implType eq "Uint8ClampedArray";
-        push(@headerContent, "TypedArrayUint16") if $implType eq "Uint16Array";
-        push(@headerContent, "TypedArrayUint32") if $implType eq "Uint32Array";
-        push(@headerContent, "TypedArrayFloat32") if $implType eq "Float32Array";
-        push(@headerContent, "TypedArrayFloat64") if $implType eq "Float64Array";
-        push(@headerContent, ";\n");
-        push(@headerContent, "    intptr_t m_storageLength;\n");
-        push(@headerContent, "    void* m_storage;\n");
-    }
-
-    push(@headerContent, "protected:\n");
-    # Constructor
-    if ($interfaceName eq "DOMWindow") {
-        push(@headerContent, "    $className(JSC::JSGlobalData&, JSC::Structure*, PassRefPtr<$implType>, JSDOMWindowShell*);\n");
-    } elsif ($interface->extendedAttributes->{"IsWorkerContext"}) {
-        push(@headerContent, "    $className(JSC::JSGlobalData&, JSC::Structure*, PassRefPtr<$implType>);\n");
-    } else {
-        push(@headerContent, "    $className(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<$implType>);\n");
-        push(@headerContent, "    void finishCreation(JSC::JSGlobalData&);\n");
-    }
-
-    # structure flags
-    push(@headerContent, "    static const unsigned StructureFlags = ");
-    foreach my $structureFlag (keys %structureFlags) {
-        push(@headerContent, $structureFlag . " | ");
-    }
-    push(@headerContent, "Base::StructureFlags;\n");
-
-    # Index getter
-    if ($interface->extendedAttributes->{"IndexedGetter"}) {
-        push(@headerContent, "    static JSC::JSValue indexGetter(JSC::ExecState*, JSC::JSValue, unsigned);\n");
-    }
-    if ($interface->extendedAttributes->{"NumericIndexedGetter"}) {
-        push(@headerContent, "    JSC::JSValue getByIndex(JSC::ExecState*, unsigned index);\n");
-    }
-
-    # Index setter
-    if ($interface->extendedAttributes->{"CustomIndexedSetter"}) {
-        push(@headerContent, "    void indexSetter(JSC::ExecState*, unsigned index, JSC::JSValue);\n");
-    }
-    # Name getter
-    if ($interface->extendedAttributes->{"NamedGetter"} || $interface->extendedAttributes->{"CustomNamedGetter"}) {
-        push(@headerContent, "private:\n");
-        push(@headerContent, "    static bool canGetItemsForName(JSC::ExecState*, $interfaceName*, JSC::PropertyName);\n");
-        push(@headerContent, "    static JSC::JSValue nameGetter(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);\n");
-    }
-
-    push(@headerContent, "};\n\n");
-
-    if ($interface->extendedAttributes->{"JSInlineGetOwnPropertySlot"} && !$interface->extendedAttributes->{"CustomGetOwnPropertySlot"}) {
-        push(@headerContent, "ALWAYS_INLINE bool ${className}::getOwnPropertySlot(JSC::JSCell* cell, JSC::ExecState* exec, JSC::PropertyName propertyName, JSC::PropertySlot& slot)\n");
-        push(@headerContent, "{\n");
-        push(@headerContent, "    ${className}* thisObject = JSC::jsCast<${className}*>(cell);\n");
-        push(@headerContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);\n");
-        push(@headerContent, GenerateGetOwnPropertySlotBody($interface, $interfaceName, $className, $numAttributes > 0, 1));
-        push(@headerContent, "}\n\n");
-        push(@headerContent, "ALWAYS_INLINE bool ${className}::getOwnPropertyDescriptor(JSC::JSObject* object, JSC::ExecState* exec, JSC::PropertyName propertyName, JSC::PropertyDescriptor& descriptor)\n");
-        push(@headerContent, "{\n");
-        push(@headerContent, "    ${className}* thisObject = JSC::jsCast<${className}*>(object);\n");
-        push(@headerContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);\n");
-        push(@headerContent, GenerateGetOwnPropertyDescriptorBody($interface, $interfaceName, $className, $numAttributes > 0, 1));
-        push(@headerContent, "}\n\n");
-    }
-
-    if (!$hasParent ||
-        GetGenerateIsReachable($interface) ||
-        GetCustomIsReachable($interface) ||
-        $interface->extendedAttributes->{"JSCustomFinalize"} ||
-        $codeGenerator->InheritsExtendedAttribute($interface, "ActiveDOMObject")) {
-        if ($interfaceName ne "Node" && $codeGenerator->InheritsInterface($interface, "Node")) {
-            $headerIncludes{"JSNode.h"} = 1;
-            push(@headerContent, "class JS${interfaceName}Owner : public JSNodeOwner {\n");
-        } else {
-            push(@headerContent, "class JS${interfaceName}Owner : public JSC::WeakHandleOwner {\n");
-        }
-        push(@headerContent, "public:\n");
-        push(@headerContent, "    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);\n");
-        push(@headerContent, "    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);\n");
-        push(@headerContent, "};\n");
-        push(@headerContent, "\n");
-        push(@headerContent, "inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, $implType*)\n");
-        push(@headerContent, "{\n");
-        push(@headerContent, "    DEFINE_STATIC_LOCAL(JS${interfaceName}Owner, js${interfaceName}Owner, ());\n");
-        push(@headerContent, "    return &js${interfaceName}Owner;\n");
-        push(@headerContent, "}\n");
-        push(@headerContent, "\n");
-        push(@headerContent, "inline void* wrapperContext(DOMWrapperWorld* world, $implType*)\n");
-        push(@headerContent, "{\n");
-        push(@headerContent, "    return world;\n");
-        push(@headerContent, "}\n");
-        push(@headerContent, "\n");
-    }
-    if (ShouldGenerateToJSDeclaration($hasParent, $interface)) {
-        push(@headerContent, "JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, $implType*);\n");
-    }
-    if (!$hasParent || $interface->extendedAttributes->{"JSGenerateToNativeObject"}) {
-        if ($interfaceName eq "NodeFilter") {
-            push(@headerContent, "PassRefPtr<NodeFilter> toNodeFilter(JSC::JSGlobalData&, JSC::JSValue);\n");
-        } elsif ($interfaceName eq "DOMStringList") {
-            push(@headerContent, "PassRefPtr<DOMStringList> toDOMStringList(JSC::ExecState*, JSC::JSValue);\n");
-        } else {
-            push(@headerContent, "$implType* to${interfaceName}(JSC::JSValue);\n");
-        }
-    }
-    if ($usesToJSNewlyCreated{$interfaceName}) {
-        push(@headerContent, "JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, $interfaceName*);\n");
-    }
-    
-    push(@headerContent, "\n");
-
-    # Add prototype declaration.
-    %structureFlags = ();
-    push(@headerContent, "class ${className}Prototype : public JSC::JSNonFinalObject {\n");
-    push(@headerContent, "public:\n");
-    push(@headerContent, "    typedef JSC::JSNonFinalObject Base;\n");
-    if ($interfaceName ne "DOMWindow" && !$interface->extendedAttributes->{"IsWorkerContext"}) {
-        push(@headerContent, "    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);\n");
-    }
-
-    push(@headerContent, "    static ${className}Prototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)\n");
-    push(@headerContent, "    {\n");
-    push(@headerContent, "        ${className}Prototype* ptr = new (NotNull, JSC::allocateCell<${className}Prototype>(globalData.heap)) ${className}Prototype(globalData, globalObject, structure);\n");
-    push(@headerContent, "        ptr->finishCreation(globalData);\n");
-    push(@headerContent, "        return ptr;\n");
-    push(@headerContent, "    }\n\n");
-
-    push(@headerContent, "    static const JSC::ClassInfo s_info;\n");
-    if ($numFunctions > 0 || $numConstants > 0) {
-        push(@headerContent, "    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);\n");
-        push(@headerContent, "    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);\n");
-        $structureFlags{"JSC::OverridesGetOwnPropertySlot"} = 1;
-    }
-    if ($interface->extendedAttributes->{"JSCustomMarkFunction"} or $needsMarkChildren) {
-        $structureFlags{"JSC::OverridesVisitChildren"} = 1;
-    }
-    push(@headerContent,
-        "    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)\n" .
-        "    {\n" .
-        "        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);\n" .
-        "    }\n");
-    if ($interface->extendedAttributes->{"JSCustomNamedGetterOnPrototype"}) {
-        push(@headerContent, "    static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);\n");
-        push(@headerContent, "    bool putDelegate(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);\n");
-    }
-
-    # Custom defineOwnProperty function
-    push(@headerContent, "    static bool defineOwnProperty(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&, bool shouldThrow);\n") if $interface->extendedAttributes->{"JSCustomDefineOwnPropertyOnPrototype"};
-
-    push(@headerContent, "\nprivate:\n");
-    push(@headerContent, "    ${className}Prototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }\n");
-
-    # structure flags
-    push(@headerContent, "protected:\n");
-    push(@headerContent, "    static const unsigned StructureFlags = ");
-    foreach my $structureFlag (keys %structureFlags) {
-        push(@headerContent, $structureFlag . " | ");
-    }
-    push(@headerContent, "Base::StructureFlags;\n");
-
-    push(@headerContent, "};\n\n");
-
-    if (!$interface->extendedAttributes->{"OmitConstructor"}) {
-        $headerIncludes{"JSDOMBinding.h"} = 1;
-        GenerateConstructorDeclaration(\@headerContent, $className, $interface, $interfaceName);
-    }
-
-    if ($numFunctions > 0) {
-        push(@headerContent,"// Functions\n\n");
-        foreach my $function (@{$interface->functions}) {
-            next if $function->{overloadIndex} && $function->{overloadIndex} > 1;
-            my $conditionalString = $codeGenerator->GenerateConditionalString($function->signature);
-            push(@headerContent, "#if ${conditionalString}\n") if $conditionalString;
-            my $functionName = GetFunctionName($className, $function);
-            push(@headerContent, "JSC::EncodedJSValue JSC_HOST_CALL ${functionName}(JSC::ExecState*);\n");
-            push(@headerContent, "#endif\n") if $conditionalString;
-        }
-    }
-
-    if ($numAttributes > 0 || !$interface->extendedAttributes->{"OmitConstructor"}) {
-        push(@headerContent,"// Attributes\n\n");
-        foreach my $attribute (@{$interface->attributes}) {
-            my $conditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
-            push(@headerContent, "#if ${conditionalString}\n") if $conditionalString;
-            my $getter = GetAttributeGetterName($interfaceName, $className, $attribute);
-            push(@headerContent, "JSC::JSValue ${getter}(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);\n");
-            if (!IsReadonly($attribute)) {
-                my $setter = GetAttributeSetterName($interfaceName, $className, $attribute);
-                push(@headerContent, "void ${setter}(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);\n");
-            }
-            push(@headerContent, "#endif\n") if $conditionalString;
-        }
-        
-        if (!$interface->extendedAttributes->{"OmitConstructor"}) {
-            my $getter = "js" . $interfaceName . "Constructor";
-            push(@headerContent, "JSC::JSValue ${getter}(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);\n");
-        }
-
-        if ($interface->extendedAttributes->{"ReplaceableConstructor"}) {
-            my $constructorFunctionName = "setJS" . $interfaceName . "Constructor";
-            push(@headerContent, "void ${constructorFunctionName}(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);\n");
-        }
-    }
-
-    if ($numConstants > 0) {
-        push(@headerContent,"// Constants\n\n");
-        foreach my $constant (@{$interface->constants}) {
-            my $conditionalString = $codeGenerator->GenerateConditionalString($constant);
-            push(@headerContent, "#if ${conditionalString}\n") if $conditionalString;
-            my $getter = "js" . $interfaceName . $codeGenerator->WK_ucfirst($constant->name);
-            push(@headerContent, "JSC::JSValue ${getter}(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);\n");
-            push(@headerContent, "#endif\n") if $conditionalString;
-        }
-    }
-
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    push(@headerContent, "\n} // namespace WebCore\n\n");
-    push(@headerContent, "#endif // ${conditionalString}\n\n") if $conditionalString;
-    push(@headerContent, "#endif\n");
-
-    # - Generate dependencies.
-    if ($writeDependencies && @ancestorInterfaceNames) {
-        push(@depsContent, "$className.h : ", join(" ", map { "$_.idl" } @ancestorInterfaceNames), "\n");
-        push(@depsContent, map { "$_.idl :\n" } @ancestorInterfaceNames); 
-    }
-}
-
-sub GenerateAttributesHashTable($$)
-{
-    my ($object, $interface) = @_;
-
-    # FIXME: These should be functions on $interface.
-    my $interfaceName = $interface->name;
-    my $className = "JS$interfaceName";
-    
-    # - Add all attributes in a hashtable definition
-    my $numAttributes = @{$interface->attributes};
-    $numAttributes++ if !$interface->extendedAttributes->{"OmitConstructor"};
-
-    return 0  if !$numAttributes;
-
-    my $hashSize = $numAttributes;
-    my $hashName = $className . "Table";
-
-    my @hashKeys = ();
-    my @hashSpecials = ();
-    my @hashValue1 = ();
-    my @hashValue2 = ();
-    my %conditionals = ();
-
-    my @entries = ();
-
-    foreach my $attribute (@{$interface->attributes}) {
-        next if ($attribute->isStatic);
-        my $name = $attribute->signature->name;
-        push(@hashKeys, $name);
-
-        my @specials = ();
-        push(@specials, "DontDelete") unless $attribute->signature->extendedAttributes->{"Deletable"};
-        push(@specials, "DontEnum") if $attribute->signature->extendedAttributes->{"NotEnumerable"};
-        push(@specials, "ReadOnly") if IsReadonly($attribute);
-        my $special = (@specials > 0) ? join(" | ", @specials) : "0";
-        push(@hashSpecials, $special);
-
-        my $getter = GetAttributeGetterName($interfaceName, $className, $attribute);
-        push(@hashValue1, $getter);
-
-        if (IsReadonly($attribute)) {
-            push(@hashValue2, "0");
-        } else {
-            my $setter = GetAttributeSetterName($interfaceName, $className, $attribute);
-            push(@hashValue2, $setter);
-        }
-
-        my $conditional = $attribute->signature->extendedAttributes->{"Conditional"};
-        if ($conditional) {
-            $conditionals{$name} = $conditional;
-        }
-    }
-
-    if (!$interface->extendedAttributes->{"OmitConstructor"}) {
-        push(@hashKeys, "constructor");
-        my $getter = "js" . $interfaceName . "Constructor";
-        push(@hashValue1, $getter);
-        if ($interface->extendedAttributes->{"ReplaceableConstructor"}) {
-            my $setter = "setJS" . $interfaceName . "Constructor";
-            push(@hashValue2, $setter);
-            push(@hashSpecials, "DontEnum | DontDelete");
-        } else {            
-            push(@hashValue2, "0");
-            push(@hashSpecials, "DontEnum | ReadOnly");
-        }
-    }
-
-    $object->GenerateHashTable($hashName, $hashSize,
-                               \@hashKeys, \@hashSpecials,
-                               \@hashValue1, \@hashValue2,
-                               \%conditionals);
-    return $numAttributes;
-}
-
-sub GenerateParametersCheckExpression
-{
-    my $numParameters = shift;
-    my $function = shift;
-
-    my @andExpression = ();
-    push(@andExpression, "argsCount == $numParameters");
-    my $parameterIndex = 0;
-    my %usedArguments = ();
-    foreach my $parameter (@{$function->parameters}) {
-        last if $parameterIndex >= $numParameters;
-        my $value = "arg$parameterIndex";
-        my $type = $parameter->type;
-
-        # Only DOMString or wrapper types are checked.
-        # For DOMString with StrictTypeChecking only Null, Undefined and Object
-        # are accepted for compatibility. Otherwise, no restrictions are made to
-        # match the non-overloaded behavior.
-        # FIXME: Implement WebIDL overload resolution algorithm.
-        if ($codeGenerator->IsStringType($type)) {
-            if ($parameter->extendedAttributes->{"StrictTypeChecking"}) {
-                push(@andExpression, "(${value}.isUndefinedOrNull() || ${value}.isString() || ${value}.isObject())");
-                $usedArguments{$parameterIndex} = 1;
-            }
-        } elsif ($parameter->extendedAttributes->{"Callback"}) {
-            # For Callbacks only checks if the value is null or object.
-            push(@andExpression, "(${value}.isNull() || ${value}.isFunction())");
-            $usedArguments{$parameterIndex} = 1;
-        } elsif ($codeGenerator->GetArrayType($type) || $codeGenerator->GetSequenceType($type)) {
-            # FIXME: Add proper support for T[], T[]?, sequence<T>
-            if ($parameter->isNullable) {
-                push(@andExpression, "(${value}.isNull() || (${value}.isObject() && isJSArray(${value})))");
-            } else {
-                push(@andExpression, "(${value}.isObject() && isJSArray(${value}))");
-            }
-            $usedArguments{$parameterIndex} = 1;
-        } elsif (!IsNativeType($type)) {
-            if ($parameter->isNullable) {
-                push(@andExpression, "(${value}.isNull() || (${value}.isObject() && asObject(${value})->inherits(&JS${type}::s_info)))");
-            } else {
-                push(@andExpression, "(${value}.isObject() && asObject(${value})->inherits(&JS${type}::s_info))");
-            }
-            $usedArguments{$parameterIndex} = 1;
-        }
-        $parameterIndex++;
-    }
-    my $res = join(" && ", @andExpression);
-    $res = "($res)" if @andExpression > 1;
-    return ($res, keys %usedArguments);
-}
-
-sub GenerateFunctionParametersCheck
-{
-    my $function = shift;
-
-    my @orExpression = ();
-    my $numParameters = 0;
-    my @neededArguments = ();
-    my $hasVariadic = 0;
-    my $numMandatoryParams = @{$function->parameters};
-
-    foreach my $parameter (@{$function->parameters}) {
-        if ($parameter->extendedAttributes->{"Optional"}) {
-            my ($expression, @usedArguments) = GenerateParametersCheckExpression($numParameters, $function);
-            push(@orExpression, $expression);
-            push(@neededArguments, @usedArguments);
-            $numMandatoryParams--;
-        }
-        if ($parameter->isVariadic) {
-            $hasVariadic = 1;
-            last;
-        }
-        $numParameters++;
-    }
-    if (!$hasVariadic) {
-        my ($expression, @usedArguments) = GenerateParametersCheckExpression($numParameters, $function);
-        push(@orExpression, $expression);
-        push(@neededArguments, @usedArguments);
-    }
-    return ($numMandatoryParams, join(" || ", @orExpression), @neededArguments);
-}
-
-sub GenerateOverloadedFunction
-{
-    my $function = shift;
-    my $interface = shift;
-    my $interfaceName = shift;
-
-    # Generate code for choosing the correct overload to call. Overloads are
-    # chosen based on the total number of arguments passed and the type of
-    # values passed in non-primitive argument slots. When more than a single
-    # overload is applicable, precedence is given according to the order of
-    # declaration in the IDL.
-
-    my $kind = $function->isStatic ? "Constructor" : "Prototype";
-    my $functionName = "js${interfaceName}${kind}Function" . $codeGenerator->WK_ucfirst($function->signature->name);
-
-    push(@implContent, "EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* exec)\n");
-    push(@implContent, <<END);
-{
-    size_t argsCount = exec->argumentCount();
-END
-
-    my %fetchedArguments = ();
-    my $leastNumMandatoryParams = 255;
-
-    foreach my $overload (@{$function->{overloads}}) {
-        my ($numMandatoryParams, $parametersCheck, @neededArguments) = GenerateFunctionParametersCheck($overload);
-        $leastNumMandatoryParams = $numMandatoryParams if ($numMandatoryParams < $leastNumMandatoryParams);
-
-        foreach my $parameterIndex (@neededArguments) {
-            next if exists $fetchedArguments{$parameterIndex};
-            push(@implContent, "    JSValue arg$parameterIndex(exec->argument($parameterIndex));\n");
-            $fetchedArguments{$parameterIndex} = 1;
-        }
-
-        push(@implContent, "    if ($parametersCheck)\n");
-        push(@implContent, "        return ${functionName}$overload->{overloadIndex}(exec);\n");
-    }
-    if ($leastNumMandatoryParams >= 1) {
-        push(@implContent, "    if (argsCount < $leastNumMandatoryParams)\n");
-        push(@implContent, "        return throwVMError(exec, createNotEnoughArgumentsError(exec));\n");
-    }
-    push(@implContent, <<END);
-    return throwVMTypeError(exec);
-}
-
-END
-}
-
-sub GenerateImplementation
-{
-    my ($object, $interface) = @_;
-
-    my $interfaceName = $interface->name;
-    my $className = "JS$interfaceName";
-
-    my $hasLegacyParent = $interface->extendedAttributes->{"JSLegacyParent"};
-    my $hasRealParent = @{$interface->parents} > 0;
-    my $hasParent = $hasLegacyParent || $hasRealParent;
-    my $parentClassName = GetParentClassName($interface);
-    my $visibleInterfaceName = $codeGenerator->GetVisibleInterfaceName($interface);
-    my $eventTarget = $interface->extendedAttributes->{"EventTarget"} || ($codeGenerator->InheritsInterface($interface, "EventTarget") && $interface->name ne "EventTarget");
-    my $needsMarkChildren = $interface->extendedAttributes->{"JSCustomMarkFunction"} || $interface->extendedAttributes->{"EventTarget"} || $interface->name eq "EventTarget";
-
-    # - Add default header template
-    push(@implContentHeader, GenerateImplementationContentHeader($interface));
-
-    AddIncludesForSVGAnimatedType($interfaceName) if $className =~ /^JSSVGAnimated/;
-
-    $implIncludes{"<wtf/GetPtr.h>"} = 1;
-    $implIncludes{"<runtime/PropertyNameArray.h>"} = 1 if $interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NumericIndexedGetter"};
-
-    AddIncludesForTypeInImpl($interfaceName);
-
-    @implContent = ();
-
-    push(@implContent, "\nusing namespace JSC;\n\n");
-    push(@implContent, "namespace WebCore {\n\n");
-
-    my $numAttributes = GenerateAttributesHashTable($object, $interface);
-
-    my $numConstants = @{$interface->constants};
-    my $numFunctions = @{$interface->functions};
-
-    # - Add all constants
-    if (!$interface->extendedAttributes->{"OmitConstructor"}) {
-        my $hashSize = $numConstants;
-        my $hashName = $className . "ConstructorTable";
-
-        my @hashKeys = ();
-        my @hashValue1 = ();
-        my @hashValue2 = ();
-        my @hashSpecials = ();
-        my %conditionals = ();
-
-        # FIXME: we should not need a function for every constant.
-        foreach my $constant (@{$interface->constants}) {
-            my $name = $constant->name;
-            push(@hashKeys, $name);
-            my $getter = "js" . $interfaceName . $codeGenerator->WK_ucfirst($name);
-            push(@hashValue1, $getter);
-            push(@hashValue2, "0");
-            push(@hashSpecials, "DontDelete | ReadOnly");
-
-            my $implementedBy = $constant->extendedAttributes->{"ImplementedBy"};
-            if ($implementedBy) {
-                $implIncludes{"${implementedBy}.h"} = 1;
-            }
-            my $conditional = $constant->extendedAttributes->{"Conditional"};
-            if ($conditional) {
-                $conditionals{$name} = $conditional;
-            }
-        }
-
-        foreach my $attribute (@{$interface->attributes}) {
-            next unless ($attribute->isStatic);
-            my $name = $attribute->signature->name;
-            push(@hashKeys, $name);
-
-            my @specials = ();
-            push(@specials, "DontDelete") unless $attribute->signature->extendedAttributes->{"Deletable"};
-            push(@specials, "ReadOnly") if IsReadonly($attribute);
-            my $special = (@specials > 0) ? join(" | ", @specials) : "0";
-            push(@hashSpecials, $special);
-
-            my $getter = GetAttributeGetterName($interfaceName, $className, $attribute);
-            push(@hashValue1, $getter);
-
-            if (IsReadonly($attribute)) {
-                push(@hashValue2, "0");
-            } else {
-                my $setter = GetAttributeSetterName($interfaceName, $className, $attribute);
-                push(@hashValue2, $setter);
-            }
-
-            my $conditional = $attribute->signature->extendedAttributes->{"Conditional"};
-            if ($conditional) {
-                $conditionals{$name} = $conditional;
-            }
-        }
-
-        foreach my $function (@{$interface->functions}) {
-            next unless ($function->isStatic);
-            next if $function->{overloadIndex} && $function->{overloadIndex} > 1;
-            my $name = $function->signature->name;
-            push(@hashKeys, $name);
-
-            my $functionName = GetFunctionName($className, $function);
-            push(@hashValue1, $functionName);
-
-            my $numParameters = @{$function->parameters};
-            push(@hashValue2, $numParameters);
-
-            my @specials = ();
-            push(@specials, "DontDelete") unless $function->signature->extendedAttributes->{"Deletable"};
-            push(@specials, "DontEnum") if $function->signature->extendedAttributes->{"NotEnumerable"};
-            push(@specials, "JSC::Function");
-            my $special = (@specials > 0) ? join(" | ", @specials) : "0";
-            push(@hashSpecials, $special);
-
-            my $conditional = $function->signature->extendedAttributes->{"Conditional"};
-            if ($conditional) {
-                $conditionals{$name} = $conditional;
-            }
-        }
-
-        $object->GenerateHashTable($hashName, $hashSize,
-                                   \@hashKeys, \@hashSpecials,
-                                   \@hashValue1, \@hashValue2,
-                                   \%conditionals);
-
-        push(@implContent, $codeGenerator->GenerateCompileTimeCheckForEnumsIfNeeded($interface));
-
-        my $protoClassName = "${className}Prototype";
-        GenerateConstructorDefinitions(\@implContent, $className, $protoClassName, $interfaceName, $visibleInterfaceName, $interface);
-        if ($interface->extendedAttributes->{"NamedConstructor"}) {
-            GenerateConstructorDefinitions(\@implContent, $className, $protoClassName, $interfaceName, $interface->extendedAttributes->{"NamedConstructor"}, $interface, "GeneratingNamedConstructor");
-        }
-    }
-
-    # - Add functions and constants to a hashtable definition
-    my $hashSize = $numFunctions + $numConstants;
-    my $hashName = $className . "PrototypeTable";
-
-    my @hashKeys = ();
-    my @hashValue1 = ();
-    my @hashValue2 = ();
-    my @hashSpecials = ();
-    my %conditionals = ();
-
-    # FIXME: we should not need a function for every constant.
-    foreach my $constant (@{$interface->constants}) {
-        my $name = $constant->name;
-        push(@hashKeys, $name);
-        my $getter = "js" . $interfaceName . $codeGenerator->WK_ucfirst($name);
-        push(@hashValue1, $getter);
-        push(@hashValue2, "0");
-        push(@hashSpecials, "DontDelete | ReadOnly");
-
-        my $conditional = $constant->extendedAttributes->{"Conditional"};
-        if ($conditional) {
-            $conditionals{$name} = $conditional;
-        }
-    }
-
-    foreach my $function (@{$interface->functions}) {
-        next if ($function->isStatic);
-        next if $function->{overloadIndex} && $function->{overloadIndex} > 1;
-        my $name = $function->signature->name;
-        push(@hashKeys, $name);
-
-        my $functionName = GetFunctionName($className, $function);
-        push(@hashValue1, $functionName);
-
-        my $numParameters = @{$function->parameters};
-        push(@hashValue2, $numParameters);
-
-        my @specials = ();
-        push(@specials, "DontDelete") unless $function->signature->extendedAttributes->{"Deletable"};
-        push(@specials, "DontEnum") if $function->signature->extendedAttributes->{"NotEnumerable"};
-        push(@specials, "JSC::Function");
-        my $special = (@specials > 0) ? join(" | ", @specials) : "0";
-        push(@hashSpecials, $special);
-
-        my $conditional = $function->signature->extendedAttributes->{"Conditional"};
-        if ($conditional) {
-            $conditionals{$name} = $conditional;
-        }
-    }
-
-    $object->GenerateHashTable($hashName, $hashSize,
-                               \@hashKeys, \@hashSpecials,
-                               \@hashValue1, \@hashValue2,
-                               \%conditionals);
-
-    if ($interface->extendedAttributes->{"JSNoStaticTables"}) {
-        push(@implContent, "static const HashTable* get${className}PrototypeTable(ExecState* exec)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    return getHashTableForGlobalData(exec->globalData(), &${className}PrototypeTable);\n");
-        push(@implContent, "}\n\n");
-        push(@implContent, "const ClassInfo ${className}Prototype::s_info = { \"${visibleInterfaceName}Prototype\", &Base::s_info, 0, get${className}PrototypeTable, CREATE_METHOD_TABLE(${className}Prototype) };\n\n");
-    } else {
-        push(@implContent, "const ClassInfo ${className}Prototype::s_info = { \"${visibleInterfaceName}Prototype\", &Base::s_info, &${className}PrototypeTable, 0, CREATE_METHOD_TABLE(${className}Prototype) };\n\n");
-    }
-    if ($interfaceName ne "DOMWindow" && !$interface->extendedAttributes->{"IsWorkerContext"}) {
-        push(@implContent, "JSObject* ${className}Prototype::self(ExecState* exec, JSGlobalObject* globalObject)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    return getDOMPrototype<${className}>(exec, globalObject);\n");
-        push(@implContent, "}\n\n");
-    }
-
-    if ($numConstants > 0 || $numFunctions > 0) {
-        push(@implContent, "bool ${className}Prototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    ${className}Prototype* thisObject = jsCast<${className}Prototype*>(cell);\n");
-
-        if ($numConstants eq 0 && $numFunctions eq 0) {
-            push(@implContent, "    return Base::getOwnPropertySlot(thisObject, exec, propertyName, slot);\n");        
-        } elsif ($numConstants eq 0) {
-            push(@implContent, "    return getStaticFunctionSlot<JSObject>(exec, " . prototypeHashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $className) . ", thisObject, propertyName, slot);\n");
-        } elsif ($numFunctions eq 0) {
-            push(@implContent, "    return getStaticValueSlot<${className}Prototype, JSObject>(exec, " . prototypeHashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $className) . ", thisObject, propertyName, slot);\n");
-        } else {
-            push(@implContent, "    return getStaticPropertySlot<${className}Prototype, JSObject>(exec, " . prototypeHashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $className) . ", thisObject, propertyName, slot);\n");
-        }
-        push(@implContent, "}\n\n");
-
-        push(@implContent, "bool ${className}Prototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    ${className}Prototype* thisObject = jsCast<${className}Prototype*>(object);\n");
-
-        if ($numConstants eq 0 && $numFunctions eq 0) {
-            push(@implContent, "    return Base::getOwnPropertyDescriptor(thisObject, exec, propertyName, descriptor);\n");        
-        } elsif ($numConstants eq 0) {
-            push(@implContent, "    return getStaticFunctionDescriptor<JSObject>(exec, " . prototypeHashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $className) . ", thisObject, propertyName, descriptor);\n");
-        } elsif ($numFunctions eq 0) {
-            push(@implContent, "    return getStaticValueDescriptor<${className}Prototype, JSObject>(exec, " . prototypeHashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $className) . ", thisObject, propertyName, descriptor);\n");
-        } else {
-            push(@implContent, "    return getStaticPropertyDescriptor<${className}Prototype, JSObject>(exec, " . prototypeHashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $className) . ", thisObject, propertyName, descriptor);\n");
-        }
-        push(@implContent, "}\n\n");
-    }
-
-    if ($interface->extendedAttributes->{"JSCustomNamedGetterOnPrototype"}) {
-        push(@implContent, "void ${className}Prototype::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    ${className}Prototype* thisObject = jsCast<${className}Prototype*>(cell);\n");
-        push(@implContent, "    if (thisObject->putDelegate(exec, propertyName, value, slot))\n");
-        push(@implContent, "        return;\n");
-        push(@implContent, "    Base::put(thisObject, exec, propertyName, value, slot);\n");
-        push(@implContent, "}\n\n");
-    }
-
-    # - Initialize static ClassInfo object
-    if ($numAttributes > 0 && $interface->extendedAttributes->{"JSNoStaticTables"}) {
-        push(@implContent, "static const HashTable* get${className}Table(ExecState* exec)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    return getHashTableForGlobalData(exec->globalData(), &${className}Table);\n");
-        push(@implContent, "}\n\n");
-    }
-
-    push(@implContent, "const ClassInfo $className" . "::s_info = { \"${visibleInterfaceName}\", &Base::s_info, ");
-
-    if ($numAttributes > 0 && !$interface->extendedAttributes->{"JSNoStaticTables"}) {
-        push(@implContent, "&${className}Table");
-    } else {
-        push(@implContent, "0");
-    }
-    if ($numAttributes > 0 && $interface->extendedAttributes->{"JSNoStaticTables"}) {
-        push(@implContent, ", get${className}Table ");
-    } else {
-        push(@implContent, ", 0 ");
-    }
-    push(@implContent, ", CREATE_METHOD_TABLE($className) };\n\n");
-
-    my $implType = $interfaceName;
-    my ($svgPropertyType, $svgListPropertyType, $svgNativeType) = GetSVGPropertyTypes($implType);
-    $implType = $svgNativeType if $svgNativeType;
-
-    my $svgPropertyOrListPropertyType;
-    $svgPropertyOrListPropertyType = $svgPropertyType if $svgPropertyType;
-    $svgPropertyOrListPropertyType = $svgListPropertyType if $svgListPropertyType;
-
-    # Constructor
-    if ($interfaceName eq "DOMWindow") {
-        AddIncludesForTypeInImpl("JSDOMWindowShell");
-        push(@implContent, "${className}::$className(JSGlobalData& globalData, Structure* structure, PassRefPtr<$implType> impl, JSDOMWindowShell* shell)\n");
-        push(@implContent, "    : $parentClassName(globalData, structure, impl, shell)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "}\n\n");
-    } elsif ($interface->extendedAttributes->{"IsWorkerContext"}) {
-        AddIncludesForTypeInImpl($interfaceName);
-        push(@implContent, "${className}::$className(JSGlobalData& globalData, Structure* structure, PassRefPtr<$implType> impl)\n");
-        push(@implContent, "    : $parentClassName(globalData, structure, impl)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "}\n\n");
-    } else {
-        push(@implContent, "${className}::$className(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<$implType> impl)\n");
-        if ($hasParent) {
-            push(@implContent, "    : $parentClassName(structure, globalObject, impl)\n");
-        } else {
-            push(@implContent, "    : $parentClassName(structure, globalObject)\n");
-            push(@implContent, "    , m_impl(impl.leakRef())\n");
-        }
-        push(@implContent, "{\n");
-        push(@implContent, "}\n\n");
-
-        push(@implContent, "void ${className}::finishCreation(JSGlobalData& globalData)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    Base::finishCreation(globalData);\n");
-        if ($codeGenerator->IsTypedArrayType($implType) and ($implType ne "ArrayBufferView") and ($implType ne "ArrayBuffer")) {
-            push(@implContent, "    TypedArrayDescriptor descriptor(&${className}::s_info, OBJECT_OFFSETOF(${className}, m_storage), OBJECT_OFFSETOF(${className}, m_storageLength));\n");
-            push(@implContent, "    globalData.registerTypedArrayDescriptor(impl(), descriptor);\n");
-            push(@implContent, "    m_storage = impl()->data();\n");
-            push(@implContent, "    m_storageLength = impl()->length();\n");
-        }
-        push(@implContent, "    ASSERT(inherits(&s_info));\n");
-        push(@implContent, "}\n\n");
-    }
-
-    if (!$interface->extendedAttributes->{"ExtendsDOMGlobalObject"}) {
-        push(@implContent, "JSObject* ${className}::createPrototype(ExecState* exec, JSGlobalObject* globalObject)\n");
-        push(@implContent, "{\n");
-        if ($hasParent && $parentClassName ne "JSC::DOMNodeFilter") {
-            push(@implContent, "    return ${className}Prototype::create(exec->globalData(), globalObject, ${className}Prototype::createStructure(exec->globalData(), globalObject, ${parentClassName}Prototype::self(exec, globalObject)));\n");
-        } else {
-            my $prototype = $interface->isException ? "errorPrototype" : "objectPrototype";
-            push(@implContent, "    return ${className}Prototype::create(exec->globalData(), globalObject, ${className}Prototype::createStructure(globalObject->globalData(), globalObject, globalObject->${prototype}()));\n");
-        }
-        push(@implContent, "}\n\n");
-    }
-
-    if (!$hasParent) {
-        # FIXME: This destroy function should not be necessary, as 
-        # a finalizer should be called for each DOM object wrapper.
-        # However, that seems not to be the case, so this has been
-        # added back to avoid leaking while we figure out why the
-        # finalizers are not always getting called. The work tracking
-        # the finalizer issue is being tracked in http://webkit.org/b/75451
-        push(@implContent, "void ${className}::destroy(JSC::JSCell* cell)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    ${className}* thisObject = static_cast<${className}*>(cell);\n");
-        push(@implContent, "    thisObject->${className}::~${className}();\n");
-        push(@implContent, "}\n\n");
-
-        # We also need a destructor for the allocateCell to work properly with the destructor-free part of the heap.
-        # Otherwise, these destroy functions/destructors won't get called.
-        push(@implContent, "${className}::~${className}()\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    releaseImplIfNotNull();\n");
-        push(@implContent, "}\n\n");
-    }
-
-    my $hasGetter = $numAttributes > 0
-                 || !$interface->extendedAttributes->{"OmitConstructor"} 
-                 || $interface->extendedAttributes->{"IndexedGetter"}
-                 || $interface->extendedAttributes->{"NumericIndexedGetter"}
-                 || $interface->extendedAttributes->{"JSCustomGetOwnPropertySlotAndDescriptor"}
-                 || $interface->extendedAttributes->{"CustomGetOwnPropertySlot"}
-                 || $interface->extendedAttributes->{"NamedGetter"}
-                 || $interface->extendedAttributes->{"CustomNamedGetter"};
-
-    # Attributes
-    if ($hasGetter) {
-        if (!$interface->extendedAttributes->{"JSInlineGetOwnPropertySlot"} && !$interface->extendedAttributes->{"CustomGetOwnPropertySlot"}) {
-            push(@implContent, "bool ${className}::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)\n");
-            push(@implContent, "{\n");
-            push(@implContent, "    ${className}* thisObject = jsCast<${className}*>(cell);\n");
-            push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);\n");
-            push(@implContent, GenerateGetOwnPropertySlotBody($interface, $interfaceName, $className, $numAttributes > 0, 0));
-            push(@implContent, "}\n\n");
-            push(@implContent, "bool ${className}::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)\n");
-            push(@implContent, "{\n");
-            push(@implContent, "    ${className}* thisObject = jsCast<${className}*>(object);\n");
-            push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);\n");
-            push(@implContent, GenerateGetOwnPropertyDescriptorBody($interface, $interfaceName, $className, $numAttributes > 0, 0));
-            push(@implContent, "}\n\n");
-        }
-
-        if ($interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NumericIndexedGetter"}
-                || $interface->extendedAttributes->{"NamedGetter"} || $interface->extendedAttributes->{"CustomNamedGetter"}
-                || $interface->extendedAttributes->{"JSCustomGetOwnPropertySlotAndDescriptor"}) {
-            push(@implContent, "bool ${className}::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned index, PropertySlot& slot)\n");
-            push(@implContent, "{\n");
-            push(@implContent, "    ${className}* thisObject = jsCast<${className}*>(cell);\n");
-            push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);\n");
-
-            # Sink the int-to-string conversion that happens when we create a PropertyName
-            # to the point where we actually need it.
-            my $generatedPropertyName = 0;
-            my $propertyNameGeneration = sub {
-                if ($generatedPropertyName) {
-                    return;
-                }
-                push(@implContent, "    PropertyName propertyName = Identifier::from(exec, index);\n");
-                $generatedPropertyName = 1;
-            };
-
-            if ($interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NumericIndexedGetter"}) {
-                if (IndexGetterReturnsStrings($interfaceName)) {
-                    push(@implContent, "    if (index <= MAX_ARRAY_INDEX) {\n");
-                } else {
-                    push(@implContent, "    if (index < static_cast<$interfaceName*>(thisObject->impl())->length()) {\n");
-                }
-                if ($interface->extendedAttributes->{"NumericIndexedGetter"}) {
-                    push(@implContent, "        slot.setValue(thisObject->getByIndex(exec, index));\n");
-                } else {
-                    push(@implContent, "        slot.setCustomIndex(thisObject, index, thisObject->indexGetter);\n");
-                }
-                push(@implContent, "        return true;\n");
-                push(@implContent, "    }\n");
-            }
-
-            if ($interface->extendedAttributes->{"NamedGetter"} || $interface->extendedAttributes->{"CustomNamedGetter"}) {
-                &$propertyNameGeneration();
-                push(@implContent, "    if (canGetItemsForName(exec, static_cast<$interfaceName*>(thisObject->impl()), propertyName)) {\n");
-                push(@implContent, "        slot.setCustom(thisObject, thisObject->nameGetter);\n");
-                push(@implContent, "        return true;\n");
-                push(@implContent, "    }\n");
-                $implIncludes{"wtf/text/AtomicString.h"} = 1;
-            }
-
-            if ($interface->extendedAttributes->{"JSCustomGetOwnPropertySlotAndDescriptor"}) {
-                &$propertyNameGeneration();
-                push(@implContent, "    if (thisObject->getOwnPropertySlotDelegate(exec, propertyName, slot))\n");
-                push(@implContent, "        return true;\n");
-            }
-
-            push(@implContent, "    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);\n");
-            push(@implContent, "}\n\n");
-        }
-
-        if ($numAttributes > 0) {
-            foreach my $attribute (@{$interface->attributes}) {
-                my $name = $attribute->signature->name;
-                my $type = $attribute->signature->type;
-                my $isNullable = $attribute->signature->isNullable;
-                $codeGenerator->AssertNotSequenceType($type);
-                my $getFunctionName = GetAttributeGetterName($interfaceName, $className, $attribute);
-                my $implGetterFunctionName = $codeGenerator->WK_lcfirst($name);
-
-                my $attributeConditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
-                push(@implContent, "#if ${attributeConditionalString}\n") if $attributeConditionalString;
-
-                push(@implContent, "JSValue ${getFunctionName}(ExecState* exec, JSValue slotBase, PropertyName)\n");
-                push(@implContent, "{\n");
-
-                if (!$attribute->isStatic || $attribute->signature->type =~ /Constructor$/) {
-                    push(@implContent, "    ${className}* castedThis = jsCast<$className*>(asObject(slotBase));\n");
-                } else {
-                    push(@implContent, "    UNUSED_PARAM(slotBase);\n");
-                }
-
-                if ($attribute->signature->extendedAttributes->{"CachedAttribute"}) {
-                    $needsMarkChildren = 1;
-                }
-
-                if ($interface->extendedAttributes->{"CheckSecurity"} &&
-                    !$attribute->signature->extendedAttributes->{"DoNotCheckSecurity"} &&
-                    !$attribute->signature->extendedAttributes->{"DoNotCheckSecurityOnGetter"}) {
-                    $implIncludes{"BindingSecurity.h"} = 1;
-                    push(@implContent, "    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis->impl()))\n");
-                    push(@implContent, "        return jsUndefined();\n");
-                }
-
-                if (HasCustomGetter($attribute->signature->extendedAttributes)) {
-                    push(@implContent, "    return castedThis->$implGetterFunctionName(exec);\n");
-                } elsif ($attribute->signature->extendedAttributes->{"CheckSecurityForNode"}) {
-                    $implIncludes{"JSDOMBinding.h"} = 1;
-                    push(@implContent, "    $interfaceName* impl = static_cast<$interfaceName*>(castedThis->impl());\n");
-                    push(@implContent, "    return shouldAllowAccessToNode(exec, impl->" . $attribute->signature->name . "()) ? " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl->$implGetterFunctionName()", "castedThis") . " : jsNull();\n");
-                } elsif ($type eq "EventListener") {
-                    $implIncludes{"EventListener.h"} = 1;
-                    push(@implContent, "    UNUSED_PARAM(exec);\n");
-                    push(@implContent, "    $interfaceName* impl = static_cast<$interfaceName*>(castedThis->impl());\n");
-                    push(@implContent, "    if (EventListener* listener = impl->$implGetterFunctionName()) {\n");
-                    push(@implContent, "        if (const JSEventListener* jsListener = JSEventListener::cast(listener)) {\n");
-                    if ($interfaceName eq "Document" || $interfaceName eq "WorkerContext" || $interfaceName eq "SharedWorkerContext" || $interfaceName eq "DedicatedWorkerContext") {
-                        push(@implContent, "            if (JSObject* jsFunction = jsListener->jsFunction(impl))\n");
-                    } else {
-                        push(@implContent, "            if (JSObject* jsFunction = jsListener->jsFunction(impl->scriptExecutionContext()))\n");
-                    }
-                    push(@implContent, "                return jsFunction;\n");
-                    push(@implContent, "        }\n");
-                    push(@implContent, "    }\n");
-                    push(@implContent, "    return jsNull();\n");
-                } elsif ($attribute->signature->type =~ /Constructor$/) {
-                    my $constructorType = $attribute->signature->type;
-                    $constructorType =~ s/Constructor$//;
-                    # When Constructor attribute is used by DOMWindow.idl, it's correct to pass castedThis as the global object
-                    # When JSDOMWrappers have a back-pointer to the globalObject we can pass castedThis->globalObject()
-                    if ($interfaceName eq "DOMWindow") {
-                        push(@implContent, "    return JS" . $constructorType . "::getConstructor(exec, castedThis);\n");
-                    } else {
-                       AddToImplIncludes("JS" . $constructorType . ".h", $attribute->signature->extendedAttributes->{"Conditional"});
-                       push(@implContent, "    return JS" . $constructorType . "::getConstructor(exec, castedThis->globalObject());\n");
-                    }
-                } elsif (!@{$attribute->getterExceptions}) {
-                    push(@implContent, "    UNUSED_PARAM(exec);\n") if !$attribute->signature->extendedAttributes->{"CallWith"};
-                    push(@implContent, "    bool isNull = false;\n") if $isNullable;
-
-                    my $cacheIndex = 0;
-                    if ($attribute->signature->extendedAttributes->{"CachedAttribute"}) {
-                        $cacheIndex = $currentCachedAttribute;
-                        $currentCachedAttribute++;
-                        push(@implContent, "    if (JSValue cachedValue = castedThis->m_" . $attribute->signature->name . ".get())\n");
-                        push(@implContent, "        return cachedValue;\n");
-                    }
-
-                    my @callWithArgs = GenerateCallWith($attribute->signature->extendedAttributes->{"CallWith"}, \@implContent, "jsUndefined()");
-
-                    if ($svgListPropertyType) {
-                        push(@implContent, "    JSValue result =  " . NativeToJSValue($attribute->signature, 0, $interfaceName, "castedThis->impl()->$implGetterFunctionName(" . (join ", ", @callWithArgs) . ")", "castedThis") . ";\n");
-                    } elsif ($svgPropertyOrListPropertyType) {
-                        push(@implContent, "    $svgPropertyOrListPropertyType& impl = castedThis->impl()->propertyReference();\n");
-                        if ($svgPropertyOrListPropertyType eq "float") { # Special case for JSSVGNumber
-                            push(@implContent, "    JSValue result =  " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl", "castedThis") . ";\n");
-                        } else {
-                            push(@implContent, "    JSValue result =  " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl.$implGetterFunctionName(" . (join ", ", @callWithArgs) . ")", "castedThis") . ";\n");
-
-                        }
-                    } else {
-                        my ($functionName, @arguments) = $codeGenerator->GetterExpression(\%implIncludes, $interfaceName, $attribute);
-                        push(@arguments, "isNull") if $isNullable;
-                        if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
-                            my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
-                            $implIncludes{"${implementedBy}.h"} = 1;
-                            $functionName = "${implementedBy}::${functionName}";
-                            unshift(@arguments, "impl") if !$attribute->isStatic;
-                        } elsif ($attribute->isStatic) {
-                            $functionName = "${interfaceName}::${functionName}";
-                        } else {
-                            $functionName = "impl->${functionName}";
-                        }
-
-                        unshift(@arguments, @callWithArgs);
-
-                        my $jsType = NativeToJSValue($attribute->signature, 0, $interfaceName, "${functionName}(" . join(", ", @arguments) . ")", "castedThis");
-                        push(@implContent, "    $interfaceName* impl = static_cast<$interfaceName*>(castedThis->impl());\n") if !$attribute->isStatic;
-                        if ($codeGenerator->IsSVGAnimatedType($type)) {
-                            push(@implContent, "    RefPtr<$type> obj = $jsType;\n");
-                            push(@implContent, "    JSValue result =  toJS(exec, castedThis->globalObject(), obj.get());\n");
-                        } else {
-                            push(@implContent, "    JSValue result = $jsType;\n");
-                        }
-
-                        if ($isNullable) {
-                            push(@implContent, "    if (isNull)\n");
-                            push(@implContent, "        return jsNull();\n");
-                        }
-                    }
-
-                    push(@implContent, "    castedThis->m_" . $attribute->signature->name . ".set(exec->globalData(), castedThis, result);\n") if ($attribute->signature->extendedAttributes->{"CachedAttribute"});
-                    push(@implContent, "    return result;\n");
-
-                } else {
-                    my @arguments = ("ec");
-                    push(@implContent, "    ExceptionCode ec = 0;\n");
-
-                    if ($isNullable) {
-                        push(@implContent, "    bool isNull = false;\n");
-                        unshift(@arguments, "isNull");
-                    }
-
-                    unshift(@arguments, GenerateCallWith($attribute->signature->extendedAttributes->{"CallWith"}, \@implContent, "jsUndefined()"));
-
-                    if ($svgPropertyOrListPropertyType) {
-                        push(@implContent, "    $svgPropertyOrListPropertyType impl(*castedThis->impl());\n");
-                        push(@implContent, "    JSC::JSValue result = " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl.$implGetterFunctionName(" . join(", ", @arguments) . ")", "castedThis") . ";\n");
-                    } else {
-                        push(@implContent, "    $interfaceName* impl = static_cast<$interfaceName*>(castedThis->impl());\n");
-                        push(@implContent, "    JSC::JSValue result = " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl->$implGetterFunctionName(" . join(", ", @arguments) . ")", "castedThis") . ";\n");
-                    }
-
-                    if ($isNullable) {
-                        push(@implContent, "    if (isNull)\n");
-                        push(@implContent, "        return jsNull();\n");
-                    }
-
-                    push(@implContent, "    setDOMException(exec, ec);\n");
-                    push(@implContent, "    return result;\n");
-                }
-
-                push(@implContent, "}\n\n");
-
-                push(@implContent, "#endif\n") if $attributeConditionalString;
-
-                push(@implContent, "\n");
-            }
-
-            if (!$interface->extendedAttributes->{"OmitConstructor"}) {
-                my $constructorFunctionName = "js" . $interfaceName . "Constructor";
-
-                push(@implContent, "JSValue ${constructorFunctionName}(ExecState* exec, JSValue slotBase, PropertyName)\n");
-                push(@implContent, "{\n");
-                push(@implContent, "    ${className}* domObject = jsCast<$className*>(asObject(slotBase));\n");
-
-                if ($interface->extendedAttributes->{"CheckSecurity"}) {
-                    $implIncludes{"BindingSecurity.h"} = 1;
-                    push(@implContent, "    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, domObject->impl()))\n");
-                    push(@implContent, "        return jsUndefined();\n");
-                }
-
-                push(@implContent, "    return ${className}::getConstructor(exec, domObject->globalObject());\n");
-                push(@implContent, "}\n\n");
-            }
-        }
-
-        # Check if we have any writable attributes
-        my $hasReadWriteProperties = 0;
-        foreach my $attribute (@{$interface->attributes}) {
-            $hasReadWriteProperties = 1 if !IsReadonly($attribute) && !$attribute->isStatic;
-        }
-
-        my $hasSetter = $hasReadWriteProperties
-                     || $interface->extendedAttributes->{"CustomNamedSetter"}
-                     || $interface->extendedAttributes->{"CustomIndexedSetter"};
-
-        if ($hasSetter) {
-            if (!$interface->extendedAttributes->{"CustomPutFunction"}) {
-                push(@implContent, "void ${className}::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)\n");
-                push(@implContent, "{\n");
-                push(@implContent, "    ${className}* thisObject = jsCast<${className}*>(cell);\n");
-                push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);\n");
-                if ($interface->extendedAttributes->{"CustomIndexedSetter"}) {
-                    push(@implContent, "    unsigned index = propertyName.asIndex();\n");
-                    push(@implContent, "    if (index != PropertyName::NotAnIndex) {\n");
-                    push(@implContent, "        thisObject->indexSetter(exec, index, value);\n");
-                    push(@implContent, "        return;\n");
-                    push(@implContent, "    }\n");
-                }
-                if ($interface->extendedAttributes->{"CustomNamedSetter"}) {
-                    push(@implContent, "    if (thisObject->putDelegate(exec, propertyName, value, slot))\n");
-                    push(@implContent, "        return;\n");
-                }
-
-                if ($hasReadWriteProperties) {
-                    push(@implContent, "    lookupPut<$className, Base>(exec, propertyName, value, " . hashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $className) . ", thisObject, slot);\n");
-                } else {
-                    push(@implContent, "    Base::put(thisObject, exec, propertyName, value, slot);\n");
-                }
-                push(@implContent, "}\n\n");
-                
-                if ($interface->extendedAttributes->{"CustomIndexedSetter"} || $interface->extendedAttributes->{"CustomNamedSetter"}) {
-                    push(@implContent, "void ${className}::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)\n");
-                    push(@implContent, "{\n");
-                    push(@implContent, "    ${className}* thisObject = jsCast<${className}*>(cell);\n");
-                    push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);\n");
-                    if ($interface->extendedAttributes->{"CustomIndexedSetter"}) {
-                        push(@implContent, "    if (index <= MAX_ARRAY_INDEX) {\n");
-                        push(@implContent, "        UNUSED_PARAM(shouldThrow);\n");
-                        push(@implContent, "        thisObject->indexSetter(exec, index, value);\n");
-                        push(@implContent, "        return;\n");
-                        push(@implContent, "    }\n");
-                    }
-                    
-                    if ($interface->extendedAttributes->{"CustomNamedSetter"}) {
-                        push(@implContent, "    PropertyName propertyName = Identifier::from(exec, index);\n");
-                        push(@implContent, "    PutPropertySlot slot(shouldThrow);\n");
-                        push(@implContent, "    if (thisObject->putDelegate(exec, propertyName, value, slot))\n");
-                        push(@implContent, "        return;\n");
-                    }
-    
-                    push(@implContent, "    Base::putByIndex(cell, exec, index, value, shouldThrow);\n");
-                    push(@implContent, "}\n\n");
-                }
-            }
-
-            if ($hasReadWriteProperties) {
-                foreach my $attribute (@{$interface->attributes}) {
-                    if (!IsReadonly($attribute)) {
-                        my $name = $attribute->signature->name;
-                        my $type = $attribute->signature->type;
-                        my $putFunctionName = GetAttributeSetterName($interfaceName, $className, $attribute);
-                        my $implSetterFunctionName = $codeGenerator->WK_ucfirst($name);
-
-                        my $attributeConditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
-                        push(@implContent, "#if ${attributeConditionalString}\n") if $attributeConditionalString;
-
-                        push(@implContent, "void ${putFunctionName}(ExecState* exec, JSObject*");
-                        push(@implContent, " thisObject") if !$attribute->isStatic;
-                        push(@implContent, ", JSValue value)\n");
-                        push(@implContent, "{\n");
-
-                            push(@implContent, "    UNUSED_PARAM(exec);\n");
-
-                            if ($interface->extendedAttributes->{"CheckSecurity"} && !$attribute->signature->extendedAttributes->{"DoNotCheckSecurity"}) {
-                                if ($interfaceName eq "DOMWindow") {
-                                    $implIncludes{"BindingSecurity.h"} = 1;
-                                    push(@implContent, "    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, jsCast<$className*>(thisObject)->impl()))\n");
-                                } else {
-                                    push(@implContent, "    if (!shouldAllowAccessToFrame(exec, jsCast<$className*>(thisObject)->impl()->frame()))\n");
-                                }
-                                push(@implContent, "        return;\n");
-                            }
-
-                            if (HasCustomSetter($attribute->signature->extendedAttributes)) {
-                                push(@implContent, "    jsCast<$className*>(thisObject)->set$implSetterFunctionName(exec, value);\n");
-                            } elsif ($type eq "EventListener") {
-                                $implIncludes{"JSEventListener.h"} = 1;
-                                push(@implContent, "    UNUSED_PARAM(exec);\n");
-                                push(@implContent, "    ${className}* castedThis = jsCast<${className}*>(thisObject);\n");
-                                my $windowEventListener = $attribute->signature->extendedAttributes->{"JSWindowEventListener"};
-                                if ($windowEventListener) {
-                                    push(@implContent, "    JSDOMGlobalObject* globalObject = castedThis->globalObject();\n");
-                                }
-                                push(@implContent, "    $interfaceName* impl = static_cast<$interfaceName*>(castedThis->impl());\n");
-                                if ((($interfaceName eq "DOMWindow") or ($interfaceName eq "WorkerContext")) and $name eq "onerror") {
-                                    $implIncludes{"JSErrorHandler.h"} = 1;
-                                    push(@implContent, "    impl->set$implSetterFunctionName(createJSErrorHandler(exec, value, thisObject));\n");
-                                } else {
-                                    push(@implContent, GenerateAttributeEventListenerCall($className, $implSetterFunctionName, $windowEventListener));
-                                }
-                            } elsif ($attribute->signature->type =~ /Constructor$/) {
-                                my $constructorType = $attribute->signature->type;
-                                $constructorType =~ s/Constructor$//;
-                                # $constructorType ~= /Constructor$/ indicates that it is NamedConstructor.
-                                # We do not generate the header file for NamedConstructor of class XXXX,
-                                # since we generate the NamedConstructor declaration into the header file of class XXXX.
-                                if ($constructorType ne "any" and $constructorType !~ /Constructor$/) {
-                                    AddToImplIncludes("JS" . $constructorType . ".h", $attribute->signature->extendedAttributes->{"Conditional"});
-                                }
-                                push(@implContent, "    // Shadowing a built-in constructor\n");
-                                if ($interfaceName eq "DOMWindow" && $className eq "JSblah") {
-                                    # FIXME: This branch never executes and should be removed.
-                                    push(@implContent, "    jsCast<$className*>(thisObject)->putDirect(exec->globalData(), exec->propertyNames().constructor, value);\n");
-                                } else {
-                                    push(@implContent, "    jsCast<$className*>(thisObject)->putDirect(exec->globalData(), Identifier(exec, \"$name\"), value);\n");
-                                }
-                            } elsif ($attribute->signature->extendedAttributes->{"Replaceable"}) {
-                                push(@implContent, "    // Shadowing a built-in object\n");
-                                push(@implContent, "    jsCast<$className*>(thisObject)->putDirect(exec->globalData(), Identifier(exec, \"$name\"), value);\n");
-                            } else {
-                                if (!$attribute->isStatic) {
-                                    push(@implContent, "    $className* castedThis = jsCast<$className*>(thisObject);\n");
-                                    push(@implContent, "    $implType* impl = static_cast<$implType*>(castedThis->impl());\n");
-                                }
-                                push(@implContent, "    ExceptionCode ec = 0;\n") if @{$attribute->setterExceptions};
-
-                                # If the "StrictTypeChecking" extended attribute is present, and the attribute's type is an
-                                # interface type, then if the incoming value does not implement that interface, a TypeError
-                                # is thrown rather than silently passing NULL to the C++ code.
-                                # Per the Web IDL and ECMAScript specifications, incoming values can always be converted to
-                                # both strings and numbers, so do not throw TypeError if the attribute is of these types.
-                                if ($attribute->signature->extendedAttributes->{"StrictTypeChecking"}) {
-                                    $implIncludes{"<runtime/Error.h>"} = 1;
-
-                                    my $argType = $attribute->signature->type;
-                                    if (!IsNativeType($argType)) {
-                                        push(@implContent, "    if (!value.isUndefinedOrNull() && !value.inherits(&JS${argType}::s_info)) {\n");
-                                        push(@implContent, "        throwVMTypeError(exec);\n");
-                                        push(@implContent, "        return;\n");
-                                        push(@implContent, "    };\n");
-                                    }
-                                }
-
-                                push(@implContent, "    " . GetNativeTypeFromSignature($attribute->signature) . " nativeValue(" . JSValueToNative($attribute->signature, "value") . ");\n");
-                                push(@implContent, "    if (exec->hadException())\n");
-                                push(@implContent, "        return;\n");
-
-                                if ($codeGenerator->IsEnumType($type)) {
-                                    my @enumValues = $codeGenerator->ValidEnumValues($type);
-                                    my @enumChecks = ();
-                                    foreach my $enumValue (@enumValues) {
-                                        push(@enumChecks, "nativeValue != \"$enumValue\"");
-                                    }
-                                    push (@implContent, "    if (" . join(" && ", @enumChecks) . ")\n");
-                                    push (@implContent, "        return;\n");
-                                }
-
-                                if ($svgPropertyOrListPropertyType) {
-                                    if ($svgPropertyType) {
-                                        push(@implContent, "    if (impl->isReadOnly()) {\n");
-                                        push(@implContent, "        setDOMException(exec, NO_MODIFICATION_ALLOWED_ERR);\n");
-                                        push(@implContent, "        return;\n");
-                                        push(@implContent, "    }\n");
-                                        $implIncludes{"ExceptionCode.h"} = 1;
-                                    }
-                                    push(@implContent, "    $svgPropertyOrListPropertyType& podImpl = impl->propertyReference();\n");
-                                    if ($svgPropertyOrListPropertyType eq "float") { # Special case for JSSVGNumber
-                                        push(@implContent, "    podImpl = nativeValue;\n");
-                                    } else {
-                                        push(@implContent, "    podImpl.set$implSetterFunctionName(nativeValue");
-                                        push(@implContent, ", ec") if @{$attribute->setterExceptions};
-                                        push(@implContent, ");\n");
-                                        push(@implContent, "    setDOMException(exec, ec);\n") if @{$attribute->setterExceptions};
-                                    }
-                                    if ($svgPropertyType) {
-                                        if (@{$attribute->setterExceptions}) {
-                                            push(@implContent, "    if (!ec)\n");
-                                            push(@implContent, "        impl->commitChange();\n");
-                                        } else {
-                                            push(@implContent, "    impl->commitChange();\n");
-                                        }
-                                    }
-                                } else {
-                                    my ($functionName, @arguments) = $codeGenerator->SetterExpression(\%implIncludes, $interfaceName, $attribute);
-                                    push(@arguments, "nativeValue");
-                                    if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
-                                        my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
-                                        $implIncludes{"${implementedBy}.h"} = 1;
-                                        unshift(@arguments, "impl") if !$attribute->isStatic;
-                                        $functionName = "${implementedBy}::${functionName}";
-                                    } elsif ($attribute->isStatic) {
-                                        $functionName = "${interfaceName}::${functionName}";
-                                    } else {
-                                        $functionName = "impl->${functionName}";
-                                    }
-
-                                    unshift(@arguments, GenerateCallWith($attribute->signature->extendedAttributes->{"CallWith"}, \@implContent, ""));
-
-                                    push(@arguments, "ec") if @{$attribute->setterExceptions};
-                                    push(@implContent, "    ${functionName}(" . join(", ", @arguments) . ");\n");
-                                    push(@implContent, "    setDOMException(exec, ec);\n") if @{$attribute->setterExceptions};
-                                }
-                            }
-
-                        push(@implContent, "}\n\n");
-                        push(@implContent, "#endif\n") if $attributeConditionalString;
-                        push(@implContent, "\n");
-                    }
-                }
-            }
-
-            if ($interface->extendedAttributes->{"ReplaceableConstructor"}) {
-                my $constructorFunctionName = "setJS" . $interfaceName . "Constructor";
-
-                push(@implContent, "void ${constructorFunctionName}(ExecState* exec, JSObject* thisObject, JSValue value)\n");
-                push(@implContent, "{\n");
-                if ($interface->extendedAttributes->{"CheckSecurity"}) {
-                    if ($interfaceName eq "DOMWindow") {
-                        $implIncludes{"BindingSecurity.h"} = 1;
-                        push(@implContent, "    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, jsCast<$className*>(thisObject)->impl()))\n");
-                    } else {
-                        push(@implContent, "    if (!shouldAllowAccessToFrame(exec, jsCast<$className*>(thisObject)->impl()->frame()))\n");
-                    }
-                    push(@implContent, "        return;\n");
-                }
-
-                push(@implContent, "    // Shadowing a built-in constructor\n");
-
-                if ($interfaceName eq "DOMWindow") {
-                    push(@implContent, "    jsCast<$className*>(thisObject)->putDirect(exec->globalData(), exec->propertyNames().constructor, value);\n");
-                } else {
-                    die "No way to handle interface with ReplaceableConstructor extended attribute: $interfaceName";
-                }
-                push(@implContent, "}\n\n");
-            }        
-        }
-    }
-
-    if (($interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NumericIndexedGetter"}) && !$interface->extendedAttributes->{"CustomEnumerateProperty"}) {
-        push(@implContent, "void ${className}::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    ${className}* thisObject = jsCast<${className}*>(object);\n");
-        push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);\n");
-        if ($interface->extendedAttributes->{"IndexedGetter"} || $interface->extendedAttributes->{"NumericIndexedGetter"}) {
-            push(@implContent, "    for (unsigned i = 0; i < static_cast<${interfaceName}*>(thisObject->impl())->length(); ++i)\n");
-            push(@implContent, "        propertyNames.add(Identifier::from(exec, i));\n");
-        }
-        push(@implContent, "     Base::getOwnPropertyNames(thisObject, exec, propertyNames, mode);\n");
-        push(@implContent, "}\n\n");
-    }
-
-    if (!$interface->extendedAttributes->{"OmitConstructor"}) {
-        push(@implContent, "JSValue ${className}::getConstructor(ExecState* exec, JSGlobalObject* globalObject)\n{\n");
-        push(@implContent, "    return getDOMConstructor<${className}Constructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));\n");
-        push(@implContent, "}\n\n");
-    }
-
-    # Functions
-    if ($numFunctions > 0) {
-        foreach my $function (@{$interface->functions}) {
-            AddIncludesForTypeInImpl($function->signature->type);
-
-            my $isCustom = HasCustomMethod($function->signature->extendedAttributes);
-            my $isOverloaded = $function->{overloads} && @{$function->{overloads}} > 1;
-
-            next if $isCustom && $isOverloaded && $function->{overloadIndex} > 1;
-
-            my $functionName = GetFunctionName($className, $function);
-
-            my $conditional = $function->signature->extendedAttributes->{"Conditional"};
-            if ($conditional) {
-                my $conditionalString = $codeGenerator->GenerateConditionalStringFromAttributeValue($conditional);
-                push(@implContent, "#if ${conditionalString}\n");
-            }
-
-
-            if (!$isCustom && $isOverloaded) {
-                # Append a number to an overloaded method's name to make it unique:
-                $functionName = $functionName . $function->{overloadIndex};
-                # Make this function static to avoid compiler warnings, since we
-                # don't generate a prototype for it in the header.
-                push(@implContent, "static ");
-            }
-
-            my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementedAs"} || $codeGenerator->WK_lcfirst($function->signature->name);
-
-            push(@implContent, "EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* exec)\n");
-            push(@implContent, "{\n");
-
-            $implIncludes{"<runtime/Error.h>"} = 1;
-
-            if ($function->isStatic) {
-                if ($isCustom) {
-                    GenerateArgumentsCountCheck(\@implContent, $function, $interface);
-                    push(@implContent, "    return JSValue::encode(${className}::" . $functionImplementationName . "(exec));\n");
-                } else {
-                    GenerateArgumentsCountCheck(\@implContent, $function, $interface);
-
-                    if (@{$function->raisesExceptions}) {
-                        push(@implContent, "    ExceptionCode ec = 0;\n");
-                    }
-
-                    my $numParameters = @{$function->parameters};
-                    my ($functionString, $dummy) = GenerateParametersCheck(\@implContent, $function, $interface, $numParameters, $interfaceName, $functionImplementationName, $svgPropertyType, $svgPropertyOrListPropertyType, $svgListPropertyType);
-                    GenerateImplementationFunctionCall($function, $functionString, "    ", $svgPropertyType, $interfaceName);
-                }
-            } else {
-                if ($interfaceName eq "DOMWindow") {
-                    push(@implContent, "    $className* castedThis = toJSDOMWindow(exec->hostThisValue().toThisObject(exec));\n");
-                    push(@implContent, "    if (!castedThis)\n");
-                    push(@implContent, "        return throwVMTypeError(exec);\n");
-                } elsif ($interface->extendedAttributes->{"IsWorkerContext"}) {
-                    push(@implContent, "    $className* castedThis = to${className}(exec->hostThisValue().toThisObject(exec));\n");
-                    push(@implContent, "    if (!castedThis)\n");
-                    push(@implContent, "        return throwVMTypeError(exec);\n");
-                } else {
-                    push(@implContent, "    JSValue thisValue = exec->hostThisValue();\n");
-                    push(@implContent, "    if (!thisValue.inherits(&${className}::s_info))\n");
-                    push(@implContent, "        return throwVMTypeError(exec);\n");
-                    push(@implContent, "    $className* castedThis = jsCast<$className*>(asObject(thisValue));\n");
-                }
-
-                push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(castedThis, &${className}::s_info);\n");
-
-                if ($interface->extendedAttributes->{"CheckSecurity"} and
-                    !$function->signature->extendedAttributes->{"DoNotCheckSecurity"}) {
-                    $implIncludes{"BindingSecurity.h"} = 1;
-                    push(@implContent, "    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis->impl()))\n");
-                    push(@implContent, "        return JSValue::encode(jsUndefined());\n");
-                }
-
-                if ($isCustom) {
-                    push(@implContent, "    return JSValue::encode(castedThis->" . $functionImplementationName . "(exec));\n");
-                } else {
-                    if ($function->signature->name eq "set" and $interface->extendedAttributes->{"TypedArray"}) {
-                        my $viewType = $interface->extendedAttributes->{"TypedArray"};
-                        push(@implContent, "    return JSValue::encode(setWebGLArrayHelper<$implType, $viewType>(exec, castedThis->impl()));\n");
-                        push(@implContent, "}\n\n");
-                        next;
-                    }
-
-                    push(@implContent, "    $implType* impl = static_cast<$implType*>(castedThis->impl());\n");
-                    if ($svgPropertyType) {
-                        push(@implContent, "    if (impl->isReadOnly()) {\n");
-                        push(@implContent, "        setDOMException(exec, NO_MODIFICATION_ALLOWED_ERR);\n");
-                        push(@implContent, "        return JSValue::encode(jsUndefined());\n");
-                        push(@implContent, "    }\n");
-                        push(@implContent, "    $svgPropertyType& podImpl = impl->propertyReference();\n");
-                        $implIncludes{"ExceptionCode.h"} = 1;
-                    }
-
-                    # For compatibility with legacy content, the EventListener calls are generated without GenerateArgumentsCountCheck.
-                    if ($function->signature->name eq "addEventListener") {
-                        push(@implContent, GenerateEventListenerCall($className, "add"));
-                    } elsif ($function->signature->name eq "removeEventListener") {
-                        push(@implContent, GenerateEventListenerCall($className, "remove"));
-                    } else {
-                        GenerateArgumentsCountCheck(\@implContent, $function, $interface);
-
-                        if (@{$function->raisesExceptions}) {
-                            push(@implContent, "    ExceptionCode ec = 0;\n");
-                        }
-
-                        if ($function->signature->extendedAttributes->{"CheckSecurityForNode"}) {
-                            push(@implContent, "    if (!shouldAllowAccessToNode(exec, impl->" . $function->signature->name . "(" . (@{$function->raisesExceptions} ? "ec" : "") .")))\n");
-                            push(@implContent, "        return JSValue::encode(jsNull());\n");
-                            $implIncludes{"JSDOMBinding.h"} = 1;
-                        }
-
-                        my $numParameters = @{$function->parameters};
-                        my ($functionString, $dummy) = GenerateParametersCheck(\@implContent, $function, $interface, $numParameters, $interfaceName, $functionImplementationName, $svgPropertyType, $svgPropertyOrListPropertyType, $svgListPropertyType);
-                        GenerateImplementationFunctionCall($function, $functionString, "    ", $svgPropertyType, $interfaceName);
-                    }
-                }
-            }
-
-            push(@implContent, "}\n\n");
-
-            if (!$isCustom && $isOverloaded && $function->{overloadIndex} == @{$function->{overloads}}) {
-                # Generate a function dispatching call to the rest of the overloads.
-                GenerateOverloadedFunction($function, $interface, $interfaceName);
-            }
-
-            push(@implContent, "#endif\n\n") if $conditional;
-        }
-    }
-
-    if ($needsMarkChildren && !$interface->extendedAttributes->{"JSCustomMarkFunction"}) {
-        push(@implContent, "void ${className}::visitChildren(JSCell* cell, SlotVisitor& visitor)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    ${className}* thisObject = jsCast<${className}*>(cell);\n");
-        push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);\n");
-        push(@implContent, "    COMPILE_ASSERT(StructureFlags & OverridesVisitChildren, OverridesVisitChildrenWithoutSettingFlag);\n");
-        push(@implContent, "    ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren());\n");
-        push(@implContent, "    Base::visitChildren(thisObject, visitor);\n");
-        if ($interface->extendedAttributes->{"EventTarget"} || $interface->name eq "EventTarget") {
-            push(@implContent, "    thisObject->impl()->visitJSEventListeners(visitor);\n");
-        }
-        if ($numCachedAttributes > 0) {
-            foreach (@{$interface->attributes}) {
-                my $attribute = $_;
-                if ($attribute->signature->extendedAttributes->{"CachedAttribute"}) {
-                    push(@implContent, "    visitor.append(&thisObject->m_" . $attribute->signature->name . ");\n");
-                }
-            }
-        }
-        push(@implContent, "}\n\n");
-    }
-
-    # Cached attributes are indeed allowed when there is a custom mark/visitChildren function.
-    # The custom function must make sure to account for the cached attribute.
-    # Uncomment the below line to temporarily enforce generated mark functions when cached attributes are present.
-    # die "Can't generate binding for class with cached attribute and custom mark." if (($numCachedAttributes > 0) and ($interface->extendedAttributes->{"JSCustomMarkFunction"}));
-
-    if ($numConstants > 0) {
-        push(@implContent, "// Constant getters\n\n");
-
-        foreach my $constant (@{$interface->constants}) {
-            my $getter = "js" . $interfaceName . $codeGenerator->WK_ucfirst($constant->name);
-            my $conditional = $constant->extendedAttributes->{"Conditional"};
-
-            if ($conditional) {
-                my $conditionalString = $codeGenerator->GenerateConditionalStringFromAttributeValue($conditional);
-                push(@implContent, "#if ${conditionalString}\n");
-            }
-
-            # FIXME: this casts into int to match our previous behavior which turned 0xFFFFFFFF in -1 for NodeFilter.SHOW_ALL
-            push(@implContent, "JSValue ${getter}(ExecState* exec, JSValue, PropertyName)\n");
-            push(@implContent, "{\n");
-            if ($constant->type eq "DOMString") {
-                push(@implContent, "    return jsStringOrNull(exec, String(" . $constant->value . "));\n");
-            } else {
-                push(@implContent, "    UNUSED_PARAM(exec);\n");
-                push(@implContent, "    return jsNumber(static_cast<int>(" . $constant->value . "));\n");
-            }
-            push(@implContent, "}\n\n");
-            push(@implContent, "#endif\n") if $conditional;
-        }
-    }
-
-    if ($interface->extendedAttributes->{"IndexedGetter"}) {
-        push(@implContent, "\nJSValue ${className}::indexGetter(ExecState* exec, JSValue slotBase, unsigned index)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    ${className}* thisObj = jsCast<$className*>(asObject(slotBase));\n");
-        push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(thisObj, &s_info);\n");
-        if (IndexGetterReturnsStrings($interfaceName)) {
-            $implIncludes{"KURL.h"} = 1;
-            push(@implContent, "    return jsStringOrUndefined(exec, thisObj->impl()->item(index));\n");
-        } else {
-            push(@implContent, "    return toJS(exec, thisObj->globalObject(), static_cast<$interfaceName*>(thisObj->impl())->item(index));\n");
-        }
-        push(@implContent, "}\n\n");
-        if ($interfaceName =~ /^HTML\w*Collection$/ or $interfaceName eq "RadioNodeList") {
-            $implIncludes{"JSNode.h"} = 1;
-            $implIncludes{"Node.h"} = 1;
-        }
-    }
-
-    if ($interface->extendedAttributes->{"NumericIndexedGetter"}) {
-        push(@implContent, "\nJSValue ${className}::getByIndex(ExecState*, unsigned index)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(this, &s_info);\n");
-        push(@implContent, "    double result = static_cast<$interfaceName*>(impl())->item(index);\n");
-        # jsNumber conversion doesn't suppress signalling NaNs, so enforce that here.
-        push(@implContent, "    if (std::isnan(result))\n");
-        push(@implContent, "        return jsNaN();\n");
-        push(@implContent, "    return JSValue(result);\n");
-        push(@implContent, "}\n\n");
-        if ($interfaceName =~ /^HTML\w*Collection$/) {
-            $implIncludes{"JSNode.h"} = 1;
-            $implIncludes{"Node.h"} = 1;
-        }
-    }
-
-    if ($interfaceName eq "HTMLPropertiesCollection" or $interfaceName eq "DOMNamedFlowCollection") {
-        if ($interface->extendedAttributes->{"NamedGetter"}) {
-            push(@implContent, "bool ${className}::canGetItemsForName(ExecState*, $interfaceName* collection, PropertyName propertyName)\n");
-            push(@implContent, "{\n");
-            push(@implContent, "    return collection->hasNamedItem(propertyNameToAtomicString(propertyName));\n");
-            push(@implContent, "}\n\n");
-            push(@implContent, "JSValue ${className}::nameGetter(ExecState* exec, JSValue slotBase, PropertyName propertyName)\n");
-            push(@implContent, "{\n");
-            push(@implContent, "    ${className}* thisObj = jsCast<$className*>(asObject(slotBase));\n");
-            if ($interfaceName eq "HTMLPropertiesCollection") {
-                push(@implContent, "    return toJS(exec, thisObj->globalObject(), WTF::getPtr(static_cast<$interfaceName*>(thisObj->impl())->propertyNodeList(propertyNameToAtomicString(propertyName))));\n");
-            } else {
-                push(@implContent, "    return toJS(exec, thisObj->globalObject(), static_cast<$interfaceName*>(thisObj->impl())->namedItem(propertyNameToAtomicString(propertyName)));\n");
-            }
-            push(@implContent, "}\n\n");
-        }
-    }
-
-    if ((!$hasParent && !GetCustomIsReachable($interface))|| GetGenerateIsReachable($interface) || $codeGenerator->InheritsExtendedAttribute($interface, "ActiveDOMObject")) {
-        push(@implContent, "static inline bool isObservable(JS${interfaceName}* js${interfaceName})\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    if (js${interfaceName}->hasCustomProperties())\n");
-        push(@implContent, "        return true;\n");
-        if ($eventTarget) {
-            push(@implContent, "    if (js${interfaceName}->impl()->hasEventListeners())\n");
-            push(@implContent, "        return true;\n");
-        }
-        push(@implContent, "    return false;\n");
-        push(@implContent, "}\n\n");
-
-        push(@implContent, "bool JS${interfaceName}Owner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    JS${interfaceName}* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.get().asCell());\n");
-        # All ActiveDOMObjects implement hasPendingActivity(), but not all of them
-        # increment their C++ reference counts when hasPendingActivity() becomes
-        # true. As a result, ActiveDOMObjects can be prematurely destroyed before
-        # their pending activities complete. To wallpaper over this bug, JavaScript
-        # wrappers unconditionally keep ActiveDOMObjects with pending activity alive.
-        # FIXME: Fix this lifetime issue in the DOM, and move this hasPendingActivity
-        # check below the isObservable check.
-        if ($codeGenerator->InheritsExtendedAttribute($interface, "ActiveDOMObject")) {
-            push(@implContent, "    if (js${interfaceName}->impl()->hasPendingActivity())\n");
-            push(@implContent, "        return true;\n");
-        }
-        if ($codeGenerator->InheritsInterface($interface, "Node")) {
-            push(@implContent, "    if (JSNodeOwner::isReachableFromOpaqueRoots(handle, 0, visitor))\n");
-            push(@implContent, "        return true;\n");
-        }
-        push(@implContent, "    if (!isObservable(js${interfaceName}))\n");
-        push(@implContent, "        return false;\n");
-        if (GetGenerateIsReachable($interface)) {
-            my $rootString;
-            if (GetGenerateIsReachable($interface) eq "Impl") {
-                $rootString  = "    ${implType}* root = js${interfaceName}->impl();\n";
-            } elsif (GetGenerateIsReachable($interface) eq "ImplContext") {
-                $rootString  = "    WebGLRenderingContext* root = js${interfaceName}->impl()->context();\n";
-            } elsif (GetGenerateIsReachable($interface) eq "ImplFrame") {
-                $rootString  = "    Frame* root = js${interfaceName}->impl()->frame();\n";
-                $rootString .= "    if (!root)\n";
-                $rootString .= "        return false;\n";
-            } elsif (GetGenerateIsReachable($interface) eq "ImplDocument") {
-                $rootString  = "    Document* root = js${interfaceName}->impl()->document();\n";
-                $rootString .= "    if (!root)\n";
-                $rootString .= "        return false;\n";
-            } elsif (GetGenerateIsReachable($interface) eq "ImplElementRoot") {
-                $implIncludes{"Element.h"} = 1;
-                $implIncludes{"JSNodeCustom.h"} = 1;
-                $rootString  = "    Element* element = js${interfaceName}->impl()->element();\n";
-                $rootString .= "    if (!element)\n";
-                $rootString .= "        return false;\n";
-                $rootString .= "    void* root = WebCore::root(element);\n";
-            } elsif ($interfaceName eq "CanvasRenderingContext") {
-                $rootString  = "    void* root = WebCore::root(js${interfaceName}->impl()->canvas());\n";
-            } elsif (GetGenerateIsReachable($interface) eq "ImplOwnerNodeRoot") {
-                $implIncludes{"Element.h"} = 1;
-                $implIncludes{"JSNodeCustom.h"} = 1;
-                $rootString  = "    void* root = WebCore::root(js${interfaceName}->impl()->ownerNode());\n";
-            } else {
-                $rootString  = "    void* root = WebCore::root(js${interfaceName}->impl());\n";
-            }
-
-            push(@implContent, $rootString);
-            push(@implContent, "    return visitor.containsOpaqueRoot(root);\n");
-        } else {
-            push(@implContent, "    UNUSED_PARAM(visitor);\n");
-            push(@implContent, "    return false;\n");
-        }
-        push(@implContent, "}\n\n");
-    }
-
-    if (!$interface->extendedAttributes->{"JSCustomFinalize"} &&
-        (!$hasParent ||
-         GetGenerateIsReachable($interface) ||
-         GetCustomIsReachable($interface) ||
-         $codeGenerator->InheritsExtendedAttribute($interface, "ActiveDOMObject"))) {
-        push(@implContent, "void JS${interfaceName}Owner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    JS${interfaceName}* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.get().asCell());\n");
-        push(@implContent, "    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);\n");
-        push(@implContent, "    uncacheWrapper(world, js${interfaceName}->impl(), js${interfaceName});\n");
-        push(@implContent, "    js${interfaceName}->releaseImpl();\n");
-        push(@implContent, "}\n\n");
-    }
-
-    if (ShouldGenerateToJSImplementation($hasParent, $interface)) {
-        push(@implContent, "JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, $implType* impl)\n");
-        push(@implContent, "{\n");
-        if ($svgPropertyType) {
-            push(@implContent, "    return wrap<$className, $implType>(exec, globalObject, impl);\n");
-        } else {
-            push(@implContent, "    return wrap<$className>(exec, globalObject, impl);\n");
-        }
-        push(@implContent, "}\n\n");
-    }
-
-    if ((!$hasParent or $interface->extendedAttributes->{"JSGenerateToNativeObject"}) and !$interface->extendedAttributes->{"JSCustomToNativeObject"}) {
-        push(@implContent, "$implType* to${interfaceName}(JSC::JSValue value)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    return value.inherits(&${className}::s_info) ? jsCast<$className*>(asObject(value))->impl() : 0");
-        push(@implContent, ";\n}\n");
-    }
-
-    push(@implContent, "\n}\n");
-
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    push(@implContent, "\n#endif // ${conditionalString}\n") if $conditionalString;
-}
-
-sub GenerateCallWith
-{
-    my $callWith = shift;
-    return () unless $callWith;
-    my $outputArray = shift;
-    my $returnValue = shift;
-    my $function = shift;
-
-    my @callWithArgs;
-    if ($codeGenerator->ExtendedAttributeContains($callWith, "ScriptState")) {
-        push(@callWithArgs, "exec");
-    }
-    if ($codeGenerator->ExtendedAttributeContains($callWith, "ScriptExecutionContext")) {
-        push(@$outputArray, "    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();\n");
-        push(@$outputArray, "    if (!scriptContext)\n");
-        push(@$outputArray, "        return" . ($returnValue ? " " . $returnValue : "") . ";\n");
-        push(@callWithArgs, "scriptContext");
-    }
-    if ($function and $codeGenerator->ExtendedAttributeContains($callWith, "ScriptArguments")) {
-        push(@$outputArray, "    RefPtr<ScriptArguments> scriptArguments(createScriptArguments(exec, " . @{$function->parameters} . "));\n");
-        $implIncludes{"ScriptArguments.h"} = 1;
-        $implIncludes{"ScriptCallStackFactory.h"} = 1;
-        push(@callWithArgs, "scriptArguments.release()");
-    }
-    return @callWithArgs;
-}
-
-sub GenerateArgumentsCountCheck
-{
-    my $outputArray = shift;
-    my $function = shift;
-    my $interface = shift;
-
-    my $numMandatoryParams = @{$function->parameters};
-    foreach my $param (reverse(@{$function->parameters})) {
-        if ($param->extendedAttributes->{"Optional"} or $param->isVariadic) {
-            $numMandatoryParams--;
-        } else {
-            last;
-        }
-    }
-    if ($numMandatoryParams >= 1)
-    {
-        push(@$outputArray, "    if (exec->argumentCount() < $numMandatoryParams)\n");
-        push(@$outputArray, "        return throwVMError(exec, createNotEnoughArgumentsError(exec));\n");
-    }
-}
-
-sub GenerateParametersCheck
-{
-    my $outputArray = shift;
-    my $function = shift;
-    my $interface = shift;
-    my $numParameters = shift;
-    my $interfaceName = shift;
-    my $functionImplementationName = shift;
-    my $svgPropertyType = shift;
-    my $svgPropertyOrListPropertyType = shift;
-    my $svgListPropertyType = shift;
-
-    my $argsIndex = 0;
-    my $hasOptionalArguments = 0;
-
-    my @arguments;
-    my $functionName;
-    my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
-    if ($implementedBy) {
-        AddToImplIncludes("${implementedBy}.h");
-        unshift(@arguments, "impl") if !$function->isStatic;
-        $functionName = "${implementedBy}::${functionImplementationName}";
-    } elsif ($function->isStatic) {
-        $functionName = "${interfaceName}::${functionImplementationName}";
-    } elsif ($svgPropertyOrListPropertyType and !$svgListPropertyType) {
-        $functionName = "podImpl.${functionImplementationName}";
-    } else {
-        $functionName = "impl->${functionImplementationName}";
-    }
-
-    if (!$function->signature->extendedAttributes->{"Constructor"}) {
-        push(@arguments, GenerateCallWith($function->signature->extendedAttributes->{"CallWith"}, \@$outputArray, "JSValue::encode(jsUndefined())", $function));
-    }
-
-    $implIncludes{"ExceptionCode.h"} = 1;
-    $implIncludes{"JSDOMBinding.h"} = 1;
-
-    foreach my $parameter (@{$function->parameters}) {
-        my $argType = $parameter->type;
-
-        # Optional arguments with [Optional] should generate an early call with fewer arguments.
-        # Optional arguments with [Optional=...] should not generate the early call.
-        # Optional Dictionary arguments always considered to have default of empty dictionary.
-        my $optional = $parameter->extendedAttributes->{"Optional"};
-        if ($optional && $optional ne "DefaultIsUndefined" && $optional ne "DefaultIsNullString" && $argType ne "Dictionary" && !$parameter->extendedAttributes->{"Callback"}) {
-            # Generate early call if there are enough parameters.
-            if (!$hasOptionalArguments) {
-                push(@$outputArray, "\n    size_t argsCount = exec->argumentCount();\n");
-                $hasOptionalArguments = 1;
-            }
-            push(@$outputArray, "    if (argsCount <= $argsIndex) {\n");
-
-            my @optionalCallbackArguments = @arguments;
-            if (@{$function->raisesExceptions}) {
-                push @optionalCallbackArguments, "ec";
-            }
-            my $functionString = "$functionName(" . join(", ", @optionalCallbackArguments) . ")";
-            GenerateImplementationFunctionCall($function, $functionString, "    " x 2, $svgPropertyType, $interfaceName);
-            push(@$outputArray, "    }\n\n");
-        }
-
-        my $name = $parameter->name;
-
-        if ($argType eq "XPathNSResolver") {
-            push(@$outputArray, "    RefPtr<XPathNSResolver> customResolver;\n");
-            push(@$outputArray, "    XPathNSResolver* resolver = toXPathNSResolver(exec->argument($argsIndex));\n");
-            push(@$outputArray, "    if (!resolver) {\n");
-            push(@$outputArray, "        customResolver = JSCustomXPathNSResolver::create(exec, exec->argument($argsIndex));\n");
-            push(@$outputArray, "        if (exec->hadException())\n");
-            push(@$outputArray, "            return JSValue::encode(jsUndefined());\n");
-            push(@$outputArray, "        resolver = customResolver.get();\n");
-            push(@$outputArray, "    }\n");
-        } elsif ($parameter->extendedAttributes->{"Callback"}) {
-            my $callbackClassName = GetCallbackClassName($argType);
-            $implIncludes{"$callbackClassName.h"} = 1;
-            if ($optional) {
-                push(@$outputArray, "    RefPtr<$argType> $name;\n");
-                push(@$outputArray, "    if (exec->argumentCount() > $argsIndex && !exec->argument($argsIndex).isUndefinedOrNull()) {\n");
-                push(@$outputArray, "        if (!exec->argument($argsIndex).isFunction())\n");
-                push(@$outputArray, "            return throwVMTypeError(exec);\n");
-                if ($function->isStatic) {
-                    AddToImplIncludes("CallbackFunction.h");
-                    push(@$outputArray, "        $name = createFunctionOnlyCallback<${callbackClassName}>(exec, static_cast<JSDOMGlobalObject*>(exec->lexicalGlobalObject()), exec->argument($argsIndex));\n");
-                } else {
-                    push(@$outputArray, "        $name = ${callbackClassName}::create(asObject(exec->argument($argsIndex)), castedThis->globalObject());\n");
-                }
-                push(@$outputArray, "    }\n");
-            } else {
-                push(@$outputArray, "    if (exec->argumentCount() <= $argsIndex || !exec->argument($argsIndex).isFunction())\n");
-                push(@$outputArray, "        return throwVMTypeError(exec);\n");
-                if ($function->isStatic) {
-                    AddToImplIncludes("CallbackFunction.h");
-                    push(@$outputArray, "    RefPtr<$argType> $name = createFunctionOnlyCallback<${callbackClassName}>(exec, static_cast<JSDOMGlobalObject*>(exec->lexicalGlobalObject()), exec->argument($argsIndex));\n");
-                } else {
-                    push(@$outputArray, "    RefPtr<$argType> $name = ${callbackClassName}::create(asObject(exec->argument($argsIndex)), castedThis->globalObject());\n");
-                }
-            }
-        } elsif ($parameter->extendedAttributes->{"Clamp"}) {
-            my $nativeValue = "${name}NativeValue";
-            push(@$outputArray, "    $argType $name = 0;\n");
-            push(@$outputArray, "    double $nativeValue = exec->argument($argsIndex).toNumber(exec);\n");
-            push(@$outputArray, "    if (exec->hadException())\n");
-            push(@$outputArray, "        return JSValue::encode(jsUndefined());\n\n");
-            push(@$outputArray, "    if (!std::isnan($nativeValue))\n");
-            push(@$outputArray, "        $name = clampTo<$argType>($nativeValue);\n\n");
-        } elsif ($parameter->isVariadic) {
-            my $nativeElementType;
-            if ($argType eq "DOMString") {
-                $nativeElementType = "String";
-            } else {
-                $nativeElementType = GetNativeType($argType);
-                if ($nativeElementType =~ />$/) {
-                    $nativeElementType .= " ";
-                }
-            }
-
-            if (!IsNativeType($argType)) {
-                push(@$outputArray, "    Vector<$nativeElementType> $name;\n");
-                push(@$outputArray, "    for (unsigned i = $argsIndex; i < exec->argumentCount(); ++i) {\n");
-                push(@$outputArray, "        if (!exec->argument(i).inherits(&JS${argType}::s_info))\n");
-                push(@$outputArray, "            return throwVMTypeError(exec);\n");
-                push(@$outputArray, "        $name.append(to$argType(exec->argument(i)));\n");
-                push(@$outputArray, "    }\n")
-            } else {
-                push(@$outputArray, "    Vector<$nativeElementType> $name = toNativeArguments<$nativeElementType>(exec, $argsIndex);\n");
-                # Check if the type conversion succeeded.
-                push(@$outputArray, "    if (exec->hadException())\n");
-                push(@$outputArray, "        return JSValue::encode(jsUndefined());\n");
-            }
-
-        } elsif ($codeGenerator->IsEnumType($argType)) {
-            $implIncludes{"<runtime/Error.h>"} = 1;
-
-            my $argValue = "exec->argument($argsIndex)";
-            push(@$outputArray, "    const String ${name}(${argValue}.isEmpty() ? String() : ${argValue}.toString(exec)->value(exec));\n");
-            push(@$outputArray, "    if (exec->hadException())\n");
-            push(@$outputArray, "        return JSValue::encode(jsUndefined());\n");
-
-            my @enumValues = $codeGenerator->ValidEnumValues($argType);
-            my @enumChecks = ();
-            foreach my $enumValue (@enumValues) {
-                push(@enumChecks, "${name} != \"$enumValue\"");
-            }
-            push (@$outputArray, "    if (" . join(" && ", @enumChecks) . ")\n");
-            push (@$outputArray, "        return throwVMTypeError(exec);\n");
-        } else {
-            # If the "StrictTypeChecking" extended attribute is present, and the argument's type is an
-            # interface type, then if the incoming value does not implement that interface, a TypeError
-            # is thrown rather than silently passing NULL to the C++ code.
-            # Per the Web IDL and ECMAScript semantics, incoming values can always be converted to both
-            # strings and numbers, so do not throw TypeError if the argument is of these types.
-            if ($function->signature->extendedAttributes->{"StrictTypeChecking"}) {
-                $implIncludes{"<runtime/Error.h>"} = 1;
-
-                my $argValue = "exec->argument($argsIndex)";
-                if (!IsNativeType($argType)) {
-                    push(@$outputArray, "    if (exec->argumentCount() > $argsIndex && !${argValue}.isUndefinedOrNull() && !${argValue}.inherits(&JS${argType}::s_info))\n");
-                    push(@$outputArray, "        return throwVMTypeError(exec);\n");
-                }
-            }
-
-            push(@$outputArray, "    " . GetNativeTypeFromSignature($parameter) . " $name(" . JSValueToNative($parameter, $optional && $optional eq "DefaultIsNullString" ? "argumentOrNull(exec, $argsIndex)" : "exec->argument($argsIndex)") . ");\n");
-
-            # If a parameter is "an index" and it's negative it should throw an INDEX_SIZE_ERR exception.
-            # But this needs to be done in the bindings, because the type is unsigned and the fact that it
-            # was negative will be lost by the time we're inside the DOM.
-            if ($parameter->extendedAttributes->{"IsIndex"}) {
-                push(@$outputArray, "    if ($name < 0) {\n");
-                push(@$outputArray, "        setDOMException(exec, INDEX_SIZE_ERR);\n");
-                push(@$outputArray, "        return JSValue::encode(jsUndefined());\n");
-                push(@$outputArray, "    }\n");
-            }
-
-            # Check if the type conversion succeeded.
-            push(@$outputArray, "    if (exec->hadException())\n");
-            push(@$outputArray, "        return JSValue::encode(jsUndefined());\n");
-
-            if ($codeGenerator->IsSVGTypeNeedingTearOff($argType) and not $interfaceName =~ /List$/) {
-                push(@$outputArray, "    if (!$name) {\n");
-                push(@$outputArray, "        setDOMException(exec, TYPE_MISMATCH_ERR);\n");
-                push(@$outputArray, "        return JSValue::encode(jsUndefined());\n");
-                push(@$outputArray, "    }\n");
-            }
-        }
-
-        if ($argType eq "NodeFilter") {
-            push @arguments, "$name.get()";
-        } elsif ($codeGenerator->IsSVGTypeNeedingTearOff($argType) and not $interfaceName =~ /List$/) {
-            push @arguments, "$name->propertyReference()";
-        } else {
-            push @arguments, $name;
-        }
-        $argsIndex++;
-    }
-
-    if (@{$function->raisesExceptions}) {
-        push @arguments, "ec";
-    }
-    return ("$functionName(" . join(", ", @arguments) . ")", scalar @arguments);
-}
-
-sub GenerateCallbackHeader
-{
-    my $object = shift;
-    my $interface = shift;
-
-    my $interfaceName = $interface->name;
-    my $className = "JS$interfaceName";
-
-    # - Add default header template and header protection
-    push(@headerContentHeader, GenerateHeaderContentHeader($interface));
-
-    $headerIncludes{"ActiveDOMCallback.h"} = 1;
-    $headerIncludes{"$interfaceName.h"} = 1;
-    $headerIncludes{"JSCallbackData.h"} = 1;
-    $headerIncludes{"<wtf/Forward.h>"} = 1;
-
-    push(@headerContent, "\nnamespace WebCore {\n\n");
-    push(@headerContent, "class $className : public $interfaceName, public ActiveDOMCallback {\n");
-    push(@headerContent, "public:\n");
-
-    # The static create() method.
-    push(@headerContent, "    static PassRefPtr<$className> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject)\n");
-    push(@headerContent, "    {\n");
-    push(@headerContent, "        return adoptRef(new $className(callback, globalObject));\n");
-    push(@headerContent, "    }\n\n");
-
-    # ScriptExecutionContext
-    push(@headerContent, "    virtual ScriptExecutionContext* scriptExecutionContext() const { return ContextDestructionObserver::scriptExecutionContext(); }\n\n");
-
-    # Destructor
-    push(@headerContent, "    virtual ~$className();\n");
-
-    # Functions
-    my $numFunctions = @{$interface->functions};
-    if ($numFunctions > 0) {
-        push(@headerContent, "\n    // Functions\n");
-        foreach my $function (@{$interface->functions}) {
-            my @params = @{$function->parameters};
-            if (!$function->signature->extendedAttributes->{"Custom"} &&
-                !(GetNativeType($function->signature->type) eq "bool")) {
-                push(@headerContent, "    COMPILE_ASSERT(false)");
-            }
-
-            push(@headerContent, "    virtual " . GetNativeTypeForCallbacks($function->signature->type) . " " . $function->signature->name . "(");
-
-            my @args = ();
-            foreach my $param (@params) {
-                push(@args, GetNativeTypeForCallbacks($param->type) . " " . $param->name);
-            }
-            push(@headerContent, join(", ", @args));
-
-            push(@headerContent, ");\n");
-        }
-    }
-
-    push(@headerContent, "\nprivate:\n");
-
-    # Constructor
-    push(@headerContent, "    $className(JSC::JSObject* callback, JSDOMGlobalObject*);\n\n");
-
-    # Private members
-    push(@headerContent, "    JSCallbackData* m_data;\n");
-    push(@headerContent, "};\n\n");
-
-    push(@headerContent, "} // namespace WebCore\n\n");
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    push(@headerContent, "#endif // ${conditionalString}\n\n") if $conditionalString;
-    push(@headerContent, "#endif\n");
-}
-
-sub GenerateCallbackImplementation
-{
-    my ($object, $interface) = @_;
-
-    my $interfaceName = $interface->name;
-    my $className = "JS$interfaceName";
-
-    # - Add default header template
-    push(@implContentHeader, GenerateImplementationContentHeader($interface));
-
-    $implIncludes{"ScriptExecutionContext.h"} = 1;
-    $implIncludes{"<runtime/JSLock.h>"} = 1;
-
-    @implContent = ();
-
-    push(@implContent, "\nusing namespace JSC;\n\n");
-    push(@implContent, "namespace WebCore {\n\n");
-
-    # Constructor
-    push(@implContent, "${className}::${className}(JSObject* callback, JSDOMGlobalObject* globalObject)\n");
-    push(@implContent, "    : ActiveDOMCallback(globalObject->scriptExecutionContext())\n");
-    push(@implContent, "    , m_data(new JSCallbackData(callback, globalObject))\n");
-    push(@implContent, "{\n");
-    push(@implContent, "}\n\n");
-
-    # Destructor
-    push(@implContent, "${className}::~${className}()\n");
-    push(@implContent, "{\n");
-    push(@implContent, "    ScriptExecutionContext* context = scriptExecutionContext();\n");
-    push(@implContent, "    // When the context is destroyed, all tasks with a reference to a callback\n");
-    push(@implContent, "    // should be deleted. So if the context is 0, we are on the context thread.\n");
-    push(@implContent, "    if (!context || context->isContextThread())\n");
-    push(@implContent, "        delete m_data;\n");
-    push(@implContent, "    else\n");
-    push(@implContent, "        context->postTask(DeleteCallbackDataTask::create(m_data));\n");
-    push(@implContent, "#ifndef NDEBUG\n");
-    push(@implContent, "    m_data = 0;\n");
-    push(@implContent, "#endif\n");
-    push(@implContent, "}\n");
-
-    # Functions
-    my $numFunctions = @{$interface->functions};
-    if ($numFunctions > 0) {
-        push(@implContent, "\n// Functions\n");
-        foreach my $function (@{$interface->functions}) {
-            my @params = @{$function->parameters};
-            if ($function->signature->extendedAttributes->{"Custom"} ||
-                !(GetNativeType($function->signature->type) eq "bool")) {
-                next;
-            }
-
-            AddIncludesForTypeInImpl($function->signature->type);
-            push(@implContent, "\n" . GetNativeTypeForCallbacks($function->signature->type) . " ${className}::" . $function->signature->name . "(");
-
-            my @args = ();
-            my @argsCheck = ();
-            my $thisType = $function->signature->extendedAttributes->{"PassThisToCallback"};
-            foreach my $param (@params) {
-                my $paramName = $param->name;
-                AddIncludesForTypeInImpl($param->type, 1);
-                push(@args, GetNativeTypeForCallbacks($param->type) . " " . $paramName);
-                if ($thisType and $thisType eq $param->type) {
-                    push(@argsCheck, <<END);
-    ASSERT(${paramName});
-
-END
-                }
-            }
-            push(@implContent, join(", ", @args));
-            push(@implContent, ")\n");
-
-            push(@implContent, "{\n");
-            push(@implContent, @argsCheck) if @argsCheck;
-            push(@implContent, "    if (!canInvokeCallback())\n");
-            push(@implContent, "        return true;\n\n");
-            push(@implContent, "    RefPtr<$className> protect(this);\n\n");
-            push(@implContent, "    JSLockHolder lock(m_data->globalObject()->globalData());\n\n");
-            if (@params) {
-                push(@implContent, "    ExecState* exec = m_data->globalObject()->globalExec();\n");
-            }
-            push(@implContent, "    MarkedArgumentBuffer args;\n");
-
-            foreach my $param (@params) {
-                my $paramName = $param->name;
-                if ($param->type eq "DOMString") {
-                    push(@implContent, "    args.append(jsStringWithCache(exec, ${paramName}));\n");
-                } elsif ($param->type eq "boolean") {
-                    push(@implContent, "    args.append(jsBoolean(${paramName}));\n");
-                } elsif ($param->type eq "SerializedScriptValue") {
-                    push(@implContent, "    args.append($paramName ? $paramName->deserialize(exec, m_data->globalObject(), 0) : jsNull());\n");
-                } else {
-                    push(@implContent, "    args.append(toJS(exec, m_data->globalObject(), ${paramName}));\n");
-                }
-            }
-
-            push(@implContent, "\n    bool raisedException = false;\n");
-            if ($thisType) {
-                foreach my $param (@params) {
-                    next if $param->type ne $thisType;
-                    my $paramName = $param->name;
-                    push(@implContent, <<END);
-    JSValue js${paramName} = toJS(exec, m_data->globalObject(), ${paramName});
-    m_data->invokeCallback(js${paramName}, args, &raisedException);
-
-END
-                    last;
-                }
-            } else {
-                push(@implContent, "    m_data->invokeCallback(args, &raisedException);\n");
-            }
-            push(@implContent, "    return !raisedException;\n");
-            push(@implContent, "}\n");
-        }
-    }
-
-    push(@implContent, "\n}\n");
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    push(@implContent, "\n#endif // ${conditionalString}\n") if $conditionalString;
-}
-
-sub GenerateImplementationFunctionCall()
-{
-    my $function = shift;
-    my $functionString = shift;
-    my $indent = shift;
-    my $svgPropertyType = shift;
-    my $interfaceName = shift;
-
-    if ($function->signature->type eq "void") {
-        push(@implContent, $indent . "$functionString;\n");
-        push(@implContent, $indent . "setDOMException(exec, ec);\n") if @{$function->raisesExceptions};
-
-        if ($svgPropertyType and !$function->isStatic) {
-            if (@{$function->raisesExceptions}) {
-                push(@implContent, $indent . "if (!ec)\n"); 
-                push(@implContent, $indent . "    impl->commitChange();\n");
-            } else {
-                push(@implContent, $indent . "impl->commitChange();\n");
-            }
-        }
-
-        push(@implContent, $indent . "return JSValue::encode(jsUndefined());\n");
-    } else {
-        my $thisObject = $function->isStatic ? 0 : "castedThis";
-        push(@implContent, "\n" . $indent . "JSC::JSValue result = " . NativeToJSValue($function->signature, 1, $interfaceName, $functionString, $thisObject) . ";\n");
-        push(@implContent, $indent . "setDOMException(exec, ec);\n") if @{$function->raisesExceptions};
-
-        if ($codeGenerator->ExtendedAttributeContains($function->signature->extendedAttributes->{"CallWith"}, "ScriptState")) {
-            push(@implContent, $indent . "if (exec->hadException())\n");
-            push(@implContent, $indent . "    return JSValue::encode(jsUndefined());\n");
-        }
-
-        push(@implContent, $indent . "return JSValue::encode(result);\n");
-    }
-}
-
-sub GetNativeTypeFromSignature
-{
-    my $signature = shift;
-    my $type = $signature->type;
-
-    if ($type eq "unsigned long" and $signature->extendedAttributes->{"IsIndex"}) {
-        # Special-case index arguments because we need to check that they aren't < 0.
-        return "int";
-    }
-
-    return GetNativeType($type);
-}
-
-my %nativeType = (
-    "CompareHow" => "Range::CompareHow",
-    "DOMString" => "const String&",
-    "NodeFilter" => "RefPtr<NodeFilter>",
-    "SerializedScriptValue" => "RefPtr<SerializedScriptValue>",
-    "Date" => "double",
-    "Dictionary" => "Dictionary",
-    "any" => "ScriptValue",
-    "boolean" => "bool",
-    "double" => "double",
-    "float" => "float",
-    "short" => "short",
-    "long" => "int",
-    "unsigned long" => "unsigned",
-    "unsigned short" => "unsigned short",
-    "long long" => "long long",
-    "unsigned long long" => "unsigned long long",
-    "MediaQueryListListener" => "RefPtr<MediaQueryListListener>",
-    "DOMTimeStamp" => "DOMTimeStamp",    
-);
-
-sub GetNativeType
-{
-    my $type = shift;
-
-    my $svgNativeType = $codeGenerator->GetSVGTypeNeedingTearOff($type);
-    return "${svgNativeType}*" if $svgNativeType;
-    return "RefPtr<DOMStringList>" if $type eq "DOMStringList";
-    return $nativeType{$type} if exists $nativeType{$type};
-
-    my $arrayType = $codeGenerator->GetArrayType($type);
-    my $sequenceType = $codeGenerator->GetSequenceType($type);
-    my $arrayOrSequenceType = $arrayType || $sequenceType;
-
-    return "Vector<" . GetNativeVectorInnerType($arrayOrSequenceType) . ">" if $arrayOrSequenceType;
-
-    if ($codeGenerator->IsEnumType($type)) {
-        return "const String";
-    }
-
-    # For all other types, the native type is a pointer with same type name as the IDL type.
-    return "${type}*";
-}
-
-sub GetNativeVectorInnerType
-{
-    my $arrayOrSequenceType = shift;
-
-    return "String" if $arrayOrSequenceType eq "DOMString";
-    return $nativeType{$arrayOrSequenceType} if exists $nativeType{$arrayOrSequenceType};
-    return "RefPtr<${arrayOrSequenceType}> ";
-}
-
-sub GetNativeTypeForCallbacks
-{
-    my $type = shift;
-    return "PassRefPtr<SerializedScriptValue>" if $type eq "SerializedScriptValue";
-    return "PassRefPtr<DOMStringList>" if $type eq "DOMStringList";
-
-    return GetNativeType($type);
-}
-
-sub GetSVGPropertyTypes
-{
-    my $implType = shift;
-
-    my $svgPropertyType;
-    my $svgListPropertyType;
-    my $svgNativeType;
-
-    return ($svgPropertyType, $svgListPropertyType, $svgNativeType) if not $implType =~ /SVG/;
-    
-    $svgNativeType = $codeGenerator->GetSVGTypeNeedingTearOff($implType);
-    return ($svgPropertyType, $svgListPropertyType, $svgNativeType) if not $svgNativeType;
-
-    # Append space to avoid compilation errors when using  PassRefPtr<$svgNativeType>
-    $svgNativeType = "$svgNativeType ";
-
-    my $svgWrappedNativeType = $codeGenerator->GetSVGWrappedTypeNeedingTearOff($implType);
-    if ($svgNativeType =~ /SVGPropertyTearOff/) {
-        $svgPropertyType = $svgWrappedNativeType;
-        $headerIncludes{"$svgWrappedNativeType.h"} = 1;
-        $headerIncludes{"SVGAnimatedPropertyTearOff.h"} = 1;
-    } elsif ($svgNativeType =~ /SVGListPropertyTearOff/ or $svgNativeType =~ /SVGStaticListPropertyTearOff/) {
-        $svgListPropertyType = $svgWrappedNativeType;
-        $headerIncludes{"$svgWrappedNativeType.h"} = 1;
-        $headerIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
-    } elsif ($svgNativeType =~ /SVGTransformListPropertyTearOff/) {
-        $svgListPropertyType = $svgWrappedNativeType;
-        $headerIncludes{"$svgWrappedNativeType.h"} = 1;
-        $headerIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
-        $headerIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
-    } elsif ($svgNativeType =~ /SVGPathSegListPropertyTearOff/) {
-        $svgListPropertyType = $svgWrappedNativeType;
-        $headerIncludes{"$svgWrappedNativeType.h"} = 1;
-        $headerIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
-        $headerIncludes{"SVGPathSegListPropertyTearOff.h"} = 1;
-    }
-
-    return ($svgPropertyType, $svgListPropertyType, $svgNativeType);
-}
-
-sub IsNativeType
-{
-    my $type = shift;
-    return exists $nativeType{$type};
-}
-
-sub JSValueToNative
-{
-    my $signature = shift;
-    my $value = shift;
-
-    my $conditional = $signature->extendedAttributes->{"Conditional"};
-    my $type = $signature->type;
-
-    return "$value.toBoolean(exec)" if $type eq "boolean";
-    return "$value.toNumber(exec)" if $type eq "double";
-    return "$value.toFloat(exec)" if $type eq "float";
-
-    my $intConversion = $signature->extendedAttributes->{"EnforceRange"} ? "EnforceRange" : "NormalConversion";
-    return "toInt32(exec, $value, $intConversion)" if $type eq "long" or $type eq "short";
-    return "toUInt32(exec, $value, $intConversion)" if $type eq "unsigned long" or $type eq "unsigned short";
-    return "toInt64(exec, $value, $intConversion)" if $type eq "long long";
-    return "toUInt64(exec, $value, $intConversion)" if $type eq "unsigned long long";
-
-    return "valueToDate(exec, $value)" if $type eq "Date";
-    return "static_cast<Range::CompareHow>($value.toInt32(exec))" if $type eq "CompareHow";
-
-    if ($type eq "DOMString") {
-        # FIXME: This implements [TreatNullAs=NullString] and [TreatUndefinedAs=NullString],
-        # but the Web IDL spec requires [TreatNullAs=EmptyString] and [TreatUndefinedAs=EmptyString].
-        if (($signature->extendedAttributes->{"TreatNullAs"} and $signature->extendedAttributes->{"TreatNullAs"} eq "NullString") and ($signature->extendedAttributes->{"TreatUndefinedAs"} and $signature->extendedAttributes->{"TreatUndefinedAs"} eq "NullString")) {
-            return "valueToStringWithUndefinedOrNullCheck(exec, $value)"
-        }
-        if (($signature->extendedAttributes->{"TreatNullAs"} and $signature->extendedAttributes->{"TreatNullAs"} eq "NullString") or $signature->extendedAttributes->{"Reflect"}) {
-            return "valueToStringWithNullCheck(exec, $value)"
-        }
-        # FIXME: Add the case for 'if ($signature->extendedAttributes->{"TreatUndefinedAs"} and $signature->extendedAttributes->{"TreatUndefinedAs"} eq "NullString"))'.
-        return "$value.isEmpty() ? String() : $value.toString(exec)->value(exec)";
-    }
-
-    if ($type eq "any") {
-        return "exec->globalData(), $value";
-    }
-
-    if ($type eq "NodeFilter") {
-        AddToImplIncludes("JS$type.h", $conditional);
-        return "to$type(exec->globalData(), $value)";
-    }
-
-    if ($type eq "MediaQueryListListener") {
-        AddToImplIncludes("MediaQueryListListener.h", $conditional);
-        return "MediaQueryListListener::create(ScriptValue(exec->globalData(), " . $value ."))";
-    }
-
-    if ($type eq "SerializedScriptValue") {
-        AddToImplIncludes("SerializedScriptValue.h", $conditional);
-        return "SerializedScriptValue::create(exec, $value, 0, 0)";
-    }
-
-    if ($type eq "Dictionary") {
-        AddToImplIncludes("Dictionary.h", $conditional);
-        return "exec, $value";
-    }
-
-    if ($type eq "DOMStringList" ) {
-        AddToImplIncludes("JSDOMStringList.h", $conditional);
-        return "toDOMStringList(exec, $value)";
-    }
-
-    AddToImplIncludes("HTMLOptionElement.h", $conditional) if $type eq "HTMLOptionElement";
-    AddToImplIncludes("Event.h", $conditional) if $type eq "Event";
-
-    my $arrayType = $codeGenerator->GetArrayType($type);
-    my $sequenceType = $codeGenerator->GetSequenceType($type);
-    my $arrayOrSequenceType = $arrayType || $sequenceType;
-
-    if ($arrayOrSequenceType) {
-        if ($codeGenerator->IsRefPtrType($arrayOrSequenceType)) {
-            AddToImplIncludes("JS${arrayOrSequenceType}.h");
-            return "(toRefPtrNativeArray<${arrayOrSequenceType}, JS${arrayOrSequenceType}>(exec, $value, &to${arrayOrSequenceType}))";
-        }
-        return "toNativeArray<" . GetNativeVectorInnerType($arrayOrSequenceType) . ">(exec, $value)";
-    }
-
-    if ($codeGenerator->IsEnumType($type)) {
-        return "$value.isEmpty() ? String() : $value.toString(exec)->value(exec)";
-    }
-
-    # Default, assume autogenerated type conversion routines
-    AddToImplIncludes("JS$type.h", $conditional);
-    return "to$type($value)";
-}
-
-sub NativeToJSValue
-{
-    my $signature = shift;
-    my $inFunctionCall = shift;
-    my $interfaceName = shift;
-    my $value = shift;
-    my $thisValue = shift;
-
-    my $conditional = $signature->extendedAttributes->{"Conditional"};
-    my $type = $signature->type;
-
-    return "jsBoolean($value)" if $type eq "boolean";
-
-    # Need to check Date type before IsPrimitiveType().
-    if ($type eq "Date") {
-        return "jsDateOrNull(exec, $value)";
-    }
-
-    if ($signature->extendedAttributes->{"Reflect"} and ($type eq "unsigned long" or $type eq "unsigned short")) {
-        $value =~ s/getUnsignedIntegralAttribute/getIntegralAttribute/g;
-        return "jsNumber(std::max(0, " . $value . "))";
-    }
-
-    if ($codeGenerator->IsPrimitiveType($type) or $type eq "DOMTimeStamp") {
-        return "jsNumber($value)";
-    }
-
-    if ($codeGenerator->IsEnumType($type)) {
-        AddToImplIncludes("<runtime/JSString.h>", $conditional);
-        return "jsStringWithCache(exec, $value)";
-    }
-
-    if ($codeGenerator->IsStringType($type)) {
-        AddToImplIncludes("KURL.h", $conditional);
-        my $conv = $signature->extendedAttributes->{"TreatReturnedNullStringAs"};
-        if (defined $conv) {
-            return "jsStringOrNull(exec, $value)" if $conv eq "Null";
-            return "jsStringOrUndefined(exec, $value)" if $conv eq "Undefined";
-
-            die "Unknown value for TreatReturnedNullStringAs extended attribute";
-        }
-        AddToImplIncludes("<runtime/JSString.h>", $conditional);
-        return "jsStringWithCache(exec, $value)";
-    }
-
-    my $globalObject;
-    if ($thisValue) {
-        $globalObject = "$thisValue->globalObject()";
-    }
-
-    if ($type eq "CSSStyleDeclaration") {
-        AddToImplIncludes("StylePropertySet.h", $conditional);
-    }
-
-    if ($type eq "NodeList") {
-        AddToImplIncludes("NameNodeList.h", $conditional);
-    }
-
-    my $arrayType = $codeGenerator->GetArrayType($type);
-    my $sequenceType = $codeGenerator->GetSequenceType($type);
-    my $arrayOrSequenceType = $arrayType || $sequenceType;
-
-    if ($arrayOrSequenceType) {
-        if ($arrayType eq "DOMString") {
-            AddToImplIncludes("JSDOMStringList.h", $conditional);
-            AddToImplIncludes("DOMStringList.h", $conditional);
-
-        } elsif ($codeGenerator->IsRefPtrType($arrayOrSequenceType)) {
-            AddToImplIncludes("JS${arrayOrSequenceType}.h", $conditional);
-            AddToImplIncludes("${arrayOrSequenceType}.h", $conditional);
-        }
-        AddToImplIncludes("<runtime/JSArray.h>", $conditional);
-        return "jsArray(exec, $thisValue->globalObject(), $value)";
-    }
-
-    if ($type eq "any") {
-        if ($interfaceName eq "Document") {
-            AddToImplIncludes("JSCanvasRenderingContext2D.h", $conditional);
-        } else {
-            return "($value.hasNoValue() ? jsNull() : $value.jsValue())";
-        }
-    } elsif ($type =~ /SVGPathSeg/) {
-        AddToImplIncludes("JS$type.h", $conditional);
-        my $joinedName = $type;
-        $joinedName =~ s/Abs|Rel//;
-        AddToImplIncludes("$joinedName.h", $conditional);
-    } elsif ($type eq "SerializedScriptValue" or $type eq "any") {
-        AddToImplIncludes("SerializedScriptValue.h", $conditional);
-        return "$value ? $value->deserialize(exec, castedThis->globalObject(), 0) : jsNull()";
-    } elsif ($type eq "MessagePortArray") {
-        AddToImplIncludes("MessagePort.h", $conditional);
-        AddToImplIncludes("JSMessagePort.h", $conditional);
-        AddToImplIncludes("<runtime/JSArray.h>", $conditional);
-        return "jsArray(exec, $globalObject, *$value)";
-    } else {
-        # Default, include header with same name.
-        AddToImplIncludes("JS$type.h", $conditional);
-        if ($codeGenerator->IsTypedArrayType($type)) {
-            AddToImplIncludes("<wtf/$type.h>", $conditional) if not $codeGenerator->SkipIncludeHeader($type);
-        } else {
-            AddToImplIncludes("$type.h", $conditional) if not $codeGenerator->SkipIncludeHeader($type);
-        }
-    }
-
-    return $value if $codeGenerator->IsSVGAnimatedType($type);
-
-    if ($signature->extendedAttributes->{"ReturnNewObject"}) {
-        return "toJSNewlyCreated(exec, $globalObject, WTF::getPtr($value))";
-    }
-
-    if ($codeGenerator->IsSVGAnimatedType($interfaceName) or $interfaceName eq "SVGViewSpec") {
-        # Convert from abstract SVGProperty to real type, so the right toJS() method can be invoked.
-        $value = "static_cast<" . GetNativeType($type) . ">($value)";
-    } elsif ($codeGenerator->IsSVGTypeNeedingTearOff($type) and not $interfaceName =~ /List$/) {
-        my $tearOffType = $codeGenerator->GetSVGTypeNeedingTearOff($type);
-        if ($codeGenerator->IsSVGTypeWithWritablePropertiesNeedingTearOff($type) and $inFunctionCall eq 0 and not defined $signature->extendedAttributes->{"Immutable"}) {
-            my $getter = $value;
-            $getter =~ s/impl\.//;
-            $getter =~ s/impl->//;
-            $getter =~ s/\(\)//;
-            my $updateMethod = "&${interfaceName}::update" . $codeGenerator->WK_ucfirst($getter);
-
-            my $selfIsTearOffType = $codeGenerator->IsSVGTypeNeedingTearOff($interfaceName);
-            if ($selfIsTearOffType) {
-                AddToImplIncludes("SVGStaticPropertyWithParentTearOff.h", $conditional);
-                $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyWithParentTearOff<$interfaceName, /;
-
-                if ($value =~ /matrix/ and $interfaceName eq "SVGTransform") {
-                    # SVGTransform offers a matrix() method for internal usage that returns an AffineTransform
-                    # and a svgMatrix() method returning a SVGMatrix, used for the bindings.
-                    $value =~ s/matrix/svgMatrix/;
-                }
-
-                $value = "${tearOffType}::create(castedThis->impl(), $value, $updateMethod)";
-            } else {
-                AddToImplIncludes("SVGStaticPropertyTearOff.h", $conditional);
-                $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyTearOff<$interfaceName, /;
-                $value = "${tearOffType}::create(impl, $value, $updateMethod)";
-            }
-        } elsif ($tearOffType =~ /SVGStaticListPropertyTearOff/) {
-            $value = "${tearOffType}::create(impl, $value)";
-        } elsif (not $tearOffType =~ /SVG(Point|PathSeg)List/) {
-            $value = "${tearOffType}::create($value)";
-        }
-    }
-    if ($globalObject) {
-        return "toJS(exec, $globalObject, WTF::getPtr($value))";
-    } else {
-        return "toJS(exec, jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject()), WTF::getPtr($value))";
-    }
-}
-
-sub ceilingToPowerOf2
-{
-    my ($size) = @_;
-
-    my $powerOf2 = 1;
-    while ($size > $powerOf2) {
-        $powerOf2 <<= 1;
-    }
-
-    return $powerOf2;
-}
-
-# Internal Helper
-sub GenerateHashTable
-{
-    my $object = shift;
-
-    my $name = shift;
-    my $size = shift;
-    my $keys = shift;
-    my $specials = shift;
-    my $value1 = shift;
-    my $value2 = shift;
-    my $conditionals = shift;
-
-    # Generate size data for compact' size hash table
-
-    my @table = ();
-    my @links = ();
-
-    my $compactSize = ceilingToPowerOf2($size * 2);
-
-    my $maxDepth = 0;
-    my $collisions = 0;
-    my $numEntries = $compactSize;
-
-    my $i = 0;
-    foreach (@{$keys}) {
-        my $depth = 0;
-        my $h = Hasher::GenerateHashValue($_) % $numEntries;
-
-        while (defined($table[$h])) {
-            if (defined($links[$h])) {
-                $h = $links[$h];
-                $depth++;
-            } else {
-                $collisions++;
-                $links[$h] = $compactSize;
-                $h = $compactSize;
-                $compactSize++;
-            }
-        }
-
-        $table[$h] = $i;
-
-        $i++;
-        $maxDepth = $depth if ($depth > $maxDepth);
-    }
-
-    # Start outputing the hashtables
-    my $nameEntries = "${name}Values";
-    $nameEntries =~ s/:/_/g;
-
-    if (($name =~ /Prototype/) or ($name =~ /Constructor/)) {
-        my $type = $name;
-        my $implClass;
-
-        if ($name =~ /Prototype/) {
-            $type =~ s/Prototype.*//;
-            $implClass = $type; $implClass =~ s/Wrapper$//;
-            push(@implContent, "/* Hash table for prototype */\n");
-        } else {
-            $type =~ s/Constructor.*//;
-            $implClass = $type; $implClass =~ s/Constructor$//;
-            push(@implContent, "/* Hash table for constructor */\n");
-        }
-    } else {
-        push(@implContent, "/* Hash table */\n");
-    }
-
-    # Dump the hash table
-    push(@implContent, "\nstatic const HashTableValue $nameEntries\[\] =\n\{\n");
-    $i = 0;
-    foreach my $key (@{$keys}) {
-        my $conditional;
-        my $targetType;
-
-        if ($conditionals) {
-            $conditional = $conditionals->{$key};
-        }
-        if ($conditional) {
-            my $conditionalString = $codeGenerator->GenerateConditionalStringFromAttributeValue($conditional);
-            push(@implContent, "#if ${conditionalString}\n");
-        }
-        
-        if ("@$specials[$i]" =~ m/Function/) {
-            $targetType = "static_cast<NativeFunction>";
-        } else {
-            $targetType = "static_cast<PropertySlot::GetValueFunc>";
-        }
-        push(@implContent, "    { \"$key\", @$specials[$i], (intptr_t)" . $targetType . "(@$value1[$i]), (intptr_t)@$value2[$i], NoIntrinsic },\n");
-        push(@implContent, "#endif\n") if $conditional;
-        ++$i;
-    }
-    push(@implContent, "    { 0, 0, 0, 0, NoIntrinsic }\n");
-    push(@implContent, "};\n\n");
-    my $compactSizeMask = $numEntries - 1;
-    push(@implContent, "static const HashTable $name = { $compactSize, $compactSizeMask, $nameEntries, 0 };\n");
-}
-
-sub WriteData
-{
-    my $object = shift;
-    my $interface = shift;
-    my $outputDir = shift;
-
-    my $name = $interface->name;
-    my $prefix = FileNamePrefix;
-    my $headerFileName = "$outputDir/$prefix$name.h";
-    my $implFileName = "$outputDir/$prefix$name.cpp";
-    my $depsFileName = "$outputDir/$prefix$name.dep";
-
-    # Update a .cpp file if the contents are changed.
-    my $contents = join "", @implContentHeader;
-
-    my @includes = ();
-    my %implIncludeConditions = ();
-    foreach my $include (keys %implIncludes) {
-        my $condition = $implIncludes{$include};
-        my $checkType = $include;
-        $checkType =~ s/\.h//;
-        next if $codeGenerator->IsSVGAnimatedType($checkType);
-
-        $include = "\"$include\"" unless $include =~ /^["<]/; # "
-
-        if ($condition eq 1) {
-            push @includes, $include;
-        } else {
-            push @{$implIncludeConditions{$condition}}, $include;
-        }
-    }
-    foreach my $include (sort @includes) {
-        $contents .= "#include $include\n";
-    }
-    foreach my $condition (sort keys %implIncludeConditions) {
-        $contents .= "\n#if " . $codeGenerator->GenerateConditionalStringFromAttributeValue($condition) . "\n";
-        foreach my $include (sort @{$implIncludeConditions{$condition}}) {
-            $contents .= "#include $include\n";
-        }
-        $contents .= "#endif\n";
-    }
-
-    $contents .= join "", @implContent;
-    $codeGenerator->UpdateFile($implFileName, $contents);
-
-    @implContentHeader = ();
-    @implContent = ();
-    %implIncludes = ();
-
-    # Update a .h file if the contents are changed.
-    $contents = join "", @headerContentHeader;
-
-    @includes = ();
-    foreach my $include (keys %headerIncludes) {
-        $include = "\"$include\"" unless $include =~ /^["<]/; # "
-        push @includes, $include;
-    }
-    foreach my $include (sort @includes) {
-        $contents .= "#include $include\n";
-    }
-
-    $contents .= join "", @headerContent;
-
-    @includes = ();
-    foreach my $include (keys %headerTrailingIncludes) {
-        $include = "\"$include\"" unless $include =~ /^["<]/; # "
-        push @includes, $include;
-    }
-    foreach my $include (sort @includes) {
-        $contents .= "#include $include\n";
-    }
-    $codeGenerator->UpdateFile($headerFileName, $contents);
-
-    @headerContentHeader = ();
-    @headerContent = ();
-    %headerIncludes = ();
-    %headerTrailingIncludes = ();
-
-    if (@depsContent) {
-        # Update a .dep file if the contents are changed.
-        $contents = join "", @depsContent;
-        $codeGenerator->UpdateFile($depsFileName, $contents);
-
-        @depsContent = ();
-    }
-}
-
-sub GenerateConstructorDeclaration
-{
-    my $outputArray = shift;
-    my $className = shift;
-    my $interface = shift;
-    my $interfaceName = shift;
-
-    my $constructorClassName = "${className}Constructor";
-
-    push(@$outputArray, "class ${constructorClassName} : public DOMConstructorObject {\n");
-    push(@$outputArray, "private:\n");
-    push(@$outputArray, "    ${constructorClassName}(JSC::Structure*, JSDOMGlobalObject*);\n");
-    push(@$outputArray, "    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);\n\n");
-
-    push(@$outputArray, "public:\n");
-    push(@$outputArray, "    typedef DOMConstructorObject Base;\n");
-    push(@$outputArray, "    static $constructorClassName* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)\n");
-    push(@$outputArray, "    {\n");
-    push(@$outputArray, "        $constructorClassName* ptr = new (NotNull, JSC::allocateCell<$constructorClassName>(*exec->heap())) $constructorClassName(structure, globalObject);\n");
-    push(@$outputArray, "        ptr->finishCreation(exec, globalObject);\n");
-    push(@$outputArray, "        return ptr;\n");
-    push(@$outputArray, "    }\n\n");
-
-    push(@$outputArray, "    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);\n");
-    push(@$outputArray, "    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);\n");
-    push(@$outputArray, "    static const JSC::ClassInfo s_info;\n");
-
-    push(@$outputArray, "    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)\n");
-    push(@$outputArray, "    {\n");
-    push(@$outputArray, "        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);\n");
-    push(@$outputArray, "    }\n");
-
-    push(@$outputArray, "protected:\n");
-    push(@$outputArray, "    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;\n");
-
-    if (IsConstructable($interface) && !$interface->extendedAttributes->{"NamedConstructor"}) {
-        push(@$outputArray, "    static JSC::EncodedJSValue JSC_HOST_CALL construct${className}(JSC::ExecState*);\n");
-
-        if (!HasCustomConstructor($interface)) {
-            my @constructors = @{$interface->constructors};
-            if (@constructors > 1) {
-                foreach my $constructor (@constructors) {
-                    my $overloadedIndex = "" . $constructor->{overloadedIndex};
-                    push(@$outputArray, "    static JSC::EncodedJSValue JSC_HOST_CALL construct${className}${overloadedIndex}(JSC::ExecState*);\n");
-                }
-            }
-        }
-
-        my $conditionalString = $codeGenerator->GenerateConstructorConditionalString($interface);
-        push(@$outputArray, "#if $conditionalString\n") if $conditionalString;
-        push(@$outputArray, "    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);\n");
-        push(@$outputArray, "#endif // $conditionalString\n") if $conditionalString;
-    }
-    push(@$outputArray, "};\n\n");
-
-    if ($codeGenerator->IsConstructorTemplate($interface, "Event")) {
-        push(@$outputArray, "bool fill${interfaceName}Init(${interfaceName}Init&, JSDictionary&);\n\n");
-    }
-
-    if ($interface->extendedAttributes->{"NamedConstructor"}) {
-        push(@$outputArray, <<END);
-class JS${interfaceName}NamedConstructor : public DOMConstructorWithDocument {
-public:
-    typedef DOMConstructorWithDocument Base;
-
-    static JS${interfaceName}NamedConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JS${interfaceName}NamedConstructor* constructor = new (NotNull, JSC::allocateCell<JS${interfaceName}NamedConstructor>(*exec->heap())) JS${interfaceName}NamedConstructor(structure, globalObject);
-        constructor->finishCreation(exec, globalObject);
-        return constructor;
-    }
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static const JSC::ClassInfo s_info;
-
-private:
-    JS${interfaceName}NamedConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJS${interfaceName}(JSC::ExecState*);
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-};
-
-END
-    }
-}
-
-sub GenerateConstructorDefinitions
-{
-    my $outputArray = shift;
-    my $className = shift;
-    my $protoClassName = shift;
-    my $interfaceName = shift;
-    my $visibleInterfaceName = shift;
-    my $interface = shift;
-    my $generatingNamedConstructor = shift;
-
-    if (IsConstructable($interface)) {
-        my @constructors = @{$interface->constructors};
-        if (@constructors > 1) {
-            foreach my $constructor (@constructors) {
-                GenerateConstructorDefinition($outputArray, $className, $protoClassName, $interfaceName, $visibleInterfaceName, $interface, $generatingNamedConstructor, $constructor);
-            }
-            GenerateOverloadedConstructorDefinition($outputArray, $className, $interface);
-        } elsif (@constructors == 1) {
-            GenerateConstructorDefinition($outputArray, $className, $protoClassName, $interfaceName, $visibleInterfaceName, $interface, $generatingNamedConstructor, $constructors[0]);
-        } else {
-            GenerateConstructorDefinition($outputArray, $className, $protoClassName, $interfaceName, $visibleInterfaceName, $interface, $generatingNamedConstructor);
-        }
-    }
-
-    GenerateConstructorHelperMethods($outputArray, $className, $protoClassName, $interfaceName, $visibleInterfaceName, $interface, $generatingNamedConstructor);
-}
-
-sub GenerateOverloadedConstructorDefinition
-{
-    my $outputArray = shift;
-    my $className = shift;
-    my $interface = shift;
-
-    my $functionName = "${className}Constructor::construct${className}";
-    push(@$outputArray, <<END);
-EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* exec)
-{
-    size_t argsCount = exec->argumentCount();
-END
-
-    my %fetchedArguments = ();
-    my $leastNumMandatoryParams = 255;
-
-    my @constructors = @{$interface->constructors};
-    foreach my $overload (@constructors) {
-        my ($numMandatoryParams, $parametersCheck, @neededArguments) = GenerateFunctionParametersCheck($overload);
-        $leastNumMandatoryParams = $numMandatoryParams if ($numMandatoryParams < $leastNumMandatoryParams);
-
-        foreach my $parameterIndex (@neededArguments) {
-            next if exists $fetchedArguments{$parameterIndex};
-            push(@$outputArray, "    JSValue arg$parameterIndex(exec->argument($parameterIndex));\n");
-            $fetchedArguments{$parameterIndex} = 1;
-        }
-
-        push(@$outputArray, "    if ($parametersCheck)\n");
-        push(@$outputArray, "        return ${functionName}$overload->{overloadedIndex}(exec);\n");
-    }
-
-    if ($leastNumMandatoryParams >= 1) {
-        push(@$outputArray, "    if (argsCount < $leastNumMandatoryParams)\n");
-        push(@$outputArray, "        return throwVMError(exec, createNotEnoughArgumentsError(exec));\n");
-    }
-    push(@$outputArray, <<END);
-    return throwVMTypeError(exec);
-}
-
-END
-}
-
-sub GenerateConstructorDefinition
-{
-    my $outputArray = shift;
-    my $className = shift;
-    my $protoClassName = shift;
-    my $interfaceName = shift;
-    my $visibleInterfaceName = shift;
-    my $interface = shift;
-    my $generatingNamedConstructor = shift;
-    my $function = shift;
-
-    my $constructorClassName = $generatingNamedConstructor ? "${className}NamedConstructor" : "${className}Constructor";
-
-    if (IsConstructable($interface)) {
-        if ($codeGenerator->IsConstructorTemplate($interface, "Event")) {
-            $implIncludes{"JSDictionary.h"} = 1;
-            $implIncludes{"<runtime/Error.h>"} = 1;
-
-            push(@$outputArray, <<END);
-EncodedJSValue JSC_HOST_CALL ${constructorClassName}::construct${className}(ExecState* exec)
-{
-    ${constructorClassName}* jsConstructor = jsCast<${constructorClassName}*>(exec->callee());
-
-    ScriptExecutionContext* executionContext = jsConstructor->scriptExecutionContext();
-    if (!executionContext)
-        return throwVMError(exec, createReferenceError(exec, "Constructor associated execution context is unavailable"));
-
-    AtomicString eventType = exec->argument(0).toString(exec)->value(exec);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    ${interfaceName}Init eventInit;
-
-    JSValue initializerValue = exec->argument(1);
-    if (!initializerValue.isUndefinedOrNull()) {
-        // Given the above test, this will always yield an object.
-        JSObject* initializerObject = initializerValue.toObject(exec);
-
-        // Create the dictionary wrapper from the initializer object.
-        JSDictionary dictionary(exec, initializerObject);
-
-        // Attempt to fill in the EventInit.
-        if (!fill${interfaceName}Init(eventInit, dictionary))
-            return JSValue::encode(jsUndefined());
-    }
-
-    RefPtr<${interfaceName}> event = ${interfaceName}::create(eventType, eventInit);
-    return JSValue::encode(toJS(exec, jsConstructor->globalObject(), event.get()));
-}
-
-bool fill${interfaceName}Init(${interfaceName}Init& eventInit, JSDictionary& dictionary)
-{
-END
-
-            foreach my $interfaceBase (@{$interface->parents}) {
-                push(@implContent, <<END);
-    if (!fill${interfaceBase}Init(eventInit, dictionary))
-        return false;
-
-END
-            }
-
-            for (my $index = 0; $index < @{$interface->attributes}; $index++) {
-                my $attribute = @{$interface->attributes}[$index];
-                if ($attribute->signature->extendedAttributes->{"InitializedByEventConstructor"}) {
-                    my $attributeName = $attribute->signature->name;
-                    push(@implContent, <<END);
-    if (!dictionary.tryGetProperty("${attributeName}", eventInit.${attributeName}))
-        return false;
-END
-                }
-            }
-
-            push(@$outputArray, <<END);
-    return true;
-}
-
-END
-        } elsif ($codeGenerator->IsConstructorTemplate($interface, "TypedArray")) {
-            $implIncludes{"JSArrayBufferViewHelper.h"} = 1;
-            my $viewType = $interface->extendedAttributes->{"TypedArray"};
-            push(@$outputArray, "EncodedJSValue JSC_HOST_CALL ${constructorClassName}::construct${className}(ExecState* exec)\n");
-            push(@$outputArray, "{\n");
-            push(@$outputArray, "    ${constructorClassName}* jsConstructor = jsCast<${constructorClassName}*>(exec->callee());\n");
-            push(@$outputArray, "    RefPtr<$interfaceName> array = constructArrayBufferView<$interfaceName, $viewType>(exec);\n");
-            push(@$outputArray, "    if (!array.get())\n");
-            push(@$outputArray, "        // Exception has already been thrown.\n");
-            push(@$outputArray, "        return JSValue::encode(JSValue());\n");
-            push(@$outputArray, "    return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));\n");
-            push(@$outputArray, "}\n\n");
-
-            push(@$outputArray, "JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, ${interfaceName}* object)\n");
-            push(@$outputArray, "{\n");
-            push(@$outputArray, "    return toJSArrayBufferView<${className}>(exec, globalObject, object);\n");
-            push(@$outputArray, "}\n\n");
-
-            if ($interface->extendedAttributes->{"CustomIndexedSetter"}) {
-                push(@$outputArray, "void ${className}::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)\n");
-                push(@$outputArray, "{\n");
-                push(@$outputArray, "    impl()->set(index, value.toNumber(exec));\n");
-                push(@$outputArray, "}\n\n");
-            }
-        } elsif (!HasCustomConstructor($interface) && (!$interface->extendedAttributes->{"NamedConstructor"} || $generatingNamedConstructor)) {
-            my $overloadedIndexString = "";
-            if ($function->{overloadedIndex} && $function->{overloadedIndex} > 0) {
-                $overloadedIndexString .= $function->{overloadedIndex};
-            }
-
-            push(@$outputArray, "EncodedJSValue JSC_HOST_CALL ${constructorClassName}::construct${className}${overloadedIndexString}(ExecState* exec)\n");
-            push(@$outputArray, "{\n");
-            push(@$outputArray, "    ${constructorClassName}* castedThis = jsCast<${constructorClassName}*>(exec->callee());\n");
-
-            my @constructorArgList;
-
-            $implIncludes{"<runtime/Error.h>"} = 1;
-
-            GenerateArgumentsCountCheck($outputArray, $function, $interface);
-
-            if (@{$function->raisesExceptions} || $interface->extendedAttributes->{"ConstructorRaisesException"}) {
-                $implIncludes{"ExceptionCode.h"} = 1;
-                push(@$outputArray, "    ExceptionCode ec = 0;\n");
-            }
-
-            # FIXME: For now, we do not support SVG constructors.
-            # FIXME: Currently [Constructor(...)] does not yet support [Optional] arguments.
-            # It just supports [Optional=DefaultIsUndefined] or [Optional=DefaultIsNullString].
-            my $numParameters = @{$function->parameters};
-            my ($dummy, $paramIndex) = GenerateParametersCheck($outputArray, $function, $interface, $numParameters, $interfaceName, "constructorCallback", undef, undef, undef);
-
-            if ($codeGenerator->ExtendedAttributeContains($interface->extendedAttributes->{"CallWith"}, "ScriptExecutionContext")) {
-                push(@constructorArgList, "context");
-                push(@$outputArray, "    ScriptExecutionContext* context = castedThis->scriptExecutionContext();\n");
-                push(@$outputArray, "    if (!context)\n");
-                push(@$outputArray, "        return throwVMError(exec, createReferenceError(exec, \"${interfaceName} constructor associated document is unavailable\"));\n");
-            }
-            if ($generatingNamedConstructor) {
-                push(@constructorArgList, "castedThis->document()");
-            }
-
-            my $index = 0;
-            foreach my $parameter (@{$function->parameters}) {
-                last if $index eq $paramIndex;
-                push(@constructorArgList, $parameter->name);
-                $index++;
-            }
-
-            if ($interface->extendedAttributes->{"ConstructorRaisesException"}) {
-                push(@constructorArgList, "ec");
-            }
-            my $constructorArg = join(", ", @constructorArgList);
-            if ($generatingNamedConstructor) {
-                push(@$outputArray, "    RefPtr<${interfaceName}> object = ${interfaceName}::createForJSConstructor(${constructorArg});\n");
-            } else {
-                push(@$outputArray, "    RefPtr<${interfaceName}> object = ${interfaceName}::create(${constructorArg});\n");
-            }
-
-            if ($interface->extendedAttributes->{"ConstructorRaisesException"}) {
-                push(@$outputArray, "    if (ec) {\n");
-                push(@$outputArray, "        setDOMException(exec, ec);\n");
-                push(@$outputArray, "        return JSValue::encode(JSValue());\n");
-                push(@$outputArray, "    }\n");
-            }
-
-            push(@$outputArray, "    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));\n");
-            push(@$outputArray, "}\n\n");
-        }
-    }
-}
-
-sub GenerateConstructorHelperMethods
-{
-    my $outputArray = shift;
-    my $className = shift;
-    my $protoClassName = shift;
-    my $interfaceName = shift;
-    my $visibleInterfaceName = shift;
-    my $interface = shift;
-    my $generatingNamedConstructor = shift;
-
-    my $constructorClassName = $generatingNamedConstructor ? "${className}NamedConstructor" : "${className}Constructor";
-    my $numberOfConstructorParameters = $interface->extendedAttributes->{"ConstructorParameters"};
-    if (!defined $numberOfConstructorParameters) {
-        if ($codeGenerator->IsConstructorTemplate($interface, "Event")) {
-            $numberOfConstructorParameters = 2;
-        } elsif ($interface->extendedAttributes->{"Constructor"}) {
-            my @constructors = @{$interface->constructors};
-            $numberOfConstructorParameters = 255;
-            foreach my $constructor (@constructors) {
-                my $currNumberOfParameters = @{$constructor->parameters};
-                if ($currNumberOfParameters < $numberOfConstructorParameters) {
-                    $numberOfConstructorParameters = $currNumberOfParameters;
-                }
-            }
-        }
-    }
-
-    if ($generatingNamedConstructor) {
-        push(@$outputArray, "const ClassInfo ${constructorClassName}::s_info = { \"${visibleInterfaceName}Constructor\", &Base::s_info, 0, 0, CREATE_METHOD_TABLE($constructorClassName) };\n\n");
-        push(@$outputArray, "${constructorClassName}::${constructorClassName}(Structure* structure, JSDOMGlobalObject* globalObject)\n");
-        push(@$outputArray, "    : DOMConstructorWithDocument(structure, globalObject)\n");
-        push(@$outputArray, "{\n");
-        push(@$outputArray, "}\n\n");
-    } else {
-        if ($interface->extendedAttributes->{"JSNoStaticTables"}) {
-            push(@$outputArray, "static const HashTable* get${constructorClassName}Table(ExecState* exec)\n");
-            push(@$outputArray, "{\n");
-            push(@$outputArray, "    return getHashTableForGlobalData(exec->globalData(), &${constructorClassName}Table);\n");
-            push(@$outputArray, "}\n\n");
-            push(@$outputArray, "const ClassInfo ${constructorClassName}::s_info = { \"${visibleInterfaceName}Constructor\", &Base::s_info, 0, get${constructorClassName}Table, CREATE_METHOD_TABLE($constructorClassName) };\n\n");
-        } else {
-            push(@$outputArray, "const ClassInfo ${constructorClassName}::s_info = { \"${visibleInterfaceName}Constructor\", &Base::s_info, &${constructorClassName}Table, 0, CREATE_METHOD_TABLE($constructorClassName) };\n\n");
-        }
-
-        push(@$outputArray, "${constructorClassName}::${constructorClassName}(Structure* structure, JSDOMGlobalObject* globalObject)\n");
-        push(@$outputArray, "    : DOMConstructorObject(structure, globalObject)\n");
-        push(@$outputArray, "{\n}\n\n");
-    }
-
-    push(@$outputArray, "void ${constructorClassName}::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)\n");
-    push(@$outputArray, "{\n");
-    if ($interfaceName eq "DOMWindow") {
-        push(@$outputArray, "    Base::finishCreation(exec->globalData());\n");
-        push(@$outputArray, "    ASSERT(inherits(&s_info));\n");
-        push(@$outputArray, "    putDirect(exec->globalData(), exec->propertyNames().prototype, globalObject->prototype(), DontDelete | ReadOnly);\n");
-    } elsif ($generatingNamedConstructor) {
-        push(@$outputArray, "    Base::finishCreation(globalObject);\n");
-        push(@$outputArray, "    ASSERT(inherits(&s_info));\n");
-        push(@$outputArray, "    putDirect(exec->globalData(), exec->propertyNames().prototype, ${className}Prototype::self(exec, globalObject), None);\n");
-    } else {
-        push(@$outputArray, "    Base::finishCreation(exec->globalData());\n");
-        push(@$outputArray, "    ASSERT(inherits(&s_info));\n");
-        push(@$outputArray, "    putDirect(exec->globalData(), exec->propertyNames().prototype, ${protoClassName}::self(exec, globalObject), DontDelete | ReadOnly);\n");
-    }
-    push(@$outputArray, "    putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(${numberOfConstructorParameters}), ReadOnly | DontDelete | DontEnum);\n") if defined $numberOfConstructorParameters;
-    push(@$outputArray, "}\n\n");
-
-    if (!$generatingNamedConstructor) {
-        my $hasStaticFunctions = 0;
-        foreach my $function (@{$interface->functions}) {
-            if ($function->isStatic) {
-                $hasStaticFunctions = 1;
-                last;
-            }
-        }
-
-        my $kind = $hasStaticFunctions ? "Property" : "Value";
-
-        push(@$outputArray, "bool ${constructorClassName}::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)\n");
-        push(@$outputArray, "{\n");
-        push(@$outputArray, "    return getStatic${kind}Slot<${constructorClassName}, JSDOMWrapper>(exec, " . constructorHashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $constructorClassName) . ", jsCast<${constructorClassName}*>(cell), propertyName, slot);\n");
-        push(@$outputArray, "}\n\n");
-
-        push(@$outputArray, "bool ${constructorClassName}::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)\n");
-        push(@$outputArray, "{\n");
-        push(@$outputArray, "    return getStatic${kind}Descriptor<${constructorClassName}, JSDOMWrapper>(exec, " . constructorHashTableAccessor($interface->extendedAttributes->{"JSNoStaticTables"}, $constructorClassName) . ", jsCast<${constructorClassName}*>(object), propertyName, descriptor);\n");
-        push(@$outputArray, "}\n\n");
-    }
-
-    if (IsConstructable($interface)) {
-        if (!$interface->extendedAttributes->{"NamedConstructor"} || $generatingNamedConstructor) {
-            my $conditionalString = $codeGenerator->GenerateConstructorConditionalString($interface);
-            push(@$outputArray, "#if $conditionalString\n") if $conditionalString;
-            push(@$outputArray, "ConstructType ${constructorClassName}::getConstructData(JSCell*, ConstructData& constructData)\n");
-            push(@$outputArray, "{\n");
-            push(@$outputArray, "    constructData.native.function = construct${className};\n");
-            push(@$outputArray, "    return ConstructTypeHost;\n");
-            push(@$outputArray, "}\n");
-            push(@$outputArray, "#endif // $conditionalString\n") if $conditionalString;
-            push(@$outputArray, "\n");
-        }
-    }
-}
-
-sub HasCustomConstructor
-{
-    my $interface = shift;
-
-    return $interface->extendedAttributes->{"CustomConstructor"} || $interface->extendedAttributes->{"JSCustomConstructor"};
-}
-
-sub HasCustomGetter
-{
-    my $attrExt = shift;
-    return $attrExt->{"Custom"} || $attrExt->{"JSCustom"} || $attrExt->{"CustomGetter"} || $attrExt->{"JSCustomGetter"};
-}
-
-sub HasCustomSetter
-{
-    my $attrExt = shift;
-    return $attrExt->{"Custom"} || $attrExt->{"JSCustom"} || $attrExt->{"CustomSetter"} || $attrExt->{"JSCustomSetter"};
-}
-
-sub HasCustomMethod
-{
-    my $attrExt = shift;
-    return $attrExt->{"Custom"} || $attrExt->{"JSCustom"};
-}
-
-sub IsConstructable
-{
-    my $interface = shift;
-
-    return HasCustomConstructor($interface) || $interface->extendedAttributes->{"Constructor"} || $interface->extendedAttributes->{"NamedConstructor"} || $interface->extendedAttributes->{"ConstructorTemplate"};
-}
-
-1;
diff --git a/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm b/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm
deleted file mode 100644
index a48ccac..0000000
--- a/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm
+++ /dev/null
@@ -1,1840 +0,0 @@
-# 
-# Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
-# Copyright (C) 2006 Anders Carlsson <andersca@mac.com> 
-# Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
-# Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
-# Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
-# Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
-# Copyright (C) 2010 Google Inc.
-# Copyright (C) Research In Motion Limited 2010. All rights reserved.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Library General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-# 
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Library General Public License for more details.
-# 
-# You should have received a copy of the GNU Library General Public License
-# along with this library; see the file COPYING.LIB.  If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-#
-
-package CodeGeneratorObjC;
-
-use constant FileNamePrefix => "DOM";
-
-# Global Variables
-my $writeDependencies = 0;
-my %publicInterfaces = ();
-my $newPublicClass = 0;
-my $interfaceAvailabilityVersion = "";
-my $isProtocol = 0;
-my $noImpl = 0;
-
-my @headerContentHeader = ();
-my @headerContent = ();
-my %headerForwardDeclarations = ();
-my %headerForwardDeclarationsForProtocols = ();
-
-my @privateHeaderContentHeader = ();
-my @privateHeaderContent = ();
-my %privateHeaderForwardDeclarations = ();
-my %privateHeaderForwardDeclarationsForProtocols = ();
-
-my @internalHeaderContent = ();
-
-my @implContentHeader = ();
-my @implContent = ();
-my %implIncludes = ();
-my @depsContent = ();
-
-# Hashes
-my %protocolTypeHash = ("XPathNSResolver" => 1, "EventListener" => 1, "EventTarget" => 1, "NodeFilter" => 1,
-                        "SVGLocatable" => 1, "SVGTransformable" => 1, "SVGFilterPrimitiveStandardAttributes" => 1, 
-                        "SVGTests" => 1, "SVGLangSpace" => 1, "SVGExternalResourcesRequired" => 1, "SVGURIReference" => 1,
-                        "SVGZoomAndPan" => 1, "SVGFitToViewBox" => 1, "SVGAnimatedPathData" => 1, "ElementTimeControl" => 1);
-my %nativeObjCTypeHash = ("URL" => 1, "Color" => 1);
-
-# FIXME: this should be replaced with a function that recurses up the tree
-# to find the actual base type.
-my %baseTypeHash = ("Object" => 1, "Node" => 1, "NodeList" => 1, "NamedNodeMap" => 1, "DOMImplementation" => 1,
-                    "Event" => 1, "CSSRule" => 1, "CSSValue" => 1, "StyleSheet" => 1, "MediaList" => 1,
-                    "Counter" => 1, "Rect" => 1, "RGBColor" => 1, "XPathExpression" => 1, "XPathResult" => 1,
-                    "NodeIterator" => 1, "TreeWalker" => 1, "AbstractView" => 1, "Blob" => 1,
-                    "SVGAngle" => 1, "SVGAnimatedAngle" => 1, "SVGAnimatedBoolean" => 1, "SVGAnimatedEnumeration" => 1,
-                    "SVGAnimatedInteger" => 1, "SVGAnimatedLength" => 1, "SVGAnimatedLengthList" => 1,
-                    "SVGAnimatedNumber" => 1, "SVGAnimatedNumberList" => 1,
-                    "SVGAnimatedPreserveAspectRatio" => 1, "SVGAnimatedRect" => 1, "SVGAnimatedString" => 1,
-                    "SVGAnimatedTransformList" => 1, "SVGLength" => 1, "SVGLengthList" => 1, "SVGMatrix" => 1,
-                    "SVGNumber" => 1, "SVGNumberList" => 1, "SVGPathSeg" => 1, "SVGPathSegList" => 1, "SVGPoint" => 1,
-                    "SVGPointList" => 1, "SVGPreserveAspectRatio" => 1, "SVGRect" => 1, "SVGRenderingIntent" => 1,
-                    "SVGStringList" => 1, "SVGTransform" => 1, "SVGTransformList" => 1, "SVGUnitTypes" => 1);
-
-# Constants
-my $nullableInit = "bool isNull = false;";
-my $exceptionInit = "WebCore::ExceptionCode ec = 0;";
-my $jsContextSetter = "WebCore::JSMainThreadNullState state;";
-my $exceptionRaiseOnError = "WebCore::raiseOnDOMError(ec);";
-my $assertMainThread = "{ DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); }";
-
-my %conflictMethod = (
-    # FIXME: Add C language keywords?
-    # FIXME: Add other predefined types like "id"?
-
-    "callWebScriptMethod:withArguments:" => "WebScriptObject",
-    "evaluateWebScript:" => "WebScriptObject",
-    "removeWebScriptKey:" => "WebScriptObject",
-    "setException:" => "WebScriptObject",
-    "setWebScriptValueAtIndex:value:" => "WebScriptObject",
-    "stringRepresentation" => "WebScriptObject",
-    "webScriptValueAtIndex:" => "WebScriptObject",
-
-    "autorelease" => "NSObject",
-    "awakeAfterUsingCoder:" => "NSObject",
-    "class" => "NSObject",
-    "classForCoder" => "NSObject",
-    "conformsToProtocol:" => "NSObject",
-    "copy" => "NSObject",
-    "copyWithZone:" => "NSObject",
-    "dealloc" => "NSObject",
-    "description" => "NSObject",
-    "doesNotRecognizeSelector:" => "NSObject",
-    "encodeWithCoder:" => "NSObject",
-    "finalize" => "NSObject",
-    "forwardInvocation:" => "NSObject",
-    "hash" => "NSObject",
-    "init" => "NSObject",
-    "initWithCoder:" => "NSObject",
-    "isEqual:" => "NSObject",
-    "isKindOfClass:" => "NSObject",
-    "isMemberOfClass:" => "NSObject",
-    "isProxy" => "NSObject",
-    "methodForSelector:" => "NSObject",
-    "methodSignatureForSelector:" => "NSObject",
-    "mutableCopy" => "NSObject",
-    "mutableCopyWithZone:" => "NSObject",
-    "performSelector:" => "NSObject",
-    "release" => "NSObject",
-    "replacementObjectForCoder:" => "NSObject",
-    "respondsToSelector:" => "NSObject",
-    "retain" => "NSObject",
-    "retainCount" => "NSObject",
-    "self" => "NSObject",
-    "superclass" => "NSObject",
-    "zone" => "NSObject",
-);
-
-my $fatalError = 0;
-
-# Default License Templates
-my $headerLicenseTemplate = << "EOF";
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig\@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-EOF
-
-my $implementationLicenseTemplate = << "EOF";
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-EOF
-
-# Default constructor
-sub new
-{
-    my $object = shift;
-    my $reference = { };
-
-    $codeGenerator = shift;
-    shift; # $useLayerOnTop
-    shift; # $preprocessor
-    $writeDependencies = shift;
-
-    bless($reference, $object);
-    return $reference;
-}
-
-sub ReadPublicInterfaces
-{
-    my $class = shift;
-    my $superClass = shift;
-    my $defines = shift;
-    my $isProtocol = shift;
-
-    my $found = 0;
-    my $actualSuperClass;
-    %publicInterfaces = ();
-
-    my $fileName = "WebCore/bindings/objc/PublicDOMInterfaces.h";
-    my $gccLocation = "";
-    if ($ENV{CC}) {
-        $gccLocation = $ENV{CC};
-    } elsif (($Config::Config{'osname'}) =~ /solaris/i) {
-        $gccLocation = "/usr/sfw/bin/gcc";
-    } else {
-        $gccLocation = "/usr/bin/gcc";
-    }
-    open FILE, "-|", $gccLocation, "-E", "-P", "-x", "objective-c",
-        (map { "-D$_" } split(/ +/, $defines)), "-DOBJC_CODE_GENERATION", $fileName or die "Could not open $fileName";
-    my @documentContent = <FILE>;
-    close FILE;
-
-    foreach $line (@documentContent) {
-        if (!$isProtocol && $line =~ /^\s*\@interface\s*$class\s*:\s*(\w+)\s*([A-Z0-9_]*)/) {
-            if ($superClass ne $1) {
-                warn "Public API change. Superclass for \"$class\" differs ($1 != $superClass)";
-                $fatalError = 1;
-            }
-
-            $interfaceAvailabilityVersion = $2 if defined $2;
-            $found = 1;
-            next;
-        } elsif ($isProtocol && $line =~ /^\s*\@protocol $class\s*<[^>]+>\s*([A-Z0-9_]*)/) {
-            $interfaceAvailabilityVersion = $1 if defined $1;
-            $found = 1;
-            next;
-        }
-
-        last if $found and $line =~ /^\s?\@end\s?$/;
-
-        if ($found) {
-            # trim whitspace
-            $line =~ s/^\s+//;
-            $line =~ s/\s+$//;
-
-            my $availabilityMacro = "";
-            $line =~ s/\s([A-Z0-9_]+)\s*;$/;/;
-            $availabilityMacro = $1 if defined $1;
-
-            $publicInterfaces{$line} = $availabilityMacro if length $line;
-        }
-    }
-
-    # If this class was not found in PublicDOMInterfaces.h then it should be considered as an entirely new public class.
-    $newPublicClass = !$found;
-    $interfaceAvailabilityVersion = "WEBKIT_VERSION_LATEST" if $newPublicClass;
-}
-
-sub GenerateInterface
-{
-    my $object = shift;
-    my $interface = shift;
-    my $defines = shift;
-
-    $fatalError = 0;
-
-    my $name = $interface->name;
-    my $className = GetClassName($name);
-    my $parentClassName = "DOM" . GetParentImplClassName($interface);
-    $isProtocol = $interface->extendedAttributes->{ObjCProtocol};
-    $noImpl = $interface->extendedAttributes->{ObjCCustomImplementation} || $isProtocol;
-
-    ReadPublicInterfaces($className, $parentClassName, $defines, $isProtocol);
-
-    # Start actual generation..
-    $object->GenerateHeader($interface);
-    $object->GenerateImplementation($interface) unless $noImpl;
-
-    # Check for missing public API
-    if (keys %publicInterfaces > 0) {
-        my $missing = join("\n", keys %publicInterfaces);
-        warn "Public API change. There are missing public properties and/or methods from the \"$className\" class.\n$missing\n";
-        $fatalError = 1;
-    }
-
-    die if $fatalError;
-}
-
-sub GetClassName
-{
-    my $name = shift;
-
-    # special cases
-    return "NSString" if $codeGenerator->IsStringType($name) or $name eq "SerializedScriptValue";
-    return "NS$name" if IsNativeObjCType($name);
-    return "BOOL" if $name eq "boolean";
-    return "unsigned" if $name eq "unsigned long";
-    return "int" if $name eq "long";
-    return "NSTimeInterval" if $name eq "Date";
-    return "DOMAbstractView" if $name eq "DOMWindow";
-    return $name if $codeGenerator->IsPrimitiveType($name) or $name eq "DOMImplementation" or $name eq "DOMTimeStamp";
-
-    # Default, assume Objective-C type has the same type name as
-    # idl type prefixed with "DOM".
-    return "DOM$name";
-}
-
-sub GetClassHeaderName
-{
-    my $name = shift;
-
-    return "DOMDOMImplementation" if $name eq "DOMImplementation";
-    return $name;
-}
-
-sub GetImplClassName
-{
-    my $name = shift;
-
-    return "DOMImplementationFront" if $name eq "DOMImplementation";
-    return "DOMWindow" if $name eq "AbstractView";
-    return $name;
-}
-
-sub GetParentImplClassName
-{
-    my $interface = shift;
-
-    return "Object" if @{$interface->parents} eq 0;
-
-    my $parent = $interface->parents(0);
-
-    # special cases
-    return "Object" if $parent eq "HTMLCollection";
-
-    return $parent;
-}
-
-sub GetParentAndProtocols
-{
-    my $interface = shift;
-    my $numParents = @{$interface->parents};
-
-    my $parent = "";
-    my @protocols = ();
-    if ($numParents eq 0) {
-        if ($isProtocol) {
-            push(@protocols, "NSObject");
-            push(@protocols, "NSCopying") if $interface->name eq "EventTarget";
-        } else {
-            $parent = "DOMObject";
-        }
-    } elsif ($numParents eq 1) {
-        my $parentName = $interface->parents(0);
-        if ($isProtocol) {
-            die "Parents of protocols must also be protocols." unless IsProtocolType($parentName);
-            push(@protocols, "DOM" . $parentName);
-        } else {
-            if (IsProtocolType($parentName)) {
-                push(@protocols, "DOM" . $parentName);
-            } elsif ($parentName eq "HTMLCollection") {
-                $parent = "DOMObject";
-            } else {
-                $parent = "DOM" . $parentName;
-            }
-        }
-    } else {
-        my @parents = @{$interface->parents};
-        my $firstParent = shift(@parents);
-        if (IsProtocolType($firstParent)) {
-            push(@protocols, "DOM" . $firstParent);
-            if (!$isProtocol) {
-                $parent = "DOMObject";
-            }
-        } else {
-            $parent = "DOM" . $firstParent;
-        }
-
-        foreach my $parentName (@parents) {
-            die "Everything past the first class should be a protocol!" unless IsProtocolType($parentName);
-
-            push(@protocols, "DOM" . $parentName);
-        }
-    }
-
-    return ($parent, @protocols);
-}
-
-sub GetBaseClass
-{
-    $parent = shift;
-
-    return $parent if $parent eq "Object" or IsBaseType($parent);
-    return "Event" if $parent eq "UIEvent" or $parent eq "MouseEvent";
-    return "CSSValue" if $parent eq "SVGColor" or $parent eq "CSSValueList";
-    return "Node";
-}
-
-sub IsBaseType
-{
-    my $type = shift;
-
-    return 1 if $baseTypeHash{$type};
-    return 0;
-}
-
-sub IsProtocolType
-{
-    my $type = shift;
-
-    return 1 if $protocolTypeHash{$type};
-    return 0;
-}
-
-sub IsNativeObjCType
-{
-    my $type = shift;
-
-    return 1 if $nativeObjCTypeHash{$type};
-    return 0;
-}
-
-sub SkipFunction
-{
-    my $function = shift;
-
-    return 1 if $codeGenerator->GetSequenceType($function->signature->type);
-    return 1 if $codeGenerator->GetArrayType($function->signature->type);
-
-    foreach my $param (@{$function->parameters}) {
-        return 1 if $codeGenerator->GetSequenceType($param->type);
-        return 1 if $codeGenerator->GetArrayType($param->type);
-        return 1 if $param->extendedAttributes->{"Clamp"};
-    }
-
-    return 0;
-}
-
-sub SkipAttribute
-{
-    my $attribute = shift;
-    my $type = $attribute->signature->type;
-
-    $codeGenerator->AssertNotSequenceType($type);
-    return 1 if $codeGenerator->GetArrayType($type);
-    return 1 if $codeGenerator->IsTypedArrayType($type);
-    return 1 if $codeGenerator->IsEnumType($type);
-    return 1 if $attribute->isStatic;
-
-    # This is for DynamicsCompressorNode.idl
-    if ($attribute->signature->name eq "release") {
-        return 1;
-    }
-
-    return 0;
-}
-
-
-sub GetObjCType
-{
-    my $type = shift;
-    my $name = GetClassName($type);
-
-    return "id <$name>" if IsProtocolType($type);
-    return $name if $codeGenerator->IsPrimitiveType($type) or $type eq "DOMTimeStamp";
-    return "unsigned short" if $type eq "CompareHow";
-    return "$name *";
-}
-
-sub GetPropertyAttributes
-{
-    my $type = shift;
-    my $readOnly = shift;
-
-    my @attributes = ();
-
-    push(@attributes, "readonly") if $readOnly;
-
-    # FIXME: <rdar://problem/5049934> Consider using 'nonatomic' on the DOM @property declarations.
-    if ($codeGenerator->IsStringType($type) || IsNativeObjCType($type)) {
-        push(@attributes, "copy");
-    } elsif ($codeGenerator->IsSVGAnimatedType($type)) {
-        push(@attributes, "retain");
-    } elsif (!$codeGenerator->IsStringType($type) && !$codeGenerator->IsPrimitiveType($type) && $type ne "DOMTimeStamp" && $type ne "CompareHow") {
-        push(@attributes, "retain");
-    }
-
-    return "" unless @attributes > 0;
-    return "(" . join(", ", @attributes) . ")";
-}
-
-sub ConversionNeeded
-{
-    my $type = shift;
-
-    return !$codeGenerator->IsNonPointerType($type) && !$codeGenerator->IsStringType($type) && !IsNativeObjCType($type);
-}
-
-sub GetObjCTypeGetter
-{
-    my $argName = shift;
-    my $type = shift;
-
-    return $argName if $codeGenerator->IsPrimitiveType($type) or $codeGenerator->IsStringType($type) or IsNativeObjCType($type);
-    return $argName . "Node" if $type eq "EventTarget";
-    return "static_cast<WebCore::Range::CompareHow>($argName)" if $type eq "CompareHow";
-    return "WTF::getPtr(nativeEventListener)" if $type eq "EventListener";
-    return "WTF::getPtr(nativeNodeFilter)" if $type eq "NodeFilter";
-    return "WTF::getPtr(nativeResolver)" if $type eq "XPathNSResolver";
-    
-    if ($type eq "SerializedScriptValue") {
-        $implIncludes{"SerializedScriptValue.h"} = 1;
-        return "WebCore::SerializedScriptValue::create(WTF::String($argName))";
-    }
-    return "core($argName)";
-}
-
-sub AddForwardDeclarationsForType
-{
-    my $type = shift;
-    my $public = shift;
-
-    return if $codeGenerator->IsNonPointerType($type);
-    return if $codeGenerator->GetSequenceType($type);
-    return if $codeGenerator->GetArrayType($type);
-
-    my $class = GetClassName($type);
-
-    if (IsProtocolType($type)) {
-        $headerForwardDeclarationsForProtocols{$class} = 1 if $public;
-        $privateHeaderForwardDeclarationsForProtocols{$class} = 1 if !$public and !$headerForwardDeclarationsForProtocols{$class};
-        return;
-    }
-
-    $headerForwardDeclarations{$class} = 1 if $public;
-
-    # Private headers include the public header, so only add a forward declaration to the private header
-    # if the public header does not already have the same forward declaration.
-    $privateHeaderForwardDeclarations{$class} = 1 if !$public and !$headerForwardDeclarations{$class};
-}
-
-sub AddIncludesForType
-{
-    my $type = shift;
-
-    return if $codeGenerator->IsNonPointerType($type);
-    return if $codeGenerator->GetSequenceType($type);
-    return if $codeGenerator->GetArrayType($type);
-
-    if (IsNativeObjCType($type)) {
-        if ($type eq "Color") {
-            $implIncludes{"ColorMac.h"} = 1;
-        }
-        return;
-    }
-
-    if ($codeGenerator->IsStringType($type)) {
-        $implIncludes{"KURL.h"} = 1;
-        return;
-    }
-
-    if ($type eq "DOMWindow") {
-        $implIncludes{"DOMAbstractViewInternal.h"} = 1;
-        $implIncludes{"DOMWindow.h"} = 1;
-        return;
-    }
-
-    if ($type eq "DOMImplementation") {
-        $implIncludes{"DOMDOMImplementationInternal.h"} = 1;
-        $implIncludes{"DOMImplementationFront.h"} = 1;
-        return;
-    }
-
-    if ($type eq "EventTarget") {
-        $implIncludes{"Node.h"} = 1;
-        $implIncludes{"DOMEventTarget.h"} = 1;
-        return;
-    }
-
-    if ($codeGenerator->IsSVGAnimatedType($type)) {
-        $implIncludes{"${type}.h"} = 1;
-        $implIncludes{"DOM${type}Internal.h"} = 1;
-        return;
-    }
-
-    if ($type =~ /(\w+)(Abs|Rel)$/) {
-        $implIncludes{"$1.h"} = 1;
-        $implIncludes{"DOM${type}Internal.h"} = 1;
-        return;
-    }
-
-    if ($type eq "NodeFilter") {
-        $implIncludes{"NodeFilter.h"} = 1;
-        $implIncludes{"ObjCNodeFilterCondition.h"} = 1;
-        return;
-    }
-
-    if ($type eq "EventListener") {
-        $implIncludes{"EventListener.h"} = 1;
-        $implIncludes{"ObjCEventListener.h"} = 1;
-        return;
-    }
-
-    if ($type eq "XPathNSResolver") {
-        $implIncludes{"DOMCustomXPathNSResolver.h"} = 1;
-        $implIncludes{"XPathNSResolver.h"} = 1;
-        return;
-    }
-
-    if ($type eq "SerializedScriptValue") {
-        $implIncludes{"SerializedScriptValue.h"} = 1;
-        return;
-    }
-
-    # FIXME: won't compile without these
-    $implIncludes{"CSSImportRule.h"} = 1 if $type eq "CSSRule";
-    $implIncludes{"StylePropertySet.h"} = 1 if $type eq "CSSStyleDeclaration";
-    $implIncludes{"NameNodeList.h"} = 1 if $type eq "NodeList";
-
-    # Default, include the same named file (the implementation) and the same name prefixed with "DOM". 
-    $implIncludes{"$type.h"} = 1 if not $codeGenerator->SkipIncludeHeader($type);
-    $implIncludes{"DOM${type}Internal.h"} = 1;
-}
-
-sub GetSVGTypeWithNamespace
-{
-    my $type = shift;
-    my $typeWithNamespace = "WebCore::" . $codeGenerator->GetSVGTypeNeedingTearOff($type);
-
-    # Special case for DOMSVGNumber
-    $typeWithNamespace =~ s/</\<WebCore::/ unless $type eq "SVGNumber";
-    return $typeWithNamespace;
-}
-
-sub GetSVGPropertyTypes
-{
-    my $implType = shift;
-
-    my $svgPropertyType;
-    my $svgListPropertyType;
-    my $svgNativeType;
-
-    return ($svgPropertyType, $svgListPropertyType, $svgNativeType) if not $implType =~ /SVG/;
-
-    $svgNativeType = $codeGenerator->GetSVGTypeNeedingTearOff($implType);
-    return ($svgPropertyType, $svgListPropertyType, $svgNativeType) if not $svgNativeType;
-
-    # Append space to avoid compilation errors when using  PassRefPtr<$svgNativeType>
-    $svgNativeType = "WebCore::$svgNativeType ";
-    $svgNativeType =~ s/</\<WebCore::/ if not $svgNativeType =~ /float/;
-
-    my $svgWrappedNativeType = $codeGenerator->GetSVGWrappedTypeNeedingTearOff($implType);
-    if ($svgNativeType =~ /SVGPropertyTearOff/) {
-        if ($svgWrappedNativeType eq "float") {
-            # Special case for DOMSVGNumber
-            $svgPropertyType = $svgWrappedNativeType;
-        } else {
-            $svgPropertyType = "WebCore::$svgWrappedNativeType";
-            $svgPropertyType =~ s/</\<WebCore::/;
-        }
-    } elsif ($svgNativeType =~ /SVGListPropertyTearOff/ or $svgNativeType =~ /SVGStaticListPropertyTearOff/) {
-        $svgListPropertyType = "WebCore::$svgWrappedNativeType";
-        $svgListPropertyType =~ s/</\<WebCore::/;
-    } elsif ($svgNativeType =~ /SVGTransformListPropertyTearOff/) {
-        $svgListPropertyType = "WebCore::$svgWrappedNativeType";
-        $svgListPropertyType =~ s/</\<WebCore::/;
-    } elsif ($svgNativeType =~ /SVGPathSegListPropertyTearOff/) {
-        $svgListPropertyType = "WebCore::$svgWrappedNativeType";
-        $svgListPropertyType =~ s/</\<WebCore::/;
-    }
-
-    return ($svgPropertyType, $svgListPropertyType, $svgNativeType);
-}
-
-sub GenerateHeader
-{
-    my $object = shift;
-    my $interface = shift;
-
-    my $interfaceName = $interface->name;
-    my $className = GetClassName($interfaceName);
-
-    my $parentName = "";
-    my @protocolsToImplement = ();
-    ($parentName, @protocolsToImplement) = GetParentAndProtocols($interface);
-
-    my $numConstants = @{$interface->constants};
-    my $numAttributes = @{$interface->attributes};
-    my $numFunctions = @{$interface->functions};
-
-    # - Add default header template
-    @headerContentHeader = split("\r", $headerLicenseTemplate);
-    push(@headerContentHeader, "\n");
-
-    # - INCLUDES -
-    my $includedWebKitAvailabilityHeader = 0;
-    unless ($isProtocol) {
-        my $parentHeaderName = GetClassHeaderName($parentName);
-        push(@headerContentHeader, "#import <WebCore/$parentHeaderName.h>\n");
-        $includedWebKitAvailabilityHeader = 1;
-    }
-
-    foreach my $parentProtocol (@protocolsToImplement) {
-        next if $parentProtocol =~ /^NS/; 
-        $parentProtocol = GetClassHeaderName($parentProtocol);
-        push(@headerContentHeader, "#import <WebCore/$parentProtocol.h>\n");
-        $includedWebKitAvailabilityHeader = 1;
-    }
-
-    # Special case needed for legacy support of DOMRange
-    if ($interfaceName eq "Range") {
-        push(@headerContentHeader, "#import <WebCore/DOMCore.h>\n");
-        push(@headerContentHeader, "#import <WebCore/DOMDocument.h>\n");
-        push(@headerContentHeader, "#import <WebCore/DOMRangeException.h>\n");
-        $includedWebKitAvailabilityHeader = 1;
-    }
-
-    push(@headerContentHeader, "#import <JavaScriptCore/WebKitAvailability.h>\n") unless $includedWebKitAvailabilityHeader;
-
-    my $interfaceAvailabilityVersionCheck = "#if WEBKIT_VERSION_MAX_ALLOWED >= $interfaceAvailabilityVersion\n\n";
-
-    push(@headerContentHeader, "\n");
-    push(@headerContentHeader, $interfaceAvailabilityVersionCheck) if length $interfaceAvailabilityVersion;
-
-    # - Add constants.
-    if ($numConstants > 0) {
-        my @headerConstants = ();
-        my @constants = @{$interface->constants};
-        my $combinedConstants = "";
-
-        # FIXME: we need a way to include multiple enums.
-        foreach my $constant (@constants) {
-            my $constantName = $constant->name;
-            my $constantValue = $constant->value;
-            my $conditional = $constant->extendedAttributes->{"Conditional"};
-            my $notLast = $constant ne $constants[-1];
-
-            if ($conditional) {
-                my $conditionalString = $codeGenerator->GenerateConditionalStringFromAttributeValue($conditional);
-                $combinedConstants .= "#if ${conditionalString}\n";
-            }
-            $combinedConstants .= "    DOM_$constantName = $constantValue";
-            $combinedConstants .= "," if $notLast;
-            if ($conditional) {
-                $combinedConstants .= "\n#endif\n";
-            } elsif ($notLast) {
-                $combinedConstants .= "\n";
-            }
-        }
-
-        # FIXME: the formatting of the enums should line up the equal signs.
-        # FIXME: enums are unconditionally placed in the public header.
-        push(@headerContent, "enum {\n");
-        push(@headerContent, $combinedConstants);
-        push(@headerContent, "\n};\n\n");        
-    }
-
-    # - Begin @interface or @protocol
-    my $interfaceDeclaration = ($isProtocol ? "\@protocol $className" : "\@interface $className : $parentName");
-    $interfaceDeclaration .= " <" . join(", ", @protocolsToImplement) . ">" if @protocolsToImplement > 0;
-    $interfaceDeclaration .= "\n";
-
-    push(@headerContent, $interfaceDeclaration);
-
-    my @headerAttributes = ();
-    my @privateHeaderAttributes = ();
-
-    # - Add attribute getters/setters.
-    if ($numAttributes > 0) {
-        foreach my $attribute (@{$interface->attributes}) {
-            next if SkipAttribute($attribute);
-            my $attributeName = $attribute->signature->name;
-
-            if ($attributeName eq "id" or $attributeName eq "hash" or $attributeName eq "description") {
-                # Special case some attributes (like id and hash) to have a "Name" suffix to avoid ObjC naming conflicts.
-                $attributeName .= "Name";
-            } elsif ($attributeName eq "frame") {
-                # Special case attribute frame to be frameBorders.
-                $attributeName .= "Borders";
-            }
-
-            my $attributeType = GetObjCType($attribute->signature->type);
-            my $attributeIsReadonly = ($attribute->type =~ /^readonly/);
-
-            my $property = "\@property" . GetPropertyAttributes($attribute->signature->type, $attributeIsReadonly);
-            # Some SVGFE*Element.idl use 'operator' as attribute name, rewrite as '_operator' to avoid clashes with C/C++
-            $attributeName =~ s/operator/_operator/ if ($attributeName =~ /operator/);
-            $property .= " " . $attributeType . ($attributeType =~ /\*$/ ? "" : " ") . $attributeName;
-
-            my $publicInterfaceKey = $property . ";";
-
-            my $availabilityMacro = "";
-            if (defined $publicInterfaces{$publicInterfaceKey} and length $publicInterfaces{$publicInterfaceKey}) {
-                $availabilityMacro = $publicInterfaces{$publicInterfaceKey};
-            }
-
-            my $declarationSuffix = ";\n";
-            $declarationSuffix = " $availabilityMacro;\n" if length $availabilityMacro;
-
-            my $public = (defined $publicInterfaces{$publicInterfaceKey} or $newPublicClass);
-            delete $publicInterfaces{$publicInterfaceKey};
-
-            AddForwardDeclarationsForType($attribute->signature->type, $public);
-
-            my $setterName = "set" . ucfirst($attributeName) . ":";
-
-            my $conflict = $conflictMethod{$attributeName};
-            if ($conflict) {
-                warn "$className conflicts with $conflict method $attributeName\n";
-                $fatalError = 1;
-            }
-
-            $conflict = $conflictMethod{$setterName};
-            if ($conflict) {
-                warn "$className conflicts with $conflict method $setterName\n";
-                $fatalError = 1;
-            }
-
-            $property .= $declarationSuffix;
-            push(@headerAttributes, $property) if $public;
-            push(@privateHeaderAttributes, $property) unless $public;
-        }
-
-        push(@headerContent, @headerAttributes) if @headerAttributes > 0;
-    }
-
-    my @headerFunctions = ();
-    my @privateHeaderFunctions = ();
-    my @deprecatedHeaderFunctions = ();
-
-    # - Add functions.
-    if ($numFunctions > 0) {
-        foreach my $function (@{$interface->functions}) {
-            next if SkipFunction($function);
-            next if ($function->signature->name eq "set" and $interface->extendedAttributes->{"TypedArray"});
-            my $functionName = $function->signature->name;
-
-            my $returnType = GetObjCType($function->signature->type);
-            my $needsDeprecatedVersion = (@{$function->parameters} > 1 and $function->signature->extendedAttributes->{"ObjCLegacyUnnamedParameters"});
-            my $numberOfParameters = @{$function->parameters};
-            my %typesToForwardDeclare = ($function->signature->type => 1);
-
-            my $parameterIndex = 0;
-            my $functionSig = "- ($returnType)$functionName";
-            my $methodName = $functionName;
-            foreach my $param (@{$function->parameters}) {
-                my $paramName = $param->name;
-                my $paramType = GetObjCType($param->type);
-
-                $typesToForwardDeclare{$param->type} = 1;
-
-                if ($parameterIndex >= 1) {
-                    $functionSig .= " $paramName";
-                    $methodName .= $paramName;
-                }
-
-                $functionSig .= ":($paramType)$paramName";
-                $methodName .= ":";
-
-                $parameterIndex++;
-            }
-
-            my $publicInterfaceKey = $functionSig . ";";
-
-            my $conflict = $conflictMethod{$methodName};
-            if ($conflict) {
-                warn "$className conflicts with $conflict method $methodName\n";
-                $fatalError = 1;
-            }
-
-            if ($isProtocol && !$newPublicClass && !defined $publicInterfaces{$publicInterfaceKey}) {
-                warn "Protocol method $publicInterfaceKey is not in PublicDOMInterfaces.h. Protocols require all methods to be public";
-                $fatalError = 1;
-            }
-
-            my $availabilityMacro = "";
-            if (defined $publicInterfaces{$publicInterfaceKey} and length $publicInterfaces{$publicInterfaceKey}) {
-                $availabilityMacro = $publicInterfaces{$publicInterfaceKey};
-            }
-
-            my $functionDeclaration = $functionSig;
-            $functionDeclaration .= " " . $availabilityMacro if length $availabilityMacro;
-            $functionDeclaration .= ";\n";
-
-            my $public = (defined $publicInterfaces{$publicInterfaceKey} or $newPublicClass);
-            delete $publicInterfaces{$publicInterfaceKey};
-
-            foreach my $type (keys %typesToForwardDeclare) {
-                # add any forward declarations to the public header if a deprecated version will be generated
-                AddForwardDeclarationsForType($type, 1) if $needsDeprecatedVersion;
-                AddForwardDeclarationsForType($type, $public) unless $public and $needsDeprecatedVersion;
-            }
-
-            my $functionConditionalString = $codeGenerator->GenerateConditionalString($function->signature);
-            if ($functionConditionalString) {
-                push(@headerFunctions, "#if ${functionConditionalString}\n") if $public;
-                push(@privateHeaderFunctions, "#if ${functionConditionalString}\n") unless $public;
-                push(@deprecatedHeaderFunctions, "#if ${functionConditionalString}\n") if $needsDeprecatedVersion;
-            }
-
-            push(@headerFunctions, $functionDeclaration) if $public;
-            push(@privateHeaderFunctions, $functionDeclaration) unless $public;
-
-            # generate the old style method names with un-named parameters, these methods are deprecated
-            if ($needsDeprecatedVersion) {
-                my $deprecatedFunctionSig = $functionSig;
-                $deprecatedFunctionSig =~ s/\s\w+:/ :/g; # remove parameter names
-
-                $publicInterfaceKey = $deprecatedFunctionSig . ";";
-
-                my $availabilityMacro = "AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0";
-                if (defined $publicInterfaces{$publicInterfaceKey} and length $publicInterfaces{$publicInterfaceKey}) {
-                    $availabilityMacro = $publicInterfaces{$publicInterfaceKey};
-                }
-
-                $functionDeclaration = "$deprecatedFunctionSig $availabilityMacro;\n";
-
-                push(@deprecatedHeaderFunctions, $functionDeclaration);
-
-                unless (defined $publicInterfaces{$publicInterfaceKey}) {
-                    warn "Deprecated method $publicInterfaceKey is not in PublicDOMInterfaces.h. All deprecated methods need to be public, or should have the ObjCLegacyUnnamedParameters IDL attribute removed";
-                    $fatalError = 1;
-                }
-
-                delete $publicInterfaces{$publicInterfaceKey};
-            }
-
-            if ($functionConditionalString) {
-                push(@headerFunctions, "#endif\n") if $public;
-                push(@privateHeaderFunctions, "#endif\n") unless $public;
-                push(@deprecatedHeaderFunctions, "#endif\n") if $needsDeprecatedVersion;
-            }
-        }
-
-        if (@headerFunctions > 0) {
-            push(@headerContent, "\n") if @headerAttributes > 0;
-            push(@headerContent, @headerFunctions);
-        }
-    }
-
-    if (@deprecatedHeaderFunctions > 0 && $isProtocol) {
-        push(@headerContent, @deprecatedHeaderFunctions);
-    }
-
-    # - End @interface or @protocol
-    push(@headerContent, "\@end\n");
-
-    if (@deprecatedHeaderFunctions > 0 && !$isProtocol) {
-        # - Deprecated category @interface 
-        push(@headerContent, "\n\@interface $className (" . $className . "Deprecated)\n");
-        push(@headerContent, @deprecatedHeaderFunctions);
-        push(@headerContent, "\@end\n");
-    }
-
-    push(@headerContent, "\n#endif\n") if length $interfaceAvailabilityVersion;
-
-    my %alwaysGenerateForNoSVGBuild = map { $_ => 1 } qw(DOMHTMLEmbedElement DOMHTMLObjectElement);
-
-    if (@privateHeaderAttributes > 0 or @privateHeaderFunctions > 0 or exists $alwaysGenerateForNoSVGBuild{$className}) {
-        # - Private category @interface
-        @privateHeaderContentHeader = split("\r", $headerLicenseTemplate);
-        push(@privateHeaderContentHeader, "\n");
-
-        my $classHeaderName = GetClassHeaderName($className);
-        push(@privateHeaderContentHeader, "#import <WebCore/$classHeaderName.h>\n\n");
-        push(@privateHeaderContentHeader, $interfaceAvailabilityVersionCheck) if length $interfaceAvailabilityVersion;
-
-        @privateHeaderContent = ();
-        push(@privateHeaderContent, "\@interface $className (" . $className . "Private)\n");
-        push(@privateHeaderContent, @privateHeaderAttributes) if @privateHeaderAttributes > 0;
-        push(@privateHeaderContent, "\n") if @privateHeaderAttributes > 0 and @privateHeaderFunctions > 0;
-        push(@privateHeaderContent, @privateHeaderFunctions) if @privateHeaderFunctions > 0;
-        push(@privateHeaderContent, "\@end\n");
-
-        push(@privateHeaderContent, "\n#endif\n") if length $interfaceAvailabilityVersion;
-    }
-
-    unless ($isProtocol) {
-        # Generate internal interfaces
-        my $implClassName = GetImplClassName($interfaceName);
-        my $implClassNameWithNamespace = "WebCore::" . $implClassName;
-
-        my $implType = $implClassNameWithNamespace;
-        my ($svgPropertyType, $svgListPropertyType, $svgNativeType) = GetSVGPropertyTypes($implClassName);
-        $implType = $svgNativeType if $svgNativeType;
-
-        # Generate interface definitions. 
-        @internalHeaderContent = split("\r", $implementationLicenseTemplate);
-
-        push(@internalHeaderContent, "\n#import <WebCore/$className.h>\n\n");
-        push(@internalHeaderContent, "#import <WebCore/SVGAnimatedPropertyTearOff.h>\n\n") if $svgPropertyType;
-        if ($svgListPropertyType) {
-            push(@internalHeaderContent, "#import <WebCore/SVGAnimatedListPropertyTearOff.h>\n\n");
-            push(@internalHeaderContent, "#import <WebCore/SVGTransformListPropertyTearOff.h>\n\n") if $svgListPropertyType =~ /SVGTransformList/;
-            push(@internalHeaderContent, "#import <WebCore/SVGPathSegListPropertyTearOff.h>\n\n") if $svgListPropertyType =~ /SVGPathSegList/;
-        }
-        push(@internalHeaderContent, $interfaceAvailabilityVersionCheck) if length $interfaceAvailabilityVersion;
-
-        if ($interfaceName eq "Node") {
-            push(@internalHeaderContent, "\@protocol DOMEventTarget;\n\n");
-        }
-
-        my $startedNamespace = 0;
-
-        if ($codeGenerator->IsSVGAnimatedType($interfaceName)) {
-            push(@internalHeaderContent, "#import <WebCore/$implClassName.h>\n\n");
-        } else {
-            push(@internalHeaderContent, "namespace WebCore {\n");
-            $startedNamespace = 1;
-            if ($interfaceName eq "Node") {
-                push(@internalHeaderContent, "    class EventTarget;\n    class Node;\n");
-            } else {
-                push(@internalHeaderContent, "    class $implClassName;\n");
-            }
-            push(@internalHeaderContent, "}\n\n");
-        }
-
-        push(@internalHeaderContent, "$implType* core($className *);\n");
-        push(@internalHeaderContent, "$className *kit($implType*);\n");
-
-        if ($interface->extendedAttributes->{"ObjCPolymorphic"}) {
-            push(@internalHeaderContent, "Class kitClass($implType*);\n");
-        }
-
-        if ($interfaceName eq "Node") {
-            push(@internalHeaderContent, "id <DOMEventTarget> kit(WebCore::EventTarget*);\n");
-        }
-
-        push(@internalHeaderContent, "\n#endif\n") if length $interfaceAvailabilityVersion;
-    }
-}
-
-sub GenerateImplementation
-{
-    my $object = shift;
-    my $interface = shift;
-
-    my @ancestorInterfaceNames = ();
-
-    if (@{$interface->parents} > 1) {
-        $codeGenerator->AddMethodsConstantsAndAttributesFromParentInterfaces($interface, \@ancestorInterfaceNames);
-    }
-
-    my $interfaceName = $interface->name;
-    my $className = GetClassName($interfaceName);
-    my $implClassName = GetImplClassName($interfaceName);
-    my $parentImplClassName = GetParentImplClassName($interface);
-    my $implClassNameWithNamespace = "WebCore::" . $implClassName;
-    my $baseClass = GetBaseClass($parentImplClassName);
-    my $classHeaderName = GetClassHeaderName($className);
-
-    my $numAttributes = @{$interface->attributes};
-    my $numFunctions = @{$interface->functions};
-    my $implType = $implClassNameWithNamespace;
-
-    my ($svgPropertyType, $svgListPropertyType, $svgNativeType) = GetSVGPropertyTypes($implClassName);
-    $implType = $svgNativeType if $svgNativeType;
-
-    # - Add default header template.
-    @implContentHeader = split("\r", $implementationLicenseTemplate);
-
-    # - INCLUDES -
-    push(@implContentHeader, "\n#import \"config.h\"\n");
-
-    my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
-    push(@implContentHeader, "\n#if ${conditionalString}\n\n") if $conditionalString;
-
-    push(@implContentHeader, "#import \"DOMInternal.h\"\n\n");
-    push(@implContentHeader, "#import \"$classHeaderName.h\"\n\n");
-
-    $implIncludes{"ExceptionHandlers.h"} = 1;
-    $implIncludes{"ThreadCheck.h"} = 1;
-    $implIncludes{"JSMainThreadExecState.h"} = 1;
-    $implIncludes{"WebScriptObjectPrivate.h"} = 1;
-    $implIncludes{$classHeaderName . "Internal.h"} = 1;
-
-    # FIXME: These includes are only needed when the class is a subclass of one of these polymorphic classes.
-    $implIncludes{"DOMBlobInternal.h"} = 1;
-    $implIncludes{"DOMCSSRuleInternal.h"} = 1;
-    $implIncludes{"DOMCSSValueInternal.h"} = 1;
-    $implIncludes{"DOMEventInternal.h"} = 1;
-    $implIncludes{"DOMNodeInternal.h"} = 1;
-    $implIncludes{"DOMStyleSheetInternal.h"} = 1;
-
-    $implIncludes{"DOMSVGPathSegInternal.h"} = 1 if $interfaceName =~ /^SVGPathSeg.+/;
-
-    if ($interfaceName =~ /(\w+)(Abs|Rel)$/) {
-        $implIncludes{"$1.h"} = 1;
-    } else {
-        if (!$codeGenerator->SkipIncludeHeader($implClassName)) {
-            $implIncludes{"$implClassName.h"} = 1 ;
-        } elsif ($codeGenerator->IsSVGTypeNeedingTearOff($implClassName)) {
-            my $includeType = $codeGenerator->GetSVGWrappedTypeNeedingTearOff($implClassName);
-            $implIncludes{"${includeType}.h"} = 1;
-        }
-    } 
-
-    @implContent = ();
-
-    push(@implContent, "#import <wtf/GetPtr.h>\n\n");
-
-    # add implementation accessor
-    if ($parentImplClassName eq "Object") {
-        push(@implContent, "#define IMPL reinterpret_cast<$implType*>(_internal)\n\n");
-    } else {
-        my $baseClassWithNamespace = "WebCore::$baseClass";
-        push(@implContent, "#define IMPL static_cast<$implClassNameWithNamespace*>(reinterpret_cast<$baseClassWithNamespace*>(_internal))\n\n");
-    }
-
-    # START implementation
-    push(@implContent, "\@implementation $className\n\n");
-
-    # Only generate 'dealloc' and 'finalize' methods for direct subclasses of DOMObject.
-    if ($parentImplClassName eq "Object") {
-        $implIncludes{"WebCoreObjCExtras.h"} = 1;
-        push(@implContent, "- (void)dealloc\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    if (WebCoreObjCScheduleDeallocateOnMainThread([$className class], self))\n");
-        push(@implContent, "        return;\n");
-        push(@implContent, "\n");
-        if ($interfaceName eq "NodeIterator") {
-            push(@implContent, "    if (_internal) {\n");
-            push(@implContent, "        [self detach];\n");
-            push(@implContent, "        IMPL->deref();\n");
-            push(@implContent, "    };\n");
-        } else {
-            push(@implContent, "    if (_internal)\n");
-            push(@implContent, "        IMPL->deref();\n");
-        }
-        push(@implContent, "    [super dealloc];\n");
-        push(@implContent, "}\n\n");
-
-        push(@implContent, "- (void)finalize\n");
-        push(@implContent, "{\n");
-        if ($interfaceName eq "NodeIterator") {
-            push(@implContent, "    if (_internal) {\n");
-            push(@implContent, "        [self detach];\n");
-            push(@implContent, "        IMPL->deref();\n");
-            push(@implContent, "    };\n");
-        } else {
-            push(@implContent, "    if (_internal)\n");
-            push(@implContent, "        IMPL->deref();\n");
-        }
-        push(@implContent, "    [super finalize];\n");
-        push(@implContent, "}\n\n");
-        
-    }
-
-    %attributeNames = ();
-
-    # - Attributes
-    if ($numAttributes > 0) {
-        foreach my $attribute (@{$interface->attributes}) {
-            next if SkipAttribute($attribute);
-            AddIncludesForType($attribute->signature->type);
-
-            my $idlType = $attribute->signature->type;
-
-            my $attributeName = $attribute->signature->name;
-            my $attributeType = GetObjCType($attribute->signature->type);
-            my $attributeIsReadonly = ($attribute->type =~ /^readonly/);
-            my $attributeClassName = GetClassName($attribute->signature->type);
-
-            my $attributeInterfaceName = $attributeName;
-            if ($attributeName eq "id" or $attributeName eq "hash" or $attributeName eq "description") {
-                # Special case some attributes (like id and hash) to have a "Name" suffix to avoid ObjC naming conflicts.
-                $attributeInterfaceName .= "Name";
-            } elsif ($attributeName eq "frame") {
-                # Special case attribute frame to be frameBorders.
-                $attributeInterfaceName .= "Borders";
-            } elsif ($attributeName eq "operator") {
-                # Avoid clash with C++ keyword.
-                $attributeInterfaceName = "_operator";
-            }
-
-            $attributeNames{$attributeInterfaceName} = 1;
-
-            # - GETTER
-            my $getterSig = "- ($attributeType)$attributeInterfaceName\n";
-
-            my ($functionName, @arguments) = $codeGenerator->GetterExpression(\%implIncludes, $interfaceName, $attribute);
-            my $getterExpressionPrefix = "$functionName(" . join(", ", @arguments);
-
-            # FIXME: Special case attribute ownerDocument to call document. This makes it return the
-            # document when called on the document itself. Legacy behavior, see <https://bugs.webkit.org/show_bug.cgi?id=10889>.
-            $getterExpressionPrefix =~ s/\bownerDocument\b/document/;
-
-            my $hasGetterException = @{$attribute->getterExceptions};
-            my $getterContentHead;
-            if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
-                my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
-                $implIncludes{"${implementedBy}.h"} = 1;
-                $getterContentHead = "${implementedBy}::${getterExpressionPrefix}IMPL";
-            } else {
-                $getterContentHead = "IMPL->$getterExpressionPrefix";
-            }
-
-            my $getterContentTail = ")";
-
-            if ($svgPropertyType) {
-                $getterContentHead = "$getterExpressionPrefix";
-
-                # TODO: Handle special case for DOMSVGLength. We do need Custom code support for this.
-                if ($svgPropertyType eq "WebCore::SVGLength" and $attributeName eq "value") {
-                    $getterContentHead = "value(WebCore::SVGLengthContext(IMPL->contextElement()), ";
-                }
-            }
-
-            my $attributeTypeSansPtr = $attributeType;
-            $attributeTypeSansPtr =~ s/ \*$//; # Remove trailing " *" from pointer types.
-
-            # special case for EventTarget protocol
-            $attributeTypeSansPtr = "DOMNode" if $idlType eq "EventTarget";
-
-            # Special cases
-            my @customGetterContent = (); 
-            if ($attributeTypeSansPtr eq "DOMImplementation") {
-                # FIXME: We have to special case DOMImplementation until DOMImplementationFront is removed
-                $getterContentHead = "kit(implementationFront(IMPL";
-                $getterContentTail .= ")";
-            } elsif ($attributeName =~ /(\w+)DisplayString$/) {
-                my $attributeToDisplay = $1;
-                $getterContentHead = "WebCore::displayString(IMPL->$attributeToDisplay(), core(self)";
-                $implIncludes{"HitTestResult.h"} = 1;
-            } elsif ($attributeName =~ /^absolute(\w+)URL$/) {
-                my $typeOfURL = $1;
-                $getterContentHead = "[self _getURLAttribute:";
-                if ($typeOfURL eq "Link") {
-                    $getterContentTail = "\@\"href\"]";
-                } elsif ($typeOfURL eq "Image") {
-                    if ($interfaceName eq "HTMLObjectElement") {
-                        $getterContentTail = "\@\"data\"]";
-                    } else {
-                        $getterContentTail = "\@\"src\"]";
-                    }
-                    unless ($interfaceName eq "HTMLImageElement") {
-                        push(@customGetterContent, "    if (!IMPL->renderer() || !IMPL->renderer()->isImage())\n");
-                        push(@customGetterContent, "        return nil;\n");
-                        $implIncludes{"RenderObject.h"} = 1;
-                    }
-                }
-                $implIncludes{"DOMPrivate.h"} = 1;
-            } elsif ($attribute->signature->extendedAttributes->{"ObjCImplementedAsUnsignedLong"}) {
-                $getterContentHead = "WTF::String::number(" . $getterContentHead;
-                $getterContentTail .= ")";
-            } elsif ($idlType eq "Date") {
-                $getterContentHead = "kit($getterContentHead";
-                $getterContentTail .= ")";
-            } elsif ($svgPropertyType) {
-                # Special case for DOMSVGNumber
-                if ($svgPropertyType eq "float") {
-                    # Intentional leave out closing brace, it's already contained in getterContentTail
-                    $getterContentHead = "IMPL->propertyReference(";
-                } else {    
-                    $getterContentHead = "IMPL->propertyReference().$getterContentHead";
-                }
-
-                if ($codeGenerator->IsSVGTypeWithWritablePropertiesNeedingTearOff($idlType) and not defined $attribute->signature->extendedAttributes->{"Immutable"}) {
-                    my $getter = $getterContentHead;
-                    $getter =~ s/\(\)//;
-                    
-                    my $tearOffType = GetSVGTypeWithNamespace($idlType);
-                    my $selfIsTearOffType = $codeGenerator->IsSVGTypeNeedingTearOff($implClassName);
-                    if ($selfIsTearOffType) {
-                        $implIncludes{"SVGStaticPropertyWithParentTearOff.h"} = 1;
-                        $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyWithParentTearOff<$implClassNameWithNamespace, /;
-
-                        my $getter = $getterExpressionPrefix;
-                        $getter =~ s/IMPL->//;
-                        $getter =~ s/\(//;
-                        my $updateMethod = "&${implClassNameWithNamespace}::update" . $codeGenerator->WK_ucfirst($getter);
-
-                        if ($getterContentHead =~ /matrix/ and $implClassName eq "SVGTransform") {
-                            # SVGTransform offers a matrix() method for internal usage that returns an AffineTransform
-                            # and a svgMatrix() method returning a SVGMatrix, used for the bindings.
-                            $getterContentHead =~ s/matrix/svgMatrix/;
-                        }
-
-                        $getterContentHead = "${tearOffType}::create(IMPL, $getterContentHead$getterContentTail, $updateMethod)";
-
-                        $getterContentHead = "kit(WTF::getPtr($getterContentHead";
-                        $getterContentTail = "))";
-                    }
-                }
-            } elsif (($codeGenerator->IsSVGAnimatedType($implClassName) or $implClassName eq "SVGViewSpec") and $codeGenerator->IsSVGTypeNeedingTearOff($idlType)) {
-                my $idlTypeWithNamespace = GetSVGTypeWithNamespace($idlType);
-                $getterContentHead = "kit(static_cast<$idlTypeWithNamespace*>($getterContentHead)";
-                $getterContentTail .= ")";
-            } elsif (IsProtocolType($idlType) and $idlType ne "EventTarget") {
-                $getterContentHead = "kit($getterContentHead";
-                $getterContentTail .= ")";
-            } elsif ($idlType eq "Color") {
-                $getterContentHead = "WebCore::nsColor($getterContentHead";
-                $getterContentTail .= ")";
-            } elsif ($attribute->signature->type eq "SerializedScriptValue") {
-                $getterContentHead = "$getterContentHead";
-                $getterContentTail .= "->toString()";                
-            } elsif (ConversionNeeded($attribute->signature->type)) {
-                my $type = $attribute->signature->type;
-                if ($codeGenerator->IsSVGTypeNeedingTearOff($type) and not $implClassName =~ /List$/) {
-                    my $idlTypeWithNamespace = GetSVGTypeWithNamespace($type);
-                    $implIncludes{"$type.h"} = 1 if not $codeGenerator->SkipIncludeHeader($type);
-                    if ($codeGenerator->IsSVGTypeWithWritablePropertiesNeedingTearOff($type) and not defined $attribute->signature->extendedAttributes->{"Immutable"}) {
-                        $idlTypeWithNamespace =~ s/SVGPropertyTearOff</SVGStaticPropertyTearOff<$implClassNameWithNamespace, /;
-                        $implIncludes{"SVGStaticPropertyTearOff.h"} = 1;
-
-                        my $getter = $getterContentHead;
-                        $getter =~ s/IMPL->//;
-                        $getter =~ s/\(//;
-                        my $updateMethod = "&${implClassNameWithNamespace}::update" . $codeGenerator->WK_ucfirst($getter);
-                        $getterContentHead = "kit(WTF::getPtr(${idlTypeWithNamespace}::create(IMPL, $getterContentHead$getterContentTail, $updateMethod";
-                        $getterContentTail .= "))";
-                    } elsif ($idlTypeWithNamespace =~ /SVG(Point|PathSeg)List/) {
-                        $getterContentHead = "kit(WTF::getPtr($getterContentHead";
-                        $getterContentTail .= "))";
-                    } elsif ($idlTypeWithNamespace =~ /SVGStaticListPropertyTearOff/) {
-                        $getterContentHead = "kit(WTF::getPtr(${idlTypeWithNamespace}::create(IMPL, $getterContentHead";
-                        $getterContentTail .= ")))";
-                    } else {
-                        $getterContentHead = "kit(WTF::getPtr(${idlTypeWithNamespace}::create($getterContentHead";
-                        $getterContentTail .= ")))";
-                    }
-                } else {
-                    $getterContentHead = "kit(WTF::getPtr($getterContentHead";
-                    $getterContentTail .= "))";
-                }
-            }
-
-            my $getterContent;
-            if ($hasGetterException || $attribute->signature->isNullable) {
-                $getterContent = $getterContentHead;
-                my $getterWithoutAttributes = $getterContentHead =~ /\($|, $/ ? "ec" : ", ec";
-                if ($attribute->signature->isNullable) {
-                    $getterContent .= $getterWithoutAttributes ? "isNull" : ", isNull";
-                    $getterWithoutAttributes = 0;
-                }
-                if ($hasGetterException) {
-                    $getterContent .= $getterWithoutAttributes ? "ec" : ", ec";
-                }
-                $getterContent .= $getterContentTail;
-            } else {
-                $getterContent = $getterContentHead . $getterContentTail;
-            }
-
-            my $attributeConditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
-            push(@implContent, "#if ${attributeConditionalString}\n") if $attributeConditionalString;
-            push(@implContent, $getterSig);
-            push(@implContent, "{\n");
-            push(@implContent, "    $jsContextSetter\n");
-            push(@implContent, @customGetterContent);
-
-            # FIXME: Should we return a default value when isNull == true?
-            if ($attribute->signature->isNullable) {
-                push(@implContents, "    $nullableInit\n");
-            }
-
-            if ($hasGetterException) {
-                # Differentiated between when the return type is a pointer and
-                # not for white space issue (ie. Foo *result vs. int result).
-                if ($attributeType =~ /\*$/) {
-                    $getterContent = $attributeType . "result = " . $getterContent;
-                } else {
-                    $getterContent = $attributeType . " result = " . $getterContent;
-                }
-
-                push(@implContent, "    $exceptionInit\n");
-                push(@implContent, "    $getterContent;\n");
-                push(@implContent, "    $exceptionRaiseOnError\n");
-                push(@implContent, "    return result;\n");
-            } else {
-                push(@implContent, "    return $getterContent;\n");
-            }
-            push(@implContent, "}\n");
-
-            # - SETTER
-            if (!$attributeIsReadonly) {
-                # Exception handling
-                my $hasSetterException = @{$attribute->setterExceptions};
-
-                my $coreSetterName = "set" . $codeGenerator->WK_ucfirst($attributeName);
-                my $setterName = "set" . ucfirst($attributeInterfaceName);
-                my $argName = "new" . ucfirst($attributeInterfaceName);
-                my $arg = GetObjCTypeGetter($argName, $idlType);
-
-                # The definition of ObjCImplementedAsUnsignedLong is flipped for the setter
-                if ($attribute->signature->extendedAttributes->{"ObjCImplementedAsUnsignedLong"}) {
-                    $arg = "WTF::String($arg).toInt()";
-                }
-
-                my $setterSig = "- (void)$setterName:($attributeType)$argName\n";
-
-                push(@implContent, "\n");
-                push(@implContent, $setterSig);
-                push(@implContent, "{\n");
-                push(@implContent, "    $jsContextSetter\n");
-
-                unless ($codeGenerator->IsPrimitiveType($idlType) or $codeGenerator->IsStringType($idlType)) {
-                    push(@implContent, "    ASSERT($argName);\n\n");
-                }
-
-                if ($idlType eq "Date") {
-                    $arg = "core(" . $arg . ")";
-                }
-
-                if ($svgPropertyType) {
-                    $implIncludes{"ExceptionCode.h"} = 1;
-                    $getterContentHead = "$getterExpressionPrefix";
-                    push(@implContent, "    if (IMPL->isReadOnly()) {\n");
-                    push(@implContent, "        WebCore::raiseOnDOMError(WebCore::NO_MODIFICATION_ALLOWED_ERR);\n");
-                    push(@implContent, "        return;\n");
-                    push(@implContent, "    }\n");
-                    push(@implContent, "    $svgPropertyType& podImpl = IMPL->propertyReference();\n");
-                    my $ec = $hasSetterException ? ", ec" : "";
-                    push(@implContent, "    $exceptionInit\n") if $hasSetterException;
-
-                    # Special case for DOMSVGNumber
-                    if ($svgPropertyType eq "float") {
-                        push(@implContent, "    podImpl = $arg;\n");
-                    } else {
-                        # FIXME: Special case for DOMSVGLength. We do need Custom code support for this.
-                        if ($svgPropertyType eq "WebCore::SVGLength" and $attributeName eq "value") {
-                            push(@implContent, "    podImpl.$coreSetterName($arg, WebCore::SVGLengthContext(IMPL->contextElement())$ec);\n");
-                        } else {
-                            push(@implContent, "    podImpl.$coreSetterName($arg$ec);\n");
-                        }
-                    }
-
-                    if ($hasSetterException) {
-                        push(@implContent, "    if (!ec)\n");
-                        push(@implContent, "        IMPL->commitChange();\n");
-                        push(@implContent, "    $exceptionRaiseOnError\n");
-                    } else {
-                        push(@implContent, "    IMPL->commitChange();\n");
-                    }
-                } elsif ($svgListPropertyType) {
-                    $getterContentHead = "$getterExpressionPrefix";
-                    push(@implContent, "    IMPL->$coreSetterName($arg);\n");
-                } else {
-                    my ($functionName, @arguments) = $codeGenerator->SetterExpression(\%implIncludes, $interfaceName, $attribute);
-                    push(@arguments, $arg);
-                    push(@arguments, "ec") if $hasSetterException;
-                    push(@implContent, "    $exceptionInit\n") if $hasSetterException;
-                    if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
-                        my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
-                        $implIncludes{"${implementedBy}.h"} = 1;
-                        unshift(@arguments, "IMPL");
-                        $functionName = "${implementedBy}::${functionName}";
-                    } else {
-                        $functionName = "IMPL->${functionName}";
-                    }
-                    push(@implContent, "    ${functionName}(" . join(", ", @arguments) . ");\n");
-                    push(@implContent, "    $exceptionRaiseOnError\n") if $hasSetterException;
-                }
-
-                push(@implContent, "}\n");
-            }
-
-            push(@implContent, "#endif\n") if $attributeConditionalString;
-            push(@implContent, "\n");
-        }
-    }
-
-    # - Functions
-    if ($numFunctions > 0) {
-        foreach my $function (@{$interface->functions}) {
-            next if SkipFunction($function);
-            next if ($function->signature->name eq "set" and $interface->extendedAttributes->{"TypedArray"});
-            AddIncludesForType($function->signature->type);
-
-            my $functionName = $function->signature->name;
-            my $returnType = GetObjCType($function->signature->type);
-            my $hasParameters = @{$function->parameters};
-            my $raisesExceptions = @{$function->raisesExceptions};
-
-            my @parameterNames = ();
-            my @needsAssert = ();
-            my %needsCustom = ();
-
-            my $parameterIndex = 0;
-            my $functionSig = "- ($returnType)$functionName";
-            foreach my $param (@{$function->parameters}) {
-                my $paramName = $param->name;
-                my $paramType = GetObjCType($param->type);
-
-                # make a new parameter name if the original conflicts with a property name
-                $paramName = "in" . ucfirst($paramName) if $attributeNames{$paramName};
-
-                AddIncludesForType($param->type);
-
-                my $idlType = $param->type;
-                my $implGetter = GetObjCTypeGetter($paramName, $idlType);
-
-                push(@parameterNames, $implGetter);
-                $needsCustom{"XPathNSResolver"} = $paramName if $idlType eq "XPathNSResolver";
-                $needsCustom{"NodeFilter"} = $paramName if $idlType eq "NodeFilter";
-                $needsCustom{"EventListener"} = $paramName if $idlType eq "EventListener";
-                $needsCustom{"EventTarget"} = $paramName if $idlType eq "EventTarget";
-                $needsCustom{"NodeToReturn"} = $paramName if $param->extendedAttributes->{"CustomReturn"};
-
-                unless ($codeGenerator->IsPrimitiveType($idlType) or $codeGenerator->IsStringType($idlType)) {
-                    push(@needsAssert, "    ASSERT($paramName);\n");
-                }
-
-                if ($parameterIndex >= 1) {
-                    $functionSig .= " " . $param->name;
-                }
-
-                $functionSig .= ":($paramType)$paramName";
-
-                $parameterIndex++;
-            }
-
-            my @functionContent = ();
-            my $caller = "IMPL";
-
-            # special case the XPathNSResolver
-            if (defined $needsCustom{"XPathNSResolver"}) {
-                my $paramName = $needsCustom{"XPathNSResolver"};
-                push(@functionContent, "    WebCore::XPathNSResolver* nativeResolver = 0;\n");
-                push(@functionContent, "    RefPtr<WebCore::XPathNSResolver> customResolver;\n");
-                push(@functionContent, "    if ($paramName) {\n");
-                push(@functionContent, "        if ([$paramName isMemberOfClass:[DOMNativeXPathNSResolver class]])\n");
-                push(@functionContent, "            nativeResolver = core(static_cast<DOMNativeXPathNSResolver *>($paramName));\n");
-                push(@functionContent, "        else {\n");
-                push(@functionContent, "            customResolver = WebCore::DOMCustomXPathNSResolver::create($paramName);\n");
-                push(@functionContent, "            nativeResolver = WTF::getPtr(customResolver);\n");
-                push(@functionContent, "        }\n");
-                push(@functionContent, "    }\n");
-            }
-
-            # special case the EventTarget
-            if (defined $needsCustom{"EventTarget"}) {
-                my $paramName = $needsCustom{"EventTarget"};
-                push(@functionContent, "    DOMNode* ${paramName}ObjC = $paramName;\n");
-                push(@functionContent, "    WebCore::Node* ${paramName}Node = core(${paramName}ObjC);\n");
-                $implIncludes{"DOMNode.h"} = 1;
-                $implIncludes{"Node.h"} = 1;
-            }
-
-            if ($function->signature->extendedAttributes->{"ObjCUseDefaultView"}) {
-                push(@functionContent, "    WebCore::DOMWindow* dv = $caller->defaultView();\n");
-                push(@functionContent, "    if (!dv)\n");
-                push(@functionContent, "        return nil;\n");
-                $implIncludes{"DOMWindow.h"} = 1;
-                $caller = "dv";
-            }
-
-            # special case the EventListener
-            if (defined $needsCustom{"EventListener"}) {
-                my $paramName = $needsCustom{"EventListener"};
-                push(@functionContent, "    RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap($paramName);\n");
-            }
-
-            # special case the NodeFilter
-            if (defined $needsCustom{"NodeFilter"}) {
-                my $paramName = $needsCustom{"NodeFilter"};
-                push(@functionContent, "    RefPtr<WebCore::NodeFilter> nativeNodeFilter;\n");
-                push(@functionContent, "    if ($paramName)\n");
-                push(@functionContent, "        nativeNodeFilter = WebCore::NodeFilter::create(WebCore::ObjCNodeFilterCondition::create($paramName));\n");
-            }
-
-            # FIXME! We need [Custom] support for ObjC, to move these hacks into DOMSVGLength/MatrixCustom.mm
-            my $svgLengthConvertToSpecifiedUnits = ($svgPropertyType and $svgPropertyType eq "WebCore::SVGLength" and $functionName eq "convertToSpecifiedUnits");
-
-            push(@parameterNames, "WebCore::SVGLengthContext(IMPL->contextElement())") if $svgLengthConvertToSpecifiedUnits; 
-            push(@parameterNames, "ec") if $raisesExceptions;
-
-            # Handle arguments that are 'SVGProperty' based (SVGAngle/SVGLength). We need to convert from SVGPropertyTearOff<Type>* to Type,
-            # to be able to call the desired WebCore function. If the conversion fails, we can't extract Type and need to raise an exception.
-            my $currentParameter = -1;
-            foreach my $param (@{$function->parameters}) {
-                $currentParameter++;
-
-                my $paramName = $param->name;
-
-                # make a new parameter name if the original conflicts with a property name
-                $paramName = "in" . ucfirst($paramName) if $attributeNames{$paramName};
-
-                my $idlType = $param->type;
-                next if not $codeGenerator->IsSVGTypeNeedingTearOff($idlType) or $implClassName =~ /List$/;
-
-                my $implGetter = GetObjCTypeGetter($paramName, $idlType);
-                my $idlTypeWithNamespace = GetSVGTypeWithNamespace($idlType);
-
-                $implIncludes{"ExceptionCode.h"} = 1;
-                push(@functionContent, "    $idlTypeWithNamespace* ${paramName}Core = $implGetter;\n");
-                push(@functionContent, "    if (!${paramName}Core) {\n");
-                push(@functionContent, "        WebCore::ExceptionCode ec = WebCore::TYPE_MISMATCH_ERR;\n");
-                push(@functionContent, "        $exceptionRaiseOnError\n");
-                if ($returnType eq "void") { 
-                    push(@functionContent, "        return;\n");
-                } else {
-                    push(@functionContent, "        return nil;\n");
-                }
-                push(@functionContent, "    }\n");
-
-                # Replace the paramter core() getter, by the cached variable.
-                splice(@parameterNames, $currentParameter, 1, "${paramName}Core->propertyReference()");
-            }
-
-            my $content;
-            if ($function->signature->extendedAttributes->{"ImplementedBy"}) {
-                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
-                $implIncludes{"${implementedBy}.h"} = 1;
-                unshift(@parameterNames, $caller);
-                $content = "${implementedBy}::" . $codeGenerator->WK_lcfirst($functionName) . "(" . join(", ", @parameterNames) . ")";
-            } elsif ($svgPropertyType) {
-                $implIncludes{"ExceptionCode.h"} = 1;
-                push(@functionContent, "    if (IMPL->isReadOnly()) {\n");
-                push(@functionContent, "        WebCore::raiseOnDOMError(WebCore::NO_MODIFICATION_ALLOWED_ERR);\n");
-                if ($returnType eq "void") {
-                    push(@functionContent, "        return;\n");
-                } else {
-                    push(@functionContent, "        return nil;\n");
-                }
-                push(@functionContent, "    }\n");
-                push(@functionContent, "    $svgPropertyType& podImpl = IMPL->propertyReference();\n");
-                $content = "podImpl." . $codeGenerator->WK_lcfirst($functionName) . "(" . join(", ", @parameterNames) . ")";
-            } else {
-                $content = "$caller->" . $codeGenerator->WK_lcfirst($functionName) . "(" . join(", ", @parameterNames) . ")";
-            }
-
-            if ($returnType eq "void") {
-                # Special case 'void' return type.
-                if ($raisesExceptions) {
-                    push(@functionContent, "    $exceptionInit\n");
-                    push(@functionContent, "    $content;\n");
-                    if ($svgPropertyType) {
-                        push(@functionContent, "    if (!ec)\n");
-                        push(@functionContent, "        IMPL->commitChange();\n");
-                    }
-                    push(@functionContent, "    $exceptionRaiseOnError\n");
-                } else {
-                    push(@functionContent, "    $content;\n");
-                    push(@functionContent, "    IMPL->commitChange();\n") if $svgPropertyType;
-                }
-            } elsif (defined $needsCustom{"NodeToReturn"}) {
-                # Special case the insertBefore, replaceChild, removeChild 
-                # and appendChild functions from DOMNode 
-                my $toReturn = $needsCustom{"NodeToReturn"};
-                if ($raisesExceptions) {
-                    push(@functionContent, "    $exceptionInit\n");
-                    push(@functionContent, "    if ($content)\n");
-                    push(@functionContent, "        return $toReturn;\n");
-                    push(@functionContent, "    $exceptionRaiseOnError\n");
-                    push(@functionContent, "    return nil;\n");
-                } else {
-                    push(@functionContent, "    if ($content)\n");
-                    push(@functionContent, "        return $toReturn;\n");
-                    push(@functionContent, "    return nil;\n");
-                }
-            } elsif ($returnType eq "SerializedScriptValue") {
-                $content = "foo";
-            } else {
-                if (ConversionNeeded($function->signature->type)) {
-                    if ($codeGenerator->IsSVGTypeNeedingTearOff($function->signature->type) and not $implClassName =~ /List$/) {
-                        my $idlTypeWithNamespace = GetSVGTypeWithNamespace($function->signature->type);
-                        $content = "kit(WTF::getPtr(${idlTypeWithNamespace}::create($content)))";
-                    } else {
-                        $content = "kit(WTF::getPtr($content))";
-                    }
-                }
-
-                if ($raisesExceptions) {
-                    # Differentiated between when the return type is a pointer and
-                    # not for white space issue (ie. Foo *result vs. int result).
-                    if ($returnType =~ /\*$/) {
-                        $content = $returnType . "result = " . $content;
-                    } else {
-                        $content = $returnType . " result = " . $content;
-                    }
-
-                    push(@functionContent, "    $exceptionInit\n");
-                    push(@functionContent, "    $content;\n");
-                    push(@functionContent, "    $exceptionRaiseOnError\n");
-                    push(@functionContent, "    return result;\n");
-                } else {
-                    push(@functionContent, "    return $content;\n");
-                }
-            }
-
-            my $conditionalString = $codeGenerator->GenerateConditionalString($function->signature);
-            push(@implContent, "\n#if ${conditionalString}\n") if $conditionalString;
-
-            push(@implContent, "$functionSig\n");
-            push(@implContent, "{\n");
-            push(@implContent, "    $jsContextSetter\n");
-            push(@implContent, @functionContent);
-            push(@implContent, "}\n\n");
-
-            push(@implContent, "#endif\n\n") if $conditionalString;
-
-            # generate the old style method names with un-named parameters, these methods are deprecated
-            if (@{$function->parameters} > 1 and $function->signature->extendedAttributes->{"ObjCLegacyUnnamedParameters"}) {
-                my $deprecatedFunctionSig = $functionSig;
-                $deprecatedFunctionSig =~ s/\s\w+:/ :/g; # remove parameter names
-
-                push(@implContent, "$deprecatedFunctionSig\n");
-                push(@implContent, "{\n");
-                push(@implContent, "    $jsContextSetter\n");
-                push(@implContent, @functionContent);
-                push(@implContent, "}\n\n");
-            }
-
-            # Clear the hash
-            %needsCustom = ();
-        }
-    }
-
-    # END implementation
-    push(@implContent, "\@end\n");
-
-    # Generate internal interfaces
-    push(@implContent, "\n$implType* core($className *wrapper)\n");
-    push(@implContent, "{\n");
-    push(@implContent, "    return wrapper ? reinterpret_cast<$implType*>(wrapper->_internal) : 0;\n");
-    push(@implContent, "}\n\n");
-
-    if ($parentImplClassName eq "Object") {        
-        push(@implContent, "$className *kit($implType* value)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    $assertMainThread;\n");
-        push(@implContent, "    if (!value)\n");
-        push(@implContent, "        return nil;\n");
-        push(@implContent, "    if ($className *wrapper = getDOMWrapper(value))\n");
-        push(@implContent, "        return [[wrapper retain] autorelease];\n");
-        if ($interface->extendedAttributes->{"ObjCPolymorphic"}) {
-            push(@implContent, "    $className *wrapper = [[kitClass(value) alloc] _init];\n");
-            push(@implContent, "    if (!wrapper)\n");
-            push(@implContent, "        return nil;\n");
-        } else {
-            push(@implContent, "    $className *wrapper = [[$className alloc] _init];\n");
-        }
-        push(@implContent, "    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);\n");
-        push(@implContent, "    value->ref();\n");
-        push(@implContent, "    addDOMWrapper(wrapper, value);\n");
-        push(@implContent, "    return [wrapper autorelease];\n");
-        push(@implContent, "}\n");
-    } else {
-        push(@implContent, "$className *kit($implType* value)\n");
-        push(@implContent, "{\n");
-        push(@implContent, "    $assertMainThread;\n");
-        push(@implContent, "    return static_cast<$className*>(kit(static_cast<WebCore::$baseClass*>(value)));\n");
-        push(@implContent, "}\n");
-    }
-
-    # - End the ifdef conditional if necessary
-    push(@implContent, "\n#endif // ${conditionalString}\n") if $conditionalString;
-
-    # - Generate dependencies.
-    if ($writeDependencies && @ancestorInterfaceNames) {
-        push(@depsContent, "$className.h : ", join(" ", map { "$_.idl" } @ancestorInterfaceNames), "\n");
-        push(@depsContent, map { "$_.idl :\n" } @ancestorInterfaceNames); 
-    }
-}
-
-# Internal helper
-sub WriteData
-{
-    my $object = shift;
-    my $dataNode = shift;
-    my $outputDir = shift;
-
-    # Open files for writing...
-    my $name = $dataNode->name;
-    my $prefix = FileNamePrefix;
-    my $headerFileName = "$outputDir/$prefix$name.h";
-    my $privateHeaderFileName = "$outputDir/$prefix${name}Private.h";
-    my $implFileName = "$outputDir/$prefix$name.mm";
-    my $internalHeaderFileName = "$outputDir/$prefix${name}Internal.h";
-    my $depsFileName = "$outputDir/$prefix$name.dep";
-
-    # Write public header.
-    my $contents = join "", @headerContentHeader;
-    map { $contents .= "\@class $_;\n" } sort keys(%headerForwardDeclarations);
-    map { $contents .= "\@protocol $_;\n" } sort keys(%headerForwardDeclarationsForProtocols);
-
-    my $hasForwardDeclarations = keys(%headerForwardDeclarations) + keys(%headerForwardDeclarationsForProtocols);
-    $contents .= "\n" if $hasForwardDeclarations;
-    $contents .= join "", @headerContent;
-    $codeGenerator->UpdateFile($headerFileName, $contents);
-
-    @headerContentHeader = ();
-    @headerContent = ();
-    %headerForwardDeclarations = ();
-    %headerForwardDeclarationsForProtocols = ();
-
-    if (@privateHeaderContent > 0) {
-        $contents = join "", @privateHeaderContentHeader;
-        map { $contents .= "\@class $_;\n" } sort keys(%privateHeaderForwardDeclarations);
-        map { $contents .= "\@protocol $_;\n" } sort keys(%privateHeaderForwardDeclarationsForProtocols);
-
-        $hasForwardDeclarations = keys(%privateHeaderForwardDeclarations) + keys(%privateHeaderForwardDeclarationsForProtocols);
-        $contents .= "\n" if $hasForwardDeclarations;
-        $contents .= join "", @privateHeaderContent;
-        $codeGenerator->UpdateFile($privateHeaderFileName, $contents);
-
-        @privateHeaderContentHeader = ();
-        @privateHeaderContent = ();
-        %privateHeaderForwardDeclarations = ();
-        %privateHeaderForwardDeclarationsForProtocols = ();
-    }
-
-    # Write implementation file.
-    unless ($noImpl) {
-        $contents = join "", @implContentHeader;
-        map { $contents .= "#import \"$_\"\n" } sort keys(%implIncludes);
-        $contents .= join "", @implContent;
-        $codeGenerator->UpdateFile($implFileName, $contents);
-
-        @implContentHeader = ();
-        @implContent = ();
-        %implIncludes = ();
-    }
-
-    if (@internalHeaderContent > 0) {
-        $contents = join "", @internalHeaderContent;
-        $codeGenerator->UpdateFile($internalHeaderFileName, $contents);
-
-        @internalHeaderContent = ();
-    }
-
-    # Write dependency file.
-    if (@depsContent) {
-        $contents = join "", @depsContent;
-        $codeGenerator->UpdateFile($depsFileName, $contents);
-
-        @depsContent = ();
-    }
-}
-
-1;
diff --git a/Source/WebCore/bindings/scripts/gobject-generate-headers.pl b/Source/WebCore/bindings/scripts/gobject-generate-headers.pl
deleted file mode 100644
index 4403f82..0000000
--- a/Source/WebCore/bindings/scripts/gobject-generate-headers.pl
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/usr/bin/perl -w
-#
-# Copyright (C) 2009 Adam Dingle <adam@yorba.org>
-#
-# This file is part of WebKit
-# 
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Library General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-# 
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Library General Public License for more details.
-# 
-# You should have received a copy of the GNU Library General Public License
-# aint with this library; see the file COPYING.LIB.  If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-# 
-
-my $classlist = <STDIN>;
-chomp($classlist);
-my @classes = split / /, $classlist;
-@classes = sort @classes;
-
-print <<EOF;
-/* This file is part of the WebKit open source project.
-   This file has been generated by gobject-generate-headers.pl.  DO NOT MODIFY!
-   
-   This library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Library General Public
-   License as published by the Free Software Foundation; either
-   version 2 of the License, or (at your option) any later version.
-
-   This library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Library General Public License for more details.
-
-   You should have received a copy of the GNU Library General Public License
-   along with this library; see the file COPYING.LIB.  If not, write to
-   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-   Boston, MA 02110-1301, USA.
-*/
-
-EOF
-
-my $outType = $ARGV[0];
-my $header;
-if ($outType eq "defines") {
-    $header = "webkitdomdefines_h";
-} elsif ($outType eq "gdom") {
-    $header = "webkitdom_h";
-} else {
-    die "unknown output type";
-}
-
-print "#ifndef ${header}\n";
-print "#define ${header}\n";
-print "\n";
-
-if ($outType eq "defines") {
-    print "#include <glib.h>\n\n";
-    print "#ifdef G_OS_WIN32\n";
-    print "    #ifdef BUILDING_WEBKIT\n";
-    print "        #define WEBKIT_API __declspec(dllexport)\n";
-    print "    #else\n";
-    print "        #define WEBKIT_API __declspec(dllimport)\n";
-    print "    #endif\n";
-    print "    #define WEBKIT_OBSOLETE_API WEBKIT_API\n";
-    print "#else\n";
-    print "    #define WEBKIT_API __attribute__((visibility(\"default\")))\n";
-    print "    #define WEBKIT_OBSOLETE_API WEBKIT_API __attribute__((deprecated))\n";
-    print "#endif\n\n";
-    print "#ifndef WEBKIT_API\n";
-    print "    #define WEBKIT_API\n";
-    print "#endif\n";
-
-    foreach my $class (@classes) {
-        print "typedef struct _WebKitDOM${class} WebKitDOM${class};\n";
-        print "typedef struct _WebKitDOM${class}Class WebKitDOM${class}Class;\n";
-        print "\n";
-    }
-} elsif ($outType eq "gdom") {
-    print "#define __WEBKITDOM_H_INSIDE__\n\n";
-    foreach my $class (@classes) {
-        print "#include <webkitdom/WebKitDOM${class}.h>\n";
-    }
-    print "\n#undef __WEBKITDOM_H_INSIDE__\n";
-}
-
-print "\n";
-print "#endif\n";
diff --git a/Source/WebCore/bindings/scripts/test/CPP/CPPTestSupplemental.cpp b/Source/WebCore/bindings/scripts/test/CPP/CPPTestSupplemental.cpp
deleted file mode 100644
index 653a86d5..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/CPPTestSupplemental.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that CPPTestSupplemental.h and
-    CPPTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate CPPTestSupplemental.h and
-    CPPTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/CPP/CPPTestSupplemental.h b/Source/WebCore/bindings/scripts/test/CPP/CPPTestSupplemental.h
deleted file mode 100644
index 653a86d5..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/CPPTestSupplemental.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that CPPTestSupplemental.h and
-    CPPTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate CPPTestSupplemental.h and
-    CPPTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMFloat64Array.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMFloat64Array.cpp
deleted file mode 100644
index 8916e27..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMFloat64Array.cpp
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMFloat64Array.h"
-
-#include "Float32Array.h"
-#include "Int32Array.h"
-#include "WebDOMFloat32Array.h"
-#include "WebDOMInt32Array.h"
-#include "WebExceptionHandler.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-WebDOMFloat64Array::WebDOMFloat64Array()
-    : WebDOMArrayBufferView()
-{
-}
-
-WebDOMFloat64Array::WebDOMFloat64Array(WTF::Float64Array* impl)
-    : WebDOMArrayBufferView(impl)
-{
-}
-
-WTF::Float64Array* WebDOMFloat64Array::impl() const
-{
-    return static_cast<WTF::Float64Array*>(WebDOMArrayBufferView::impl());
-}
-
-WebDOMInt32Array WebDOMFloat64Array::foo(const WebDOMFloat32Array& array)
-{
-    if (!impl())
-        return WebDOMInt32Array();
-
-    return toWebKit(WTF::getPtr(impl()->foo(toWebCore(array))));
-}
-
-WTF::Float64Array* toWebCore(const WebDOMFloat64Array& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMFloat64Array toWebKit(WTF::Float64Array* value)
-{
-    return WebDOMFloat64Array(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMFloat64Array.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMFloat64Array.h
deleted file mode 100644
index 304ee68..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMFloat64Array.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMFloat64Array_h
-#define WebDOMFloat64Array_h
-
-#include <WebDOMArrayBufferView.h>
-#include <WebDOMString.h>
-
-namespace WTF {
-class Float64Array;
-};
-
-class WebDOMFloat32Array;
-class WebDOMInt32Array;
-
-class WebDOMFloat64Array : public WebDOMArrayBufferView {
-public:
-    WebDOMFloat64Array();
-    explicit WebDOMFloat64Array(WTF::Float64Array*);
-    virtual ~WebDOMFloat64Array() { }
-
-    WebDOMInt32Array foo(const WebDOMFloat32Array& array);
-
-    WTF::Float64Array* impl() const;
-};
-
-WTF::Float64Array* toWebCore(const WebDOMFloat64Array&);
-WebDOMFloat64Array toWebKit(WTF::Float64Array*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.cpp
deleted file mode 100644
index 23e2bb6..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.cpp
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestActiveDOMObject.h"
-
-#include "KURL.h"
-#include "Node.h"
-#include "WebDOMNode.h"
-#include "WebDOMString.h"
-#include "WebExceptionHandler.h"
-#include "wtf/text/AtomicString.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestActiveDOMObject::WebDOMTestActiveDOMObjectPrivate {
-    WebDOMTestActiveDOMObjectPrivate(WebCore::TestActiveDOMObject* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestActiveDOMObject> impl;
-};
-
-WebDOMTestActiveDOMObject::WebDOMTestActiveDOMObject()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestActiveDOMObject::WebDOMTestActiveDOMObject(WebCore::TestActiveDOMObject* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestActiveDOMObjectPrivate(impl))
-{
-}
-
-WebDOMTestActiveDOMObject::WebDOMTestActiveDOMObject(const WebDOMTestActiveDOMObject& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestActiveDOMObjectPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestActiveDOMObject& WebDOMTestActiveDOMObject::operator=(const WebDOMTestActiveDOMObject& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestActiveDOMObjectPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestActiveDOMObject* WebDOMTestActiveDOMObject::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestActiveDOMObject::~WebDOMTestActiveDOMObject()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-int WebDOMTestActiveDOMObject::excitingAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->excitingAttr();
-}
-
-void WebDOMTestActiveDOMObject::excitingFunction(const WebDOMNode& nextChild)
-{
-    if (!impl())
-        return;
-
-    impl()->excitingFunction(toWebCore(nextChild));
-}
-
-void WebDOMTestActiveDOMObject::postMessage(const WebDOMString& message)
-{
-    if (!impl())
-        return;
-
-    impl()->postMessage(message);
-}
-
-WebCore::TestActiveDOMObject* toWebCore(const WebDOMTestActiveDOMObject& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestActiveDOMObject toWebKit(WebCore::TestActiveDOMObject* value)
-{
-    return WebDOMTestActiveDOMObject(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.h
deleted file mode 100644
index 66d14df..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestActiveDOMObject_h
-#define WebDOMTestActiveDOMObject_h
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestActiveDOMObject;
-};
-
-class WebDOMNode;
-
-class WebDOMTestActiveDOMObject : public WebDOMObject {
-public:
-    WebDOMTestActiveDOMObject();
-    explicit WebDOMTestActiveDOMObject(WebCore::TestActiveDOMObject*);
-    WebDOMTestActiveDOMObject(const WebDOMTestActiveDOMObject&);
-    WebDOMTestActiveDOMObject& operator=(const WebDOMTestActiveDOMObject&);
-    virtual ~WebDOMTestActiveDOMObject();
-
-    int excitingAttr() const;
-
-    void excitingFunction(const WebDOMNode& nextChild);
-    void postMessage(const WebDOMString& message);
-
-    WebCore::TestActiveDOMObject* impl() const;
-
-protected:
-    struct WebDOMTestActiveDOMObjectPrivate;
-    WebDOMTestActiveDOMObjectPrivate* m_impl;
-};
-
-WebCore::TestActiveDOMObject* toWebCore(const WebDOMTestActiveDOMObject&);
-WebDOMTestActiveDOMObject toWebKit(WebCore::TestActiveDOMObject*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCallback.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCallback.cpp
deleted file mode 100644
index 2e84295..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCallback.cpp
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-
-#if ENABLE(SQL_DATABASE)
-
-#include "WebDOMTestCallback.h"
-
-#include "Class1.h"
-#include "Class2.h"
-#include "Class3.h"
-#include "Class8.h"
-#include "DOMStringList.h"
-#include "KURL.h"
-#include "ThisClass.h"
-#include "WebDOMClass1.h"
-#include "WebDOMClass2.h"
-#include "WebDOMClass3.h"
-#include "WebDOMClass8.h"
-#include "WebDOMDOMStringList.h"
-#include "WebDOMString.h"
-#include "WebDOMThisClass.h"
-#include "WebExceptionHandler.h"
-#include "wtf/text/AtomicString.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestCallback::WebDOMTestCallbackPrivate {
-    WebDOMTestCallbackPrivate(WebCore::TestCallback* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestCallback> impl;
-};
-
-WebDOMTestCallback::WebDOMTestCallback()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestCallback::WebDOMTestCallback(WebCore::TestCallback* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestCallbackPrivate(impl))
-{
-}
-
-WebDOMTestCallback::WebDOMTestCallback(const WebDOMTestCallback& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestCallbackPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestCallback& WebDOMTestCallback::operator=(const WebDOMTestCallback& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestCallbackPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestCallback* WebDOMTestCallback::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestCallback::~WebDOMTestCallback()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-bool WebDOMTestCallback::callbackWithNoParam()
-{
-    if (!impl())
-        return false;
-
-    return impl()->callbackWithNoParam();
-}
-
-bool WebDOMTestCallback::callbackWithClass1Param(const WebDOMClass1& class1Param)
-{
-    if (!impl())
-        return false;
-
-    return impl()->callbackWithClass1Param(toWebCore(class1Param));
-}
-
-bool WebDOMTestCallback::callbackWithClass2Param(const WebDOMClass2& class2Param, const WebDOMString& strArg)
-{
-    if (!impl())
-        return false;
-
-    return impl()->callbackWithClass2Param(toWebCore(class2Param), strArg);
-}
-
-int WebDOMTestCallback::callbackWithNonBoolReturnType(const WebDOMClass3& class3Param)
-{
-    if (!impl())
-        return 0;
-
-    return impl()->callbackWithNonBoolReturnType(toWebCore(class3Param));
-}
-
-bool WebDOMTestCallback::callbackWithStringList(const WebDOMDOMStringList& listParam)
-{
-    if (!impl())
-        return false;
-
-    return impl()->callbackWithStringList(toWebCore(listParam));
-}
-
-bool WebDOMTestCallback::callbackWithBoolean(bool boolParam)
-{
-    if (!impl())
-        return false;
-
-    return impl()->callbackWithBoolean(boolParam);
-}
-
-bool WebDOMTestCallback::callbackRequiresThisToPass(const WebDOMClass8& class8Param, const WebDOMThisClass& thisClassParam)
-{
-    if (!impl())
-        return false;
-
-    return impl()->callbackRequiresThisToPass(toWebCore(class8Param), toWebCore(thisClassParam));
-}
-
-WebCore::TestCallback* toWebCore(const WebDOMTestCallback& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestCallback toWebKit(WebCore::TestCallback* value)
-{
-    return WebDOMTestCallback(value);
-}
-
-#endif // ENABLE(SQL_DATABASE)
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCallback.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCallback.h
deleted file mode 100644
index 8d9a230..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCallback.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestCallback_h
-#define WebDOMTestCallback_h
-
-#if ENABLE(SQL_DATABASE)
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestCallback;
-};
-
-class WebDOMClass1;
-class WebDOMClass2;
-class WebDOMClass3;
-class WebDOMClass8;
-class WebDOMDOMStringList;
-class WebDOMThisClass;
-
-class WebDOMTestCallback : public WebDOMObject {
-public:
-    WebDOMTestCallback();
-    explicit WebDOMTestCallback(WebCore::TestCallback*);
-    WebDOMTestCallback(const WebDOMTestCallback&);
-    WebDOMTestCallback& operator=(const WebDOMTestCallback&);
-    virtual ~WebDOMTestCallback();
-
-    bool callbackWithNoParam();
-    bool callbackWithClass1Param(const WebDOMClass1& class1Param);
-    bool callbackWithClass2Param(const WebDOMClass2& class2Param, const WebDOMString& strArg);
-    int callbackWithNonBoolReturnType(const WebDOMClass3& class3Param);
-    bool callbackWithStringList(const WebDOMDOMStringList& listParam);
-    bool callbackWithBoolean(bool boolParam);
-    bool callbackRequiresThisToPass(const WebDOMClass8& class8Param, const WebDOMThisClass& thisClassParam);
-
-    WebCore::TestCallback* impl() const;
-
-protected:
-    struct WebDOMTestCallbackPrivate;
-    WebDOMTestCallbackPrivate* m_impl;
-};
-
-WebCore::TestCallback* toWebCore(const WebDOMTestCallback&);
-WebDOMTestCallback toWebKit(WebCore::TestCallback*);
-
-#endif
-#endif // ENABLE(SQL_DATABASE)
-
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.cpp
deleted file mode 100644
index 245c0d2..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.cpp
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestCustomNamedGetter.h"
-
-#include "KURL.h"
-#include "WebDOMString.h"
-#include "WebExceptionHandler.h"
-#include "wtf/text/AtomicString.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestCustomNamedGetter::WebDOMTestCustomNamedGetterPrivate {
-    WebDOMTestCustomNamedGetterPrivate(WebCore::TestCustomNamedGetter* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestCustomNamedGetter> impl;
-};
-
-WebDOMTestCustomNamedGetter::WebDOMTestCustomNamedGetter()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestCustomNamedGetter::WebDOMTestCustomNamedGetter(WebCore::TestCustomNamedGetter* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestCustomNamedGetterPrivate(impl))
-{
-}
-
-WebDOMTestCustomNamedGetter::WebDOMTestCustomNamedGetter(const WebDOMTestCustomNamedGetter& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestCustomNamedGetterPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestCustomNamedGetter& WebDOMTestCustomNamedGetter::operator=(const WebDOMTestCustomNamedGetter& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestCustomNamedGetterPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestCustomNamedGetter* WebDOMTestCustomNamedGetter::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestCustomNamedGetter::~WebDOMTestCustomNamedGetter()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-void WebDOMTestCustomNamedGetter::anotherFunction(const WebDOMString& str)
-{
-    if (!impl())
-        return;
-
-    impl()->anotherFunction(str);
-}
-
-WebCore::TestCustomNamedGetter* toWebCore(const WebDOMTestCustomNamedGetter& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestCustomNamedGetter toWebKit(WebCore::TestCustomNamedGetter* value)
-{
-    return WebDOMTestCustomNamedGetter(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.h
deleted file mode 100644
index f1a2d68..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestCustomNamedGetter_h
-#define WebDOMTestCustomNamedGetter_h
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestCustomNamedGetter;
-};
-
-
-class WebDOMTestCustomNamedGetter : public WebDOMObject {
-public:
-    WebDOMTestCustomNamedGetter();
-    explicit WebDOMTestCustomNamedGetter(WebCore::TestCustomNamedGetter*);
-    WebDOMTestCustomNamedGetter(const WebDOMTestCustomNamedGetter&);
-    WebDOMTestCustomNamedGetter& operator=(const WebDOMTestCustomNamedGetter&);
-    virtual ~WebDOMTestCustomNamedGetter();
-
-    void anotherFunction(const WebDOMString& str);
-
-    WebCore::TestCustomNamedGetter* impl() const;
-
-protected:
-    struct WebDOMTestCustomNamedGetterPrivate;
-    WebDOMTestCustomNamedGetterPrivate* m_impl;
-};
-
-WebCore::TestCustomNamedGetter* toWebCore(const WebDOMTestCustomNamedGetter&);
-WebDOMTestCustomNamedGetter toWebKit(WebCore::TestCustomNamedGetter*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventConstructor.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventConstructor.cpp
deleted file mode 100644
index 8073600..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventConstructor.cpp
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestEventConstructor.h"
-
-#include "KURL.h"
-#include "WebDOMString.h"
-#include "WebExceptionHandler.h"
-#include "wtf/text/AtomicString.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestEventConstructor::WebDOMTestEventConstructorPrivate {
-    WebDOMTestEventConstructorPrivate(WebCore::TestEventConstructor* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestEventConstructor> impl;
-};
-
-WebDOMTestEventConstructor::WebDOMTestEventConstructor()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestEventConstructor::WebDOMTestEventConstructor(WebCore::TestEventConstructor* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestEventConstructorPrivate(impl))
-{
-}
-
-WebDOMTestEventConstructor::WebDOMTestEventConstructor(const WebDOMTestEventConstructor& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestEventConstructorPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestEventConstructor& WebDOMTestEventConstructor::operator=(const WebDOMTestEventConstructor& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestEventConstructorPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestEventConstructor* WebDOMTestEventConstructor::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestEventConstructor::~WebDOMTestEventConstructor()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-WebDOMString WebDOMTestEventConstructor::attr1() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->attr1());
-}
-
-WebDOMString WebDOMTestEventConstructor::attr2() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->attr2());
-}
-
-WebCore::TestEventConstructor* toWebCore(const WebDOMTestEventConstructor& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestEventConstructor toWebKit(WebCore::TestEventConstructor* value)
-{
-    return WebDOMTestEventConstructor(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventConstructor.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventConstructor.h
deleted file mode 100644
index e8c4929..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventConstructor.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestEventConstructor_h
-#define WebDOMTestEventConstructor_h
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestEventConstructor;
-};
-
-
-class WebDOMTestEventConstructor : public WebDOMObject {
-public:
-    WebDOMTestEventConstructor();
-    explicit WebDOMTestEventConstructor(WebCore::TestEventConstructor*);
-    WebDOMTestEventConstructor(const WebDOMTestEventConstructor&);
-    WebDOMTestEventConstructor& operator=(const WebDOMTestEventConstructor&);
-    virtual ~WebDOMTestEventConstructor();
-
-    WebDOMString attr1() const;
-    WebDOMString attr2() const;
-
-    WebCore::TestEventConstructor* impl() const;
-
-protected:
-    struct WebDOMTestEventConstructorPrivate;
-    WebDOMTestEventConstructorPrivate* m_impl;
-};
-
-WebCore::TestEventConstructor* toWebCore(const WebDOMTestEventConstructor&);
-WebDOMTestEventConstructor toWebKit(WebCore::TestEventConstructor*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventTarget.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventTarget.cpp
deleted file mode 100644
index 3a2cb4f..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventTarget.cpp
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestEventTarget.h"
-
-#include "Event.h"
-#include "KURL.h"
-#include "Node.h"
-#include "WebDOMEvent.h"
-#include "WebDOMNode.h"
-#include "WebDOMString.h"
-#include "WebExceptionHandler.h"
-#include "WebNativeEventListener.h"
-#include "wtf/text/AtomicString.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-WebDOMTestEventTarget::WebDOMTestEventTarget()
-    : WebDOMEventTarget()
-{
-}
-
-WebDOMTestEventTarget::WebDOMTestEventTarget(WebCore::TestEventTarget* impl)
-    : WebDOMEventTarget(impl)
-{
-}
-
-WebCore::TestEventTarget* WebDOMTestEventTarget::impl() const
-{
-    return static_cast<WebCore::TestEventTarget*>(WebDOMEventTarget::impl());
-}
-
-WebDOMNode WebDOMTestEventTarget::item(unsigned index)
-{
-    if (!impl())
-        return WebDOMNode();
-
-    return toWebKit(WTF::getPtr(impl()->item(index)));
-}
-
-void WebDOMTestEventTarget::addEventListener(const WebDOMString& type, const WebDOMEventListener& listener, bool useCapture)
-{
-    if (!impl())
-        return;
-
-    impl()->addEventListener(type, toWebCore(listener), useCapture);
-}
-
-void WebDOMTestEventTarget::removeEventListener(const WebDOMString& type, const WebDOMEventListener& listener, bool useCapture)
-{
-    if (!impl())
-        return;
-
-    impl()->removeEventListener(type, toWebCore(listener), useCapture);
-}
-
-bool WebDOMTestEventTarget::dispatchEvent(const WebDOMEvent& evt)
-{
-    if (!impl())
-        return false;
-
-    WebCore::ExceptionCode ec = 0;
-    bool result = impl()->dispatchEvent(toWebCore(evt), ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-    return result;
-}
-
-WebCore::TestEventTarget* toWebCore(const WebDOMTestEventTarget& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestEventTarget toWebKit(WebCore::TestEventTarget* value)
-{
-    return WebDOMTestEventTarget(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventTarget.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventTarget.h
deleted file mode 100644
index 37a52dd..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestEventTarget.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestEventTarget_h
-#define WebDOMTestEventTarget_h
-
-#include <WebDOMEventTarget.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestEventTarget;
-};
-
-class WebDOMEvent;
-class WebDOMEventListener;
-class WebDOMNode;
-
-class WebDOMTestEventTarget : public WebDOMEventTarget {
-public:
-    WebDOMTestEventTarget();
-    explicit WebDOMTestEventTarget(WebCore::TestEventTarget*);
-    virtual ~WebDOMTestEventTarget() { }
-
-    WebDOMNode item(unsigned index);
-    void addEventListener(const WebDOMString& type, const WebDOMEventListener& listener, bool useCapture);
-    void removeEventListener(const WebDOMString& type, const WebDOMEventListener& listener, bool useCapture);
-    bool dispatchEvent(const WebDOMEvent& evt);
-
-    WebCore::TestEventTarget* impl() const;
-};
-
-WebCore::TestEventTarget* toWebCore(const WebDOMTestEventTarget&);
-WebDOMTestEventTarget toWebKit(WebCore::TestEventTarget*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestException.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestException.cpp
deleted file mode 100644
index 6ed5927..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestException.cpp
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestException.h"
-
-#include "KURL.h"
-#include "WebDOMString.h"
-#include "WebExceptionHandler.h"
-#include "wtf/text/AtomicString.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestException::WebDOMTestExceptionPrivate {
-    WebDOMTestExceptionPrivate(WebCore::TestException* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestException> impl;
-};
-
-WebDOMTestException::WebDOMTestException()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestException::WebDOMTestException(WebCore::TestException* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestExceptionPrivate(impl))
-{
-}
-
-WebDOMTestException::WebDOMTestException(const WebDOMTestException& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestExceptionPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestException& WebDOMTestException::operator=(const WebDOMTestException& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestExceptionPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestException* WebDOMTestException::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestException::~WebDOMTestException()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-WebDOMString WebDOMTestException::name() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->name());
-}
-
-WebCore::TestException* toWebCore(const WebDOMTestException& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestException toWebKit(WebCore::TestException* value)
-{
-    return WebDOMTestException(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestException.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestException.h
deleted file mode 100644
index 9d95c66..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestException.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestException_h
-#define WebDOMTestException_h
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestException;
-};
-
-
-class WebDOMTestException : public WebDOMObject {
-public:
-    WebDOMTestException();
-    explicit WebDOMTestException(WebCore::TestException*);
-    WebDOMTestException(const WebDOMTestException&);
-    WebDOMTestException& operator=(const WebDOMTestException&);
-    virtual ~WebDOMTestException();
-
-    WebDOMString name() const;
-
-    WebCore::TestException* impl() const;
-
-protected:
-    struct WebDOMTestExceptionPrivate;
-    WebDOMTestExceptionPrivate* m_impl;
-};
-
-WebCore::TestException* toWebCore(const WebDOMTestException&);
-WebDOMTestException toWebKit(WebCore::TestException*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.cpp
deleted file mode 100644
index f35646f..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.cpp
+++ /dev/null
@@ -1,162 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#include "WebDOMTestInterface.h"
-
-#include "KURL.h"
-#include "Node.h"
-#include "TestSupplemental.h"
-#include "WebDOMNode.h"
-#include "WebDOMString.h"
-#include "WebExceptionHandler.h"
-#include "wtf/text/AtomicString.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestInterface::WebDOMTestInterfacePrivate {
-    WebDOMTestInterfacePrivate(WebCore::TestInterface* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestInterface> impl;
-};
-
-WebDOMTestInterface::WebDOMTestInterface()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestInterface::WebDOMTestInterface(WebCore::TestInterface* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestInterfacePrivate(impl))
-{
-}
-
-WebDOMTestInterface::WebDOMTestInterface(const WebDOMTestInterface& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestInterfacePrivate(copy.impl()) : 0;
-}
-
-WebDOMTestInterface& WebDOMTestInterface::operator=(const WebDOMTestInterface& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestInterfacePrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestInterface* WebDOMTestInterface::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestInterface::~WebDOMTestInterface()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-WebDOMString WebDOMTestInterface::supplementalStr1() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(TestSupplemental::supplementalStr1(impl()));
-}
-
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-WebDOMString WebDOMTestInterface::supplementalStr2() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(TestSupplemental::supplementalStr2(impl()));
-}
-
-void WebDOMTestInterface::setSupplementalStr2(const WebDOMString& newSupplementalStr2)
-{
-    if (!impl())
-        return;
-
-    TestSupplemental::setSupplementalStr2(impl(), newSupplementalStr2);
-}
-
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-WebDOMNode WebDOMTestInterface::supplementalNode() const
-{
-    if (!impl())
-        return WebDOMNode();
-
-    return toWebKit(WTF::getPtr(TestSupplemental::supplementalNode(impl())));
-}
-
-void WebDOMTestInterface::setSupplementalNode(const WebDOMNode& newSupplementalNode)
-{
-    if (!impl())
-        return;
-
-    TestSupplemental::setSupplementalNode(impl(), toWebCore(newSupplementalNode));
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-void WebDOMTestInterface::supplementalMethod1()
-{
-    if (!impl())
-        return;
-
-    WebCore::TestSupplemental::supplementalMethod1(impl());
-}
-
-#endif
-
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-void WebDOMTestInterface::supplementalMethod4()
-{
-    if (!impl())
-        return;
-
-    WebCore::TestSupplemental::supplementalMethod4(impl());
-}
-
-#endif
-
-WebCore::TestInterface* toWebCore(const WebDOMTestInterface& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestInterface toWebKit(WebCore::TestInterface* value)
-{
-    return WebDOMTestInterface(value);
-}
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.h
deleted file mode 100644
index ca55884..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestInterface_h
-#define WebDOMTestInterface_h
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestInterface;
-};
-
-class WebDOMNode;
-
-class WebDOMTestInterface : public WebDOMObject {
-public:
-    WebDOMTestInterface();
-    explicit WebDOMTestInterface(WebCore::TestInterface*);
-    WebDOMTestInterface(const WebDOMTestInterface&);
-    WebDOMTestInterface& operator=(const WebDOMTestInterface&);
-    virtual ~WebDOMTestInterface();
-
-    enum {
-#if ENABLE(Condition11) || ENABLE(Condition12)
-        WEBDOM_SUPPLEMENTALCONSTANT1 = 1,
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-        WEBDOM_SUPPLEMENTALCONSTANT2 = 2
-#endif
-
-    };
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebDOMString supplementalStr1() const;
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebDOMString supplementalStr2() const;
-    void setSupplementalStr2(const WebDOMString&);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebDOMNode supplementalNode() const;
-    void setSupplementalNode(const WebDOMNode&);
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    void supplementalMethod1();
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    void supplementalMethod4();
-#endif
-
-    WebCore::TestInterface* impl() const;
-
-protected:
-    struct WebDOMTestInterfacePrivate;
-    WebDOMTestInterfacePrivate* m_impl;
-};
-
-WebCore::TestInterface* toWebCore(const WebDOMTestInterface&);
-WebDOMTestInterface toWebKit(WebCore::TestInterface*);
-
-#endif
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.cpp
deleted file mode 100644
index c2f83ac..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.cpp
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestMediaQueryListListener.h"
-
-#include "MediaQueryListListener.h"
-#include "WebDOMMediaQueryListListener.h"
-#include "WebExceptionHandler.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestMediaQueryListListener::WebDOMTestMediaQueryListListenerPrivate {
-    WebDOMTestMediaQueryListListenerPrivate(WebCore::TestMediaQueryListListener* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestMediaQueryListListener> impl;
-};
-
-WebDOMTestMediaQueryListListener::WebDOMTestMediaQueryListListener()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestMediaQueryListListener::WebDOMTestMediaQueryListListener(WebCore::TestMediaQueryListListener* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestMediaQueryListListenerPrivate(impl))
-{
-}
-
-WebDOMTestMediaQueryListListener::WebDOMTestMediaQueryListListener(const WebDOMTestMediaQueryListListener& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestMediaQueryListListenerPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestMediaQueryListListener& WebDOMTestMediaQueryListListener::operator=(const WebDOMTestMediaQueryListListener& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestMediaQueryListListenerPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestMediaQueryListListener* WebDOMTestMediaQueryListListener::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestMediaQueryListListener::~WebDOMTestMediaQueryListListener()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-void WebDOMTestMediaQueryListListener::method(const WebDOMMediaQueryListListener& listener)
-{
-    if (!impl())
-        return;
-
-    impl()->method(toWebCore(listener));
-}
-
-WebCore::TestMediaQueryListListener* toWebCore(const WebDOMTestMediaQueryListListener& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestMediaQueryListListener toWebKit(WebCore::TestMediaQueryListListener* value)
-{
-    return WebDOMTestMediaQueryListListener(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.h
deleted file mode 100644
index 8f89836..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestMediaQueryListListener_h
-#define WebDOMTestMediaQueryListListener_h
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestMediaQueryListListener;
-};
-
-class WebDOMMediaQueryListListener;
-
-class WebDOMTestMediaQueryListListener : public WebDOMObject {
-public:
-    WebDOMTestMediaQueryListListener();
-    explicit WebDOMTestMediaQueryListListener(WebCore::TestMediaQueryListListener*);
-    WebDOMTestMediaQueryListListener(const WebDOMTestMediaQueryListListener&);
-    WebDOMTestMediaQueryListListener& operator=(const WebDOMTestMediaQueryListListener&);
-    virtual ~WebDOMTestMediaQueryListListener();
-
-    void method(const WebDOMMediaQueryListListener& listener);
-
-    WebCore::TestMediaQueryListListener* impl() const;
-
-protected:
-    struct WebDOMTestMediaQueryListListenerPrivate;
-    WebDOMTestMediaQueryListListenerPrivate* m_impl;
-};
-
-WebCore::TestMediaQueryListListener* toWebCore(const WebDOMTestMediaQueryListListener&);
-WebDOMTestMediaQueryListListener toWebKit(WebCore::TestMediaQueryListListener*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNamedConstructor.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNamedConstructor.cpp
deleted file mode 100644
index a07f9b6..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNamedConstructor.cpp
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestNamedConstructor.h"
-
-#include "WebExceptionHandler.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestNamedConstructor::WebDOMTestNamedConstructorPrivate {
-    WebDOMTestNamedConstructorPrivate(WebCore::TestNamedConstructor* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestNamedConstructor> impl;
-};
-
-WebDOMTestNamedConstructor::WebDOMTestNamedConstructor()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestNamedConstructor::WebDOMTestNamedConstructor(WebCore::TestNamedConstructor* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestNamedConstructorPrivate(impl))
-{
-}
-
-WebDOMTestNamedConstructor::WebDOMTestNamedConstructor(const WebDOMTestNamedConstructor& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestNamedConstructorPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestNamedConstructor& WebDOMTestNamedConstructor::operator=(const WebDOMTestNamedConstructor& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestNamedConstructorPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestNamedConstructor* WebDOMTestNamedConstructor::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestNamedConstructor::~WebDOMTestNamedConstructor()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-WebCore::TestNamedConstructor* toWebCore(const WebDOMTestNamedConstructor& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestNamedConstructor toWebKit(WebCore::TestNamedConstructor* value)
-{
-    return WebDOMTestNamedConstructor(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNamedConstructor.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNamedConstructor.h
deleted file mode 100644
index b45daa7..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNamedConstructor.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestNamedConstructor_h
-#define WebDOMTestNamedConstructor_h
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestNamedConstructor;
-};
-
-
-class WebDOMTestNamedConstructor : public WebDOMObject {
-public:
-    WebDOMTestNamedConstructor();
-    explicit WebDOMTestNamedConstructor(WebCore::TestNamedConstructor*);
-    WebDOMTestNamedConstructor(const WebDOMTestNamedConstructor&);
-    WebDOMTestNamedConstructor& operator=(const WebDOMTestNamedConstructor&);
-    virtual ~WebDOMTestNamedConstructor();
-
-
-    WebCore::TestNamedConstructor* impl() const;
-
-protected:
-    struct WebDOMTestNamedConstructorPrivate;
-    WebDOMTestNamedConstructorPrivate* m_impl;
-};
-
-WebCore::TestNamedConstructor* toWebCore(const WebDOMTestNamedConstructor&);
-WebDOMTestNamedConstructor toWebKit(WebCore::TestNamedConstructor*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.cpp
deleted file mode 100644
index 96b863d..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestNode.h"
-
-#include "WebExceptionHandler.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-WebDOMTestNode::WebDOMTestNode()
-    : WebDOMNode()
-{
-}
-
-WebDOMTestNode::WebDOMTestNode(WebCore::TestNode* impl)
-    : WebDOMNode(impl)
-{
-}
-
-WebCore::TestNode* WebDOMTestNode::impl() const
-{
-    return static_cast<WebCore::TestNode*>(WebDOMNode::impl());
-}
-
-WebCore::TestNode* toWebCore(const WebDOMTestNode& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestNode toWebKit(WebCore::TestNode* value)
-{
-    return WebDOMTestNode(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.h
deleted file mode 100644
index b363f2d..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestNode_h
-#define WebDOMTestNode_h
-
-#include <WebDOMNode.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestNode;
-};
-
-
-class WebDOMTestNode : public WebDOMNode {
-public:
-    WebDOMTestNode();
-    explicit WebDOMTestNode(WebCore::TestNode*);
-    virtual ~WebDOMTestNode() { }
-
-
-    WebCore::TestNode* impl() const;
-};
-
-WebCore::TestNode* toWebCore(const WebDOMTestNode&);
-WebDOMTestNode toWebKit(WebCore::TestNode*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp
deleted file mode 100644
index d651010..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp
+++ /dev/null
@@ -1,1074 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestObj.h"
-
-#include "Dictionary.h"
-#include "Document.h"
-#include "HTMLNames.h"
-#include "KURL.h"
-#include "Node.h"
-#include "SVGPoint.h"
-#include "SerializedScriptValue.h"
-#include "TestEnumType.h"
-#include "WebDOMDictionary.h"
-#include "WebDOMDocument.h"
-#include "WebDOMNode.h"
-#include "WebDOMObject.h"
-#include "WebDOMSVGPoint.h"
-#include "WebDOMString.h"
-#include "WebDOMTestEnumType.h"
-#include "WebDOMTestObj.h"
-#include "WebDOMa.h"
-#include "WebDOMb.h"
-#include "WebDOMbool.h"
-#include "WebDOMd.h"
-#include "WebDOMe.h"
-#include "WebExceptionHandler.h"
-#include "WebNativeEventListener.h"
-#include "a.h"
-#include "b.h"
-#include "bool.h"
-#include "d.h"
-#include "e.h"
-#include "wtf/text/AtomicString.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestObj::WebDOMTestObjPrivate {
-    WebDOMTestObjPrivate(WebCore::TestObj* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestObj> impl;
-};
-
-WebDOMTestObj::WebDOMTestObj()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestObj::WebDOMTestObj(WebCore::TestObj* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestObjPrivate(impl))
-{
-}
-
-WebDOMTestObj::WebDOMTestObj(const WebDOMTestObj& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestObjPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestObj& WebDOMTestObj::operator=(const WebDOMTestObj& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestObjPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestObj* WebDOMTestObj::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestObj::~WebDOMTestObj()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-int WebDOMTestObj::readOnlyLongAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->readOnlyLongAttr();
-}
-
-WebDOMString WebDOMTestObj::readOnlyStringAttr() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->readOnlyStringAttr());
-}
-
-WebDOMTestObj WebDOMTestObj::readOnlyTestObjAttr() const
-{
-    if (!impl())
-        return WebDOMTestObj();
-
-    return toWebKit(WTF::getPtr(impl()->readOnlyTestObjAttr()));
-}
-
-short WebDOMTestObj::shortAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->shortAttr();
-}
-
-void WebDOMTestObj::setShortAttr(short newShortAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setShortAttr(newShortAttr);
-}
-
-unsigned short WebDOMTestObj::unsignedShortAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->unsignedShortAttr();
-}
-
-void WebDOMTestObj::setUnsignedShortAttr(unsigned short newUnsignedShortAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setUnsignedShortAttr(newUnsignedShortAttr);
-}
-
-int WebDOMTestObj::longAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->longAttr();
-}
-
-void WebDOMTestObj::setLongAttr(int newLongAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setLongAttr(newLongAttr);
-}
-
-long long WebDOMTestObj::longLongAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->longLongAttr();
-}
-
-void WebDOMTestObj::setLongLongAttr(long long newLongLongAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setLongLongAttr(newLongLongAttr);
-}
-
-unsigned long long WebDOMTestObj::unsignedLongLongAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->unsignedLongLongAttr();
-}
-
-void WebDOMTestObj::setUnsignedLongLongAttr(unsigned long long newUnsignedLongLongAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setUnsignedLongLongAttr(newUnsignedLongLongAttr);
-}
-
-WebDOMString WebDOMTestObj::stringAttr() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->stringAttr());
-}
-
-void WebDOMTestObj::setStringAttr(const WebDOMString& newStringAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setStringAttr(newStringAttr);
-}
-
-WebDOMTestObj WebDOMTestObj::testObjAttr() const
-{
-    if (!impl())
-        return WebDOMTestObj();
-
-    return toWebKit(WTF::getPtr(impl()->testObjAttr()));
-}
-
-void WebDOMTestObj::setTestObjAttr(const WebDOMTestObj& newTestObjAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setTestObjAttr(toWebCore(newTestObjAttr));
-}
-
-WebDOMTestObj WebDOMTestObj::XMLObjAttr() const
-{
-    if (!impl())
-        return WebDOMTestObj();
-
-    return toWebKit(WTF::getPtr(impl()->xmlObjAttr()));
-}
-
-void WebDOMTestObj::setXMLObjAttr(const WebDOMTestObj& newXMLObjAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setXMLObjAttr(toWebCore(newXMLObjAttr));
-}
-
-bool WebDOMTestObj::create() const
-{
-    if (!impl())
-        return false;
-
-    return impl()->isCreate();
-}
-
-void WebDOMTestObj::setCreate(bool newCreate)
-{
-    if (!impl())
-        return;
-
-    impl()->setCreate(newCreate);
-}
-
-WebDOMString WebDOMTestObj::reflectedStringAttr() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr));
-}
-
-void WebDOMTestObj::setReflectedStringAttr(const WebDOMString& newReflectedStringAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setAttribute(WebCore::HTMLNames::reflectedstringattrAttr, newReflectedStringAttr);
-}
-
-int WebDOMTestObj::reflectedIntegralAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->getIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr);
-}
-
-void WebDOMTestObj::setReflectedIntegralAttr(int newReflectedIntegralAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr, newReflectedIntegralAttr);
-}
-
-unsigned WebDOMTestObj::reflectedUnsignedIntegralAttr() const
-{
-    if (!impl())
-        return unsigned();
-
-    return impl()->getUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr);
-}
-
-void WebDOMTestObj::setReflectedUnsignedIntegralAttr(unsigned newReflectedUnsignedIntegralAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr, newReflectedUnsignedIntegralAttr);
-}
-
-bool WebDOMTestObj::reflectedBooleanAttr() const
-{
-    if (!impl())
-        return false;
-
-    return impl()->fastHasAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr);
-}
-
-void WebDOMTestObj::setReflectedBooleanAttr(bool newReflectedBooleanAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setBooleanAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr, newReflectedBooleanAttr);
-}
-
-WebDOMString WebDOMTestObj::reflectedURLAttr() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr));
-}
-
-void WebDOMTestObj::setReflectedURLAttr(const WebDOMString& newReflectedURLAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setAttribute(WebCore::HTMLNames::reflectedurlattrAttr, newReflectedURLAttr);
-}
-
-WebDOMString WebDOMTestObj::reflectedStringAttr() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr));
-}
-
-void WebDOMTestObj::setReflectedStringAttr(const WebDOMString& newReflectedStringAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setAttribute(WebCore::HTMLNames::customContentStringAttrAttr, newReflectedStringAttr);
-}
-
-int WebDOMTestObj::reflectedCustomIntegralAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->getIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr);
-}
-
-void WebDOMTestObj::setReflectedCustomIntegralAttr(int newReflectedCustomIntegralAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr, newReflectedCustomIntegralAttr);
-}
-
-bool WebDOMTestObj::reflectedCustomBooleanAttr() const
-{
-    if (!impl())
-        return false;
-
-    return impl()->fastHasAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr);
-}
-
-void WebDOMTestObj::setReflectedCustomBooleanAttr(bool newReflectedCustomBooleanAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setBooleanAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr, newReflectedCustomBooleanAttr);
-}
-
-WebDOMString WebDOMTestObj::reflectedCustomURLAttr() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr));
-}
-
-void WebDOMTestObj::setReflectedCustomURLAttr(const WebDOMString& newReflectedCustomURLAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, newReflectedCustomURLAttr);
-}
-
-int WebDOMTestObj::attrWithGetterException() const
-{
-    if (!impl())
-        return 0;
-
-    WebCore::ExceptionCode ec = 0;
-    int result = impl()->attrWithGetterException(ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-    return result;
-}
-
-void WebDOMTestObj::setAttrWithGetterException(int newAttrWithGetterException)
-{
-    if (!impl())
-        return;
-
-    impl()->setAttrWithGetterException(newAttrWithGetterException);
-}
-
-int WebDOMTestObj::attrWithSetterException() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->attrWithSetterException();
-}
-
-void WebDOMTestObj::setAttrWithSetterException(int newAttrWithSetterException)
-{
-    if (!impl())
-        return;
-
-    WebCore::ExceptionCode ec = 0;
-    impl()->setAttrWithSetterException(newAttrWithSetterException, ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-}
-
-WebDOMString WebDOMTestObj::stringAttrWithGetterException() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    WebCore::ExceptionCode ec = 0;
-    WebDOMString result = impl()->stringAttrWithGetterException(ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-    return static_cast<const WTF::String&>(result);
-}
-
-void WebDOMTestObj::setStringAttrWithGetterException(const WebDOMString& newStringAttrWithGetterException)
-{
-    if (!impl())
-        return;
-
-    impl()->setStringAttrWithGetterException(newStringAttrWithGetterException);
-}
-
-WebDOMString WebDOMTestObj::stringAttrWithSetterException() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->stringAttrWithSetterException());
-}
-
-void WebDOMTestObj::setStringAttrWithSetterException(const WebDOMString& newStringAttrWithSetterException)
-{
-    if (!impl())
-        return;
-
-    WebCore::ExceptionCode ec = 0;
-    impl()->setStringAttrWithSetterException(newStringAttrWithSetterException, ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-}
-
-#if ENABLE(Condition1)
-int WebDOMTestObj::conditionalAttr1() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->conditionalAttr1();
-}
-
-void WebDOMTestObj::setConditionalAttr1(int newConditionalAttr1)
-{
-    if (!impl())
-        return;
-
-    impl()->setConditionalAttr1(newConditionalAttr1);
-}
-
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-int WebDOMTestObj::conditionalAttr2() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->conditionalAttr2();
-}
-
-void WebDOMTestObj::setConditionalAttr2(int newConditionalAttr2)
-{
-    if (!impl())
-        return;
-
-    impl()->setConditionalAttr2(newConditionalAttr2);
-}
-
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-int WebDOMTestObj::conditionalAttr3() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->conditionalAttr3();
-}
-
-void WebDOMTestObj::setConditionalAttr3(int newConditionalAttr3)
-{
-    if (!impl())
-        return;
-
-    impl()->setConditionalAttr3(newConditionalAttr3);
-}
-
-#endif
-WebDOMObject WebDOMTestObj::anyAttribute() const
-{
-    if (!impl())
-        return WebDOMObject();
-
-    return toWebKit(WTF::getPtr(impl()->anyAttribute()));
-}
-
-void WebDOMTestObj::setAnyAttribute(const WebDOMObject& newAnyAttribute)
-{
-    if (!impl())
-        return;
-
-    impl()->setAnyAttribute(toWebCore(newAnyAttribute));
-}
-
-WebDOMDocument WebDOMTestObj::contentDocument() const
-{
-    if (!impl())
-        return WebDOMDocument();
-
-    return toWebKit(WTF::getPtr(impl()->contentDocument()));
-}
-
-WebDOMSVGPoint WebDOMTestObj::mutablePoint() const
-{
-    if (!impl())
-        return WebDOMSVGPoint();
-
-    return toWebKit(WTF::getPtr(impl()->mutablePoint()));
-}
-
-void WebDOMTestObj::setMutablePoint(const WebDOMSVGPoint& newMutablePoint)
-{
-    if (!impl())
-        return;
-
-    impl()->setMutablePoint(toWebCore(newMutablePoint));
-}
-
-WebDOMSVGPoint WebDOMTestObj::immutablePoint() const
-{
-    if (!impl())
-        return WebDOMSVGPoint();
-
-    return toWebKit(WTF::getPtr(impl()->immutablePoint()));
-}
-
-void WebDOMTestObj::setImmutablePoint(const WebDOMSVGPoint& newImmutablePoint)
-{
-    if (!impl())
-        return;
-
-    impl()->setImmutablePoint(toWebCore(newImmutablePoint));
-}
-
-int WebDOMTestObj::strawberry() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->blueberry();
-}
-
-void WebDOMTestObj::setStrawberry(int newStrawberry)
-{
-    if (!impl())
-        return;
-
-    impl()->setBlueberry(newStrawberry);
-}
-
-float WebDOMTestObj::strictFloat() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->strictFloat();
-}
-
-void WebDOMTestObj::setStrictFloat(float newStrictFloat)
-{
-    if (!impl())
-        return;
-
-    impl()->setStrictFloat(newStrictFloat);
-}
-
-int WebDOMTestObj::description() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->description();
-}
-
-int WebDOMTestObj::id() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->id();
-}
-
-void WebDOMTestObj::setId(int newId)
-{
-    if (!impl())
-        return;
-
-    impl()->setId(newId);
-}
-
-WebDOMString WebDOMTestObj::hash() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->hash());
-}
-
-int WebDOMTestObj::replaceableAttribute() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->replaceableAttribute();
-}
-
-double WebDOMTestObj::nullableDoubleAttribute() const
-{
-    if (!impl())
-        return 0;
-
-    bool isNull = false;
-    return impl()->nullableDoubleAttribute(isNull);
-}
-
-int WebDOMTestObj::nullableLongAttribute() const
-{
-    if (!impl())
-        return 0;
-
-    bool isNull = false;
-    return impl()->nullableLongAttribute(isNull);
-}
-
-bool WebDOMTestObj::nullableBooleanAttribute() const
-{
-    if (!impl())
-        return false;
-
-    bool isNull = false;
-    return impl()->nullableBooleanAttribute(isNull);
-}
-
-WebDOMString WebDOMTestObj::nullableStringAttribute() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    bool isNull = false;
-    return static_cast<const WTF::String&>(impl()->nullableStringAttribute(isNull));
-}
-
-int WebDOMTestObj::nullableLongSettableAttribute() const
-{
-    if (!impl())
-        return 0;
-
-    bool isNull = false;
-    return impl()->nullableLongSettableAttribute(isNull);
-}
-
-void WebDOMTestObj::setNullableLongSettableAttribute(int newNullableLongSettableAttribute)
-{
-    if (!impl())
-        return;
-
-    impl()->setNullableLongSettableAttribute(newNullableLongSettableAttribute);
-}
-
-int WebDOMTestObj::nullableStringValue() const
-{
-    if (!impl())
-        return 0;
-
-    bool isNull = false;
-    WebCore::ExceptionCode ec = 0;
-    int result = impl()->nullableStringValue(isNull, ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-    return result;
-}
-
-void WebDOMTestObj::setNullableStringValue(int newNullableStringValue)
-{
-    if (!impl())
-        return;
-
-    impl()->setNullableStringValue(newNullableStringValue);
-}
-
-void WebDOMTestObj::voidMethod()
-{
-    if (!impl())
-        return;
-
-    impl()->voidMethod();
-}
-
-void WebDOMTestObj::voidMethodWithArgs(int longArg, const WebDOMString& strArg, const WebDOMTestObj& objArg)
-{
-    if (!impl())
-        return;
-
-    impl()->voidMethodWithArgs(longArg, strArg, toWebCore(objArg));
-}
-
-int WebDOMTestObj::longMethod()
-{
-    if (!impl())
-        return 0;
-
-    return impl()->longMethod();
-}
-
-int WebDOMTestObj::longMethodWithArgs(int longArg, const WebDOMString& strArg, const WebDOMTestObj& objArg)
-{
-    if (!impl())
-        return 0;
-
-    return impl()->longMethodWithArgs(longArg, strArg, toWebCore(objArg));
-}
-
-WebDOMTestObj WebDOMTestObj::objMethod()
-{
-    if (!impl())
-        return WebDOMTestObj();
-
-    return toWebKit(WTF::getPtr(impl()->objMethod()));
-}
-
-WebDOMTestObj WebDOMTestObj::objMethodWithArgs(int longArg, const WebDOMString& strArg, const WebDOMTestObj& objArg)
-{
-    if (!impl())
-        return WebDOMTestObj();
-
-    return toWebKit(WTF::getPtr(impl()->objMethodWithArgs(longArg, strArg, toWebCore(objArg))));
-}
-
-void WebDOMTestObj::methodWithEnumArg(const WebDOMTestEnumType& enumArg)
-{
-    if (!impl())
-        return;
-
-    impl()->methodWithEnumArg(toWebCore(enumArg));
-}
-
-WebDOMTestObj WebDOMTestObj::methodThatRequiresAllArgsAndThrows(const WebDOMString& strArg, const WebDOMTestObj& objArg)
-{
-    if (!impl())
-        return WebDOMTestObj();
-
-    WebCore::ExceptionCode ec = 0;
-    WebDOMTestObj result = toWebKit(WTF::getPtr(impl()->methodThatRequiresAllArgsAndThrows(strArg, toWebCore(objArg), ec)));
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-    return result;
-}
-
-void WebDOMTestObj::serializedValue(const WebDOMString& serializedArg)
-{
-    if (!impl())
-        return;
-
-    impl()->serializedValue(WebCore::SerializedScriptValue::create(WTF::String(serializedArg)));
-}
-
-void WebDOMTestObj::optionsObject(const WebDOMDictionary& oo, const WebDOMDictionary& ooo)
-{
-    if (!impl())
-        return;
-
-    impl()->optionsObject(toWebCore(oo), toWebCore(ooo));
-}
-
-void WebDOMTestObj::methodWithException()
-{
-    if (!impl())
-        return;
-
-    WebCore::ExceptionCode ec = 0;
-    impl()->methodWithException(ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-}
-
-void WebDOMTestObj::addEventListener(const WebDOMString& type, const WebDOMEventListener& listener, bool useCapture)
-{
-    if (!impl())
-        return;
-
-    impl()->addEventListener(type, toWebCore(listener), useCapture);
-}
-
-void WebDOMTestObj::removeEventListener(const WebDOMString& type, const WebDOMEventListener& listener, bool useCapture)
-{
-    if (!impl())
-        return;
-
-    impl()->removeEventListener(type, toWebCore(listener), useCapture);
-}
-
-void WebDOMTestObj::methodWithOptionalArg(int opt)
-{
-    if (!impl())
-        return;
-
-    impl()->methodWithOptionalArg(opt);
-}
-
-void WebDOMTestObj::methodWithNonOptionalArgAndOptionalArg(int nonOpt, int opt)
-{
-    if (!impl())
-        return;
-
-    impl()->methodWithNonOptionalArgAndOptionalArg(nonOpt, opt);
-}
-
-void WebDOMTestObj::methodWithNonOptionalArgAndTwoOptionalArgs(int nonOpt, int opt1, int opt2)
-{
-    if (!impl())
-        return;
-
-    impl()->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt, opt1, opt2);
-}
-
-void WebDOMTestObj::methodWithOptionalString(const WebDOMString& str)
-{
-    if (!impl())
-        return;
-
-    impl()->methodWithOptionalString(str);
-}
-
-void WebDOMTestObj::methodWithOptionalStringIsUndefined(const WebDOMString& str)
-{
-    if (!impl())
-        return;
-
-    impl()->methodWithOptionalStringIsUndefined(str);
-}
-
-void WebDOMTestObj::methodWithOptionalStringIsNullString(const WebDOMString& str)
-{
-    if (!impl())
-        return;
-
-    impl()->methodWithOptionalStringIsNullString(str);
-}
-
-
-#if ENABLE(Condition1)
-WebDOMString WebDOMTestObj::conditionalMethod1()
-{
-    if (!impl())
-        return WebDOMString();
-
-    return impl()->conditionalMethod1();
-}
-
-#endif
-
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-void WebDOMTestObj::conditionalMethod2()
-{
-    if (!impl())
-        return;
-
-    impl()->conditionalMethod2();
-}
-
-#endif
-
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-void WebDOMTestObj::conditionalMethod3()
-{
-    if (!impl())
-        return;
-
-    impl()->conditionalMethod3();
-}
-
-#endif
-
-void WebDOMTestObj::classMethod()
-{
-    if (!impl())
-        return;
-
-    impl()->classMethod();
-}
-
-int WebDOMTestObj::classMethodWithOptional(int arg)
-{
-    if (!impl())
-        return 0;
-
-    return impl()->classMethodWithOptional(arg);
-}
-
-
-#if ENABLE(Condition1)
-void WebDOMTestObj::overloadedMethod1(int arg)
-{
-    if (!impl())
-        return;
-
-    impl()->overloadedMethod1(arg);
-}
-
-#endif
-
-
-#if ENABLE(Condition1)
-void WebDOMTestObj::overloadedMethod1(const WebDOMString& type)
-{
-    if (!impl())
-        return;
-
-    impl()->overloadedMethod1(type);
-}
-
-#endif
-
-void WebDOMTestObj::convert1(const WebDOMa& value)
-{
-    if (!impl())
-        return;
-
-    impl()->convert1(toWebCore(value));
-}
-
-void WebDOMTestObj::convert2(const WebDOMb& value)
-{
-    if (!impl())
-        return;
-
-    impl()->convert2(toWebCore(value));
-}
-
-void WebDOMTestObj::convert4(const WebDOMd& value)
-{
-    if (!impl())
-        return;
-
-    impl()->convert4(toWebCore(value));
-}
-
-void WebDOMTestObj::convert5(const WebDOMe& value)
-{
-    if (!impl())
-        return;
-
-    impl()->convert5(toWebCore(value));
-}
-
-WebDOMSVGPoint WebDOMTestObj::mutablePointFunction()
-{
-    if (!impl())
-        return WebDOMSVGPoint();
-
-    return toWebKit(WTF::getPtr(impl()->mutablePointFunction()));
-}
-
-WebDOMSVGPoint WebDOMTestObj::immutablePointFunction()
-{
-    if (!impl())
-        return WebDOMSVGPoint();
-
-    return toWebKit(WTF::getPtr(impl()->immutablePointFunction()));
-}
-
-void WebDOMTestObj::orange()
-{
-    if (!impl())
-        return;
-
-    impl()->orange();
-}
-
-WebDOMbool WebDOMTestObj::strictFunction(const WebDOMString& str, float a, int b)
-{
-    if (!impl())
-        return WebDOMbool();
-
-    WebCore::ExceptionCode ec = 0;
-    WebDOMbool result = toWebKit(WTF::getPtr(impl()->strictFunction(str, a, b, ec)));
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-    return result;
-}
-
-void WebDOMTestObj::variadicStringMethod(const WebDOMString& head, const WebDOMString& tail)
-{
-    if (!impl())
-        return;
-
-    impl()->variadicStringMethod(head, tail);
-}
-
-void WebDOMTestObj::variadicDoubleMethod(double head, double tail)
-{
-    if (!impl())
-        return;
-
-    impl()->variadicDoubleMethod(head, tail);
-}
-
-void WebDOMTestObj::variadicNodeMethod(const WebDOMNode& head, const WebDOMNode& tail)
-{
-    if (!impl())
-        return;
-
-    impl()->variadicNodeMethod(toWebCore(head), toWebCore(tail));
-}
-
-WebCore::TestObj* toWebCore(const WebDOMTestObj& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestObj toWebKit(WebCore::TestObj* value)
-{
-    return WebDOMTestObj(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h
deleted file mode 100644
index c1c17d2..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h
+++ /dev/null
@@ -1,216 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestObj_h
-#define WebDOMTestObj_h
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestObj;
-};
-
-class WebDOMDictionary;
-class WebDOMDocument;
-class WebDOMEventListener;
-class WebDOMNode;
-class WebDOMObject;
-class WebDOMSVGPoint;
-class WebDOMString;
-class WebDOMTestEnumType;
-class WebDOMTestObj;
-class WebDOMa;
-class WebDOMb;
-class WebDOMbool;
-class WebDOMd;
-class WebDOMe;
-
-class WebDOMTestObj : public WebDOMObject {
-public:
-    WebDOMTestObj();
-    explicit WebDOMTestObj(WebCore::TestObj*);
-    WebDOMTestObj(const WebDOMTestObj&);
-    WebDOMTestObj& operator=(const WebDOMTestObj&);
-    virtual ~WebDOMTestObj();
-
-    enum {
-#if ENABLE(Condition1)
-        WEBDOM_CONDITIONAL_CONST = 0,
-#endif
-        WEBDOM_CONST_VALUE_0 = 0,
-        WEBDOM_CONST_VALUE_1 = 1,
-        WEBDOM_CONST_VALUE_2 = 2,
-        WEBDOM_CONST_VALUE_4 = 4,
-        WEBDOM_CONST_VALUE_8 = 8,
-        WEBDOM_CONST_VALUE_9 = -1,
-        WEBDOM_CONST_VALUE_10 = "my constant string",
-        WEBDOM_CONST_VALUE_11 = 0xffffffff,
-        WEBDOM_CONST_VALUE_12 = 0x01,
-        WEBDOM_CONST_VALUE_13 = 0X20,
-        WEBDOM_CONST_VALUE_14 = 0x1abc,
-        WEBDOM_CONST_JAVASCRIPT = 15
-    };
-
-    int readOnlyLongAttr() const;
-    WebDOMString readOnlyStringAttr() const;
-    WebDOMTestObj readOnlyTestObjAttr() const;
-    short shortAttr() const;
-    void setShortAttr(short);
-    unsigned short unsignedShortAttr() const;
-    void setUnsignedShortAttr(unsigned short);
-    int longAttr() const;
-    void setLongAttr(int);
-    long long longLongAttr() const;
-    void setLongLongAttr(long long);
-    unsigned long long unsignedLongLongAttr() const;
-    void setUnsignedLongLongAttr(unsigned long long);
-    WebDOMString stringAttr() const;
-    void setStringAttr(const WebDOMString&);
-    WebDOMTestObj testObjAttr() const;
-    void setTestObjAttr(const WebDOMTestObj&);
-    WebDOMTestObj XMLObjAttr() const;
-    void setXMLObjAttr(const WebDOMTestObj&);
-    bool create() const;
-    void setCreate(bool);
-    WebDOMString reflectedStringAttr() const;
-    void setReflectedStringAttr(const WebDOMString&);
-    int reflectedIntegralAttr() const;
-    void setReflectedIntegralAttr(int);
-    unsigned reflectedUnsignedIntegralAttr() const;
-    void setReflectedUnsignedIntegralAttr(unsigned);
-    bool reflectedBooleanAttr() const;
-    void setReflectedBooleanAttr(bool);
-    WebDOMString reflectedURLAttr() const;
-    void setReflectedURLAttr(const WebDOMString&);
-    WebDOMString reflectedStringAttr() const;
-    void setReflectedStringAttr(const WebDOMString&);
-    int reflectedCustomIntegralAttr() const;
-    void setReflectedCustomIntegralAttr(int);
-    bool reflectedCustomBooleanAttr() const;
-    void setReflectedCustomBooleanAttr(bool);
-    WebDOMString reflectedCustomURLAttr() const;
-    void setReflectedCustomURLAttr(const WebDOMString&);
-    int attrWithGetterException() const;
-    void setAttrWithGetterException(int);
-    int attrWithSetterException() const;
-    void setAttrWithSetterException(int);
-    WebDOMString stringAttrWithGetterException() const;
-    void setStringAttrWithGetterException(const WebDOMString&);
-    WebDOMString stringAttrWithSetterException() const;
-    void setStringAttrWithSetterException(const WebDOMString&);
-#if ENABLE(Condition1)
-    int conditionalAttr1() const;
-    void setConditionalAttr1(int);
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-    int conditionalAttr2() const;
-    void setConditionalAttr2(int);
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    int conditionalAttr3() const;
-    void setConditionalAttr3(int);
-#endif
-    WebDOMObject anyAttribute() const;
-    void setAnyAttribute(const WebDOMObject&);
-    WebDOMDocument contentDocument() const;
-    WebDOMSVGPoint mutablePoint() const;
-    void setMutablePoint(const WebDOMSVGPoint&);
-    WebDOMSVGPoint immutablePoint() const;
-    void setImmutablePoint(const WebDOMSVGPoint&);
-    int strawberry() const;
-    void setStrawberry(int);
-    float strictFloat() const;
-    void setStrictFloat(float);
-    int description() const;
-    int id() const;
-    void setId(int);
-    WebDOMString hash() const;
-    int replaceableAttribute() const;
-    double nullableDoubleAttribute() const;
-    int nullableLongAttribute() const;
-    bool nullableBooleanAttribute() const;
-    WebDOMString nullableStringAttribute() const;
-    int nullableLongSettableAttribute() const;
-    void setNullableLongSettableAttribute(int);
-    int nullableStringValue() const;
-    void setNullableStringValue(int);
-
-    void voidMethod();
-    void voidMethodWithArgs(int longArg, const WebDOMString& strArg, const WebDOMTestObj& objArg);
-    int longMethod();
-    int longMethodWithArgs(int longArg, const WebDOMString& strArg, const WebDOMTestObj& objArg);
-    WebDOMTestObj objMethod();
-    WebDOMTestObj objMethodWithArgs(int longArg, const WebDOMString& strArg, const WebDOMTestObj& objArg);
-    void methodWithEnumArg(const WebDOMTestEnumType& enumArg);
-    WebDOMTestObj methodThatRequiresAllArgsAndThrows(const WebDOMString& strArg, const WebDOMTestObj& objArg);
-    void serializedValue(const WebDOMString& serializedArg);
-    void optionsObject(const WebDOMDictionary& oo, const WebDOMDictionary& ooo);
-    void methodWithException();
-    void addEventListener(const WebDOMString& type, const WebDOMEventListener& listener, bool useCapture);
-    void removeEventListener(const WebDOMString& type, const WebDOMEventListener& listener, bool useCapture);
-    void methodWithOptionalArg(int opt);
-    void methodWithNonOptionalArgAndOptionalArg(int nonOpt, int opt);
-    void methodWithNonOptionalArgAndTwoOptionalArgs(int nonOpt, int opt1, int opt2);
-    void methodWithOptionalString(const WebDOMString& str);
-    void methodWithOptionalStringIsUndefined(const WebDOMString& str);
-    void methodWithOptionalStringIsNullString(const WebDOMString& str);
-#if ENABLE(Condition1)
-    WebDOMString conditionalMethod1();
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-    void conditionalMethod2();
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    void conditionalMethod3();
-#endif
-    void classMethod();
-    int classMethodWithOptional(int arg);
-#if ENABLE(Condition1)
-    void overloadedMethod1(int arg);
-#endif
-#if ENABLE(Condition1)
-    void overloadedMethod1(const WebDOMString& type);
-#endif
-    void convert1(const WebDOMa& value);
-    void convert2(const WebDOMb& value);
-    void convert4(const WebDOMd& value);
-    void convert5(const WebDOMe& value);
-    WebDOMSVGPoint mutablePointFunction();
-    WebDOMSVGPoint immutablePointFunction();
-    void banana();
-    WebDOMbool strictFunction(const WebDOMString& str, float a, int b);
-    void variadicStringMethod(const WebDOMString& head, const WebDOMString& tail);
-    void variadicDoubleMethod(double head, double tail);
-    void variadicNodeMethod(const WebDOMNode& head, const WebDOMNode& tail);
-
-    WebCore::TestObj* impl() const;
-
-protected:
-    struct WebDOMTestObjPrivate;
-    WebDOMTestObjPrivate* m_impl;
-};
-
-WebCore::TestObj* toWebCore(const WebDOMTestObj&);
-WebDOMTestObj toWebKit(WebCore::TestObj*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.cpp
deleted file mode 100644
index 2aca23a..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.cpp
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestOverloadedConstructors.h"
-
-#include "WebExceptionHandler.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestOverloadedConstructors::WebDOMTestOverloadedConstructorsPrivate {
-    WebDOMTestOverloadedConstructorsPrivate(WebCore::TestOverloadedConstructors* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestOverloadedConstructors> impl;
-};
-
-WebDOMTestOverloadedConstructors::WebDOMTestOverloadedConstructors()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestOverloadedConstructors::WebDOMTestOverloadedConstructors(WebCore::TestOverloadedConstructors* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestOverloadedConstructorsPrivate(impl))
-{
-}
-
-WebDOMTestOverloadedConstructors::WebDOMTestOverloadedConstructors(const WebDOMTestOverloadedConstructors& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestOverloadedConstructorsPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestOverloadedConstructors& WebDOMTestOverloadedConstructors::operator=(const WebDOMTestOverloadedConstructors& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestOverloadedConstructorsPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestOverloadedConstructors* WebDOMTestOverloadedConstructors::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestOverloadedConstructors::~WebDOMTestOverloadedConstructors()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-WebCore::TestOverloadedConstructors* toWebCore(const WebDOMTestOverloadedConstructors& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestOverloadedConstructors toWebKit(WebCore::TestOverloadedConstructors* value)
-{
-    return WebDOMTestOverloadedConstructors(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.h
deleted file mode 100644
index 8ab812b..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestOverloadedConstructors_h
-#define WebDOMTestOverloadedConstructors_h
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestOverloadedConstructors;
-};
-
-
-class WebDOMTestOverloadedConstructors : public WebDOMObject {
-public:
-    WebDOMTestOverloadedConstructors();
-    explicit WebDOMTestOverloadedConstructors(WebCore::TestOverloadedConstructors*);
-    WebDOMTestOverloadedConstructors(const WebDOMTestOverloadedConstructors&);
-    WebDOMTestOverloadedConstructors& operator=(const WebDOMTestOverloadedConstructors&);
-    virtual ~WebDOMTestOverloadedConstructors();
-
-
-    WebCore::TestOverloadedConstructors* impl() const;
-
-protected:
-    struct WebDOMTestOverloadedConstructorsPrivate;
-    WebDOMTestOverloadedConstructorsPrivate* m_impl;
-};
-
-WebCore::TestOverloadedConstructors* toWebCore(const WebDOMTestOverloadedConstructors&);
-WebDOMTestOverloadedConstructors toWebKit(WebCore::TestOverloadedConstructors*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp
deleted file mode 100644
index e1e8f50..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#include "WebDOMTestSerializedScriptValueInterface.h"
-
-#include "Array.h"
-#include "MessagePortArray.h"
-#include "SerializedScriptValue.h"
-#include "WebDOMArray.h"
-#include "WebDOMMessagePortArray.h"
-#include "WebExceptionHandler.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterfacePrivate {
-    WebDOMTestSerializedScriptValueInterfacePrivate(WebCore::TestSerializedScriptValueInterface* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestSerializedScriptValueInterface> impl;
-};
-
-WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterface()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterface(WebCore::TestSerializedScriptValueInterface* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestSerializedScriptValueInterfacePrivate(impl))
-{
-}
-
-WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterface(const WebDOMTestSerializedScriptValueInterface& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestSerializedScriptValueInterfacePrivate(copy.impl()) : 0;
-}
-
-WebDOMTestSerializedScriptValueInterface& WebDOMTestSerializedScriptValueInterface::operator=(const WebDOMTestSerializedScriptValueInterface& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestSerializedScriptValueInterfacePrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestSerializedScriptValueInterface* WebDOMTestSerializedScriptValueInterface::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestSerializedScriptValueInterface::~WebDOMTestSerializedScriptValueInterface()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-WebDOMString WebDOMTestSerializedScriptValueInterface::value() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return impl()->value()->toString();
-}
-
-void WebDOMTestSerializedScriptValueInterface::setValue(const WebDOMString& newValue)
-{
-    if (!impl())
-        return;
-
-    impl()->setValue(WebCore::SerializedScriptValue::create(WTF::String(newValue)));
-}
-
-WebDOMString WebDOMTestSerializedScriptValueInterface::readonlyValue() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return impl()->readonlyValue()->toString();
-}
-
-WebDOMString WebDOMTestSerializedScriptValueInterface::cachedValue() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return impl()->cachedValue()->toString();
-}
-
-void WebDOMTestSerializedScriptValueInterface::setCachedValue(const WebDOMString& newCachedValue)
-{
-    if (!impl())
-        return;
-
-    impl()->setCachedValue(WebCore::SerializedScriptValue::create(WTF::String(newCachedValue)));
-}
-
-WebDOMMessagePortArray WebDOMTestSerializedScriptValueInterface::ports() const
-{
-    if (!impl())
-        return WebDOMMessagePortArray();
-
-    return toWebKit(WTF::getPtr(impl()->ports()));
-}
-
-WebDOMString WebDOMTestSerializedScriptValueInterface::cachedReadonlyValue() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return impl()->cachedReadonlyValue()->toString();
-}
-
-void WebDOMTestSerializedScriptValueInterface::acceptTransferList(const WebDOMString& data, const WebDOMArray& transferList)
-{
-    if (!impl())
-        return;
-
-    impl()->acceptTransferList(WebCore::SerializedScriptValue::create(WTF::String(data)), toWebCore(transferList));
-}
-
-void WebDOMTestSerializedScriptValueInterface::multiTransferList(const WebDOMString& first, const WebDOMArray& tx, const WebDOMString& second, const WebDOMArray& txx)
-{
-    if (!impl())
-        return;
-
-    impl()->multiTransferList(WebCore::SerializedScriptValue::create(WTF::String(first)), toWebCore(tx), WebCore::SerializedScriptValue::create(WTF::String(second)), toWebCore(txx));
-}
-
-WebCore::TestSerializedScriptValueInterface* toWebCore(const WebDOMTestSerializedScriptValueInterface& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestSerializedScriptValueInterface toWebKit(WebCore::TestSerializedScriptValueInterface* value)
-{
-    return WebDOMTestSerializedScriptValueInterface(value);
-}
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h
deleted file mode 100644
index 13e5655..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestSerializedScriptValueInterface_h
-#define WebDOMTestSerializedScriptValueInterface_h
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestSerializedScriptValueInterface;
-};
-
-class WebDOMArray;
-class WebDOMMessagePortArray;
-class WebDOMString;
-
-class WebDOMTestSerializedScriptValueInterface : public WebDOMObject {
-public:
-    WebDOMTestSerializedScriptValueInterface();
-    explicit WebDOMTestSerializedScriptValueInterface(WebCore::TestSerializedScriptValueInterface*);
-    WebDOMTestSerializedScriptValueInterface(const WebDOMTestSerializedScriptValueInterface&);
-    WebDOMTestSerializedScriptValueInterface& operator=(const WebDOMTestSerializedScriptValueInterface&);
-    virtual ~WebDOMTestSerializedScriptValueInterface();
-
-    WebDOMString value() const;
-    void setValue(const WebDOMString&);
-    WebDOMString readonlyValue() const;
-    WebDOMString cachedValue() const;
-    void setCachedValue(const WebDOMString&);
-    WebDOMMessagePortArray ports() const;
-    WebDOMString cachedReadonlyValue() const;
-
-    void acceptTransferList(const WebDOMString& data, const WebDOMArray& transferList);
-    void multiTransferList(const WebDOMString& first, const WebDOMArray& tx, const WebDOMString& second, const WebDOMArray& txx);
-
-    WebCore::TestSerializedScriptValueInterface* impl() const;
-
-protected:
-    struct WebDOMTestSerializedScriptValueInterfacePrivate;
-    WebDOMTestSerializedScriptValueInterfacePrivate* m_impl;
-};
-
-WebCore::TestSerializedScriptValueInterface* toWebCore(const WebDOMTestSerializedScriptValueInterface&);
-WebDOMTestSerializedScriptValueInterface toWebKit(WebCore::TestSerializedScriptValueInterface*);
-
-#endif
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSupplemental.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSupplemental.cpp
deleted file mode 100644
index 05ae6a0..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSupplemental.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that WebDOMTestSupplemental.h and
-    WebDOMTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate WebDOMTestSupplemental.h and
-    WebDOMTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSupplemental.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSupplemental.h
deleted file mode 100644
index 05ae6a0..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestSupplemental.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that WebDOMTestSupplemental.h and
-    WebDOMTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate WebDOMTestSupplemental.h and
-    WebDOMTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp
deleted file mode 100644
index d016a34..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp
+++ /dev/null
@@ -1,245 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebDOMTestTypedefs.h"
-
-#include "Array.h"
-#include "KURL.h"
-#include "SVGPoint.h"
-#include "SerializedScriptValue.h"
-#include "WebDOMArray.h"
-#include "WebDOMSVGPoint.h"
-#include "WebDOMString.h"
-#include "WebExceptionHandler.h"
-#include "wtf/text/AtomicString.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-struct WebDOMTestTypedefs::WebDOMTestTypedefsPrivate {
-    WebDOMTestTypedefsPrivate(WebCore::TestTypedefs* object = 0)
-        : impl(object)
-    {
-    }
-
-    RefPtr<WebCore::TestTypedefs> impl;
-};
-
-WebDOMTestTypedefs::WebDOMTestTypedefs()
-    : WebDOMObject()
-    , m_impl(0)
-{
-}
-
-WebDOMTestTypedefs::WebDOMTestTypedefs(WebCore::TestTypedefs* impl)
-    : WebDOMObject()
-    , m_impl(new WebDOMTestTypedefsPrivate(impl))
-{
-}
-
-WebDOMTestTypedefs::WebDOMTestTypedefs(const WebDOMTestTypedefs& copy)
-    : WebDOMObject()
-{
-    m_impl = copy.impl() ? new WebDOMTestTypedefsPrivate(copy.impl()) : 0;
-}
-
-WebDOMTestTypedefs& WebDOMTestTypedefs::operator=(const WebDOMTestTypedefs& copy)
-{
-    delete m_impl;
-    m_impl = copy.impl() ? new WebDOMTestTypedefsPrivate(copy.impl()) : 0;
-    return *this;
-}
-
-WebCore::TestTypedefs* WebDOMTestTypedefs::impl() const
-{
-    return m_impl ? WTF::getPtr(m_impl->impl) : 0;
-}
-
-WebDOMTestTypedefs::~WebDOMTestTypedefs()
-{
-    delete m_impl;
-    m_impl = 0;
-}
-
-unsigned long long WebDOMTestTypedefs::unsignedLongLongAttr() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->unsignedLongLongAttr();
-}
-
-void WebDOMTestTypedefs::setUnsignedLongLongAttr(unsigned long long newUnsignedLongLongAttr)
-{
-    if (!impl())
-        return;
-
-    impl()->setUnsignedLongLongAttr(newUnsignedLongLongAttr);
-}
-
-WebDOMString WebDOMTestTypedefs::immutableSerializedScriptValue() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return impl()->immutableSerializedScriptValue()->toString();
-}
-
-void WebDOMTestTypedefs::setImmutableSerializedScriptValue(const WebDOMString& newImmutableSerializedScriptValue)
-{
-    if (!impl())
-        return;
-
-    impl()->setImmutableSerializedScriptValue(WebCore::SerializedScriptValue::create(WTF::String(newImmutableSerializedScriptValue)));
-}
-
-int WebDOMTestTypedefs::attrWithGetterException() const
-{
-    if (!impl())
-        return 0;
-
-    WebCore::ExceptionCode ec = 0;
-    int result = impl()->attrWithGetterException(ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-    return result;
-}
-
-void WebDOMTestTypedefs::setAttrWithGetterException(int newAttrWithGetterException)
-{
-    if (!impl())
-        return;
-
-    impl()->setAttrWithGetterException(newAttrWithGetterException);
-}
-
-int WebDOMTestTypedefs::attrWithSetterException() const
-{
-    if (!impl())
-        return 0;
-
-    return impl()->attrWithSetterException();
-}
-
-void WebDOMTestTypedefs::setAttrWithSetterException(int newAttrWithSetterException)
-{
-    if (!impl())
-        return;
-
-    WebCore::ExceptionCode ec = 0;
-    impl()->setAttrWithSetterException(newAttrWithSetterException, ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-}
-
-WebDOMString WebDOMTestTypedefs::stringAttrWithGetterException() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    WebCore::ExceptionCode ec = 0;
-    WebDOMString result = impl()->stringAttrWithGetterException(ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-    return static_cast<const WTF::String&>(result);
-}
-
-void WebDOMTestTypedefs::setStringAttrWithGetterException(const WebDOMString& newStringAttrWithGetterException)
-{
-    if (!impl())
-        return;
-
-    impl()->setStringAttrWithGetterException(newStringAttrWithGetterException);
-}
-
-WebDOMString WebDOMTestTypedefs::stringAttrWithSetterException() const
-{
-    if (!impl())
-        return WebDOMString();
-
-    return static_cast<const WTF::String&>(impl()->stringAttrWithSetterException());
-}
-
-void WebDOMTestTypedefs::setStringAttrWithSetterException(const WebDOMString& newStringAttrWithSetterException)
-{
-    if (!impl())
-        return;
-
-    WebCore::ExceptionCode ec = 0;
-    impl()->setStringAttrWithSetterException(newStringAttrWithSetterException, ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-}
-
-void WebDOMTestTypedefs::func(const WebDOMlong[]& x)
-{
-    if (!impl())
-        return;
-
-    impl()->func(toWebCore(x));
-}
-
-void WebDOMTestTypedefs::multiTransferList(const WebDOMString& first, const WebDOMArray& tx, const WebDOMString& second, const WebDOMArray& txx)
-{
-    if (!impl())
-        return;
-
-    impl()->multiTransferList(WebCore::SerializedScriptValue::create(WTF::String(first)), toWebCore(tx), WebCore::SerializedScriptValue::create(WTF::String(second)), toWebCore(txx));
-}
-
-void WebDOMTestTypedefs::setShadow(float width, float height, float blur, const WebDOMString& color, float alpha)
-{
-    if (!impl())
-        return;
-
-    impl()->setShadow(width, height, blur, color, alpha);
-}
-
-void WebDOMTestTypedefs::nullableArrayArg(const WebDOMDOMString[]& arrayArg)
-{
-    if (!impl())
-        return;
-
-    impl()->nullableArrayArg(toWebCore(arrayArg));
-}
-
-WebDOMSVGPoint WebDOMTestTypedefs::immutablePointFunction()
-{
-    if (!impl())
-        return WebDOMSVGPoint();
-
-    return toWebKit(WTF::getPtr(impl()->immutablePointFunction()));
-}
-
-void WebDOMTestTypedefs::methodWithException()
-{
-    if (!impl())
-        return;
-
-    WebCore::ExceptionCode ec = 0;
-    impl()->methodWithException(ec);
-    webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
-}
-
-WebCore::TestTypedefs* toWebCore(const WebDOMTestTypedefs& wrapper)
-{
-    return wrapper.impl();
-}
-
-WebDOMTestTypedefs toWebKit(WebCore::TestTypedefs* value)
-{
-    return WebDOMTestTypedefs(value);
-}
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestTypedefs.h b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestTypedefs.h
deleted file mode 100644
index 7dc1925..0000000
--- a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestTypedefs.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebDOMTestTypedefs_h
-#define WebDOMTestTypedefs_h
-
-#include <WebDOMObject.h>
-#include <WebDOMString.h>
-
-namespace WebCore {
-class TestTypedefs;
-};
-
-class WebDOMArray;
-class WebDOMDOMString[];
-class WebDOMSVGPoint;
-class WebDOMString;
-class WebDOMlong[];
-
-class WebDOMTestTypedefs : public WebDOMObject {
-public:
-    WebDOMTestTypedefs();
-    explicit WebDOMTestTypedefs(WebCore::TestTypedefs*);
-    WebDOMTestTypedefs(const WebDOMTestTypedefs&);
-    WebDOMTestTypedefs& operator=(const WebDOMTestTypedefs&);
-    virtual ~WebDOMTestTypedefs();
-
-    unsigned long long unsignedLongLongAttr() const;
-    void setUnsignedLongLongAttr(unsigned long long);
-    WebDOMString immutableSerializedScriptValue() const;
-    void setImmutableSerializedScriptValue(const WebDOMString&);
-    int attrWithGetterException() const;
-    void setAttrWithGetterException(int);
-    int attrWithSetterException() const;
-    void setAttrWithSetterException(int);
-    WebDOMString stringAttrWithGetterException() const;
-    void setStringAttrWithGetterException(const WebDOMString&);
-    WebDOMString stringAttrWithSetterException() const;
-    void setStringAttrWithSetterException(const WebDOMString&);
-
-    void func(const WebDOMlong[]& x);
-    void multiTransferList(const WebDOMString& first, const WebDOMArray& tx, const WebDOMString& second, const WebDOMArray& txx);
-    void setShadow(float width, float height, float blur, const WebDOMString& color, float alpha);
-    void nullableArrayArg(const WebDOMDOMString[]& arrayArg);
-    WebDOMSVGPoint immutablePointFunction();
-    void methodWithException();
-
-    WebCore::TestTypedefs* impl() const;
-
-protected:
-    struct WebDOMTestTypedefsPrivate;
-    WebDOMTestTypedefsPrivate* m_impl;
-};
-
-WebCore::TestTypedefs* toWebCore(const WebDOMTestTypedefs&);
-WebDOMTestTypedefs toWebKit(WebCore::TestTypedefs*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/GObject/GObjectTestSupplemental.cpp b/Source/WebCore/bindings/scripts/test/GObject/GObjectTestSupplemental.cpp
deleted file mode 100644
index e318ce5..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/GObjectTestSupplemental.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that GObjectTestSupplemental.h and
-    GObjectTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate GObjectTestSupplemental.h and
-    GObjectTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/GObject/GObjectTestSupplemental.h b/Source/WebCore/bindings/scripts/test/GObject/GObjectTestSupplemental.h
deleted file mode 100644
index e318ce5..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/GObjectTestSupplemental.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that GObjectTestSupplemental.h and
-    GObjectTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate GObjectTestSupplemental.h and
-    GObjectTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMFloat64Array.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMFloat64Array.cpp
deleted file mode 100644
index 59d0461..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMFloat64Array.cpp
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMFloat64Array.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMFloat32ArrayPrivate.h"
-#include "WebKitDOMFloat64ArrayPrivate.h"
-#include "WebKitDOMInt32ArrayPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-namespace WebKit {
-
-WebKitDOMFloat64Array* kit(WebCore::Float64Array* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_FLOAT64ARRAY(ret);
-
-    return wrapFloat64Array(obj);
-}
-
-WebCore::Float64Array* core(WebKitDOMFloat64Array* request)
-{
-    return request ? static_cast<WebCore::Float64Array*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMFloat64Array* wrapFloat64Array(WebCore::Float64Array* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_FLOAT64ARRAY(g_object_new(WEBKIT_TYPE_DOM_FLOAT64ARRAY, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMFloat64Array, webkit_dom_float64array, WEBKIT_TYPE_DOM_ARRAY_BUFFER_VIEW)
-
-static void webkit_dom_float64array_class_init(WebKitDOMFloat64ArrayClass* requestClass)
-{
-}
-
-static void webkit_dom_float64array_init(WebKitDOMFloat64Array* request)
-{
-}
-
-WebKitDOMInt32Array*
-webkit_dom_float64array_foo(WebKitDOMFloat64Array* self, WebKitDOMFloat32Array* array)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_FLOAT64ARRAY(self), 0);
-    g_return_val_if_fail(WEBKIT_DOM_IS_FLOAT32ARRAY(array), 0);
-    WebCore::Float64Array* item = WebKit::core(self);
-    WebCore::Float32Array* convertedArray = WebKit::core(array);
-    RefPtr<WebCore::Int32Array> gobjectResult = WTF::getPtr(item->foo(convertedArray));
-    return WebKit::kit(gobjectResult.get());
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMFloat64Array.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMFloat64Array.h
deleted file mode 100644
index 4dda259..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMFloat64Array.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMFloat64Array_h
-#define WebKitDOMFloat64Array_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMArrayBufferView.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_FLOAT64ARRAY            (webkit_dom_float64array_get_type())
-#define WEBKIT_DOM_FLOAT64ARRAY(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_FLOAT64ARRAY, WebKitDOMFloat64Array))
-#define WEBKIT_DOM_FLOAT64ARRAY_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_FLOAT64ARRAY, WebKitDOMFloat64ArrayClass)
-#define WEBKIT_DOM_IS_FLOAT64ARRAY(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_FLOAT64ARRAY))
-#define WEBKIT_DOM_IS_FLOAT64ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_FLOAT64ARRAY))
-#define WEBKIT_DOM_FLOAT64ARRAY_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_FLOAT64ARRAY, WebKitDOMFloat64ArrayClass))
-
-struct _WebKitDOMFloat64Array {
-    WebKitDOMArrayBufferView parent_instance;
-};
-
-struct _WebKitDOMFloat64ArrayClass {
-    WebKitDOMArrayBufferViewClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_float64array_get_type (void);
-
-/**
- * webkit_dom_float64array_foo:
- * @self: A #WebKitDOMFloat64Array
- * @array: A #WebKitDOMFloat32Array
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMInt32Array*
-webkit_dom_float64array_foo(WebKitDOMFloat64Array* self, WebKitDOMFloat32Array* array);
-
-G_END_DECLS
-
-#endif /* WebKitDOMFloat64Array_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMFloat64ArrayPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMFloat64ArrayPrivate.h
deleted file mode 100644
index fc8ea85..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMFloat64ArrayPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMFloat64ArrayPrivate_h
-#define WebKitDOMFloat64ArrayPrivate_h
-
-#include "Float64Array.h"
-#include <webkitdom/WebKitDOMFloat64Array.h>
-
-namespace WebKit {
-WebKitDOMFloat64Array* wrapFloat64Array(WebCore::Float64Array*);
-WebCore::Float64Array* core(WebKitDOMFloat64Array* request);
-WebKitDOMFloat64Array* kit(WebCore::Float64Array* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMFloat64ArrayPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.cpp
deleted file mode 100644
index c26e9d3..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.cpp
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestActiveDOMObject.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMNodePrivate.h"
-#include "WebKitDOMTestActiveDOMObjectPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_ACTIVE_DOM_OBJECT, WebKitDOMTestActiveDOMObjectPrivate)
-
-typedef struct _WebKitDOMTestActiveDOMObjectPrivate {
-    RefPtr<WebCore::TestActiveDOMObject> coreObject;
-} WebKitDOMTestActiveDOMObjectPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestActiveDOMObject* kit(WebCore::TestActiveDOMObject* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT(ret);
-
-    return wrapTestActiveDOMObject(obj);
-}
-
-WebCore::TestActiveDOMObject* core(WebKitDOMTestActiveDOMObject* request)
-{
-    return request ? static_cast<WebCore::TestActiveDOMObject*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestActiveDOMObject* wrapTestActiveDOMObject(WebCore::TestActiveDOMObject* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT(g_object_new(WEBKIT_TYPE_DOM_TEST_ACTIVE_DOM_OBJECT, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMTestActiveDOMObject, webkit_dom_test_active_dom_object, WEBKIT_TYPE_DOM_OBJECT)
-
-enum {
-    PROP_0,
-    PROP_EXCITING_ATTR,
-};
-
-static void webkit_dom_test_active_dom_object_finalize(GObject* object)
-{
-    WebKitDOMTestActiveDOMObjectPrivate* priv = WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestActiveDOMObjectPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_active_dom_object_parent_class)->finalize(object);
-}
-
-static void webkit_dom_test_active_dom_object_get_property(GObject* object, guint propertyId, GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-
-    WebKitDOMTestActiveDOMObject* self = WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT(object);
-    WebCore::TestActiveDOMObject* coreSelf = WebKit::core(self);
-
-    switch (propertyId) {
-    case PROP_EXCITING_ATTR: {
-        g_value_set_long(value, coreSelf->excitingAttr());
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static GObject* webkit_dom_test_active_dom_object_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_active_dom_object_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestActiveDOMObjectPrivate* priv = WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestActiveDOMObject*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_active_dom_object_class_init(WebKitDOMTestActiveDOMObjectClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestActiveDOMObjectPrivate));
-    gobjectClass->constructor = webkit_dom_test_active_dom_object_constructor;
-    gobjectClass->finalize = webkit_dom_test_active_dom_object_finalize;
-    gobjectClass->get_property = webkit_dom_test_active_dom_object_get_property;
-
-    g_object_class_install_property(gobjectClass,
-                                    PROP_EXCITING_ATTR,
-                                    g_param_spec_long("exciting-attr", /* name */
-                                                           "test_active_dom_object_exciting-attr", /* short description */
-                                                           "read-only  glong TestActiveDOMObject.exciting-attr", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READABLE));
-}
-
-static void webkit_dom_test_active_dom_object_init(WebKitDOMTestActiveDOMObject* request)
-{
-    WebKitDOMTestActiveDOMObjectPrivate* priv = WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestActiveDOMObjectPrivate();
-}
-
-void
-webkit_dom_test_active_dom_object_exciting_function(WebKitDOMTestActiveDOMObject* self, WebKitDOMNode* nextChild)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_ACTIVE_DOM_OBJECT(self));
-    g_return_if_fail(WEBKIT_DOM_IS_NODE(nextChild));
-    WebCore::TestActiveDOMObject* item = WebKit::core(self);
-    WebCore::Node* convertedNextChild = WebKit::core(nextChild);
-    item->excitingFunction(convertedNextChild);
-}
-
-void
-webkit_dom_test_active_dom_object_post_message(WebKitDOMTestActiveDOMObject* self, const gchar* message)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_ACTIVE_DOM_OBJECT(self));
-    g_return_if_fail(message);
-    WebCore::TestActiveDOMObject* item = WebKit::core(self);
-    WTF::String convertedMessage = WTF::String::fromUTF8(message);
-    item->postMessage(convertedMessage);
-}
-
-glong
-webkit_dom_test_active_dom_object_get_exciting_attr(WebKitDOMTestActiveDOMObject* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_ACTIVE_DOM_OBJECT(self), 0);
-    WebCore::TestActiveDOMObject* item = WebKit::core(self);
-    glong result = item->excitingAttr();
-    return result;
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.h
deleted file mode 100644
index 9d4f7fc..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestActiveDOMObject_h
-#define WebKitDOMTestActiveDOMObject_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_ACTIVE_DOM_OBJECT            (webkit_dom_test_active_dom_object_get_type())
-#define WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_ACTIVE_DOM_OBJECT, WebKitDOMTestActiveDOMObject))
-#define WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_ACTIVE_DOM_OBJECT, WebKitDOMTestActiveDOMObjectClass)
-#define WEBKIT_DOM_IS_TEST_ACTIVE_DOM_OBJECT(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_ACTIVE_DOM_OBJECT))
-#define WEBKIT_DOM_IS_TEST_ACTIVE_DOM_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_ACTIVE_DOM_OBJECT))
-#define WEBKIT_DOM_TEST_ACTIVE_DOM_OBJECT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_ACTIVE_DOM_OBJECT, WebKitDOMTestActiveDOMObjectClass))
-
-struct _WebKitDOMTestActiveDOMObject {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestActiveDOMObjectClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_active_dom_object_get_type (void);
-
-/**
- * webkit_dom_test_active_dom_object_exciting_function:
- * @self: A #WebKitDOMTestActiveDOMObject
- * @nextChild: A #WebKitDOMNode
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_active_dom_object_exciting_function(WebKitDOMTestActiveDOMObject* self, WebKitDOMNode* nextChild);
-
-/**
- * webkit_dom_test_active_dom_object_post_message:
- * @self: A #WebKitDOMTestActiveDOMObject
- * @message: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_active_dom_object_post_message(WebKitDOMTestActiveDOMObject* self, const gchar* message);
-
-/**
- * webkit_dom_test_active_dom_object_get_exciting_attr:
- * @self: A #WebKitDOMTestActiveDOMObject
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_active_dom_object_get_exciting_attr(WebKitDOMTestActiveDOMObject* self);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestActiveDOMObject_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObjectPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObjectPrivate.h
deleted file mode 100644
index 984ee76..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObjectPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestActiveDOMObjectPrivate_h
-#define WebKitDOMTestActiveDOMObjectPrivate_h
-
-#include "TestActiveDOMObject.h"
-#include <webkitdom/WebKitDOMTestActiveDOMObject.h>
-
-namespace WebKit {
-WebKitDOMTestActiveDOMObject* wrapTestActiveDOMObject(WebCore::TestActiveDOMObject*);
-WebCore::TestActiveDOMObject* core(WebKitDOMTestActiveDOMObject* request);
-WebKitDOMTestActiveDOMObject* kit(WebCore::TestActiveDOMObject* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestActiveDOMObjectPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp
deleted file mode 100644
index ade6eea..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp
+++ /dev/null
@@ -1,233 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestCallback.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMClass1Private.h"
-#include "WebKitDOMClass2Private.h"
-#include "WebKitDOMClass3Private.h"
-#include "WebKitDOMClass8Private.h"
-#include "WebKitDOMDOMStringListPrivate.h"
-#include "WebKitDOMTestCallbackPrivate.h"
-#include "WebKitDOMThisClassPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_CALLBACK_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_CALLBACK, WebKitDOMTestCallbackPrivate)
-
-typedef struct _WebKitDOMTestCallbackPrivate {
-#if ENABLE(SQL_DATABASE)
-    RefPtr<WebCore::TestCallback> coreObject;
-#endif // ENABLE(SQL_DATABASE)
-} WebKitDOMTestCallbackPrivate;
-
-#if ENABLE(SQL_DATABASE)
-
-namespace WebKit {
-
-WebKitDOMTestCallback* kit(WebCore::TestCallback* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_CALLBACK(ret);
-
-    return wrapTestCallback(obj);
-}
-
-WebCore::TestCallback* core(WebKitDOMTestCallback* request)
-{
-    return request ? static_cast<WebCore::TestCallback*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestCallback* wrapTestCallback(WebCore::TestCallback* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_CALLBACK(g_object_new(WEBKIT_TYPE_DOM_TEST_CALLBACK, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-#endif // ENABLE(SQL_DATABASE)
-
-G_DEFINE_TYPE(WebKitDOMTestCallback, webkit_dom_test_callback, WEBKIT_TYPE_DOM_OBJECT)
-
-static void webkit_dom_test_callback_finalize(GObject* object)
-{
-    WebKitDOMTestCallbackPrivate* priv = WEBKIT_DOM_TEST_CALLBACK_GET_PRIVATE(object);
-#if ENABLE(SQL_DATABASE)
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-#endif // ENABLE(SQL_DATABASE)
-    priv->~WebKitDOMTestCallbackPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_callback_parent_class)->finalize(object);
-}
-
-static GObject* webkit_dom_test_callback_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_callback_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-#if ENABLE(SQL_DATABASE)
-    WebKitDOMTestCallbackPrivate* priv = WEBKIT_DOM_TEST_CALLBACK_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestCallback*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-#endif // ENABLE(SQL_DATABASE)
-    return object;
-}
-
-static void webkit_dom_test_callback_class_init(WebKitDOMTestCallbackClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestCallbackPrivate));
-    gobjectClass->constructor = webkit_dom_test_callback_constructor;
-    gobjectClass->finalize = webkit_dom_test_callback_finalize;
-}
-
-static void webkit_dom_test_callback_init(WebKitDOMTestCallback* request)
-{
-    WebKitDOMTestCallbackPrivate* priv = WEBKIT_DOM_TEST_CALLBACK_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestCallbackPrivate();
-}
-
-gboolean
-webkit_dom_test_callback_callback_with_no_param(WebKitDOMTestCallback* self)
-{
-#if ENABLE(SQL_DATABASE)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
-    WebCore::TestCallback* item = WebKit::core(self);
-    gboolean result = item->callbackWithNoParam();
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
-    return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
-}
-
-gboolean
-webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1* class1Param)
-{
-#if ENABLE(SQL_DATABASE)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
-    g_return_val_if_fail(WEBKIT_DOM_IS_CLASS1(class1Param), FALSE);
-    WebCore::TestCallback* item = WebKit::core(self);
-    WebCore::Class1* convertedClass1Param = WebKit::core(class1Param);
-    gboolean result = item->callbackWithClass1Param(convertedClass1Param);
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
-    return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
-}
-
-gboolean
-webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2* class2Param, const gchar* strArg)
-{
-#if ENABLE(SQL_DATABASE)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
-    g_return_val_if_fail(WEBKIT_DOM_IS_CLASS2(class2Param), FALSE);
-    g_return_val_if_fail(strArg, FALSE);
-    WebCore::TestCallback* item = WebKit::core(self);
-    WebCore::Class2* convertedClass2Param = WebKit::core(class2Param);
-    WTF::String convertedStrArg = WTF::String::fromUTF8(strArg);
-    gboolean result = item->callbackWithClass2Param(convertedClass2Param, convertedStrArg);
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
-    return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
-}
-
-glong
-webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3* class3Param)
-{
-#if ENABLE(SQL_DATABASE)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), 0);
-    g_return_val_if_fail(WEBKIT_DOM_IS_CLASS3(class3Param), 0);
-    WebCore::TestCallback* item = WebKit::core(self);
-    WebCore::Class3* convertedClass3Param = WebKit::core(class3Param);
-    glong result = item->callbackWithNonBoolReturnType(convertedClass3Param);
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
-    return static_cast<glong>(0);
-#endif /* ENABLE(SQL_DATABASE) */
-}
-
-gboolean
-webkit_dom_test_callback_callback_with_string_list(WebKitDOMTestCallback* self, WebKitDOMDOMStringList* listParam)
-{
-#if ENABLE(SQL_DATABASE)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
-    g_return_val_if_fail(WEBKIT_DOM_IS_DOM_STRING_LIST(listParam), FALSE);
-    WebCore::TestCallback* item = WebKit::core(self);
-    WebCore::DOMStringList* convertedListParam = WebKit::core(listParam);
-    gboolean result = item->callbackWithStringList(convertedListParam);
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
-    return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
-}
-
-gboolean
-webkit_dom_test_callback_callback_with_boolean(WebKitDOMTestCallback* self, gboolean boolParam)
-{
-#if ENABLE(SQL_DATABASE)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
-    WebCore::TestCallback* item = WebKit::core(self);
-    gboolean result = item->callbackWithBoolean(boolParam);
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
-    return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
-}
-
-gboolean
-webkit_dom_test_callback_callback_requires_this_to_pass(WebKitDOMTestCallback* self, WebKitDOMClass8* class8Param, WebKitDOMThisClass* thisClassParam)
-{
-#if ENABLE(SQL_DATABASE)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
-    g_return_val_if_fail(WEBKIT_DOM_IS_CLASS8(class8Param), FALSE);
-    g_return_val_if_fail(WEBKIT_DOM_IS_THIS_CLASS(thisClassParam), FALSE);
-    WebCore::TestCallback* item = WebKit::core(self);
-    WebCore::Class8* convertedClass8Param = WebKit::core(class8Param);
-    WebCore::ThisClass* convertedThisClassParam = WebKit::core(thisClassParam);
-    gboolean result = item->callbackRequiresThisToPass(convertedClass8Param, convertedThisClassParam);
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
-    return static_cast<gboolean>(0);
-#endif /* ENABLE(SQL_DATABASE) */
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h
deleted file mode 100644
index 5b61163..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestCallback_h
-#define WebKitDOMTestCallback_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_CALLBACK            (webkit_dom_test_callback_get_type())
-#define WEBKIT_DOM_TEST_CALLBACK(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_CALLBACK, WebKitDOMTestCallback))
-#define WEBKIT_DOM_TEST_CALLBACK_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_CALLBACK, WebKitDOMTestCallbackClass)
-#define WEBKIT_DOM_IS_TEST_CALLBACK(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_CALLBACK))
-#define WEBKIT_DOM_IS_TEST_CALLBACK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_CALLBACK))
-#define WEBKIT_DOM_TEST_CALLBACK_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_CALLBACK, WebKitDOMTestCallbackClass))
-
-struct _WebKitDOMTestCallback {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestCallbackClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_callback_get_type (void);
-
-/**
- * webkit_dom_test_callback_callback_with_no_param:
- * @self: A #WebKitDOMTestCallback
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_callback_callback_with_no_param(WebKitDOMTestCallback* self);
-
-/**
- * webkit_dom_test_callback_callback_with_class1param:
- * @self: A #WebKitDOMTestCallback
- * @class1Param: A #WebKitDOMClass1
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1* class1Param);
-
-/**
- * webkit_dom_test_callback_callback_with_class2param:
- * @self: A #WebKitDOMTestCallback
- * @class2Param: A #WebKitDOMClass2
- * @strArg: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2* class2Param, const gchar* strArg);
-
-/**
- * webkit_dom_test_callback_callback_with_non_bool_return_type:
- * @self: A #WebKitDOMTestCallback
- * @class3Param: A #WebKitDOMClass3
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3* class3Param);
-
-/**
- * webkit_dom_test_callback_callback_with_string_list:
- * @self: A #WebKitDOMTestCallback
- * @listParam: A #WebKitDOMDOMStringList
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_callback_callback_with_string_list(WebKitDOMTestCallback* self, WebKitDOMDOMStringList* listParam);
-
-/**
- * webkit_dom_test_callback_callback_with_boolean:
- * @self: A #WebKitDOMTestCallback
- * @boolParam: A #gboolean
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_callback_callback_with_boolean(WebKitDOMTestCallback* self, gboolean boolParam);
-
-/**
- * webkit_dom_test_callback_callback_requires_this_to_pass:
- * @self: A #WebKitDOMTestCallback
- * @class8Param: A #WebKitDOMClass8
- * @thisClassParam: A #WebKitDOMThisClass
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_callback_callback_requires_this_to_pass(WebKitDOMTestCallback* self, WebKitDOMClass8* class8Param, WebKitDOMThisClass* thisClassParam);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestCallback_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h
deleted file mode 100644
index 41e3836..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestCallbackPrivate_h
-#define WebKitDOMTestCallbackPrivate_h
-
-#include "TestCallback.h"
-#include <webkitdom/WebKitDOMTestCallback.h>
-#if ENABLE(SQL_DATABASE)
-
-namespace WebKit {
-WebKitDOMTestCallback* wrapTestCallback(WebCore::TestCallback*);
-WebCore::TestCallback* core(WebKitDOMTestCallback* request);
-WebKitDOMTestCallback* kit(WebCore::TestCallback* node);
-} // namespace WebKit
-
-#endif /* ENABLE(SQL_DATABASE) */
-
-#endif /* WebKitDOMTestCallbackPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.cpp
deleted file mode 100644
index 0dcdc8c..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.cpp
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestCustomNamedGetter.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMTestCustomNamedGetterPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_CUSTOM_NAMED_GETTER_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_CUSTOM_NAMED_GETTER, WebKitDOMTestCustomNamedGetterPrivate)
-
-typedef struct _WebKitDOMTestCustomNamedGetterPrivate {
-    RefPtr<WebCore::TestCustomNamedGetter> coreObject;
-} WebKitDOMTestCustomNamedGetterPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestCustomNamedGetter* kit(WebCore::TestCustomNamedGetter* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_CUSTOM_NAMED_GETTER(ret);
-
-    return wrapTestCustomNamedGetter(obj);
-}
-
-WebCore::TestCustomNamedGetter* core(WebKitDOMTestCustomNamedGetter* request)
-{
-    return request ? static_cast<WebCore::TestCustomNamedGetter*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestCustomNamedGetter* wrapTestCustomNamedGetter(WebCore::TestCustomNamedGetter* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_CUSTOM_NAMED_GETTER(g_object_new(WEBKIT_TYPE_DOM_TEST_CUSTOM_NAMED_GETTER, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMTestCustomNamedGetter, webkit_dom_test_custom_named_getter, WEBKIT_TYPE_DOM_OBJECT)
-
-static void webkit_dom_test_custom_named_getter_finalize(GObject* object)
-{
-    WebKitDOMTestCustomNamedGetterPrivate* priv = WEBKIT_DOM_TEST_CUSTOM_NAMED_GETTER_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestCustomNamedGetterPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_custom_named_getter_parent_class)->finalize(object);
-}
-
-static GObject* webkit_dom_test_custom_named_getter_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_custom_named_getter_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestCustomNamedGetterPrivate* priv = WEBKIT_DOM_TEST_CUSTOM_NAMED_GETTER_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestCustomNamedGetter*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_custom_named_getter_class_init(WebKitDOMTestCustomNamedGetterClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestCustomNamedGetterPrivate));
-    gobjectClass->constructor = webkit_dom_test_custom_named_getter_constructor;
-    gobjectClass->finalize = webkit_dom_test_custom_named_getter_finalize;
-}
-
-static void webkit_dom_test_custom_named_getter_init(WebKitDOMTestCustomNamedGetter* request)
-{
-    WebKitDOMTestCustomNamedGetterPrivate* priv = WEBKIT_DOM_TEST_CUSTOM_NAMED_GETTER_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestCustomNamedGetterPrivate();
-}
-
-void
-webkit_dom_test_custom_named_getter_another_function(WebKitDOMTestCustomNamedGetter* self, const gchar* str)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_CUSTOM_NAMED_GETTER(self));
-    g_return_if_fail(str);
-    WebCore::TestCustomNamedGetter* item = WebKit::core(self);
-    WTF::String convertedStr = WTF::String::fromUTF8(str);
-    item->anotherFunction(convertedStr);
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.h
deleted file mode 100644
index 9bb6a6c..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestCustomNamedGetter_h
-#define WebKitDOMTestCustomNamedGetter_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_CUSTOM_NAMED_GETTER            (webkit_dom_test_custom_named_getter_get_type())
-#define WEBKIT_DOM_TEST_CUSTOM_NAMED_GETTER(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_CUSTOM_NAMED_GETTER, WebKitDOMTestCustomNamedGetter))
-#define WEBKIT_DOM_TEST_CUSTOM_NAMED_GETTER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_CUSTOM_NAMED_GETTER, WebKitDOMTestCustomNamedGetterClass)
-#define WEBKIT_DOM_IS_TEST_CUSTOM_NAMED_GETTER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_CUSTOM_NAMED_GETTER))
-#define WEBKIT_DOM_IS_TEST_CUSTOM_NAMED_GETTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_CUSTOM_NAMED_GETTER))
-#define WEBKIT_DOM_TEST_CUSTOM_NAMED_GETTER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_CUSTOM_NAMED_GETTER, WebKitDOMTestCustomNamedGetterClass))
-
-struct _WebKitDOMTestCustomNamedGetter {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestCustomNamedGetterClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_custom_named_getter_get_type (void);
-
-/**
- * webkit_dom_test_custom_named_getter_another_function:
- * @self: A #WebKitDOMTestCustomNamedGetter
- * @str: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_custom_named_getter_another_function(WebKitDOMTestCustomNamedGetter* self, const gchar* str);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestCustomNamedGetter_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetterPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetterPrivate.h
deleted file mode 100644
index 1dc538b..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetterPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestCustomNamedGetterPrivate_h
-#define WebKitDOMTestCustomNamedGetterPrivate_h
-
-#include "TestCustomNamedGetter.h"
-#include <webkitdom/WebKitDOMTestCustomNamedGetter.h>
-
-namespace WebKit {
-WebKitDOMTestCustomNamedGetter* wrapTestCustomNamedGetter(WebCore::TestCustomNamedGetter*);
-WebCore::TestCustomNamedGetter* core(WebKitDOMTestCustomNamedGetter* request);
-WebKitDOMTestCustomNamedGetter* kit(WebCore::TestCustomNamedGetter* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestCustomNamedGetterPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.cpp
deleted file mode 100644
index 416434b..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.cpp
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestEventConstructor.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMTestEventConstructorPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_EVENT_CONSTRUCTOR, WebKitDOMTestEventConstructorPrivate)
-
-typedef struct _WebKitDOMTestEventConstructorPrivate {
-    RefPtr<WebCore::TestEventConstructor> coreObject;
-} WebKitDOMTestEventConstructorPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestEventConstructor* kit(WebCore::TestEventConstructor* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR(ret);
-
-    return wrapTestEventConstructor(obj);
-}
-
-WebCore::TestEventConstructor* core(WebKitDOMTestEventConstructor* request)
-{
-    return request ? static_cast<WebCore::TestEventConstructor*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestEventConstructor* wrapTestEventConstructor(WebCore::TestEventConstructor* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR(g_object_new(WEBKIT_TYPE_DOM_TEST_EVENT_CONSTRUCTOR, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMTestEventConstructor, webkit_dom_test_event_constructor, WEBKIT_TYPE_DOM_OBJECT)
-
-enum {
-    PROP_0,
-    PROP_ATTR1,
-    PROP_ATTR2,
-};
-
-static void webkit_dom_test_event_constructor_finalize(GObject* object)
-{
-    WebKitDOMTestEventConstructorPrivate* priv = WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestEventConstructorPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_event_constructor_parent_class)->finalize(object);
-}
-
-static void webkit_dom_test_event_constructor_get_property(GObject* object, guint propertyId, GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-
-    WebKitDOMTestEventConstructor* self = WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR(object);
-    WebCore::TestEventConstructor* coreSelf = WebKit::core(self);
-
-    switch (propertyId) {
-    case PROP_ATTR1: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->attr1()));
-        break;
-    }
-    case PROP_ATTR2: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->attr2()));
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static GObject* webkit_dom_test_event_constructor_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_event_constructor_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestEventConstructorPrivate* priv = WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestEventConstructor*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_event_constructor_class_init(WebKitDOMTestEventConstructorClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestEventConstructorPrivate));
-    gobjectClass->constructor = webkit_dom_test_event_constructor_constructor;
-    gobjectClass->finalize = webkit_dom_test_event_constructor_finalize;
-    gobjectClass->get_property = webkit_dom_test_event_constructor_get_property;
-
-    g_object_class_install_property(gobjectClass,
-                                    PROP_ATTR1,
-                                    g_param_spec_string("attr1", /* name */
-                                                           "test_event_constructor_attr1", /* short description */
-                                                           "read-only  gchar* TestEventConstructor.attr1", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_ATTR2,
-                                    g_param_spec_string("attr2", /* name */
-                                                           "test_event_constructor_attr2", /* short description */
-                                                           "read-only  gchar* TestEventConstructor.attr2", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READABLE));
-}
-
-static void webkit_dom_test_event_constructor_init(WebKitDOMTestEventConstructor* request)
-{
-    WebKitDOMTestEventConstructorPrivate* priv = WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestEventConstructorPrivate();
-}
-
-gchar*
-webkit_dom_test_event_constructor_get_attr1(WebKitDOMTestEventConstructor* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_EVENT_CONSTRUCTOR(self), 0);
-    WebCore::TestEventConstructor* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->attr1());
-    return result;
-}
-
-gchar*
-webkit_dom_test_event_constructor_get_attr2(WebKitDOMTestEventConstructor* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_EVENT_CONSTRUCTOR(self), 0);
-    WebCore::TestEventConstructor* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->attr2());
-    return result;
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.h
deleted file mode 100644
index 664d212..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestEventConstructor_h
-#define WebKitDOMTestEventConstructor_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_EVENT_CONSTRUCTOR            (webkit_dom_test_event_constructor_get_type())
-#define WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_EVENT_CONSTRUCTOR, WebKitDOMTestEventConstructor))
-#define WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_EVENT_CONSTRUCTOR, WebKitDOMTestEventConstructorClass)
-#define WEBKIT_DOM_IS_TEST_EVENT_CONSTRUCTOR(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_EVENT_CONSTRUCTOR))
-#define WEBKIT_DOM_IS_TEST_EVENT_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_EVENT_CONSTRUCTOR))
-#define WEBKIT_DOM_TEST_EVENT_CONSTRUCTOR_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_EVENT_CONSTRUCTOR, WebKitDOMTestEventConstructorClass))
-
-struct _WebKitDOMTestEventConstructor {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestEventConstructorClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_event_constructor_get_type (void);
-
-/**
- * webkit_dom_test_event_constructor_get_attr1:
- * @self: A #WebKitDOMTestEventConstructor
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_event_constructor_get_attr1(WebKitDOMTestEventConstructor* self);
-
-/**
- * webkit_dom_test_event_constructor_get_attr2:
- * @self: A #WebKitDOMTestEventConstructor
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_event_constructor_get_attr2(WebKitDOMTestEventConstructor* self);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestEventConstructor_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventConstructorPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventConstructorPrivate.h
deleted file mode 100644
index 90f410f..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventConstructorPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestEventConstructorPrivate_h
-#define WebKitDOMTestEventConstructorPrivate_h
-
-#include "TestEventConstructor.h"
-#include <webkitdom/WebKitDOMTestEventConstructor.h>
-
-namespace WebKit {
-WebKitDOMTestEventConstructor* wrapTestEventConstructor(WebCore::TestEventConstructor*);
-WebCore::TestEventConstructor* core(WebKitDOMTestEventConstructor* request);
-WebKitDOMTestEventConstructor* kit(WebCore::TestEventConstructor* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestEventConstructorPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventTarget.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventTarget.cpp
deleted file mode 100644
index 2936a71..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventTarget.cpp
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestEventTarget.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "GObjectEventListener.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMEventPrivate.h"
-#include "WebKitDOMEventTarget.h"
-#include "WebKitDOMNodePrivate.h"
-#include "WebKitDOMTestEventTargetPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_EVENT_TARGET_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_EVENT_TARGET, WebKitDOMTestEventTargetPrivate)
-
-typedef struct _WebKitDOMTestEventTargetPrivate {
-    RefPtr<WebCore::TestEventTarget> coreObject;
-} WebKitDOMTestEventTargetPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestEventTarget* kit(WebCore::TestEventTarget* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_EVENT_TARGET(ret);
-
-    return wrapTestEventTarget(obj);
-}
-
-WebCore::TestEventTarget* core(WebKitDOMTestEventTarget* request)
-{
-    return request ? static_cast<WebCore::TestEventTarget*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestEventTarget* wrapTestEventTarget(WebCore::TestEventTarget* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_EVENT_TARGET(g_object_new(WEBKIT_TYPE_DOM_TEST_EVENT_TARGET, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-static void webkit_dom_test_event_target_dispatch_event(WebKitDOMEventTarget* target, WebKitDOMEvent* event, GError** error)
-{
-    WebCore::Event* coreEvent = WebKit::core(event);
-    WebCore::TestEventTarget* coreTarget = static_cast<WebCore::TestEventTarget*>(WEBKIT_DOM_OBJECT(target)->coreObject);
-
-    WebCore::ExceptionCode ec = 0;
-    coreTarget->dispatchEvent(coreEvent, ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription description(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), description.code, description.name);
-    }
-}
-
-static gboolean webkit_dom_test_event_target_add_event_listener(WebKitDOMEventTarget* target, const char* eventName, GCallback handler, gboolean bubble, gpointer userData)
-{
-    WebCore::TestEventTarget* coreTarget = static_cast<WebCore::TestEventTarget*>(WEBKIT_DOM_OBJECT(target)->coreObject);
-    return WebCore::GObjectEventListener::addEventListener(G_OBJECT(target), coreTarget, eventName, handler, bubble, userData);
-}
-
-static gboolean webkit_dom_test_event_target_remove_event_listener(WebKitDOMEventTarget* target, const char* eventName, GCallback handler, gboolean bubble)
-{
-    WebCore::TestEventTarget* coreTarget = static_cast<WebCore::TestEventTarget*>(WEBKIT_DOM_OBJECT(target)->coreObject);
-    return WebCore::GObjectEventListener::removeEventListener(G_OBJECT(target), coreTarget, eventName, handler, bubble);
-}
-
-static void webkit_dom_event_target_init(WebKitDOMEventTargetIface* iface)
-{
-    iface->dispatch_event = webkit_dom_test_event_target_dispatch_event;
-    iface->add_event_listener = webkit_dom_test_event_target_add_event_listener;
-    iface->remove_event_listener = webkit_dom_test_event_target_remove_event_listener;
-}
-
-G_DEFINE_TYPE_WITH_CODE(WebKitDOMTestEventTarget, webkit_dom_test_event_target, WEBKIT_TYPE_DOM_OBJECT, G_IMPLEMENT_INTERFACE(WEBKIT_TYPE_DOM_EVENT_TARGET, webkit_dom_event_target_init))
-
-static void webkit_dom_test_event_target_finalize(GObject* object)
-{
-    WebKitDOMTestEventTargetPrivate* priv = WEBKIT_DOM_TEST_EVENT_TARGET_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestEventTargetPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_event_target_parent_class)->finalize(object);
-}
-
-static GObject* webkit_dom_test_event_target_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_event_target_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestEventTargetPrivate* priv = WEBKIT_DOM_TEST_EVENT_TARGET_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestEventTarget*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_event_target_class_init(WebKitDOMTestEventTargetClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestEventTargetPrivate));
-    gobjectClass->constructor = webkit_dom_test_event_target_constructor;
-    gobjectClass->finalize = webkit_dom_test_event_target_finalize;
-}
-
-static void webkit_dom_test_event_target_init(WebKitDOMTestEventTarget* request)
-{
-    WebKitDOMTestEventTargetPrivate* priv = WEBKIT_DOM_TEST_EVENT_TARGET_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestEventTargetPrivate();
-}
-
-WebKitDOMNode*
-webkit_dom_test_event_target_item(WebKitDOMTestEventTarget* self, gulong index)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_EVENT_TARGET(self), 0);
-    WebCore::TestEventTarget* item = WebKit::core(self);
-    RefPtr<WebCore::Node> gobjectResult = WTF::getPtr(item->item(index));
-    return WebKit::kit(gobjectResult.get());
-}
-
-gboolean
-webkit_dom_test_event_target_dispatch_event(WebKitDOMTestEventTarget* self, WebKitDOMEvent* evt, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_EVENT_TARGET(self), FALSE);
-    g_return_val_if_fail(WEBKIT_DOM_IS_EVENT(evt), FALSE);
-    g_return_val_if_fail(!error || !*error, FALSE);
-    WebCore::TestEventTarget* item = WebKit::core(self);
-    WebCore::Event* convertedEvt = WebKit::core(evt);
-    WebCore::ExceptionCode ec = 0;
-    gboolean result = item->dispatchEvent(convertedEvt, ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return result;
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventTarget.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventTarget.h
deleted file mode 100644
index eda9e9e..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventTarget.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestEventTarget_h
-#define WebKitDOMTestEventTarget_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_EVENT_TARGET            (webkit_dom_test_event_target_get_type())
-#define WEBKIT_DOM_TEST_EVENT_TARGET(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_EVENT_TARGET, WebKitDOMTestEventTarget))
-#define WEBKIT_DOM_TEST_EVENT_TARGET_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_EVENT_TARGET, WebKitDOMTestEventTargetClass)
-#define WEBKIT_DOM_IS_TEST_EVENT_TARGET(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_EVENT_TARGET))
-#define WEBKIT_DOM_IS_TEST_EVENT_TARGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_EVENT_TARGET))
-#define WEBKIT_DOM_TEST_EVENT_TARGET_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_EVENT_TARGET, WebKitDOMTestEventTargetClass))
-
-struct _WebKitDOMTestEventTarget {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestEventTargetClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_event_target_get_type (void);
-
-/**
- * webkit_dom_test_event_target_item:
- * @self: A #WebKitDOMTestEventTarget
- * @index: A #gulong
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMNode*
-webkit_dom_test_event_target_item(WebKitDOMTestEventTarget* self, gulong index);
-
-/**
- * webkit_dom_test_event_target_dispatch_event:
- * @self: A #WebKitDOMTestEventTarget
- * @evt: A #WebKitDOMEvent
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_event_target_dispatch_event(WebKitDOMTestEventTarget* self, WebKitDOMEvent* evt, GError** error);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestEventTarget_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventTargetPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventTargetPrivate.h
deleted file mode 100644
index ace9c32..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestEventTargetPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestEventTargetPrivate_h
-#define WebKitDOMTestEventTargetPrivate_h
-
-#include "TestEventTarget.h"
-#include <webkitdom/WebKitDOMTestEventTarget.h>
-
-namespace WebKit {
-WebKitDOMTestEventTarget* wrapTestEventTarget(WebCore::TestEventTarget*);
-WebCore::TestEventTarget* core(WebKitDOMTestEventTarget* request);
-WebKitDOMTestEventTarget* kit(WebCore::TestEventTarget* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestEventTargetPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestException.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestException.cpp
deleted file mode 100644
index 903200b..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestException.cpp
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestException.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMTestExceptionPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_EXCEPTION_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_EXCEPTION, WebKitDOMTestExceptionPrivate)
-
-typedef struct _WebKitDOMTestExceptionPrivate {
-    RefPtr<WebCore::TestException> coreObject;
-} WebKitDOMTestExceptionPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestException* kit(WebCore::TestException* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_EXCEPTION(ret);
-
-    return wrapTestException(obj);
-}
-
-WebCore::TestException* core(WebKitDOMTestException* request)
-{
-    return request ? static_cast<WebCore::TestException*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestException* wrapTestException(WebCore::TestException* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_EXCEPTION(g_object_new(WEBKIT_TYPE_DOM_TEST_EXCEPTION, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMTestException, webkit_dom_test_exception, WEBKIT_TYPE_DOM_OBJECT)
-
-enum {
-    PROP_0,
-    PROP_NAME,
-};
-
-static void webkit_dom_test_exception_finalize(GObject* object)
-{
-    WebKitDOMTestExceptionPrivate* priv = WEBKIT_DOM_TEST_EXCEPTION_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestExceptionPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_exception_parent_class)->finalize(object);
-}
-
-static void webkit_dom_test_exception_get_property(GObject* object, guint propertyId, GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-
-    WebKitDOMTestException* self = WEBKIT_DOM_TEST_EXCEPTION(object);
-    WebCore::TestException* coreSelf = WebKit::core(self);
-
-    switch (propertyId) {
-    case PROP_NAME: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->name()));
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static GObject* webkit_dom_test_exception_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_exception_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestExceptionPrivate* priv = WEBKIT_DOM_TEST_EXCEPTION_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestException*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_exception_class_init(WebKitDOMTestExceptionClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestExceptionPrivate));
-    gobjectClass->constructor = webkit_dom_test_exception_constructor;
-    gobjectClass->finalize = webkit_dom_test_exception_finalize;
-    gobjectClass->get_property = webkit_dom_test_exception_get_property;
-
-    g_object_class_install_property(gobjectClass,
-                                    PROP_NAME,
-                                    g_param_spec_string("name", /* name */
-                                                           "test_exception_name", /* short description */
-                                                           "read-only  gchar* TestException.name", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READABLE));
-}
-
-static void webkit_dom_test_exception_init(WebKitDOMTestException* request)
-{
-    WebKitDOMTestExceptionPrivate* priv = WEBKIT_DOM_TEST_EXCEPTION_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestExceptionPrivate();
-}
-
-gchar*
-webkit_dom_test_exception_get_name(WebKitDOMTestException* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_EXCEPTION(self), 0);
-    WebCore::TestException* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->name());
-    return result;
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestException.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestException.h
deleted file mode 100644
index 1ec0218..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestException.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestException_h
-#define WebKitDOMTestException_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_EXCEPTION            (webkit_dom_test_exception_get_type())
-#define WEBKIT_DOM_TEST_EXCEPTION(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_EXCEPTION, WebKitDOMTestException))
-#define WEBKIT_DOM_TEST_EXCEPTION_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_EXCEPTION, WebKitDOMTestExceptionClass)
-#define WEBKIT_DOM_IS_TEST_EXCEPTION(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_EXCEPTION))
-#define WEBKIT_DOM_IS_TEST_EXCEPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_EXCEPTION))
-#define WEBKIT_DOM_TEST_EXCEPTION_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_EXCEPTION, WebKitDOMTestExceptionClass))
-
-struct _WebKitDOMTestException {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestExceptionClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_exception_get_type (void);
-
-/**
- * webkit_dom_test_exception_get_name:
- * @self: A #WebKitDOMTestException
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_exception_get_name(WebKitDOMTestException* self);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestException_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestExceptionPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestExceptionPrivate.h
deleted file mode 100644
index 8060a8e..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestExceptionPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestExceptionPrivate_h
-#define WebKitDOMTestExceptionPrivate_h
-
-#include "TestException.h"
-#include <webkitdom/WebKitDOMTestException.h>
-
-namespace WebKit {
-WebKitDOMTestException* wrapTestException(WebCore::TestException*);
-WebCore::TestException* core(WebKitDOMTestException* request);
-WebKitDOMTestException* kit(WebCore::TestException* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestExceptionPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp
deleted file mode 100644
index 47f3b15..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp
+++ /dev/null
@@ -1,405 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestInterface.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "TestSupplemental.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMNodePrivate.h"
-#include "WebKitDOMTestInterfacePrivate.h"
-#include "WebKitDOMTestObjPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_INTERFACE_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_INTERFACE, WebKitDOMTestInterfacePrivate)
-
-typedef struct _WebKitDOMTestInterfacePrivate {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    RefPtr<WebCore::TestInterface> coreObject;
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-} WebKitDOMTestInterfacePrivate;
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-namespace WebKit {
-
-WebKitDOMTestInterface* kit(WebCore::TestInterface* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_INTERFACE(ret);
-
-    return wrapTestInterface(obj);
-}
-
-WebCore::TestInterface* core(WebKitDOMTestInterface* request)
-{
-    return request ? static_cast<WebCore::TestInterface*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestInterface* wrapTestInterface(WebCore::TestInterface* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_INTERFACE(g_object_new(WEBKIT_TYPE_DOM_TEST_INTERFACE, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-
-G_DEFINE_TYPE(WebKitDOMTestInterface, webkit_dom_test_interface, WEBKIT_TYPE_DOM_OBJECT)
-
-enum {
-    PROP_0,
-    PROP_SUPPLEMENTAL_STR1,
-    PROP_SUPPLEMENTAL_STR2,
-    PROP_SUPPLEMENTAL_NODE,
-};
-
-static void webkit_dom_test_interface_finalize(GObject* object)
-{
-    WebKitDOMTestInterfacePrivate* priv = WEBKIT_DOM_TEST_INTERFACE_GET_PRIVATE(object);
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-    priv->~WebKitDOMTestInterfacePrivate();
-    G_OBJECT_CLASS(webkit_dom_test_interface_parent_class)->finalize(object);
-}
-
-static void webkit_dom_test_interface_set_property(GObject* object, guint propertyId, const GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebKitDOMTestInterface* self = WEBKIT_DOM_TEST_INTERFACE(object);
-    WebCore::TestInterface* coreSelf = WebKit::core(self);
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-    switch (propertyId) {
-    case PROP_SUPPLEMENTAL_STR2: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-        WebCore::TestSupplemental::setSupplementalStr2(coreSelf, WTF::String::fromUTF8(g_value_get_string(value)));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static void webkit_dom_test_interface_get_property(GObject* object, guint propertyId, GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebKitDOMTestInterface* self = WEBKIT_DOM_TEST_INTERFACE(object);
-    WebCore::TestInterface* coreSelf = WebKit::core(self);
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-    switch (propertyId) {
-    case PROP_SUPPLEMENTAL_STR1: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-        g_value_take_string(value, convertToUTF8String(WebCore::TestSupplemental::supplementalStr1(coreSelf)));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    case PROP_SUPPLEMENTAL_STR2: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-        g_value_take_string(value, convertToUTF8String(WebCore::TestSupplemental::supplementalStr2(coreSelf)));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    case PROP_SUPPLEMENTAL_NODE: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-        RefPtr<WebCore::Node> ptr = WebCore::TestSupplemental::supplementalNode(coreSelf);
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static GObject* webkit_dom_test_interface_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_interface_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebKitDOMTestInterfacePrivate* priv = WEBKIT_DOM_TEST_INTERFACE_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestInterface*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-    return object;
-}
-
-static void webkit_dom_test_interface_class_init(WebKitDOMTestInterfaceClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestInterfacePrivate));
-    gobjectClass->constructor = webkit_dom_test_interface_constructor;
-    gobjectClass->finalize = webkit_dom_test_interface_finalize;
-    gobjectClass->set_property = webkit_dom_test_interface_set_property;
-    gobjectClass->get_property = webkit_dom_test_interface_get_property;
-
-    g_object_class_install_property(gobjectClass,
-                                    PROP_SUPPLEMENTAL_STR1,
-                                    g_param_spec_string("supplemental-str1", /* name */
-                                                           "test_interface_supplemental-str1", /* short description */
-                                                           "read-only  gchar* TestInterface.supplemental-str1", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_SUPPLEMENTAL_STR2,
-                                    g_param_spec_string("supplemental-str2", /* name */
-                                                           "test_interface_supplemental-str2", /* short description */
-                                                           "read-write  gchar* TestInterface.supplemental-str2", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_SUPPLEMENTAL_NODE,
-                                    g_param_spec_object("supplemental-node", /* name */
-                                                           "test_interface_supplemental-node", /* short description */
-                                                           "read-write  WebKitDOMNode* TestInterface.supplemental-node", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_NODE, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-}
-
-static void webkit_dom_test_interface_init(WebKitDOMTestInterface* request)
-{
-    WebKitDOMTestInterfacePrivate* priv = WEBKIT_DOM_TEST_INTERFACE_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestInterfacePrivate();
-}
-
-void
-webkit_dom_test_interface_supplemental_method1(WebKitDOMTestInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self));
-    WebCore::TestInterface* item = WebKit::core(self);
-    WebCore::TestSupplemental::supplementalMethod1(item);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_interface_supplemental_method2(WebKitDOMTestInterface* self, const gchar* strArg, WebKitDOMTestObj* objArg, GError** error)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self), 0);
-    g_return_val_if_fail(strArg, 0);
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(objArg), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestInterface* item = WebKit::core(self);
-    WTF::String convertedStrArg = WTF::String::fromUTF8(strArg);
-    WebCore::TestObj* convertedObjArg = WebKit::core(objArg);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(WebCore::TestSupplemental::supplementalMethod2(item, convertedStrArg, convertedObjArg, ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-    return 0;
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return 0;
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_interface_supplemental_method4(WebKitDOMTestInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self));
-    WebCore::TestInterface* item = WebKit::core(self);
-    WebCore::TestSupplemental::supplementalMethod4(item);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-gchar*
-webkit_dom_test_interface_get_supplemental_str1(WebKitDOMTestInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self), 0);
-    WebCore::TestInterface* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(WebCore::TestSupplemental::supplementalStr1(item));
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-    return 0;
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return 0;
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-gchar*
-webkit_dom_test_interface_get_supplemental_str2(WebKitDOMTestInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self), 0);
-    WebCore::TestInterface* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(WebCore::TestSupplemental::supplementalStr2(item));
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-    return 0;
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return 0;
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_interface_set_supplemental_str2(WebKitDOMTestInterface* self, const gchar* value)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self));
-    g_return_if_fail(value);
-    WebCore::TestInterface* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    WebCore::TestSupplemental::setSupplementalStr2(item, convertedValue);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-WebKitDOMNode*
-webkit_dom_test_interface_get_supplemental_node(WebKitDOMTestInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self), 0);
-    WebCore::TestInterface* item = WebKit::core(self);
-    RefPtr<WebCore::Node> gobjectResult = WTF::getPtr(WebCore::TestSupplemental::supplementalNode(item));
-    return WebKit::kit(gobjectResult.get());
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-    return 0;
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return 0;
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_interface_set_supplemental_node(WebKitDOMTestInterface* self, WebKitDOMNode* value)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self));
-    g_return_if_fail(WEBKIT_DOM_IS_NODE(value));
-    WebCore::TestInterface* item = WebKit::core(self);
-    WebCore::Node* convertedValue = WebKit::core(value);
-    WebCore::TestSupplemental::setSupplementalNode(item, convertedValue);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
-#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.h
deleted file mode 100644
index 78dd4c4..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.h
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestInterface_h
-#define WebKitDOMTestInterface_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_INTERFACE            (webkit_dom_test_interface_get_type())
-#define WEBKIT_DOM_TEST_INTERFACE(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_INTERFACE, WebKitDOMTestInterface))
-#define WEBKIT_DOM_TEST_INTERFACE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_INTERFACE, WebKitDOMTestInterfaceClass)
-#define WEBKIT_DOM_IS_TEST_INTERFACE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_INTERFACE))
-#define WEBKIT_DOM_IS_TEST_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_INTERFACE))
-#define WEBKIT_DOM_TEST_INTERFACE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_INTERFACE, WebKitDOMTestInterfaceClass))
-
-struct _WebKitDOMTestInterface {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestInterfaceClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_interface_get_type (void);
-
-/**
- * webkit_dom_test_interface_supplemental_method1:
- * @self: A #WebKitDOMTestInterface
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_interface_supplemental_method1(WebKitDOMTestInterface* self);
-
-/**
- * webkit_dom_test_interface_supplemental_method2:
- * @self: A #WebKitDOMTestInterface
- * @strArg: A #gchar
- * @objArg: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_interface_supplemental_method2(WebKitDOMTestInterface* self, const gchar* strArg, WebKitDOMTestObj* objArg, GError** error);
-
-/**
- * webkit_dom_test_interface_supplemental_method4:
- * @self: A #WebKitDOMTestInterface
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_interface_supplemental_method4(WebKitDOMTestInterface* self);
-
-/**
- * webkit_dom_test_interface_get_supplemental_str1:
- * @self: A #WebKitDOMTestInterface
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_interface_get_supplemental_str1(WebKitDOMTestInterface* self);
-
-/**
- * webkit_dom_test_interface_get_supplemental_str2:
- * @self: A #WebKitDOMTestInterface
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_interface_get_supplemental_str2(WebKitDOMTestInterface* self);
-
-/**
- * webkit_dom_test_interface_set_supplemental_str2:
- * @self: A #WebKitDOMTestInterface
- * @value: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_interface_set_supplemental_str2(WebKitDOMTestInterface* self, const gchar* value);
-
-/**
- * webkit_dom_test_interface_get_supplemental_node:
- * @self: A #WebKitDOMTestInterface
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMNode*
-webkit_dom_test_interface_get_supplemental_node(WebKitDOMTestInterface* self);
-
-/**
- * webkit_dom_test_interface_set_supplemental_node:
- * @self: A #WebKitDOMTestInterface
- * @value: A #WebKitDOMNode
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_interface_set_supplemental_node(WebKitDOMTestInterface* self, WebKitDOMNode* value);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestInterface_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h
deleted file mode 100644
index b616514..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestInterfacePrivate_h
-#define WebKitDOMTestInterfacePrivate_h
-
-#include "TestInterface.h"
-#include <webkitdom/WebKitDOMTestInterface.h>
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-namespace WebKit {
-WebKitDOMTestInterface* wrapTestInterface(WebCore::TestInterface*);
-WebCore::TestInterface* core(WebKitDOMTestInterface* request);
-WebKitDOMTestInterface* kit(WebCore::TestInterface* node);
-} // namespace WebKit
-
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-
-#endif /* WebKitDOMTestInterfacePrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp
deleted file mode 100644
index fcfa25a..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestMediaQueryListListener.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMTestMediaQueryListListenerPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_MEDIA_QUERY_LIST_LISTENER, WebKitDOMTestMediaQueryListListenerPrivate)
-
-typedef struct _WebKitDOMTestMediaQueryListListenerPrivate {
-    RefPtr<WebCore::TestMediaQueryListListener> coreObject;
-} WebKitDOMTestMediaQueryListListenerPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestMediaQueryListListener* kit(WebCore::TestMediaQueryListListener* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER(ret);
-
-    return wrapTestMediaQueryListListener(obj);
-}
-
-WebCore::TestMediaQueryListListener* core(WebKitDOMTestMediaQueryListListener* request)
-{
-    return request ? static_cast<WebCore::TestMediaQueryListListener*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestMediaQueryListListener* wrapTestMediaQueryListListener(WebCore::TestMediaQueryListListener* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER(g_object_new(WEBKIT_TYPE_DOM_TEST_MEDIA_QUERY_LIST_LISTENER, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMTestMediaQueryListListener, webkit_dom_test_media_query_list_listener, WEBKIT_TYPE_DOM_OBJECT)
-
-static void webkit_dom_test_media_query_list_listener_finalize(GObject* object)
-{
-    WebKitDOMTestMediaQueryListListenerPrivate* priv = WEBKIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestMediaQueryListListenerPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_media_query_list_listener_parent_class)->finalize(object);
-}
-
-static GObject* webkit_dom_test_media_query_list_listener_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_media_query_list_listener_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestMediaQueryListListenerPrivate* priv = WEBKIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestMediaQueryListListener*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_media_query_list_listener_class_init(WebKitDOMTestMediaQueryListListenerClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestMediaQueryListListenerPrivate));
-    gobjectClass->constructor = webkit_dom_test_media_query_list_listener_constructor;
-    gobjectClass->finalize = webkit_dom_test_media_query_list_listener_finalize;
-}
-
-static void webkit_dom_test_media_query_list_listener_init(WebKitDOMTestMediaQueryListListener* request)
-{
-    WebKitDOMTestMediaQueryListListenerPrivate* priv = WEBKIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestMediaQueryListListenerPrivate();
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h
deleted file mode 100644
index 289da88..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestMediaQueryListListener_h
-#define WebKitDOMTestMediaQueryListListener_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_MEDIA_QUERY_LIST_LISTENER            (webkit_dom_test_media_query_list_listener_get_type())
-#define WEBKIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_MEDIA_QUERY_LIST_LISTENER, WebKitDOMTestMediaQueryListListener))
-#define WEBKIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_MEDIA_QUERY_LIST_LISTENER, WebKitDOMTestMediaQueryListListenerClass)
-#define WEBKIT_DOM_IS_TEST_MEDIA_QUERY_LIST_LISTENER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_MEDIA_QUERY_LIST_LISTENER))
-#define WEBKIT_DOM_IS_TEST_MEDIA_QUERY_LIST_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_MEDIA_QUERY_LIST_LISTENER))
-#define WEBKIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_MEDIA_QUERY_LIST_LISTENER, WebKitDOMTestMediaQueryListListenerClass))
-
-struct _WebKitDOMTestMediaQueryListListener {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestMediaQueryListListenerClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_media_query_list_listener_get_type (void);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestMediaQueryListListener_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h
deleted file mode 100644
index 36ed999..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestMediaQueryListListenerPrivate_h
-#define WebKitDOMTestMediaQueryListListenerPrivate_h
-
-#include "TestMediaQueryListListener.h"
-#include <webkitdom/WebKitDOMTestMediaQueryListListener.h>
-
-namespace WebKit {
-WebKitDOMTestMediaQueryListListener* wrapTestMediaQueryListListener(WebCore::TestMediaQueryListListener*);
-WebCore::TestMediaQueryListListener* core(WebKitDOMTestMediaQueryListListener* request);
-WebKitDOMTestMediaQueryListListener* kit(WebCore::TestMediaQueryListListener* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestMediaQueryListListenerPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.cpp
deleted file mode 100644
index f2a7cfe..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.cpp
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestNamedConstructor.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMTestNamedConstructorPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_NAMED_CONSTRUCTOR_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_NAMED_CONSTRUCTOR, WebKitDOMTestNamedConstructorPrivate)
-
-typedef struct _WebKitDOMTestNamedConstructorPrivate {
-    RefPtr<WebCore::TestNamedConstructor> coreObject;
-} WebKitDOMTestNamedConstructorPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestNamedConstructor* kit(WebCore::TestNamedConstructor* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_NAMED_CONSTRUCTOR(ret);
-
-    return wrapTestNamedConstructor(obj);
-}
-
-WebCore::TestNamedConstructor* core(WebKitDOMTestNamedConstructor* request)
-{
-    return request ? static_cast<WebCore::TestNamedConstructor*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestNamedConstructor* wrapTestNamedConstructor(WebCore::TestNamedConstructor* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_NAMED_CONSTRUCTOR(g_object_new(WEBKIT_TYPE_DOM_TEST_NAMED_CONSTRUCTOR, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMTestNamedConstructor, webkit_dom_test_named_constructor, WEBKIT_TYPE_DOM_OBJECT)
-
-static void webkit_dom_test_named_constructor_finalize(GObject* object)
-{
-    WebKitDOMTestNamedConstructorPrivate* priv = WEBKIT_DOM_TEST_NAMED_CONSTRUCTOR_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestNamedConstructorPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_named_constructor_parent_class)->finalize(object);
-}
-
-static GObject* webkit_dom_test_named_constructor_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_named_constructor_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestNamedConstructorPrivate* priv = WEBKIT_DOM_TEST_NAMED_CONSTRUCTOR_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestNamedConstructor*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_named_constructor_class_init(WebKitDOMTestNamedConstructorClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestNamedConstructorPrivate));
-    gobjectClass->constructor = webkit_dom_test_named_constructor_constructor;
-    gobjectClass->finalize = webkit_dom_test_named_constructor_finalize;
-}
-
-static void webkit_dom_test_named_constructor_init(WebKitDOMTestNamedConstructor* request)
-{
-    WebKitDOMTestNamedConstructorPrivate* priv = WEBKIT_DOM_TEST_NAMED_CONSTRUCTOR_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestNamedConstructorPrivate();
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.h
deleted file mode 100644
index 14e5a5c..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestNamedConstructor_h
-#define WebKitDOMTestNamedConstructor_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_NAMED_CONSTRUCTOR            (webkit_dom_test_named_constructor_get_type())
-#define WEBKIT_DOM_TEST_NAMED_CONSTRUCTOR(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_NAMED_CONSTRUCTOR, WebKitDOMTestNamedConstructor))
-#define WEBKIT_DOM_TEST_NAMED_CONSTRUCTOR_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_NAMED_CONSTRUCTOR, WebKitDOMTestNamedConstructorClass)
-#define WEBKIT_DOM_IS_TEST_NAMED_CONSTRUCTOR(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_NAMED_CONSTRUCTOR))
-#define WEBKIT_DOM_IS_TEST_NAMED_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_NAMED_CONSTRUCTOR))
-#define WEBKIT_DOM_TEST_NAMED_CONSTRUCTOR_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_NAMED_CONSTRUCTOR, WebKitDOMTestNamedConstructorClass))
-
-struct _WebKitDOMTestNamedConstructor {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestNamedConstructorClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_named_constructor_get_type (void);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestNamedConstructor_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNamedConstructorPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNamedConstructorPrivate.h
deleted file mode 100644
index ea17c70..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNamedConstructorPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestNamedConstructorPrivate_h
-#define WebKitDOMTestNamedConstructorPrivate_h
-
-#include "TestNamedConstructor.h"
-#include <webkitdom/WebKitDOMTestNamedConstructor.h>
-
-namespace WebKit {
-WebKitDOMTestNamedConstructor* wrapTestNamedConstructor(WebCore::TestNamedConstructor*);
-WebCore::TestNamedConstructor* core(WebKitDOMTestNamedConstructor* request);
-WebKitDOMTestNamedConstructor* kit(WebCore::TestNamedConstructor* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestNamedConstructorPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNode.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNode.cpp
deleted file mode 100644
index aae7e06..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNode.cpp
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestNode.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "GObjectEventListener.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMEventPrivate.h"
-#include "WebKitDOMEventTarget.h"
-#include "WebKitDOMTestNodePrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-namespace WebKit {
-
-WebKitDOMTestNode* kit(WebCore::TestNode* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_NODE(ret);
-
-    return wrapTestNode(obj);
-}
-
-WebCore::TestNode* core(WebKitDOMTestNode* request)
-{
-    return request ? static_cast<WebCore::TestNode*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestNode* wrapTestNode(WebCore::TestNode* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_NODE(g_object_new(WEBKIT_TYPE_DOM_TEST_NODE, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-static void webkit_dom_test_node_dispatch_event(WebKitDOMEventTarget* target, WebKitDOMEvent* event, GError** error)
-{
-    WebCore::Event* coreEvent = WebKit::core(event);
-    WebCore::TestNode* coreTarget = static_cast<WebCore::TestNode*>(WEBKIT_DOM_OBJECT(target)->coreObject);
-
-    WebCore::ExceptionCode ec = 0;
-    coreTarget->dispatchEvent(coreEvent, ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription description(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), description.code, description.name);
-    }
-}
-
-static gboolean webkit_dom_test_node_add_event_listener(WebKitDOMEventTarget* target, const char* eventName, GCallback handler, gboolean bubble, gpointer userData)
-{
-    WebCore::TestNode* coreTarget = static_cast<WebCore::TestNode*>(WEBKIT_DOM_OBJECT(target)->coreObject);
-    return WebCore::GObjectEventListener::addEventListener(G_OBJECT(target), coreTarget, eventName, handler, bubble, userData);
-}
-
-static gboolean webkit_dom_test_node_remove_event_listener(WebKitDOMEventTarget* target, const char* eventName, GCallback handler, gboolean bubble)
-{
-    WebCore::TestNode* coreTarget = static_cast<WebCore::TestNode*>(WEBKIT_DOM_OBJECT(target)->coreObject);
-    return WebCore::GObjectEventListener::removeEventListener(G_OBJECT(target), coreTarget, eventName, handler, bubble);
-}
-
-static void webkit_dom_event_target_init(WebKitDOMEventTargetIface* iface)
-{
-    iface->dispatch_event = webkit_dom_test_node_dispatch_event;
-    iface->add_event_listener = webkit_dom_test_node_add_event_listener;
-    iface->remove_event_listener = webkit_dom_test_node_remove_event_listener;
-}
-
-G_DEFINE_TYPE_WITH_CODE(WebKitDOMTestNode, webkit_dom_test_node, WEBKIT_TYPE_DOM_NODE, G_IMPLEMENT_INTERFACE(WEBKIT_TYPE_DOM_EVENT_TARGET, webkit_dom_event_target_init))
-
-static void webkit_dom_test_node_class_init(WebKitDOMTestNodeClass* requestClass)
-{
-}
-
-static void webkit_dom_test_node_init(WebKitDOMTestNode* request)
-{
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNode.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNode.h
deleted file mode 100644
index 46afcdf..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNode.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestNode_h
-#define WebKitDOMTestNode_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMNode.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_NODE            (webkit_dom_test_node_get_type())
-#define WEBKIT_DOM_TEST_NODE(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_NODE, WebKitDOMTestNode))
-#define WEBKIT_DOM_TEST_NODE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_NODE, WebKitDOMTestNodeClass)
-#define WEBKIT_DOM_IS_TEST_NODE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_NODE))
-#define WEBKIT_DOM_IS_TEST_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_NODE))
-#define WEBKIT_DOM_TEST_NODE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_NODE, WebKitDOMTestNodeClass))
-
-struct _WebKitDOMTestNode {
-    WebKitDOMNode parent_instance;
-};
-
-struct _WebKitDOMTestNodeClass {
-    WebKitDOMNodeClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_node_get_type (void);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestNode_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNodePrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNodePrivate.h
deleted file mode 100644
index d01e8c8..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestNodePrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestNodePrivate_h
-#define WebKitDOMTestNodePrivate_h
-
-#include "TestNode.h"
-#include <webkitdom/WebKitDOMTestNode.h>
-
-namespace WebKit {
-WebKitDOMTestNode* wrapTestNode(WebCore::TestNode*);
-WebCore::TestNode* core(WebKitDOMTestNode* request);
-WebKitDOMTestNode* kit(WebCore::TestNode* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestNodePrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp
deleted file mode 100644
index 26c0669..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp
+++ /dev/null
@@ -1,2502 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestObj.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "HTMLNames.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMDictionaryPrivate.h"
-#include "WebKitDOMDocumentPrivate.h"
-#include "WebKitDOMNodePrivate.h"
-#include "WebKitDOMSVGPointPrivate.h"
-#include "WebKitDOMSerializedScriptValuePrivate.h"
-#include "WebKitDOMTestEnumTypePrivate.h"
-#include "WebKitDOMTestObjPrivate.h"
-#include "WebKitDOMaPrivate.h"
-#include "WebKitDOMbPrivate.h"
-#include "WebKitDOMboolPrivate.h"
-#include "WebKitDOMdPrivate.h"
-#include "WebKitDOMePrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_OBJ_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_OBJ, WebKitDOMTestObjPrivate)
-
-typedef struct _WebKitDOMTestObjPrivate {
-    RefPtr<WebCore::TestObj> coreObject;
-} WebKitDOMTestObjPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestObj* kit(WebCore::TestObj* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_OBJ(ret);
-
-    return wrapTestObj(obj);
-}
-
-WebCore::TestObj* core(WebKitDOMTestObj* request)
-{
-    return request ? static_cast<WebCore::TestObj*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestObj* wrapTestObj(WebCore::TestObj* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_OBJ(g_object_new(WEBKIT_TYPE_DOM_TEST_OBJ, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMTestObj, webkit_dom_test_obj, WEBKIT_TYPE_DOM_OBJECT)
-
-enum {
-    PROP_0,
-    PROP_READ_ONLY_LONG_ATTR,
-    PROP_READ_ONLY_STRING_ATTR,
-    PROP_READ_ONLY_TEST_OBJ_ATTR,
-    PROP_SHORT_ATTR,
-    PROP_UNSIGNED_SHORT_ATTR,
-    PROP_LONG_ATTR,
-    PROP_LONG_LONG_ATTR,
-    PROP_UNSIGNED_LONG_LONG_ATTR,
-    PROP_STRING_ATTR,
-    PROP_TEST_OBJ_ATTR,
-    PROP_XML_OBJ_ATTR,
-    PROP_CREATE,
-    PROP_REFLECTED_STRING_ATTR,
-    PROP_REFLECTED_INTEGRAL_ATTR,
-    PROP_REFLECTED_UNSIGNED_INTEGRAL_ATTR,
-    PROP_REFLECTED_BOOLEAN_ATTR,
-    PROP_REFLECTED_URL_ATTR,
-    PROP_REFLECTED_STRING_ATTR,
-    PROP_REFLECTED_CUSTOM_INTEGRAL_ATTR,
-    PROP_REFLECTED_CUSTOM_BOOLEAN_ATTR,
-    PROP_REFLECTED_CUSTOM_URL_ATTR,
-    PROP_ATTR_WITH_GETTER_EXCEPTION,
-    PROP_ATTR_WITH_SETTER_EXCEPTION,
-    PROP_STRING_ATTR_WITH_GETTER_EXCEPTION,
-    PROP_STRING_ATTR_WITH_SETTER_EXCEPTION,
-    PROP_WITH_SCRIPT_STATE_ATTRIBUTE,
-    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_ATTRIBUTE,
-    PROP_WITH_SCRIPT_STATE_ATTRIBUTE_RAISES,
-    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_ATTRIBUTE_RAISES,
-    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_AND_SCRIPT_STATE_ATTRIBUTE,
-    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_AND_SCRIPT_STATE_ATTRIBUTE_RAISES,
-    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_AND_SCRIPT_STATE_WITH_SPACES_ATTRIBUTE,
-    PROP_WITH_SCRIPT_ARGUMENTS_AND_CALL_STACK_ATTRIBUTE,
-    PROP_CONDITIONAL_ATTR1,
-    PROP_CONDITIONAL_ATTR2,
-    PROP_CONDITIONAL_ATTR3,
-    PROP_ANY_ATTRIBUTE,
-    PROP_CONTENT_DOCUMENT,
-    PROP_MUTABLE_POINT,
-    PROP_IMMUTABLE_POINT,
-    PROP_STRAWBERRY,
-    PROP_STRICT_FLOAT,
-    PROP_DESCRIPTION,
-    PROP_ID,
-    PROP_HASH,
-    PROP_REPLACEABLE_ATTRIBUTE,
-    PROP_NULLABLE_DOUBLE_ATTRIBUTE,
-    PROP_NULLABLE_LONG_ATTRIBUTE,
-    PROP_NULLABLE_BOOLEAN_ATTRIBUTE,
-    PROP_NULLABLE_STRING_ATTRIBUTE,
-    PROP_NULLABLE_LONG_SETTABLE_ATTRIBUTE,
-    PROP_NULLABLE_STRING_VALUE,
-};
-
-static void webkit_dom_test_obj_finalize(GObject* object)
-{
-    WebKitDOMTestObjPrivate* priv = WEBKIT_DOM_TEST_OBJ_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestObjPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_obj_parent_class)->finalize(object);
-}
-
-static void webkit_dom_test_obj_set_property(GObject* object, guint propertyId, const GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-
-    WebKitDOMTestObj* self = WEBKIT_DOM_TEST_OBJ(object);
-    WebCore::TestObj* coreSelf = WebKit::core(self);
-
-    switch (propertyId) {
-    case PROP_UNSIGNED_SHORT_ATTR: {
-        coreSelf->setUnsignedShortAttr((g_value_get_uint(value)));
-        break;
-    }
-    case PROP_LONG_ATTR: {
-        coreSelf->setLongAttr((g_value_get_long(value)));
-        break;
-    }
-    case PROP_UNSIGNED_LONG_LONG_ATTR: {
-        coreSelf->setUnsignedLongLongAttr((g_value_get_uint64(value)));
-        break;
-    }
-    case PROP_STRING_ATTR: {
-        coreSelf->setStringAttr(WTF::String::fromUTF8(g_value_get_string(value)));
-        break;
-    }
-    case PROP_CREATE: {
-        coreSelf->setCreate((g_value_get_boolean(value)));
-        break;
-    }
-    case PROP_REFLECTED_STRING_ATTR: {
-        coreSelf->setAttribute(WebCore::HTMLNames::reflectedstringattrAttr, WTF::String::fromUTF8(g_value_get_string(value)));
-        break;
-    }
-    case PROP_REFLECTED_INTEGRAL_ATTR: {
-        coreSelf->setIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr, (g_value_get_long(value)));
-        break;
-    }
-    case PROP_REFLECTED_UNSIGNED_INTEGRAL_ATTR: {
-        coreSelf->setUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr, (g_value_get_ulong(value)));
-        break;
-    }
-    case PROP_REFLECTED_BOOLEAN_ATTR: {
-        coreSelf->setBooleanAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr, (g_value_get_boolean(value)));
-        break;
-    }
-    case PROP_REFLECTED_URL_ATTR: {
-        coreSelf->setAttribute(WebCore::HTMLNames::reflectedurlattrAttr, WTF::String::fromUTF8(g_value_get_string(value)));
-        break;
-    }
-    case PROP_REFLECTED_STRING_ATTR: {
-        coreSelf->setAttribute(WebCore::HTMLNames::customContentStringAttrAttr, WTF::String::fromUTF8(g_value_get_string(value)));
-        break;
-    }
-    case PROP_REFLECTED_CUSTOM_INTEGRAL_ATTR: {
-        coreSelf->setIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr, (g_value_get_long(value)));
-        break;
-    }
-    case PROP_REFLECTED_CUSTOM_BOOLEAN_ATTR: {
-        coreSelf->setBooleanAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr, (g_value_get_boolean(value)));
-        break;
-    }
-    case PROP_REFLECTED_CUSTOM_URL_ATTR: {
-        coreSelf->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, WTF::String::fromUTF8(g_value_get_string(value)));
-        break;
-    }
-    case PROP_ATTR_WITH_GETTER_EXCEPTION: {
-        coreSelf->setAttrWithGetterException((g_value_get_long(value)));
-        break;
-    }
-    case PROP_ATTR_WITH_SETTER_EXCEPTION: {
-        WebCore::ExceptionCode ec = 0;
-        coreSelf->setAttrWithSetterException((g_value_get_long(value)), ec);
-        break;
-    }
-    case PROP_STRING_ATTR_WITH_GETTER_EXCEPTION: {
-        coreSelf->setStringAttrWithGetterException(WTF::String::fromUTF8(g_value_get_string(value)));
-        break;
-    }
-    case PROP_STRING_ATTR_WITH_SETTER_EXCEPTION: {
-        WebCore::ExceptionCode ec = 0;
-        coreSelf->setStringAttrWithSetterException(WTF::String::fromUTF8(g_value_get_string(value)), ec);
-        break;
-    }
-    case PROP_WITH_SCRIPT_STATE_ATTRIBUTE: {
-        coreSelf->setWithScriptStateAttribute((g_value_get_long(value)));
-        break;
-    }
-    case PROP_CONDITIONAL_ATTR1: {
-#if ENABLE(Condition1)
-        coreSelf->setConditionalAttr1((g_value_get_long(value)));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif /* ENABLE(Condition1) */
-        break;
-    }
-    case PROP_CONDITIONAL_ATTR2: {
-#if ENABLE(Condition1) && ENABLE(Condition2)
-        coreSelf->setConditionalAttr2((g_value_get_long(value)));
-#else
-#if !ENABLE(Condition1)
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif
-#if !ENABLE(Condition2)
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif
-#endif /* ENABLE(Condition1) && ENABLE(Condition2) */
-        break;
-    }
-    case PROP_CONDITIONAL_ATTR3: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-        coreSelf->setConditionalAttr3((g_value_get_long(value)));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    case PROP_STRAWBERRY: {
-        coreSelf->setBlueberry((g_value_get_long(value)));
-        break;
-    }
-    case PROP_STRICT_FLOAT: {
-        coreSelf->setStrictFloat((g_value_get_float(value)));
-        break;
-    }
-    case PROP_ID: {
-        coreSelf->setId((g_value_get_long(value)));
-        break;
-    }
-    case PROP_NULLABLE_LONG_SETTABLE_ATTRIBUTE: {
-        coreSelf->setNullableLongSettableAttribute((g_value_get_long(value)));
-        break;
-    }
-    case PROP_NULLABLE_STRING_VALUE: {
-        coreSelf->setNullableStringValue((g_value_get_long(value)));
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static void webkit_dom_test_obj_get_property(GObject* object, guint propertyId, GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-
-    WebKitDOMTestObj* self = WEBKIT_DOM_TEST_OBJ(object);
-    WebCore::TestObj* coreSelf = WebKit::core(self);
-
-    switch (propertyId) {
-    case PROP_READ_ONLY_LONG_ATTR: {
-        g_value_set_long(value, coreSelf->readOnlyLongAttr());
-        break;
-    }
-    case PROP_READ_ONLY_STRING_ATTR: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->readOnlyStringAttr()));
-        break;
-    }
-    case PROP_READ_ONLY_TEST_OBJ_ATTR: {
-        RefPtr<WebCore::TestObj> ptr = coreSelf->readOnlyTestObjAttr();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_SHORT_ATTR: {
-        g_value_set_int(value, coreSelf->shortAttr());
-        break;
-    }
-    case PROP_UNSIGNED_SHORT_ATTR: {
-        g_value_set_uint(value, coreSelf->unsignedShortAttr());
-        break;
-    }
-    case PROP_LONG_ATTR: {
-        g_value_set_long(value, coreSelf->longAttr());
-        break;
-    }
-    case PROP_LONG_LONG_ATTR: {
-        g_value_set_int64(value, coreSelf->longLongAttr());
-        break;
-    }
-    case PROP_UNSIGNED_LONG_LONG_ATTR: {
-        g_value_set_uint64(value, coreSelf->unsignedLongLongAttr());
-        break;
-    }
-    case PROP_STRING_ATTR: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->stringAttr()));
-        break;
-    }
-    case PROP_TEST_OBJ_ATTR: {
-        RefPtr<WebCore::TestObj> ptr = coreSelf->testObjAttr();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_XML_OBJ_ATTR: {
-        RefPtr<WebCore::TestObj> ptr = coreSelf->xmlObjAttr();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_CREATE: {
-        g_value_set_boolean(value, coreSelf->isCreate());
-        break;
-    }
-    case PROP_REFLECTED_STRING_ATTR: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr)));
-        break;
-    }
-    case PROP_REFLECTED_INTEGRAL_ATTR: {
-        g_value_set_long(value, coreSelf->getIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr));
-        break;
-    }
-    case PROP_REFLECTED_UNSIGNED_INTEGRAL_ATTR: {
-        g_value_set_ulong(value, coreSelf->getUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr));
-        break;
-    }
-    case PROP_REFLECTED_BOOLEAN_ATTR: {
-        g_value_set_boolean(value, coreSelf->fastHasAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr));
-        break;
-    }
-    case PROP_REFLECTED_URL_ATTR: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr)));
-        break;
-    }
-    case PROP_REFLECTED_STRING_ATTR: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr)));
-        break;
-    }
-    case PROP_REFLECTED_CUSTOM_INTEGRAL_ATTR: {
-        g_value_set_long(value, coreSelf->getIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr));
-        break;
-    }
-    case PROP_REFLECTED_CUSTOM_BOOLEAN_ATTR: {
-        g_value_set_boolean(value, coreSelf->fastHasAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr));
-        break;
-    }
-    case PROP_REFLECTED_CUSTOM_URL_ATTR: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr)));
-        break;
-    }
-    case PROP_ATTR_WITH_GETTER_EXCEPTION: {
-        WebCore::ExceptionCode ec = 0;
-        g_value_set_long(value, coreSelf->attrWithGetterException(ec));
-        break;
-    }
-    case PROP_ATTR_WITH_SETTER_EXCEPTION: {
-        g_value_set_long(value, coreSelf->attrWithSetterException());
-        break;
-    }
-    case PROP_STRING_ATTR_WITH_GETTER_EXCEPTION: {
-        WebCore::ExceptionCode ec = 0;
-        g_value_take_string(value, convertToUTF8String(coreSelf->stringAttrWithGetterException(ec)));
-        break;
-    }
-    case PROP_STRING_ATTR_WITH_SETTER_EXCEPTION: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->stringAttrWithSetterException()));
-        break;
-    }
-    case PROP_WITH_SCRIPT_STATE_ATTRIBUTE: {
-        g_value_set_long(value, coreSelf->withScriptStateAttribute());
-        break;
-    }
-    case PROP_WITH_SCRIPT_EXECUTION_CONTEXT_ATTRIBUTE: {
-        RefPtr<WebCore::TestObj> ptr = coreSelf->withScriptExecutionContextAttribute();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_WITH_SCRIPT_STATE_ATTRIBUTE_RAISES: {
-        WebCore::ExceptionCode ec = 0;
-        RefPtr<WebCore::TestObj> ptr = coreSelf->withScriptStateAttributeRaises(ec);
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_WITH_SCRIPT_EXECUTION_CONTEXT_ATTRIBUTE_RAISES: {
-        WebCore::ExceptionCode ec = 0;
-        RefPtr<WebCore::TestObj> ptr = coreSelf->withScriptExecutionContextAttributeRaises(ec);
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_WITH_SCRIPT_EXECUTION_CONTEXT_AND_SCRIPT_STATE_ATTRIBUTE: {
-        RefPtr<WebCore::TestObj> ptr = coreSelf->withScriptExecutionContextAndScriptStateAttribute();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_WITH_SCRIPT_EXECUTION_CONTEXT_AND_SCRIPT_STATE_ATTRIBUTE_RAISES: {
-        WebCore::ExceptionCode ec = 0;
-        RefPtr<WebCore::TestObj> ptr = coreSelf->withScriptExecutionContextAndScriptStateAttributeRaises(ec);
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_WITH_SCRIPT_EXECUTION_CONTEXT_AND_SCRIPT_STATE_WITH_SPACES_ATTRIBUTE: {
-        RefPtr<WebCore::TestObj> ptr = coreSelf->withScriptExecutionContextAndScriptStateWithSpacesAttribute();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_WITH_SCRIPT_ARGUMENTS_AND_CALL_STACK_ATTRIBUTE: {
-        RefPtr<WebCore::TestObj> ptr = coreSelf->withScriptArgumentsAndCallStackAttribute();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_CONDITIONAL_ATTR1: {
-#if ENABLE(Condition1)
-        g_value_set_long(value, coreSelf->conditionalAttr1());
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif /* ENABLE(Condition1) */
-        break;
-    }
-    case PROP_CONDITIONAL_ATTR2: {
-#if ENABLE(Condition1) && ENABLE(Condition2)
-        g_value_set_long(value, coreSelf->conditionalAttr2());
-#else
-#if !ENABLE(Condition1)
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif
-#if !ENABLE(Condition2)
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif
-#endif /* ENABLE(Condition1) && ENABLE(Condition2) */
-        break;
-    }
-    case PROP_CONDITIONAL_ATTR3: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-        g_value_set_long(value, coreSelf->conditionalAttr3());
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    case PROP_ANY_ATTRIBUTE: {
-        RefPtr<WebCore::any> ptr = coreSelf->anyAttribute();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_CONTENT_DOCUMENT: {
-        RefPtr<WebCore::Document> ptr = coreSelf->contentDocument();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_MUTABLE_POINT: {
-        RefPtr<WebCore::SVGPoint> ptr = coreSelf->mutablePoint();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_IMMUTABLE_POINT: {
-        RefPtr<WebCore::SVGPoint> ptr = coreSelf->immutablePoint();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_STRAWBERRY: {
-        g_value_set_long(value, coreSelf->blueberry());
-        break;
-    }
-    case PROP_STRICT_FLOAT: {
-        g_value_set_float(value, coreSelf->strictFloat());
-        break;
-    }
-    case PROP_DESCRIPTION: {
-        g_value_set_long(value, coreSelf->description());
-        break;
-    }
-    case PROP_ID: {
-        g_value_set_long(value, coreSelf->id());
-        break;
-    }
-    case PROP_HASH: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->hash()));
-        break;
-    }
-    case PROP_REPLACEABLE_ATTRIBUTE: {
-        g_value_set_long(value, coreSelf->replaceableAttribute());
-        break;
-    }
-    case PROP_NULLABLE_DOUBLE_ATTRIBUTE: {
-        bool isNull = false;
-        g_value_set_double(value, coreSelf->nullableDoubleAttribute(isNull));
-        break;
-    }
-    case PROP_NULLABLE_LONG_ATTRIBUTE: {
-        bool isNull = false;
-        g_value_set_long(value, coreSelf->nullableLongAttribute(isNull));
-        break;
-    }
-    case PROP_NULLABLE_BOOLEAN_ATTRIBUTE: {
-        bool isNull = false;
-        g_value_set_boolean(value, coreSelf->nullableBooleanAttribute(isNull));
-        break;
-    }
-    case PROP_NULLABLE_STRING_ATTRIBUTE: {
-        bool isNull = false;
-        g_value_take_string(value, convertToUTF8String(coreSelf->nullableStringAttribute(isNull)));
-        break;
-    }
-    case PROP_NULLABLE_LONG_SETTABLE_ATTRIBUTE: {
-        bool isNull = false;
-        g_value_set_long(value, coreSelf->nullableLongSettableAttribute(isNull));
-        break;
-    }
-    case PROP_NULLABLE_STRING_VALUE: {
-        bool isNull = false;
-        WebCore::ExceptionCode ec = 0;
-        g_value_set_long(value, coreSelf->nullableStringValue(isNull, ec));
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static GObject* webkit_dom_test_obj_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_obj_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestObjPrivate* priv = WEBKIT_DOM_TEST_OBJ_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestObj*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_obj_class_init(WebKitDOMTestObjClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestObjPrivate));
-    gobjectClass->constructor = webkit_dom_test_obj_constructor;
-    gobjectClass->finalize = webkit_dom_test_obj_finalize;
-    gobjectClass->set_property = webkit_dom_test_obj_set_property;
-    gobjectClass->get_property = webkit_dom_test_obj_get_property;
-
-    g_object_class_install_property(gobjectClass,
-                                    PROP_READ_ONLY_LONG_ATTR,
-                                    g_param_spec_long("read-only-long-attr", /* name */
-                                                           "test_obj_read-only-long-attr", /* short description */
-                                                           "read-only  glong TestObj.read-only-long-attr", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_READ_ONLY_STRING_ATTR,
-                                    g_param_spec_string("read-only-string-attr", /* name */
-                                                           "test_obj_read-only-string-attr", /* short description */
-                                                           "read-only  gchar* TestObj.read-only-string-attr", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_READ_ONLY_TEST_OBJ_ATTR,
-                                    g_param_spec_object("read-only-test-obj-attr", /* name */
-                                                           "test_obj_read-only-test-obj-attr", /* short description */
-                                                           "read-only  WebKitDOMTestObj* TestObj.read-only-test-obj-attr", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_SHORT_ATTR,
-                                    g_param_spec_int("short-attr", /* name */
-                                                           "test_obj_short-attr", /* short description */
-                                                           "read-write  gshort TestObj.short-attr", /* longer - could do with some extra doc stuff here */
-                                                           G_MININT, /* min */
-G_MAXINT, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_UNSIGNED_SHORT_ATTR,
-                                    g_param_spec_uint("unsigned-short-attr", /* name */
-                                                           "test_obj_unsigned-short-attr", /* short description */
-                                                           "read-write  gushort TestObj.unsigned-short-attr", /* longer - could do with some extra doc stuff here */
-                                                           0, /* min */
-G_MAXUINT, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_LONG_ATTR,
-                                    g_param_spec_long("long-attr", /* name */
-                                                           "test_obj_long-attr", /* short description */
-                                                           "read-write  glong TestObj.long-attr", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_LONG_LONG_ATTR,
-                                    g_param_spec_int64("long-long-attr", /* name */
-                                                           "test_obj_long-long-attr", /* short description */
-                                                           "read-write  gint64 TestObj.long-long-attr", /* longer - could do with some extra doc stuff here */
-                                                           G_MININT64, /* min */
-G_MAXINT64, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_UNSIGNED_LONG_LONG_ATTR,
-                                    g_param_spec_uint64("unsigned-long-long-attr", /* name */
-                                                           "test_obj_unsigned-long-long-attr", /* short description */
-                                                           "read-write  guint64 TestObj.unsigned-long-long-attr", /* longer - could do with some extra doc stuff here */
-                                                           0, /* min */
-G_MAXUINT64, /* min */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_STRING_ATTR,
-                                    g_param_spec_string("string-attr", /* name */
-                                                           "test_obj_string-attr", /* short description */
-                                                           "read-write  gchar* TestObj.string-attr", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_TEST_OBJ_ATTR,
-                                    g_param_spec_object("test-obj-attr", /* name */
-                                                           "test_obj_test-obj-attr", /* short description */
-                                                           "read-write  WebKitDOMTestObj* TestObj.test-obj-attr", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_XML_OBJ_ATTR,
-                                    g_param_spec_object("xml-obj-attr", /* name */
-                                                           "test_obj_xml-obj-attr", /* short description */
-                                                           "read-write  WebKitDOMTestObj* TestObj.xml-obj-attr", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_CREATE,
-                                    g_param_spec_boolean("create", /* name */
-                                                           "test_obj_create", /* short description */
-                                                           "read-write  gboolean TestObj.create", /* longer - could do with some extra doc stuff here */
-                                                           FALSE, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REFLECTED_STRING_ATTR,
-                                    g_param_spec_string("reflected-string-attr", /* name */
-                                                           "test_obj_reflected-string-attr", /* short description */
-                                                           "read-write  gchar* TestObj.reflected-string-attr", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REFLECTED_INTEGRAL_ATTR,
-                                    g_param_spec_long("reflected-integral-attr", /* name */
-                                                           "test_obj_reflected-integral-attr", /* short description */
-                                                           "read-write  glong TestObj.reflected-integral-attr", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REFLECTED_UNSIGNED_INTEGRAL_ATTR,
-                                    g_param_spec_ulong("reflected-unsigned-integral-attr", /* name */
-                                                           "test_obj_reflected-unsigned-integral-attr", /* short description */
-                                                           "read-write  gulong TestObj.reflected-unsigned-integral-attr", /* longer - could do with some extra doc stuff here */
-                                                           0, /* min */
-G_MAXULONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REFLECTED_BOOLEAN_ATTR,
-                                    g_param_spec_boolean("reflected-boolean-attr", /* name */
-                                                           "test_obj_reflected-boolean-attr", /* short description */
-                                                           "read-write  gboolean TestObj.reflected-boolean-attr", /* longer - could do with some extra doc stuff here */
-                                                           FALSE, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REFLECTED_URL_ATTR,
-                                    g_param_spec_string("reflected-url-attr", /* name */
-                                                           "test_obj_reflected-url-attr", /* short description */
-                                                           "read-write  gchar* TestObj.reflected-url-attr", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REFLECTED_STRING_ATTR,
-                                    g_param_spec_string("reflected-string-attr", /* name */
-                                                           "test_obj_reflected-string-attr", /* short description */
-                                                           "read-write  gchar* TestObj.reflected-string-attr", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REFLECTED_CUSTOM_INTEGRAL_ATTR,
-                                    g_param_spec_long("reflected-custom-integral-attr", /* name */
-                                                           "test_obj_reflected-custom-integral-attr", /* short description */
-                                                           "read-write  glong TestObj.reflected-custom-integral-attr", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REFLECTED_CUSTOM_BOOLEAN_ATTR,
-                                    g_param_spec_boolean("reflected-custom-boolean-attr", /* name */
-                                                           "test_obj_reflected-custom-boolean-attr", /* short description */
-                                                           "read-write  gboolean TestObj.reflected-custom-boolean-attr", /* longer - could do with some extra doc stuff here */
-                                                           FALSE, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REFLECTED_CUSTOM_URL_ATTR,
-                                    g_param_spec_string("reflected-custom-url-attr", /* name */
-                                                           "test_obj_reflected-custom-url-attr", /* short description */
-                                                           "read-write  gchar* TestObj.reflected-custom-url-attr", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_ATTR_WITH_GETTER_EXCEPTION,
-                                    g_param_spec_long("attr-with-getter-exception", /* name */
-                                                           "test_obj_attr-with-getter-exception", /* short description */
-                                                           "read-write  glong TestObj.attr-with-getter-exception", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_ATTR_WITH_SETTER_EXCEPTION,
-                                    g_param_spec_long("attr-with-setter-exception", /* name */
-                                                           "test_obj_attr-with-setter-exception", /* short description */
-                                                           "read-write  glong TestObj.attr-with-setter-exception", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_STRING_ATTR_WITH_GETTER_EXCEPTION,
-                                    g_param_spec_string("string-attr-with-getter-exception", /* name */
-                                                           "test_obj_string-attr-with-getter-exception", /* short description */
-                                                           "read-write  gchar* TestObj.string-attr-with-getter-exception", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_STRING_ATTR_WITH_SETTER_EXCEPTION,
-                                    g_param_spec_string("string-attr-with-setter-exception", /* name */
-                                                           "test_obj_string-attr-with-setter-exception", /* short description */
-                                                           "read-write  gchar* TestObj.string-attr-with-setter-exception", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_WITH_SCRIPT_STATE_ATTRIBUTE,
-                                    g_param_spec_long("with-script-state-attribute", /* name */
-                                                           "test_obj_with-script-state-attribute", /* short description */
-                                                           "read-write  glong TestObj.with-script-state-attribute", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_ATTRIBUTE,
-                                    g_param_spec_object("with-script-execution-context-attribute", /* name */
-                                                           "test_obj_with-script-execution-context-attribute", /* short description */
-                                                           "read-write  WebKitDOMTestObj* TestObj.with-script-execution-context-attribute", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_WITH_SCRIPT_STATE_ATTRIBUTE_RAISES,
-                                    g_param_spec_object("with-script-state-attribute-raises", /* name */
-                                                           "test_obj_with-script-state-attribute-raises", /* short description */
-                                                           "read-write  WebKitDOMTestObj* TestObj.with-script-state-attribute-raises", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_ATTRIBUTE_RAISES,
-                                    g_param_spec_object("with-script-execution-context-attribute-raises", /* name */
-                                                           "test_obj_with-script-execution-context-attribute-raises", /* short description */
-                                                           "read-write  WebKitDOMTestObj* TestObj.with-script-execution-context-attribute-raises", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_AND_SCRIPT_STATE_ATTRIBUTE,
-                                    g_param_spec_object("with-script-execution-context-and-script-state-attribute", /* name */
-                                                           "test_obj_with-script-execution-context-and-script-state-attribute", /* short description */
-                                                           "read-write  WebKitDOMTestObj* TestObj.with-script-execution-context-and-script-state-attribute", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_AND_SCRIPT_STATE_ATTRIBUTE_RAISES,
-                                    g_param_spec_object("with-script-execution-context-and-script-state-attribute-raises", /* name */
-                                                           "test_obj_with-script-execution-context-and-script-state-attribute-raises", /* short description */
-                                                           "read-write  WebKitDOMTestObj* TestObj.with-script-execution-context-and-script-state-attribute-raises", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_WITH_SCRIPT_EXECUTION_CONTEXT_AND_SCRIPT_STATE_WITH_SPACES_ATTRIBUTE,
-                                    g_param_spec_object("with-script-execution-context-and-script-state-with-spaces-attribute", /* name */
-                                                           "test_obj_with-script-execution-context-and-script-state-with-spaces-attribute", /* short description */
-                                                           "read-write  WebKitDOMTestObj* TestObj.with-script-execution-context-and-script-state-with-spaces-attribute", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_WITH_SCRIPT_ARGUMENTS_AND_CALL_STACK_ATTRIBUTE,
-                                    g_param_spec_object("with-script-arguments-and-call-stack-attribute", /* name */
-                                                           "test_obj_with-script-arguments-and-call-stack-attribute", /* short description */
-                                                           "read-write  WebKitDOMTestObj* TestObj.with-script-arguments-and-call-stack-attribute", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_CONDITIONAL_ATTR1,
-                                    g_param_spec_long("conditional-attr1", /* name */
-                                                           "test_obj_conditional-attr1", /* short description */
-                                                           "read-write  glong TestObj.conditional-attr1", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_CONDITIONAL_ATTR2,
-                                    g_param_spec_long("conditional-attr2", /* name */
-                                                           "test_obj_conditional-attr2", /* short description */
-                                                           "read-write  glong TestObj.conditional-attr2", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_CONDITIONAL_ATTR3,
-                                    g_param_spec_long("conditional-attr3", /* name */
-                                                           "test_obj_conditional-attr3", /* short description */
-                                                           "read-write  glong TestObj.conditional-attr3", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_ANY_ATTRIBUTE,
-                                    g_param_spec_object("any-attribute", /* name */
-                                                           "test_obj_any-attribute", /* short description */
-                                                           "read-write  WebKitDOMany* TestObj.any-attribute", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_ANY, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_CONTENT_DOCUMENT,
-                                    g_param_spec_object("content-document", /* name */
-                                                           "test_obj_content-document", /* short description */
-                                                           "read-only  WebKitDOMDocument* TestObj.content-document", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_DOCUMENT, /* gobject type */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_MUTABLE_POINT,
-                                    g_param_spec_object("mutable-point", /* name */
-                                                           "test_obj_mutable-point", /* short description */
-                                                           "read-write  WebKitDOMSVGPoint* TestObj.mutable-point", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_SVG_POINT, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_IMMUTABLE_POINT,
-                                    g_param_spec_object("immutable-point", /* name */
-                                                           "test_obj_immutable-point", /* short description */
-                                                           "read-write  WebKitDOMSVGPoint* TestObj.immutable-point", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_SVG_POINT, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_STRAWBERRY,
-                                    g_param_spec_long("strawberry", /* name */
-                                                           "test_obj_strawberry", /* short description */
-                                                           "read-write  glong TestObj.strawberry", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_STRICT_FLOAT,
-                                    g_param_spec_float("strict-float", /* name */
-                                                           "test_obj_strict-float", /* short description */
-                                                           "read-write  gfloat TestObj.strict-float", /* longer - could do with some extra doc stuff here */
-                                                           -G_MAXFLOAT, /* min */
-G_MAXFLOAT, /* max */
-0.0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_DESCRIPTION,
-                                    g_param_spec_long("description", /* name */
-                                                           "test_obj_description", /* short description */
-                                                           "read-only  glong TestObj.description", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_ID,
-                                    g_param_spec_long("id", /* name */
-                                                           "test_obj_id", /* short description */
-                                                           "read-write  glong TestObj.id", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_HASH,
-                                    g_param_spec_string("hash", /* name */
-                                                           "test_obj_hash", /* short description */
-                                                           "read-only  gchar* TestObj.hash", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_REPLACEABLE_ATTRIBUTE,
-                                    g_param_spec_long("replaceable-attribute", /* name */
-                                                           "test_obj_replaceable-attribute", /* short description */
-                                                           "read-only  glong TestObj.replaceable-attribute", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_NULLABLE_DOUBLE_ATTRIBUTE,
-                                    g_param_spec_double("nullable-double-attribute", /* name */
-                                                           "test_obj_nullable-double-attribute", /* short description */
-                                                           "read-only  gdouble TestObj.nullable-double-attribute", /* longer - could do with some extra doc stuff here */
-                                                           -G_MAXDOUBLE, /* min */
-G_MAXDOUBLE, /* max */
-0.0, /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_NULLABLE_LONG_ATTRIBUTE,
-                                    g_param_spec_long("nullable-long-attribute", /* name */
-                                                           "test_obj_nullable-long-attribute", /* short description */
-                                                           "read-only  glong TestObj.nullable-long-attribute", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_NULLABLE_BOOLEAN_ATTRIBUTE,
-                                    g_param_spec_boolean("nullable-boolean-attribute", /* name */
-                                                           "test_obj_nullable-boolean-attribute", /* short description */
-                                                           "read-only  gboolean TestObj.nullable-boolean-attribute", /* longer - could do with some extra doc stuff here */
-                                                           FALSE, /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_NULLABLE_STRING_ATTRIBUTE,
-                                    g_param_spec_string("nullable-string-attribute", /* name */
-                                                           "test_obj_nullable-string-attribute", /* short description */
-                                                           "read-only  gchar* TestObj.nullable-string-attribute", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_NULLABLE_LONG_SETTABLE_ATTRIBUTE,
-                                    g_param_spec_long("nullable-long-settable-attribute", /* name */
-                                                           "test_obj_nullable-long-settable-attribute", /* short description */
-                                                           "read-write  glong TestObj.nullable-long-settable-attribute", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_NULLABLE_STRING_VALUE,
-                                    g_param_spec_long("nullable-string-value", /* name */
-                                                           "test_obj_nullable-string-value", /* short description */
-                                                           "read-write  glong TestObj.nullable-string-value", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-}
-
-static void webkit_dom_test_obj_init(WebKitDOMTestObj* request)
-{
-    WebKitDOMTestObjPrivate* priv = WEBKIT_DOM_TEST_OBJ_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestObjPrivate();
-}
-
-void
-webkit_dom_test_obj_void_method(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->voidMethod();
-}
-
-void
-webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong longArg, const gchar* strArg, WebKitDOMTestObj* objArg)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(strArg);
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(objArg));
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedStrArg = WTF::String::fromUTF8(strArg);
-    WebCore::TestObj* convertedObjArg = WebKit::core(objArg);
-    item->voidMethodWithArgs(longArg, convertedStrArg, convertedObjArg);
-}
-
-glong
-webkit_dom_test_obj_long_method(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->longMethod();
-    return result;
-}
-
-glong
-webkit_dom_test_obj_long_method_with_args(WebKitDOMTestObj* self, glong longArg, const gchar* strArg, WebKitDOMTestObj* objArg)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(strArg, 0);
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(objArg), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedStrArg = WTF::String::fromUTF8(strArg);
-    WebCore::TestObj* convertedObjArg = WebKit::core(objArg);
-    glong result = item->longMethodWithArgs(longArg, convertedStrArg, convertedObjArg);
-    return result;
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_obj_method(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->objMethod());
-    return WebKit::kit(gobjectResult.get());
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong longArg, const gchar* strArg, WebKitDOMTestObj* objArg)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(strArg, 0);
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(objArg), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedStrArg = WTF::String::fromUTF8(strArg);
-    WebCore::TestObj* convertedObjArg = WebKit::core(objArg);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->objMethodWithArgs(longArg, convertedStrArg, convertedObjArg));
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_method_with_enum_arg(WebKitDOMTestObj* self, WebKitDOMTestEnumType* enumArg)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_ENUM_TYPE(enumArg));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::TestEnumType* convertedEnumArg = WebKit::core(enumArg);
-    item->methodWithEnumArg(convertedEnumArg);
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, const gchar* strArg, WebKitDOMTestObj* objArg, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(strArg, 0);
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(objArg), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedStrArg = WTF::String::fromUTF8(strArg);
-    WebCore::TestObj* convertedObjArg = WebKit::core(objArg);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->methodThatRequiresAllArgsAndThrows(convertedStrArg, convertedObjArg, ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serializedArg)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(serializedArg));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::SerializedScriptValue* convertedSerializedArg = WebKit::core(serializedArg);
-    item->serializedValue(convertedSerializedArg);
-}
-
-void
-webkit_dom_test_obj_options_object(WebKitDOMTestObj* self, WebKitDOMDictionary* oo, WebKitDOMDictionary* ooo)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_DICTIONARY(oo));
-    g_return_if_fail(WEBKIT_DOM_IS_DICTIONARY(ooo));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::Dictionary* convertedOo = WebKit::core(oo);
-    WebCore::Dictionary* convertedOoo = WebKit::core(ooo);
-    item->optionsObject(convertedOo, convertedOoo);
-}
-
-void
-webkit_dom_test_obj_method_with_exception(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(!error || !*error);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    item->methodWithException(ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-}
-
-void
-webkit_dom_test_obj_with_script_state_void(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->withScriptStateVoid();
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_with_script_state_obj(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptStateObj());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_with_script_state_void_exception(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(!error || !*error);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    item->withScriptStateVoidException(ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_with_script_state_obj_exception(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptStateObjException(ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_with_script_execution_context(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->withScriptExecutionContext();
-}
-
-void
-webkit_dom_test_obj_with_script_execution_context_and_script_state(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->withScriptExecutionContextAndScriptState();
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_with_script_execution_context_and_script_state_obj_exception(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAndScriptStateObjException(ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_with_script_execution_context_and_script_state_with_spaces(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAndScriptStateWithSpaces());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_method_with_optional_arg(WebKitDOMTestObj* self, glong opt)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->methodWithOptionalArg(opt);
-}
-
-void
-webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg(WebKitDOMTestObj* self, glong nonOpt, glong opt)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->methodWithNonOptionalArgAndOptionalArg(nonOpt, opt);
-}
-
-void
-webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args(WebKitDOMTestObj* self, glong nonOpt, glong opt1, glong opt2)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt, opt1, opt2);
-}
-
-void
-webkit_dom_test_obj_method_with_optional_string(WebKitDOMTestObj* self, const gchar* str)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(str);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedStr = WTF::String::fromUTF8(str);
-    item->methodWithOptionalString(convertedStr);
-}
-
-void
-webkit_dom_test_obj_method_with_optional_string_is_undefined(WebKitDOMTestObj* self, const gchar* str)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(str);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedStr = WTF::String::fromUTF8(str);
-    item->methodWithOptionalStringIsUndefined(convertedStr);
-}
-
-void
-webkit_dom_test_obj_method_with_optional_string_is_null_string(WebKitDOMTestObj* self, const gchar* str)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(str);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedStr = WTF::String::fromUTF8(str);
-    item->methodWithOptionalStringIsNullString(convertedStr);
-}
-
-gchar*
-webkit_dom_test_obj_conditional_method1(WebKitDOMTestObj* self)
-{
-#if ENABLE(Condition1)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->conditionalMethod1());
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    return 0;
-#endif /* ENABLE(Condition1) */
-}
-
-void
-webkit_dom_test_obj_conditional_method2(WebKitDOMTestObj* self)
-{
-#if ENABLE(Condition1) && ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->conditionalMethod2();
-#else
-#if !ENABLE(Condition1)
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif
-#if !ENABLE(Condition2)
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif
-#endif /* ENABLE(Condition1) && ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_obj_conditional_method3(WebKitDOMTestObj* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->conditionalMethod3();
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_obj_class_method(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->classMethod();
-}
-
-glong
-webkit_dom_test_obj_class_method_with_optional(WebKitDOMTestObj* self, glong arg)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->classMethodWithOptional(arg);
-    return result;
-}
-
-void
-webkit_dom_test_obj_overloaded_method1(WebKitDOMTestObj* self, glong arg)
-{
-#if ENABLE(Condition1)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->overloadedMethod1(arg);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif /* ENABLE(Condition1) */
-}
-
-void
-webkit_dom_test_obj_overloaded_method1(WebKitDOMTestObj* self, const gchar* type)
-{
-#if ENABLE(Condition1)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(type);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedType = WTF::String::fromUTF8(type);
-    item->overloadedMethod1(convertedType);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif /* ENABLE(Condition1) */
-}
-
-void
-webkit_dom_test_obj_convert1(WebKitDOMTestObj* self, WebKitDOMa* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_A(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::a* convertedValue = WebKit::core(value);
-    item->convert1(convertedValue);
-}
-
-void
-webkit_dom_test_obj_convert2(WebKitDOMTestObj* self, WebKitDOMb* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_B(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::b* convertedValue = WebKit::core(value);
-    item->convert2(convertedValue);
-}
-
-void
-webkit_dom_test_obj_convert4(WebKitDOMTestObj* self, WebKitDOMd* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_D(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::d* convertedValue = WebKit::core(value);
-    item->convert4(convertedValue);
-}
-
-void
-webkit_dom_test_obj_convert5(WebKitDOMTestObj* self, WebKitDOMe* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_E(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::e* convertedValue = WebKit::core(value);
-    item->convert5(convertedValue);
-}
-
-WebKitDOMSVGPoint*
-webkit_dom_test_obj_mutable_point_function(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::SVGPoint> gobjectResult = WTF::getPtr(item->mutablePointFunction());
-    return WebKit::kit(gobjectResult.get());
-}
-
-WebKitDOMSVGPoint*
-webkit_dom_test_obj_immutable_point_function(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::SVGPoint> gobjectResult = WTF::getPtr(item->immutablePointFunction());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_orange(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->banana();
-}
-
-WebKitDOMbool*
-webkit_dom_test_obj_strict_function(WebKitDOMTestObj* self, const gchar* str, gfloat a, glong b, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(str, 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedStr = WTF::String::fromUTF8(str);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::bool> gobjectResult = WTF::getPtr(item->strictFunction(convertedStr, a, b, ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_variadic_string_method(WebKitDOMTestObj* self, const gchar* head, const gchar* tail)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(head);
-    g_return_if_fail(tail);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedHead = WTF::String::fromUTF8(head);
-    WTF::String convertedTail = WTF::String::fromUTF8(tail);
-    item->variadicStringMethod(convertedHead, convertedTail);
-}
-
-void
-webkit_dom_test_obj_variadic_double_method(WebKitDOMTestObj* self, gdouble head, gdouble tail)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->variadicDoubleMethod(head, tail);
-}
-
-void
-webkit_dom_test_obj_variadic_node_method(WebKitDOMTestObj* self, WebKitDOMNode* head, WebKitDOMNode* tail)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_NODE(head));
-    g_return_if_fail(WEBKIT_DOM_IS_NODE(tail));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::Node* convertedHead = WebKit::core(head);
-    WebCore::Node* convertedTail = WebKit::core(tail);
-    item->variadicNodeMethod(convertedHead, convertedTail);
-}
-
-glong
-webkit_dom_test_obj_get_read_only_long_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->readOnlyLongAttr();
-    return result;
-}
-
-gchar*
-webkit_dom_test_obj_get_read_only_string_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->readOnlyStringAttr());
-    return result;
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_get_read_only_test_obj_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->readOnlyTestObjAttr());
-    return WebKit::kit(gobjectResult.get());
-}
-
-gshort
-webkit_dom_test_obj_get_short_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gshort result = item->shortAttr();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_short_attr(WebKitDOMTestObj* self, gshort value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setShortAttr(value);
-}
-
-gushort
-webkit_dom_test_obj_get_unsigned_short_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gushort result = item->unsignedShortAttr();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_unsigned_short_attr(WebKitDOMTestObj* self, gushort value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setUnsignedShortAttr(value);
-}
-
-glong
-webkit_dom_test_obj_get_long_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->longAttr();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_long_attr(WebKitDOMTestObj* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setLongAttr(value);
-}
-
-gint64
-webkit_dom_test_obj_get_long_long_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gint64 result = item->longLongAttr();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_long_long_attr(WebKitDOMTestObj* self, gint64 value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setLongLongAttr(value);
-}
-
-guint64
-webkit_dom_test_obj_get_unsigned_long_long_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    guint64 result = item->unsignedLongLongAttr();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_unsigned_long_long_attr(WebKitDOMTestObj* self, guint64 value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setUnsignedLongLongAttr(value);
-}
-
-gchar*
-webkit_dom_test_obj_get_string_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->stringAttr());
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, const gchar* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(value);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    item->setStringAttr(convertedValue);
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_get_test_obj_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->testObjAttr());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::TestObj* convertedValue = WebKit::core(value);
-    item->setTestObjAttr(convertedValue);
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_get_xml_obj_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->xmlObjAttr());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_xml_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::TestObj* convertedValue = WebKit::core(value);
-    item->setXMLObjAttr(convertedValue);
-}
-
-gboolean
-webkit_dom_test_obj_get_create(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), FALSE);
-    WebCore::TestObj* item = WebKit::core(self);
-    gboolean result = item->isCreate();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_create(WebKitDOMTestObj* self, gboolean value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setCreate(value);
-}
-
-gchar*
-webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr));
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(value);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    item->setAttribute(WebCore::HTMLNames::reflectedstringattrAttr, convertedValue);
-}
-
-glong
-webkit_dom_test_obj_get_reflected_integral_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->getIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr);
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_reflected_integral_attr(WebKitDOMTestObj* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr, value);
-}
-
-gulong
-webkit_dom_test_obj_get_reflected_unsigned_integral_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gulong result = item->getUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr);
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_reflected_unsigned_integral_attr(WebKitDOMTestObj* self, gulong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr, value);
-}
-
-gboolean
-webkit_dom_test_obj_get_reflected_boolean_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), FALSE);
-    WebCore::TestObj* item = WebKit::core(self);
-    gboolean result = item->fastHasAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr);
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_reflected_boolean_attr(WebKitDOMTestObj* self, gboolean value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setBooleanAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr, value);
-}
-
-gchar*
-webkit_dom_test_obj_get_reflected_url_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr));
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_reflected_url_attr(WebKitDOMTestObj* self, const gchar* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(value);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    item->setAttribute(WebCore::HTMLNames::reflectedurlattrAttr, convertedValue);
-}
-
-gchar*
-webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr));
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(value);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    item->setAttribute(WebCore::HTMLNames::customContentStringAttrAttr, convertedValue);
-}
-
-glong
-webkit_dom_test_obj_get_reflected_custom_integral_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->getIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr);
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_reflected_custom_integral_attr(WebKitDOMTestObj* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr, value);
-}
-
-gboolean
-webkit_dom_test_obj_get_reflected_custom_boolean_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), FALSE);
-    WebCore::TestObj* item = WebKit::core(self);
-    gboolean result = item->fastHasAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr);
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_reflected_custom_boolean_attr(WebKitDOMTestObj* self, gboolean value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setBooleanAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr, value);
-}
-
-gchar*
-webkit_dom_test_obj_get_reflected_custom_url_attr(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr));
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_reflected_custom_url_attr(WebKitDOMTestObj* self, const gchar* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(value);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    item->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, convertedValue);
-}
-
-glong
-webkit_dom_test_obj_get_attr_with_getter_exception(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    glong result = item->attrWithGetterException(ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_attr_with_getter_exception(WebKitDOMTestObj* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setAttrWithGetterException(value);
-}
-
-glong
-webkit_dom_test_obj_get_attr_with_setter_exception(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->attrWithSetterException();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_attr_with_setter_exception(WebKitDOMTestObj* self, glong value, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(!error || !*error);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    item->setAttrWithSetterException(value, ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-}
-
-gchar*
-webkit_dom_test_obj_get_string_attr_with_getter_exception(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    gchar* result = convertToUTF8String(item->stringAttrWithGetterException(ec));
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_string_attr_with_getter_exception(WebKitDOMTestObj* self, const gchar* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(value);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    item->setStringAttrWithGetterException(convertedValue);
-}
-
-gchar*
-webkit_dom_test_obj_get_string_attr_with_setter_exception(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->stringAttrWithSetterException());
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self, const gchar* value, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(value);
-    g_return_if_fail(!error || !*error);
-    WebCore::TestObj* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    WebCore::ExceptionCode ec = 0;
-    item->setStringAttrWithSetterException(convertedValue, ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-}
-
-glong
-webkit_dom_test_obj_get_with_script_state_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->withScriptStateAttribute();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_with_script_state_attribute(WebKitDOMTestObj* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setWithScriptStateAttribute(value);
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAttribute());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_with_script_execution_context_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::TestObj* convertedValue = WebKit::core(value);
-    item->setWithScriptExecutionContextAttribute(convertedValue);
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_state_attribute_raises(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptStateAttributeRaises(ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_with_script_state_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::TestObj* convertedValue = WebKit::core(value);
-    item->setWithScriptStateAttributeRaises(convertedValue);
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_attribute_raises(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAttributeRaises(ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_with_script_execution_context_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::TestObj* convertedValue = WebKit::core(value);
-    item->setWithScriptExecutionContextAttributeRaises(convertedValue);
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_and_script_state_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAndScriptStateAttribute());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::TestObj* convertedValue = WebKit::core(value);
-    item->setWithScriptExecutionContextAndScriptStateAttribute(convertedValue);
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_and_script_state_attribute_raises(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAndScriptStateAttributeRaises(ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::TestObj* convertedValue = WebKit::core(value);
-    item->setWithScriptExecutionContextAndScriptStateAttributeRaises(convertedValue);
-}
-
-WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_and_script_state_with_spaces_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAndScriptStateWithSpacesAttribute());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_with_script_execution_context_and_script_state_with_spaces_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::TestObj* convertedValue = WebKit::core(value);
-    item->setWithScriptExecutionContextAndScriptStateWithSpacesAttribute(convertedValue);
-}
-
-glong
-webkit_dom_test_obj_get_conditional_attr1(WebKitDOMTestObj* self)
-{
-#if ENABLE(Condition1)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->conditionalAttr1();
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    return static_cast<glong>(0);
-#endif /* ENABLE(Condition1) */
-}
-
-void
-webkit_dom_test_obj_set_conditional_attr1(WebKitDOMTestObj* self, glong value)
-{
-#if ENABLE(Condition1)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setConditionalAttr1(value);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif /* ENABLE(Condition1) */
-}
-
-glong
-webkit_dom_test_obj_get_conditional_attr2(WebKitDOMTestObj* self)
-{
-#if ENABLE(Condition1) && ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->conditionalAttr2();
-    return result;
-#else
-#if !ENABLE(Condition1)
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif
-#if !ENABLE(Condition2)
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif
-    return static_cast<glong>(0);
-#endif /* ENABLE(Condition1) && ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_obj_set_conditional_attr2(WebKitDOMTestObj* self, glong value)
-{
-#if ENABLE(Condition1) && ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setConditionalAttr2(value);
-#else
-#if !ENABLE(Condition1)
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-#endif
-#if !ENABLE(Condition2)
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif
-#endif /* ENABLE(Condition1) && ENABLE(Condition2) */
-}
-
-glong
-webkit_dom_test_obj_get_conditional_attr3(WebKitDOMTestObj* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->conditionalAttr3();
-    return result;
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return static_cast<glong>(0);
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_obj_set_conditional_attr3(WebKitDOMTestObj* self, glong value)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setConditionalAttr3(value);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-WebKitDOMany*
-webkit_dom_test_obj_get_any_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::any> gobjectResult = WTF::getPtr(item->anyAttribute());
-    return 0; // TODO: return canvas object
-}
-
-void
-webkit_dom_test_obj_set_any_attribute(WebKitDOMTestObj* self, WebKitDOMany* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_ANY(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::any* convertedValue = WebKit::core(value);
-    item->setAnyAttribute(convertedValue);
-}
-
-WebKitDOMDocument*
-webkit_dom_test_obj_get_content_document(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::Document> gobjectResult = WTF::getPtr(item->contentDocument());
-    return WebKit::kit(gobjectResult.get());
-}
-
-WebKitDOMSVGPoint*
-webkit_dom_test_obj_get_mutable_point(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::SVGPoint> gobjectResult = WTF::getPtr(item->mutablePoint());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_mutable_point(WebKitDOMTestObj* self, WebKitDOMSVGPoint* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_SVG_POINT(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::SVGPoint* convertedValue = WebKit::core(value);
-    item->setMutablePoint(convertedValue);
-}
-
-WebKitDOMSVGPoint*
-webkit_dom_test_obj_get_immutable_point(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr<WebCore::SVGPoint> gobjectResult = WTF::getPtr(item->immutablePoint());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_obj_set_immutable_point(WebKitDOMTestObj* self, WebKitDOMSVGPoint* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    g_return_if_fail(WEBKIT_DOM_IS_SVG_POINT(value));
-    WebCore::TestObj* item = WebKit::core(self);
-    WebCore::SVGPoint* convertedValue = WebKit::core(value);
-    item->setImmutablePoint(convertedValue);
-}
-
-glong
-webkit_dom_test_obj_get_strawberry(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->blueberry();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_strawberry(WebKitDOMTestObj* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setBlueberry(value);
-}
-
-gfloat
-webkit_dom_test_obj_get_strict_float(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gfloat result = item->strictFloat();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_strict_float(WebKitDOMTestObj* self, gfloat value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setStrictFloat(value);
-}
-
-glong
-webkit_dom_test_obj_get_description(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->description();
-    return result;
-}
-
-glong
-webkit_dom_test_obj_get_id(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->id();
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_id(WebKitDOMTestObj* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setId(value);
-}
-
-gchar*
-webkit_dom_test_obj_get_hash(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->hash());
-    return result;
-}
-
-glong
-webkit_dom_test_obj_get_replaceable_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    glong result = item->replaceableAttribute();
-    return result;
-}
-
-gdouble
-webkit_dom_test_obj_get_nullable_double_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    bool isNull = false;
-    gdouble result = item->nullableDoubleAttribute(isNull);
-    return result;
-}
-
-glong
-webkit_dom_test_obj_get_nullable_long_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    bool isNull = false;
-    glong result = item->nullableLongAttribute(isNull);
-    return result;
-}
-
-gboolean
-webkit_dom_test_obj_get_nullable_boolean_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), FALSE);
-    WebCore::TestObj* item = WebKit::core(self);
-    bool isNull = false;
-    gboolean result = item->nullableBooleanAttribute(isNull);
-    return result;
-}
-
-gchar*
-webkit_dom_test_obj_get_nullable_string_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    bool isNull = false;
-    gchar* result = convertToUTF8String(item->nullableStringAttribute(isNull));
-    return result;
-}
-
-glong
-webkit_dom_test_obj_get_nullable_long_settable_attribute(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    bool isNull = false;
-    glong result = item->nullableLongSettableAttribute(isNull);
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_nullable_long_settable_attribute(WebKitDOMTestObj* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setNullableLongSettableAttribute(value);
-}
-
-glong
-webkit_dom_test_obj_get_nullable_string_value(WebKitDOMTestObj* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    bool isNull = false;
-    WebCore::ExceptionCode ec = 0;
-    glong result = item->nullableStringValue(isNull, ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return result;
-}
-
-void
-webkit_dom_test_obj_set_nullable_string_value(WebKitDOMTestObj* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
-    WebCore::TestObj* item = WebKit::core(self);
-    item->setNullableStringValue(value);
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h
deleted file mode 100644
index af536b0..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h
+++ /dev/null
@@ -1,1488 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestObj_h
-#define WebKitDOMTestObj_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_OBJ            (webkit_dom_test_obj_get_type())
-#define WEBKIT_DOM_TEST_OBJ(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_OBJ, WebKitDOMTestObj))
-#define WEBKIT_DOM_TEST_OBJ_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_OBJ, WebKitDOMTestObjClass)
-#define WEBKIT_DOM_IS_TEST_OBJ(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_OBJ))
-#define WEBKIT_DOM_IS_TEST_OBJ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_OBJ))
-#define WEBKIT_DOM_TEST_OBJ_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_OBJ, WebKitDOMTestObjClass))
-
-struct _WebKitDOMTestObj {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestObjClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_obj_get_type (void);
-
-/**
- * webkit_dom_test_obj_void_method:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_void_method(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_void_method_with_args:
- * @self: A #WebKitDOMTestObj
- * @longArg: A #glong
- * @strArg: A #gchar
- * @objArg: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong longArg, const gchar* strArg, WebKitDOMTestObj* objArg);
-
-/**
- * webkit_dom_test_obj_long_method:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_long_method(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_long_method_with_args:
- * @self: A #WebKitDOMTestObj
- * @longArg: A #glong
- * @strArg: A #gchar
- * @objArg: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_long_method_with_args(WebKitDOMTestObj* self, glong longArg, const gchar* strArg, WebKitDOMTestObj* objArg);
-
-/**
- * webkit_dom_test_obj_obj_method:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_obj_method(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_obj_method_with_args:
- * @self: A #WebKitDOMTestObj
- * @longArg: A #glong
- * @strArg: A #gchar
- * @objArg: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong longArg, const gchar* strArg, WebKitDOMTestObj* objArg);
-
-/**
- * webkit_dom_test_obj_method_with_enum_arg:
- * @self: A #WebKitDOMTestObj
- * @enumArg: A #WebKitDOMTestEnumType
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_method_with_enum_arg(WebKitDOMTestObj* self, WebKitDOMTestEnumType* enumArg);
-
-/**
- * webkit_dom_test_obj_method_that_requires_all_args_and_throws:
- * @self: A #WebKitDOMTestObj
- * @strArg: A #gchar
- * @objArg: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, const gchar* strArg, WebKitDOMTestObj* objArg, GError** error);
-
-/**
- * webkit_dom_test_obj_serialized_value:
- * @self: A #WebKitDOMTestObj
- * @serializedArg: A #WebKitDOMSerializedScriptValue
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serializedArg);
-
-/**
- * webkit_dom_test_obj_options_object:
- * @self: A #WebKitDOMTestObj
- * @oo: A #WebKitDOMDictionary
- * @ooo: A #WebKitDOMDictionary
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_options_object(WebKitDOMTestObj* self, WebKitDOMDictionary* oo, WebKitDOMDictionary* ooo);
-
-/**
- * webkit_dom_test_obj_method_with_exception:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_method_with_exception(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_with_script_state_void:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_with_script_state_void(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_with_script_state_obj:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_with_script_state_obj(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_with_script_state_void_exception:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_with_script_state_void_exception(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_with_script_state_obj_exception:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_with_script_state_obj_exception(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_with_script_execution_context:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_with_script_execution_context(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_with_script_execution_context_and_script_state:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_with_script_execution_context_and_script_state(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_with_script_execution_context_and_script_state_obj_exception:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_with_script_execution_context_and_script_state_obj_exception(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_with_script_execution_context_and_script_state_with_spaces:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_with_script_execution_context_and_script_state_with_spaces(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_method_with_optional_arg:
- * @self: A #WebKitDOMTestObj
- * @opt: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_method_with_optional_arg(WebKitDOMTestObj* self, glong opt);
-
-/**
- * webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg:
- * @self: A #WebKitDOMTestObj
- * @nonOpt: A #glong
- * @opt: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg(WebKitDOMTestObj* self, glong nonOpt, glong opt);
-
-/**
- * webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args:
- * @self: A #WebKitDOMTestObj
- * @nonOpt: A #glong
- * @opt1: A #glong
- * @opt2: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args(WebKitDOMTestObj* self, glong nonOpt, glong opt1, glong opt2);
-
-/**
- * webkit_dom_test_obj_method_with_optional_string:
- * @self: A #WebKitDOMTestObj
- * @str: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_method_with_optional_string(WebKitDOMTestObj* self, const gchar* str);
-
-/**
- * webkit_dom_test_obj_method_with_optional_string_is_undefined:
- * @self: A #WebKitDOMTestObj
- * @str: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_method_with_optional_string_is_undefined(WebKitDOMTestObj* self, const gchar* str);
-
-/**
- * webkit_dom_test_obj_method_with_optional_string_is_null_string:
- * @self: A #WebKitDOMTestObj
- * @str: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_method_with_optional_string_is_null_string(WebKitDOMTestObj* self, const gchar* str);
-
-/**
- * webkit_dom_test_obj_conditional_method1:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_conditional_method1(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_conditional_method2:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_conditional_method2(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_conditional_method3:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_conditional_method3(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_class_method:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_class_method(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_class_method_with_optional:
- * @self: A #WebKitDOMTestObj
- * @arg: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_class_method_with_optional(WebKitDOMTestObj* self, glong arg);
-
-/**
- * webkit_dom_test_obj_overloaded_method1:
- * @self: A #WebKitDOMTestObj
- * @arg: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_overloaded_method1(WebKitDOMTestObj* self, glong arg);
-
-/**
- * webkit_dom_test_obj_overloaded_method1:
- * @self: A #WebKitDOMTestObj
- * @type: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_overloaded_method1(WebKitDOMTestObj* self, const gchar* type);
-
-/**
- * webkit_dom_test_obj_convert1:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMa
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_convert1(WebKitDOMTestObj* self, WebKitDOMa* value);
-
-/**
- * webkit_dom_test_obj_convert2:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMb
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_convert2(WebKitDOMTestObj* self, WebKitDOMb* value);
-
-/**
- * webkit_dom_test_obj_convert4:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMd
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_convert4(WebKitDOMTestObj* self, WebKitDOMd* value);
-
-/**
- * webkit_dom_test_obj_convert5:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMe
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_convert5(WebKitDOMTestObj* self, WebKitDOMe* value);
-
-/**
- * webkit_dom_test_obj_mutable_point_function:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSVGPoint*
-webkit_dom_test_obj_mutable_point_function(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_immutable_point_function:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSVGPoint*
-webkit_dom_test_obj_immutable_point_function(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_orange:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_orange(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_strict_function:
- * @self: A #WebKitDOMTestObj
- * @str: A #gchar
- * @a: A #gfloat
- * @b: A #glong
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMbool*
-webkit_dom_test_obj_strict_function(WebKitDOMTestObj* self, const gchar* str, gfloat a, glong b, GError** error);
-
-/**
- * webkit_dom_test_obj_variadic_string_method:
- * @self: A #WebKitDOMTestObj
- * @head: A #gchar
- * @tail: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_variadic_string_method(WebKitDOMTestObj* self, const gchar* head, const gchar* tail);
-
-/**
- * webkit_dom_test_obj_variadic_double_method:
- * @self: A #WebKitDOMTestObj
- * @head: A #gdouble
- * @tail: A #gdouble
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_variadic_double_method(WebKitDOMTestObj* self, gdouble head, gdouble tail);
-
-/**
- * webkit_dom_test_obj_variadic_node_method:
- * @self: A #WebKitDOMTestObj
- * @head: A #WebKitDOMNode
- * @tail: A #WebKitDOMNode
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_variadic_node_method(WebKitDOMTestObj* self, WebKitDOMNode* head, WebKitDOMNode* tail);
-
-/**
- * webkit_dom_test_obj_get_read_only_long_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_read_only_long_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_read_only_string_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_read_only_string_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_read_only_test_obj_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_read_only_test_obj_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_short_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gshort
-webkit_dom_test_obj_get_short_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_short_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gshort
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_short_attr(WebKitDOMTestObj* self, gshort value);
-
-/**
- * webkit_dom_test_obj_get_unsigned_short_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gushort
-webkit_dom_test_obj_get_unsigned_short_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_unsigned_short_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gushort
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_unsigned_short_attr(WebKitDOMTestObj* self, gushort value);
-
-/**
- * webkit_dom_test_obj_get_long_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_long_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_long_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_long_attr(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_long_long_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gint64
-webkit_dom_test_obj_get_long_long_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_long_long_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gint64
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_long_long_attr(WebKitDOMTestObj* self, gint64 value);
-
-/**
- * webkit_dom_test_obj_get_unsigned_long_long_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API guint64
-webkit_dom_test_obj_get_unsigned_long_long_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_unsigned_long_long_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #guint64
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_unsigned_long_long_attr(WebKitDOMTestObj* self, guint64 value);
-
-/**
- * webkit_dom_test_obj_get_string_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_string_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_string_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, const gchar* value);
-
-/**
- * webkit_dom_test_obj_get_test_obj_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_test_obj_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_test_obj_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
-
-/**
- * webkit_dom_test_obj_get_xml_obj_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_xml_obj_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_xml_obj_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_xml_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
-
-/**
- * webkit_dom_test_obj_get_create:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_obj_get_create(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_create:
- * @self: A #WebKitDOMTestObj
- * @value: A #gboolean
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_create(WebKitDOMTestObj* self, gboolean value);
-
-/**
- * webkit_dom_test_obj_get_reflected_string_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_reflected_string_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value);
-
-/**
- * webkit_dom_test_obj_get_reflected_integral_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_reflected_integral_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_reflected_integral_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_reflected_integral_attr(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_reflected_unsigned_integral_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gulong
-webkit_dom_test_obj_get_reflected_unsigned_integral_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_reflected_unsigned_integral_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gulong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_reflected_unsigned_integral_attr(WebKitDOMTestObj* self, gulong value);
-
-/**
- * webkit_dom_test_obj_get_reflected_boolean_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_obj_get_reflected_boolean_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_reflected_boolean_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gboolean
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_reflected_boolean_attr(WebKitDOMTestObj* self, gboolean value);
-
-/**
- * webkit_dom_test_obj_get_reflected_url_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_reflected_url_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_reflected_url_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_reflected_url_attr(WebKitDOMTestObj* self, const gchar* value);
-
-/**
- * webkit_dom_test_obj_get_reflected_string_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_reflected_string_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value);
-
-/**
- * webkit_dom_test_obj_get_reflected_custom_integral_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_reflected_custom_integral_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_reflected_custom_integral_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_reflected_custom_integral_attr(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_reflected_custom_boolean_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_obj_get_reflected_custom_boolean_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_reflected_custom_boolean_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gboolean
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_reflected_custom_boolean_attr(WebKitDOMTestObj* self, gboolean value);
-
-/**
- * webkit_dom_test_obj_get_reflected_custom_url_attr:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_reflected_custom_url_attr(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_reflected_custom_url_attr:
- * @self: A #WebKitDOMTestObj
- * @value: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_reflected_custom_url_attr(WebKitDOMTestObj* self, const gchar* value);
-
-/**
- * webkit_dom_test_obj_get_attr_with_getter_exception:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_attr_with_getter_exception(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_set_attr_with_getter_exception:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_attr_with_getter_exception(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_attr_with_setter_exception:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_attr_with_setter_exception(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_attr_with_setter_exception:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_attr_with_setter_exception(WebKitDOMTestObj* self, glong value, GError** error);
-
-/**
- * webkit_dom_test_obj_get_string_attr_with_getter_exception:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_string_attr_with_getter_exception(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_set_string_attr_with_getter_exception:
- * @self: A #WebKitDOMTestObj
- * @value: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_string_attr_with_getter_exception(WebKitDOMTestObj* self, const gchar* value);
-
-/**
- * webkit_dom_test_obj_get_string_attr_with_setter_exception:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_string_attr_with_setter_exception(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_string_attr_with_setter_exception:
- * @self: A #WebKitDOMTestObj
- * @value: A #gchar
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self, const gchar* value, GError** error);
-
-/**
- * webkit_dom_test_obj_get_with_script_state_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_with_script_state_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_with_script_state_attribute:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_with_script_state_attribute(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_with_script_execution_context_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_with_script_execution_context_attribute:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_with_script_execution_context_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
-
-/**
- * webkit_dom_test_obj_get_with_script_state_attribute_raises:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_state_attribute_raises(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_set_with_script_state_attribute_raises:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_with_script_state_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
-
-/**
- * webkit_dom_test_obj_get_with_script_execution_context_attribute_raises:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_attribute_raises(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_set_with_script_execution_context_attribute_raises:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_with_script_execution_context_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
-
-/**
- * webkit_dom_test_obj_get_with_script_execution_context_and_script_state_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_and_script_state_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
-
-/**
- * webkit_dom_test_obj_get_with_script_execution_context_and_script_state_attribute_raises:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_and_script_state_attribute_raises(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute_raises:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
-
-/**
- * webkit_dom_test_obj_get_with_script_execution_context_and_script_state_with_spaces_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_with_script_execution_context_and_script_state_with_spaces_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_with_script_execution_context_and_script_state_with_spaces_attribute:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_with_script_execution_context_and_script_state_with_spaces_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
-
-/**
- * webkit_dom_test_obj_get_conditional_attr1:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_conditional_attr1(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_conditional_attr1:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_conditional_attr1(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_conditional_attr2:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_conditional_attr2(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_conditional_attr2:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_conditional_attr2(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_conditional_attr3:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_conditional_attr3(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_conditional_attr3:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_conditional_attr3(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_any_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMany*
-webkit_dom_test_obj_get_any_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_any_attribute:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMany
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_any_attribute(WebKitDOMTestObj* self, WebKitDOMany* value);
-
-/**
- * webkit_dom_test_obj_get_content_document:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMDocument*
-webkit_dom_test_obj_get_content_document(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_mutable_point:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSVGPoint*
-webkit_dom_test_obj_get_mutable_point(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_mutable_point:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMSVGPoint
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_mutable_point(WebKitDOMTestObj* self, WebKitDOMSVGPoint* value);
-
-/**
- * webkit_dom_test_obj_get_immutable_point:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSVGPoint*
-webkit_dom_test_obj_get_immutable_point(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_immutable_point:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMSVGPoint
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_immutable_point(WebKitDOMTestObj* self, WebKitDOMSVGPoint* value);
-
-/**
- * webkit_dom_test_obj_get_strawberry:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_strawberry(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_strawberry:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_strawberry(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_strict_float:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gfloat
-webkit_dom_test_obj_get_strict_float(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_strict_float:
- * @self: A #WebKitDOMTestObj
- * @value: A #gfloat
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_strict_float(WebKitDOMTestObj* self, gfloat value);
-
-/**
- * webkit_dom_test_obj_get_description:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_description(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_id:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_id(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_id:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_id(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_hash:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_hash(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_replaceable_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_replaceable_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_nullable_double_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gdouble
-webkit_dom_test_obj_get_nullable_double_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_nullable_long_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_nullable_long_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_nullable_boolean_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gboolean
-webkit_dom_test_obj_get_nullable_boolean_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_nullable_string_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_obj_get_nullable_string_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_get_nullable_long_settable_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_nullable_long_settable_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_nullable_long_settable_attribute:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_nullable_long_settable_attribute(WebKitDOMTestObj* self, glong value);
-
-/**
- * webkit_dom_test_obj_get_nullable_string_value:
- * @self: A #WebKitDOMTestObj
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_obj_get_nullable_string_value(WebKitDOMTestObj* self, GError** error);
-
-/**
- * webkit_dom_test_obj_set_nullable_string_value:
- * @self: A #WebKitDOMTestObj
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_nullable_string_value(WebKitDOMTestObj* self, glong value);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestObj_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h
deleted file mode 100644
index d338a2b..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestObjPrivate_h
-#define WebKitDOMTestObjPrivate_h
-
-#include "TestObj.h"
-#include <webkitdom/WebKitDOMTestObj.h>
-
-namespace WebKit {
-WebKitDOMTestObj* wrapTestObj(WebCore::TestObj*);
-WebCore::TestObj* core(WebKitDOMTestObj* request);
-WebKitDOMTestObj* kit(WebCore::TestObj* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestObjPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.cpp
deleted file mode 100644
index e88f7b9..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.cpp
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestOverloadedConstructors.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMTestOverloadedConstructorsPrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_OVERLOADED_CONSTRUCTORS_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_OVERLOADED_CONSTRUCTORS, WebKitDOMTestOverloadedConstructorsPrivate)
-
-typedef struct _WebKitDOMTestOverloadedConstructorsPrivate {
-    RefPtr<WebCore::TestOverloadedConstructors> coreObject;
-} WebKitDOMTestOverloadedConstructorsPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestOverloadedConstructors* kit(WebCore::TestOverloadedConstructors* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_OVERLOADED_CONSTRUCTORS(ret);
-
-    return wrapTestOverloadedConstructors(obj);
-}
-
-WebCore::TestOverloadedConstructors* core(WebKitDOMTestOverloadedConstructors* request)
-{
-    return request ? static_cast<WebCore::TestOverloadedConstructors*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestOverloadedConstructors* wrapTestOverloadedConstructors(WebCore::TestOverloadedConstructors* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_OVERLOADED_CONSTRUCTORS(g_object_new(WEBKIT_TYPE_DOM_TEST_OVERLOADED_CONSTRUCTORS, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMTestOverloadedConstructors, webkit_dom_test_overloaded_constructors, WEBKIT_TYPE_DOM_OBJECT)
-
-static void webkit_dom_test_overloaded_constructors_finalize(GObject* object)
-{
-    WebKitDOMTestOverloadedConstructorsPrivate* priv = WEBKIT_DOM_TEST_OVERLOADED_CONSTRUCTORS_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestOverloadedConstructorsPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_overloaded_constructors_parent_class)->finalize(object);
-}
-
-static GObject* webkit_dom_test_overloaded_constructors_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_overloaded_constructors_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestOverloadedConstructorsPrivate* priv = WEBKIT_DOM_TEST_OVERLOADED_CONSTRUCTORS_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestOverloadedConstructors*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_overloaded_constructors_class_init(WebKitDOMTestOverloadedConstructorsClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestOverloadedConstructorsPrivate));
-    gobjectClass->constructor = webkit_dom_test_overloaded_constructors_constructor;
-    gobjectClass->finalize = webkit_dom_test_overloaded_constructors_finalize;
-}
-
-static void webkit_dom_test_overloaded_constructors_init(WebKitDOMTestOverloadedConstructors* request)
-{
-    WebKitDOMTestOverloadedConstructorsPrivate* priv = WEBKIT_DOM_TEST_OVERLOADED_CONSTRUCTORS_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestOverloadedConstructorsPrivate();
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.h
deleted file mode 100644
index 81ac9b1..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestOverloadedConstructors_h
-#define WebKitDOMTestOverloadedConstructors_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_OVERLOADED_CONSTRUCTORS            (webkit_dom_test_overloaded_constructors_get_type())
-#define WEBKIT_DOM_TEST_OVERLOADED_CONSTRUCTORS(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_OVERLOADED_CONSTRUCTORS, WebKitDOMTestOverloadedConstructors))
-#define WEBKIT_DOM_TEST_OVERLOADED_CONSTRUCTORS_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_OVERLOADED_CONSTRUCTORS, WebKitDOMTestOverloadedConstructorsClass)
-#define WEBKIT_DOM_IS_TEST_OVERLOADED_CONSTRUCTORS(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_OVERLOADED_CONSTRUCTORS))
-#define WEBKIT_DOM_IS_TEST_OVERLOADED_CONSTRUCTORS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_OVERLOADED_CONSTRUCTORS))
-#define WEBKIT_DOM_TEST_OVERLOADED_CONSTRUCTORS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_OVERLOADED_CONSTRUCTORS, WebKitDOMTestOverloadedConstructorsClass))
-
-struct _WebKitDOMTestOverloadedConstructors {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestOverloadedConstructorsClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_overloaded_constructors_get_type (void);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestOverloadedConstructors_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructorsPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructorsPrivate.h
deleted file mode 100644
index 69a974e..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructorsPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestOverloadedConstructorsPrivate_h
-#define WebKitDOMTestOverloadedConstructorsPrivate_h
-
-#include "TestOverloadedConstructors.h"
-#include <webkitdom/WebKitDOMTestOverloadedConstructors.h>
-
-namespace WebKit {
-WebKitDOMTestOverloadedConstructors* wrapTestOverloadedConstructors(WebCore::TestOverloadedConstructors*);
-WebCore::TestOverloadedConstructors* core(WebKitDOMTestOverloadedConstructors* request);
-WebKitDOMTestOverloadedConstructors* kit(WebCore::TestOverloadedConstructors* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestOverloadedConstructorsPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp
deleted file mode 100644
index 3bb74df..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp
+++ /dev/null
@@ -1,373 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestSerializedScriptValueInterface.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMArrayPrivate.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMMessagePortArrayPrivate.h"
-#include "WebKitDOMSerializedScriptValuePrivate.h"
-#include "WebKitDOMTestSerializedScriptValueInterfacePrivate.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE, WebKitDOMTestSerializedScriptValueInterfacePrivate)
-
-typedef struct _WebKitDOMTestSerializedScriptValueInterfacePrivate {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    RefPtr<WebCore::TestSerializedScriptValueInterface> coreObject;
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-} WebKitDOMTestSerializedScriptValueInterfacePrivate;
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-namespace WebKit {
-
-WebKitDOMTestSerializedScriptValueInterface* kit(WebCore::TestSerializedScriptValueInterface* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(ret);
-
-    return wrapTestSerializedScriptValueInterface(obj);
-}
-
-WebCore::TestSerializedScriptValueInterface* core(WebKitDOMTestSerializedScriptValueInterface* request)
-{
-    return request ? static_cast<WebCore::TestSerializedScriptValueInterface*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestSerializedScriptValueInterface* wrapTestSerializedScriptValueInterface(WebCore::TestSerializedScriptValueInterface* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(g_object_new(WEBKIT_TYPE_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-
-G_DEFINE_TYPE(WebKitDOMTestSerializedScriptValueInterface, webkit_dom_test_serialized_script_value_interface, WEBKIT_TYPE_DOM_OBJECT)
-
-enum {
-    PROP_0,
-    PROP_VALUE,
-    PROP_READONLY_VALUE,
-    PROP_CACHED_VALUE,
-    PROP_PORTS,
-    PROP_CACHED_READONLY_VALUE,
-};
-
-static void webkit_dom_test_serialized_script_value_interface_finalize(GObject* object)
-{
-    WebKitDOMTestSerializedScriptValueInterfacePrivate* priv = WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_GET_PRIVATE(object);
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-    priv->~WebKitDOMTestSerializedScriptValueInterfacePrivate();
-    G_OBJECT_CLASS(webkit_dom_test_serialized_script_value_interface_parent_class)->finalize(object);
-}
-
-static void webkit_dom_test_serialized_script_value_interface_get_property(GObject* object, guint propertyId, GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebKitDOMTestSerializedScriptValueInterface* self = WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(object);
-    WebCore::TestSerializedScriptValueInterface* coreSelf = WebKit::core(self);
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-    switch (propertyId) {
-    case PROP_VALUE: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-        RefPtr<WebCore::SerializedScriptValue> ptr = coreSelf->value();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    case PROP_READONLY_VALUE: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-        RefPtr<WebCore::SerializedScriptValue> ptr = coreSelf->readonlyValue();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    case PROP_CACHED_VALUE: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-        RefPtr<WebCore::SerializedScriptValue> ptr = coreSelf->cachedValue();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    case PROP_PORTS: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-        RefPtr<WebCore::MessagePortArray> ptr = coreSelf->ports();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    case PROP_CACHED_READONLY_VALUE: {
-#if ENABLE(Condition1) || ENABLE(Condition2)
-        RefPtr<WebCore::SerializedScriptValue> ptr = coreSelf->cachedReadonlyValue();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-#else
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-        WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static GObject* webkit_dom_test_serialized_script_value_interface_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_serialized_script_value_interface_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebKitDOMTestSerializedScriptValueInterfacePrivate* priv = WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestSerializedScriptValueInterface*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-    return object;
-}
-
-static void webkit_dom_test_serialized_script_value_interface_class_init(WebKitDOMTestSerializedScriptValueInterfaceClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestSerializedScriptValueInterfacePrivate));
-    gobjectClass->constructor = webkit_dom_test_serialized_script_value_interface_constructor;
-    gobjectClass->finalize = webkit_dom_test_serialized_script_value_interface_finalize;
-    gobjectClass->get_property = webkit_dom_test_serialized_script_value_interface_get_property;
-
-    g_object_class_install_property(gobjectClass,
-                                    PROP_VALUE,
-                                    g_param_spec_object("value", /* name */
-                                                           "test_serialized_script_value_interface_value", /* short description */
-                                                           "read-write  WebKitDOMSerializedScriptValue* TestSerializedScriptValueInterface.value", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_SERIALIZED_SCRIPT_VALUE, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_READONLY_VALUE,
-                                    g_param_spec_object("readonly-value", /* name */
-                                                           "test_serialized_script_value_interface_readonly-value", /* short description */
-                                                           "read-only  WebKitDOMSerializedScriptValue* TestSerializedScriptValueInterface.readonly-value", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_SERIALIZED_SCRIPT_VALUE, /* gobject type */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_CACHED_VALUE,
-                                    g_param_spec_object("cached-value", /* name */
-                                                           "test_serialized_script_value_interface_cached-value", /* short description */
-                                                           "read-write  WebKitDOMSerializedScriptValue* TestSerializedScriptValueInterface.cached-value", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_SERIALIZED_SCRIPT_VALUE, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_PORTS,
-                                    g_param_spec_object("ports", /* name */
-                                                           "test_serialized_script_value_interface_ports", /* short description */
-                                                           "read-only  WebKitDOMMessagePortArray* TestSerializedScriptValueInterface.ports", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_MESSAGE_PORT_ARRAY, /* gobject type */
-                                                           WEBKIT_PARAM_READABLE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_CACHED_READONLY_VALUE,
-                                    g_param_spec_object("cached-readonly-value", /* name */
-                                                           "test_serialized_script_value_interface_cached-readonly-value", /* short description */
-                                                           "read-only  WebKitDOMSerializedScriptValue* TestSerializedScriptValueInterface.cached-readonly-value", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_SERIALIZED_SCRIPT_VALUE, /* gobject type */
-                                                           WEBKIT_PARAM_READABLE));
-}
-
-static void webkit_dom_test_serialized_script_value_interface_init(WebKitDOMTestSerializedScriptValueInterface* request)
-{
-    WebKitDOMTestSerializedScriptValueInterfacePrivate* priv = WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestSerializedScriptValueInterfacePrivate();
-}
-
-void
-webkit_dom_test_serialized_script_value_interface_accept_transfer_list(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* data, WebKitDOMArray* transferList)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self));
-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(data));
-    g_return_if_fail(WEBKIT_DOM_IS_ARRAY(transferList));
-    WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
-    WebCore::SerializedScriptValue* convertedData = WebKit::core(data);
-    WebCore::Array* convertedTransferList = WebKit::core(transferList);
-    item->acceptTransferList(convertedData, convertedTransferList);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_serialized_script_value_interface_multi_transfer_list(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* first, WebKitDOMArray* tx, WebKitDOMSerializedScriptValue* second, WebKitDOMArray* txx)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self));
-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(first));
-    g_return_if_fail(WEBKIT_DOM_IS_ARRAY(tx));
-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(second));
-    g_return_if_fail(WEBKIT_DOM_IS_ARRAY(txx));
-    WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
-    WebCore::SerializedScriptValue* convertedFirst = WebKit::core(first);
-    WebCore::Array* convertedTx = WebKit::core(tx);
-    WebCore::SerializedScriptValue* convertedSecond = WebKit::core(second);
-    WebCore::Array* convertedTxx = WebKit::core(txx);
-    item->multiTransferList(convertedFirst, convertedTx, convertedSecond, convertedTxx);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-WebKitDOMSerializedScriptValue*
-webkit_dom_test_serialized_script_value_interface_get_value(WebKitDOMTestSerializedScriptValueInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self), 0);
-    WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
-    RefPtr<WebCore::SerializedScriptValue> gobjectResult = WTF::getPtr(item->value());
-    return WebKit::kit(gobjectResult.get());
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return 0;
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_serialized_script_value_interface_set_value(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* value)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self));
-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(value));
-    WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
-    WebCore::SerializedScriptValue* convertedValue = WebKit::core(value);
-    item->setValue(convertedValue);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-WebKitDOMSerializedScriptValue*
-webkit_dom_test_serialized_script_value_interface_get_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self), 0);
-    WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
-    RefPtr<WebCore::SerializedScriptValue> gobjectResult = WTF::getPtr(item->readonlyValue());
-    return WebKit::kit(gobjectResult.get());
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return 0;
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-WebKitDOMSerializedScriptValue*
-webkit_dom_test_serialized_script_value_interface_get_cached_value(WebKitDOMTestSerializedScriptValueInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self), 0);
-    WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
-    RefPtr<WebCore::SerializedScriptValue> gobjectResult = WTF::getPtr(item->cachedValue());
-    return WebKit::kit(gobjectResult.get());
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return 0;
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-void
-webkit_dom_test_serialized_script_value_interface_set_cached_value(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* value)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self));
-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(value));
-    WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
-    WebCore::SerializedScriptValue* convertedValue = WebKit::core(value);
-    item->setCachedValue(convertedValue);
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-WebKitDOMMessagePortArray*
-webkit_dom_test_serialized_script_value_interface_get_ports(WebKitDOMTestSerializedScriptValueInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self), 0);
-    WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
-    RefPtr<WebCore::MessagePortArray> gobjectResult = WTF::getPtr(item->ports());
-    return WebKit::kit(gobjectResult.get());
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return 0;
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
-WebKitDOMSerializedScriptValue*
-webkit_dom_test_serialized_script_value_interface_get_cached_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self)
-{
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self), 0);
-    WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
-    RefPtr<WebCore::SerializedScriptValue> gobjectResult = WTF::getPtr(item->cachedReadonlyValue());
-    return WebKit::kit(gobjectResult.get());
-#else
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
-    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
-    return 0;
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h
deleted file mode 100644
index 3a2f9d1..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h
+++ /dev/null
@@ -1,152 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestSerializedScriptValueInterface_h
-#define WebKitDOMTestSerializedScriptValueInterface_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE            (webkit_dom_test_serialized_script_value_interface_get_type())
-#define WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE, WebKitDOMTestSerializedScriptValueInterface))
-#define WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE, WebKitDOMTestSerializedScriptValueInterfaceClass)
-#define WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE))
-#define WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE))
-#define WEBKIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE, WebKitDOMTestSerializedScriptValueInterfaceClass))
-
-struct _WebKitDOMTestSerializedScriptValueInterface {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestSerializedScriptValueInterfaceClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_serialized_script_value_interface_get_type (void);
-
-/**
- * webkit_dom_test_serialized_script_value_interface_accept_transfer_list:
- * @self: A #WebKitDOMTestSerializedScriptValueInterface
- * @data: A #WebKitDOMSerializedScriptValue
- * @transferList: A #WebKitDOMArray
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_serialized_script_value_interface_accept_transfer_list(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* data, WebKitDOMArray* transferList);
-
-/**
- * webkit_dom_test_serialized_script_value_interface_multi_transfer_list:
- * @self: A #WebKitDOMTestSerializedScriptValueInterface
- * @first: A #WebKitDOMSerializedScriptValue
- * @tx: A #WebKitDOMArray
- * @second: A #WebKitDOMSerializedScriptValue
- * @txx: A #WebKitDOMArray
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_serialized_script_value_interface_multi_transfer_list(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* first, WebKitDOMArray* tx, WebKitDOMSerializedScriptValue* second, WebKitDOMArray* txx);
-
-/**
- * webkit_dom_test_serialized_script_value_interface_get_value:
- * @self: A #WebKitDOMTestSerializedScriptValueInterface
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSerializedScriptValue*
-webkit_dom_test_serialized_script_value_interface_get_value(WebKitDOMTestSerializedScriptValueInterface* self);
-
-/**
- * webkit_dom_test_serialized_script_value_interface_set_value:
- * @self: A #WebKitDOMTestSerializedScriptValueInterface
- * @value: A #WebKitDOMSerializedScriptValue
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_serialized_script_value_interface_set_value(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* value);
-
-/**
- * webkit_dom_test_serialized_script_value_interface_get_readonly_value:
- * @self: A #WebKitDOMTestSerializedScriptValueInterface
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSerializedScriptValue*
-webkit_dom_test_serialized_script_value_interface_get_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self);
-
-/**
- * webkit_dom_test_serialized_script_value_interface_get_cached_value:
- * @self: A #WebKitDOMTestSerializedScriptValueInterface
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSerializedScriptValue*
-webkit_dom_test_serialized_script_value_interface_get_cached_value(WebKitDOMTestSerializedScriptValueInterface* self);
-
-/**
- * webkit_dom_test_serialized_script_value_interface_set_cached_value:
- * @self: A #WebKitDOMTestSerializedScriptValueInterface
- * @value: A #WebKitDOMSerializedScriptValue
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_serialized_script_value_interface_set_cached_value(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* value);
-
-/**
- * webkit_dom_test_serialized_script_value_interface_get_ports:
- * @self: A #WebKitDOMTestSerializedScriptValueInterface
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMMessagePortArray*
-webkit_dom_test_serialized_script_value_interface_get_ports(WebKitDOMTestSerializedScriptValueInterface* self);
-
-/**
- * webkit_dom_test_serialized_script_value_interface_get_cached_readonly_value:
- * @self: A #WebKitDOMTestSerializedScriptValueInterface
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSerializedScriptValue*
-webkit_dom_test_serialized_script_value_interface_get_cached_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestSerializedScriptValueInterface_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h
deleted file mode 100644
index 672e4d6..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestSerializedScriptValueInterfacePrivate_h
-#define WebKitDOMTestSerializedScriptValueInterfacePrivate_h
-
-#include "TestSerializedScriptValueInterface.h"
-#include <webkitdom/WebKitDOMTestSerializedScriptValueInterface.h>
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-namespace WebKit {
-WebKitDOMTestSerializedScriptValueInterface* wrapTestSerializedScriptValueInterface(WebCore::TestSerializedScriptValueInterface*);
-WebCore::TestSerializedScriptValueInterface* core(WebKitDOMTestSerializedScriptValueInterface* request);
-WebKitDOMTestSerializedScriptValueInterface* kit(WebCore::TestSerializedScriptValueInterface* node);
-} // namespace WebKit
-
-#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
-
-#endif /* WebKitDOMTestSerializedScriptValueInterfacePrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSupplemental.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSupplemental.cpp
deleted file mode 100644
index 0052c05..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSupplemental.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that WebKitDOMTestSupplemental.h and
-    WebKitDOMTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate WebKitDOMTestSupplemental.h and
-    WebKitDOMTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSupplemental.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSupplemental.h
deleted file mode 100644
index 0052c05..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSupplemental.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that WebKitDOMTestSupplemental.h and
-    WebKitDOMTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate WebKitDOMTestSupplemental.h and
-    WebKitDOMTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp
deleted file mode 100644
index 77f6264..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp
+++ /dev/null
@@ -1,496 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "WebKitDOMTestTypedefs.h"
-
-#include "CSSImportRule.h"
-#include "DOMObjectCache.h"
-#include "ExceptionCode.h"
-#include "JSMainThreadExecState.h"
-#include "WebKitDOMArrayPrivate.h"
-#include "WebKitDOMBinding.h"
-#include "WebKitDOMDOMString[]Private.h"
-#include "WebKitDOMSVGPointPrivate.h"
-#include "WebKitDOMSerializedScriptValuePrivate.h"
-#include "WebKitDOMTestTypedefsPrivate.h"
-#include "WebKitDOMlong[]Private.h"
-#include "gobject/ConvertToUTF8String.h"
-#include <wtf/GetPtr.h>
-#include <wtf/RefPtr.h>
-
-#define WEBKIT_DOM_TEST_TYPEDEFS_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE(obj, WEBKIT_TYPE_DOM_TEST_TYPEDEFS, WebKitDOMTestTypedefsPrivate)
-
-typedef struct _WebKitDOMTestTypedefsPrivate {
-    RefPtr<WebCore::TestTypedefs> coreObject;
-} WebKitDOMTestTypedefsPrivate;
-
-namespace WebKit {
-
-WebKitDOMTestTypedefs* kit(WebCore::TestTypedefs* obj)
-{
-    if (!obj)
-        return 0;
-
-    if (gpointer ret = DOMObjectCache::get(obj))
-        return WEBKIT_DOM_TEST_TYPEDEFS(ret);
-
-    return wrapTestTypedefs(obj);
-}
-
-WebCore::TestTypedefs* core(WebKitDOMTestTypedefs* request)
-{
-    return request ? static_cast<WebCore::TestTypedefs*>(WEBKIT_DOM_OBJECT(request)->coreObject) : 0;
-}
-
-WebKitDOMTestTypedefs* wrapTestTypedefs(WebCore::TestTypedefs* coreObject)
-{
-    ASSERT(coreObject);
-    return WEBKIT_DOM_TEST_TYPEDEFS(g_object_new(WEBKIT_TYPE_DOM_TEST_TYPEDEFS, "core-object", coreObject, NULL));
-}
-
-} // namespace WebKit
-
-G_DEFINE_TYPE(WebKitDOMTestTypedefs, webkit_dom_test_typedefs, WEBKIT_TYPE_DOM_OBJECT)
-
-enum {
-    PROP_0,
-    PROP_UNSIGNED_LONG_LONG_ATTR,
-    PROP_IMMUTABLE_SERIALIZED_SCRIPT_VALUE,
-    PROP_ATTR_WITH_GETTER_EXCEPTION,
-    PROP_ATTR_WITH_SETTER_EXCEPTION,
-    PROP_STRING_ATTR_WITH_GETTER_EXCEPTION,
-    PROP_STRING_ATTR_WITH_SETTER_EXCEPTION,
-};
-
-static void webkit_dom_test_typedefs_finalize(GObject* object)
-{
-    WebKitDOMTestTypedefsPrivate* priv = WEBKIT_DOM_TEST_TYPEDEFS_GET_PRIVATE(object);
-
-    WebKit::DOMObjectCache::forget(priv->coreObject.get());
-
-    priv->~WebKitDOMTestTypedefsPrivate();
-    G_OBJECT_CLASS(webkit_dom_test_typedefs_parent_class)->finalize(object);
-}
-
-static void webkit_dom_test_typedefs_set_property(GObject* object, guint propertyId, const GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-
-    WebKitDOMTestTypedefs* self = WEBKIT_DOM_TEST_TYPEDEFS(object);
-    WebCore::TestTypedefs* coreSelf = WebKit::core(self);
-
-    switch (propertyId) {
-    case PROP_UNSIGNED_LONG_LONG_ATTR: {
-        coreSelf->setUnsignedLongLongAttr((g_value_get_uint64(value)));
-        break;
-    }
-    case PROP_ATTR_WITH_GETTER_EXCEPTION: {
-        coreSelf->setAttrWithGetterException((g_value_get_long(value)));
-        break;
-    }
-    case PROP_ATTR_WITH_SETTER_EXCEPTION: {
-        WebCore::ExceptionCode ec = 0;
-        coreSelf->setAttrWithSetterException((g_value_get_long(value)), ec);
-        break;
-    }
-    case PROP_STRING_ATTR_WITH_GETTER_EXCEPTION: {
-        coreSelf->setStringAttrWithGetterException(WTF::String::fromUTF8(g_value_get_string(value)));
-        break;
-    }
-    case PROP_STRING_ATTR_WITH_SETTER_EXCEPTION: {
-        WebCore::ExceptionCode ec = 0;
-        coreSelf->setStringAttrWithSetterException(WTF::String::fromUTF8(g_value_get_string(value)), ec);
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static void webkit_dom_test_typedefs_get_property(GObject* object, guint propertyId, GValue* value, GParamSpec* pspec)
-{
-    WebCore::JSMainThreadNullState state;
-
-    WebKitDOMTestTypedefs* self = WEBKIT_DOM_TEST_TYPEDEFS(object);
-    WebCore::TestTypedefs* coreSelf = WebKit::core(self);
-
-    switch (propertyId) {
-    case PROP_UNSIGNED_LONG_LONG_ATTR: {
-        g_value_set_uint64(value, coreSelf->unsignedLongLongAttr());
-        break;
-    }
-    case PROP_IMMUTABLE_SERIALIZED_SCRIPT_VALUE: {
-        RefPtr<WebCore::SerializedScriptValue> ptr = coreSelf->immutableSerializedScriptValue();
-        g_value_set_object(value, WebKit::kit(ptr.get()));
-        break;
-    }
-    case PROP_ATTR_WITH_GETTER_EXCEPTION: {
-        WebCore::ExceptionCode ec = 0;
-        g_value_set_long(value, coreSelf->attrWithGetterException(ec));
-        break;
-    }
-    case PROP_ATTR_WITH_SETTER_EXCEPTION: {
-        g_value_set_long(value, coreSelf->attrWithSetterException());
-        break;
-    }
-    case PROP_STRING_ATTR_WITH_GETTER_EXCEPTION: {
-        WebCore::ExceptionCode ec = 0;
-        g_value_take_string(value, convertToUTF8String(coreSelf->stringAttrWithGetterException(ec)));
-        break;
-    }
-    case PROP_STRING_ATTR_WITH_SETTER_EXCEPTION: {
-        g_value_take_string(value, convertToUTF8String(coreSelf->stringAttrWithSetterException()));
-        break;
-    }
-    default:
-        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyId, pspec);
-        break;
-    }
-}
-
-static GObject* webkit_dom_test_typedefs_constructor(GType type, guint constructPropertiesCount, GObjectConstructParam* constructProperties)
-{
-    GObject* object = G_OBJECT_CLASS(webkit_dom_test_typedefs_parent_class)->constructor(type, constructPropertiesCount, constructProperties);
-
-    WebKitDOMTestTypedefsPrivate* priv = WEBKIT_DOM_TEST_TYPEDEFS_GET_PRIVATE(object);
-    priv->coreObject = static_cast<WebCore::TestTypedefs*>(WEBKIT_DOM_OBJECT(object)->coreObject);
-    WebKit::DOMObjectCache::put(priv->coreObject.get(), object);
-
-    return object;
-}
-
-static void webkit_dom_test_typedefs_class_init(WebKitDOMTestTypedefsClass* requestClass)
-{
-    GObjectClass* gobjectClass = G_OBJECT_CLASS(requestClass);
-    g_type_class_add_private(gobjectClass, sizeof(WebKitDOMTestTypedefsPrivate));
-    gobjectClass->constructor = webkit_dom_test_typedefs_constructor;
-    gobjectClass->finalize = webkit_dom_test_typedefs_finalize;
-    gobjectClass->set_property = webkit_dom_test_typedefs_set_property;
-    gobjectClass->get_property = webkit_dom_test_typedefs_get_property;
-
-    g_object_class_install_property(gobjectClass,
-                                    PROP_UNSIGNED_LONG_LONG_ATTR,
-                                    g_param_spec_uint64("unsigned-long-long-attr", /* name */
-                                                           "test_typedefs_unsigned-long-long-attr", /* short description */
-                                                           "read-write  guint64 TestTypedefs.unsigned-long-long-attr", /* longer - could do with some extra doc stuff here */
-                                                           0, /* min */
-G_MAXUINT64, /* min */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_IMMUTABLE_SERIALIZED_SCRIPT_VALUE,
-                                    g_param_spec_object("immutable-serialized-script-value", /* name */
-                                                           "test_typedefs_immutable-serialized-script-value", /* short description */
-                                                           "read-write  WebKitDOMSerializedScriptValue* TestTypedefs.immutable-serialized-script-value", /* longer - could do with some extra doc stuff here */
-                                                           WEBKIT_TYPE_DOM_SERIALIZED_SCRIPT_VALUE, /* gobject type */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_ATTR_WITH_GETTER_EXCEPTION,
-                                    g_param_spec_long("attr-with-getter-exception", /* name */
-                                                           "test_typedefs_attr-with-getter-exception", /* short description */
-                                                           "read-write  glong TestTypedefs.attr-with-getter-exception", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_ATTR_WITH_SETTER_EXCEPTION,
-                                    g_param_spec_long("attr-with-setter-exception", /* name */
-                                                           "test_typedefs_attr-with-setter-exception", /* short description */
-                                                           "read-write  glong TestTypedefs.attr-with-setter-exception", /* longer - could do with some extra doc stuff here */
-                                                           G_MINLONG, /* min */
-G_MAXLONG, /* max */
-0, /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_STRING_ATTR_WITH_GETTER_EXCEPTION,
-                                    g_param_spec_string("string-attr-with-getter-exception", /* name */
-                                                           "test_typedefs_string-attr-with-getter-exception", /* short description */
-                                                           "read-write  gchar* TestTypedefs.string-attr-with-getter-exception", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-    g_object_class_install_property(gobjectClass,
-                                    PROP_STRING_ATTR_WITH_SETTER_EXCEPTION,
-                                    g_param_spec_string("string-attr-with-setter-exception", /* name */
-                                                           "test_typedefs_string-attr-with-setter-exception", /* short description */
-                                                           "read-write  gchar* TestTypedefs.string-attr-with-setter-exception", /* longer - could do with some extra doc stuff here */
-                                                           "", /* default */
-                                                           WEBKIT_PARAM_READWRITE));
-}
-
-static void webkit_dom_test_typedefs_init(WebKitDOMTestTypedefs* request)
-{
-    WebKitDOMTestTypedefsPrivate* priv = WEBKIT_DOM_TEST_TYPEDEFS_GET_PRIVATE(request);
-    new (priv) WebKitDOMTestTypedefsPrivate();
-}
-
-void
-webkit_dom_test_typedefs_func(WebKitDOMTestTypedefs* self, WebKitDOMlong[]* x)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    g_return_if_fail(WEBKIT_DOM_IS_LONG[](x));
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::long[]* convertedX = WebKit::core(x);
-    item->func(convertedX);
-}
-
-void
-webkit_dom_test_typedefs_multi_transfer_list(WebKitDOMTestTypedefs* self, WebKitDOMSerializedScriptValue* first, WebKitDOMArray* tx, WebKitDOMSerializedScriptValue* second, WebKitDOMArray* txx)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(first));
-    g_return_if_fail(WEBKIT_DOM_IS_ARRAY(tx));
-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(second));
-    g_return_if_fail(WEBKIT_DOM_IS_ARRAY(txx));
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::SerializedScriptValue* convertedFirst = WebKit::core(first);
-    WebCore::Array* convertedTx = WebKit::core(tx);
-    WebCore::SerializedScriptValue* convertedSecond = WebKit::core(second);
-    WebCore::Array* convertedTxx = WebKit::core(txx);
-    item->multiTransferList(convertedFirst, convertedTx, convertedSecond, convertedTxx);
-}
-
-void
-webkit_dom_test_typedefs_set_shadow(WebKitDOMTestTypedefs* self, gfloat width, gfloat height, gfloat blur, const gchar* color, gfloat alpha)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    g_return_if_fail(color);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WTF::String convertedColor = WTF::String::fromUTF8(color);
-    item->setShadow(width, height, blur, convertedColor, alpha);
-}
-
-void
-webkit_dom_test_typedefs_nullable_array_arg(WebKitDOMTestTypedefs* self, WebKitDOMDOMString[]* arrayArg)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    g_return_if_fail(WEBKIT_DOM_IS_DOM_STRING[](arrayArg));
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::DOMString[]* convertedArrayArg = WebKit::core(arrayArg);
-    item->nullableArrayArg(convertedArrayArg);
-}
-
-WebKitDOMSVGPoint*
-webkit_dom_test_typedefs_immutable_point_function(WebKitDOMTestTypedefs* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    RefPtr<WebCore::SVGPoint> gobjectResult = WTF::getPtr(item->immutablePointFunction());
-    return WebKit::kit(gobjectResult.get());
-}
-
-WebKitDOMDOMString[]*
-webkit_dom_test_typedefs_string_array_function(WebKitDOMTestTypedefs* self, WebKitDOMDOMString[]* values, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
-    g_return_val_if_fail(WEBKIT_DOM_IS_DOM_STRING[](values), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::DOMString[]* convertedValues = WebKit::core(values);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::DOMString[]> gobjectResult = WTF::getPtr(item->stringArrayFunction(convertedValues, ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-}
-
-WebKitDOMDOMString[]*
-webkit_dom_test_typedefs_string_array_function2(WebKitDOMTestTypedefs* self, WebKitDOMDOMString[]* values, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
-    g_return_val_if_fail(WEBKIT_DOM_IS_DOM_STRING[](values), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::DOMString[]* convertedValues = WebKit::core(values);
-    WebCore::ExceptionCode ec = 0;
-    RefPtr<WebCore::DOMString[]> gobjectResult = WTF::getPtr(item->stringArrayFunction2(convertedValues, ec));
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_typedefs_method_with_exception(WebKitDOMTestTypedefs* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    g_return_if_fail(!error || !*error);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    item->methodWithException(ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-}
-
-guint64
-webkit_dom_test_typedefs_get_unsigned_long_long_attr(WebKitDOMTestTypedefs* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    guint64 result = item->unsignedLongLongAttr();
-    return result;
-}
-
-void
-webkit_dom_test_typedefs_set_unsigned_long_long_attr(WebKitDOMTestTypedefs* self, guint64 value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    item->setUnsignedLongLongAttr(value);
-}
-
-WebKitDOMSerializedScriptValue*
-webkit_dom_test_typedefs_get_immutable_serialized_script_value(WebKitDOMTestTypedefs* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    RefPtr<WebCore::SerializedScriptValue> gobjectResult = WTF::getPtr(item->immutableSerializedScriptValue());
-    return WebKit::kit(gobjectResult.get());
-}
-
-void
-webkit_dom_test_typedefs_set_immutable_serialized_script_value(WebKitDOMTestTypedefs* self, WebKitDOMSerializedScriptValue* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(value));
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::SerializedScriptValue* convertedValue = WebKit::core(value);
-    item->setImmutableSerializedScriptValue(convertedValue);
-}
-
-glong
-webkit_dom_test_typedefs_get_attr_with_getter_exception(WebKitDOMTestTypedefs* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    glong result = item->attrWithGetterException(ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-    return result;
-}
-
-void
-webkit_dom_test_typedefs_set_attr_with_getter_exception(WebKitDOMTestTypedefs* self, glong value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    item->setAttrWithGetterException(value);
-}
-
-glong
-webkit_dom_test_typedefs_get_attr_with_setter_exception(WebKitDOMTestTypedefs* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    glong result = item->attrWithSetterException();
-    return result;
-}
-
-void
-webkit_dom_test_typedefs_set_attr_with_setter_exception(WebKitDOMTestTypedefs* self, glong value, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    g_return_if_fail(!error || !*error);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    item->setAttrWithSetterException(value, ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-}
-
-gchar*
-webkit_dom_test_typedefs_get_string_attr_with_getter_exception(WebKitDOMTestTypedefs* self, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
-    g_return_val_if_fail(!error || !*error, 0);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WebCore::ExceptionCode ec = 0;
-    gchar* result = convertToUTF8String(item->stringAttrWithGetterException(ec));
-    return result;
-}
-
-void
-webkit_dom_test_typedefs_set_string_attr_with_getter_exception(WebKitDOMTestTypedefs* self, const gchar* value)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    g_return_if_fail(value);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    item->setStringAttrWithGetterException(convertedValue);
-}
-
-gchar*
-webkit_dom_test_typedefs_get_string_attr_with_setter_exception(WebKitDOMTestTypedefs* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    gchar* result = convertToUTF8String(item->stringAttrWithSetterException());
-    return result;
-}
-
-void
-webkit_dom_test_typedefs_set_string_attr_with_setter_exception(WebKitDOMTestTypedefs* self, const gchar* value, GError** error)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
-    g_return_if_fail(value);
-    g_return_if_fail(!error || !*error);
-    WebCore::TestTypedefs* item = WebKit::core(self);
-    WTF::String convertedValue = WTF::String::fromUTF8(value);
-    WebCore::ExceptionCode ec = 0;
-    item->setStringAttrWithSetterException(convertedValue, ec);
-    if (ec) {
-        WebCore::ExceptionCodeDescription ecdesc(ec);
-        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
-    }
-}
-
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h
deleted file mode 100644
index 757a38c..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h
+++ /dev/null
@@ -1,280 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
-#error "Only <webkitdom/webkitdom.h> can be included directly."
-#endif
-
-#ifndef WebKitDOMTestTypedefs_h
-#define WebKitDOMTestTypedefs_h
-
-#include <glib-object.h>
-#include <webkitdom/WebKitDOMObject.h>
-#include <webkitdom/webkitdomdefines.h>
-
-G_BEGIN_DECLS
-
-#define WEBKIT_TYPE_DOM_TEST_TYPEDEFS            (webkit_dom_test_typedefs_get_type())
-#define WEBKIT_DOM_TEST_TYPEDEFS(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_TYPEDEFS, WebKitDOMTestTypedefs))
-#define WEBKIT_DOM_TEST_TYPEDEFS_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_TEST_TYPEDEFS, WebKitDOMTestTypedefsClass)
-#define WEBKIT_DOM_IS_TEST_TYPEDEFS(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_TYPEDEFS))
-#define WEBKIT_DOM_IS_TEST_TYPEDEFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_TEST_TYPEDEFS))
-#define WEBKIT_DOM_TEST_TYPEDEFS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_TEST_TYPEDEFS, WebKitDOMTestTypedefsClass))
-
-struct _WebKitDOMTestTypedefs {
-    WebKitDOMObject parent_instance;
-};
-
-struct _WebKitDOMTestTypedefsClass {
-    WebKitDOMObjectClass parent_class;
-};
-
-WEBKIT_API GType
-webkit_dom_test_typedefs_get_type (void);
-
-/**
- * webkit_dom_test_typedefs_func:
- * @self: A #WebKitDOMTestTypedefs
- * @x: A #WebKitDOMlong[]
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_func(WebKitDOMTestTypedefs* self, WebKitDOMlong[]* x);
-
-/**
- * webkit_dom_test_typedefs_multi_transfer_list:
- * @self: A #WebKitDOMTestTypedefs
- * @first: A #WebKitDOMSerializedScriptValue
- * @tx: A #WebKitDOMArray
- * @second: A #WebKitDOMSerializedScriptValue
- * @txx: A #WebKitDOMArray
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_multi_transfer_list(WebKitDOMTestTypedefs* self, WebKitDOMSerializedScriptValue* first, WebKitDOMArray* tx, WebKitDOMSerializedScriptValue* second, WebKitDOMArray* txx);
-
-/**
- * webkit_dom_test_typedefs_set_shadow:
- * @self: A #WebKitDOMTestTypedefs
- * @width: A #gfloat
- * @height: A #gfloat
- * @blur: A #gfloat
- * @color: A #gchar
- * @alpha: A #gfloat
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_set_shadow(WebKitDOMTestTypedefs* self, gfloat width, gfloat height, gfloat blur, const gchar* color, gfloat alpha);
-
-/**
- * webkit_dom_test_typedefs_nullable_array_arg:
- * @self: A #WebKitDOMTestTypedefs
- * @arrayArg: A #WebKitDOMDOMString[]
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_nullable_array_arg(WebKitDOMTestTypedefs* self, WebKitDOMDOMString[]* arrayArg);
-
-/**
- * webkit_dom_test_typedefs_immutable_point_function:
- * @self: A #WebKitDOMTestTypedefs
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSVGPoint*
-webkit_dom_test_typedefs_immutable_point_function(WebKitDOMTestTypedefs* self);
-
-/**
- * webkit_dom_test_typedefs_string_array_function:
- * @self: A #WebKitDOMTestTypedefs
- * @values: A #WebKitDOMDOMString[]
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMDOMString[]*
-webkit_dom_test_typedefs_string_array_function(WebKitDOMTestTypedefs* self, WebKitDOMDOMString[]* values, GError** error);
-
-/**
- * webkit_dom_test_typedefs_string_array_function2:
- * @self: A #WebKitDOMTestTypedefs
- * @values: A #WebKitDOMDOMString[]
- * @error: #GError
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMDOMString[]*
-webkit_dom_test_typedefs_string_array_function2(WebKitDOMTestTypedefs* self, WebKitDOMDOMString[]* values, GError** error);
-
-/**
- * webkit_dom_test_typedefs_method_with_exception:
- * @self: A #WebKitDOMTestTypedefs
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_method_with_exception(WebKitDOMTestTypedefs* self, GError** error);
-
-/**
- * webkit_dom_test_typedefs_get_unsigned_long_long_attr:
- * @self: A #WebKitDOMTestTypedefs
- *
- * Returns:
- *
-**/
-WEBKIT_API guint64
-webkit_dom_test_typedefs_get_unsigned_long_long_attr(WebKitDOMTestTypedefs* self);
-
-/**
- * webkit_dom_test_typedefs_set_unsigned_long_long_attr:
- * @self: A #WebKitDOMTestTypedefs
- * @value: A #guint64
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_set_unsigned_long_long_attr(WebKitDOMTestTypedefs* self, guint64 value);
-
-/**
- * webkit_dom_test_typedefs_get_immutable_serialized_script_value:
- * @self: A #WebKitDOMTestTypedefs
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API WebKitDOMSerializedScriptValue*
-webkit_dom_test_typedefs_get_immutable_serialized_script_value(WebKitDOMTestTypedefs* self);
-
-/**
- * webkit_dom_test_typedefs_set_immutable_serialized_script_value:
- * @self: A #WebKitDOMTestTypedefs
- * @value: A #WebKitDOMSerializedScriptValue
- *
- * Returns: (transfer none):
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_set_immutable_serialized_script_value(WebKitDOMTestTypedefs* self, WebKitDOMSerializedScriptValue* value);
-
-/**
- * webkit_dom_test_typedefs_get_attr_with_getter_exception:
- * @self: A #WebKitDOMTestTypedefs
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_typedefs_get_attr_with_getter_exception(WebKitDOMTestTypedefs* self, GError** error);
-
-/**
- * webkit_dom_test_typedefs_set_attr_with_getter_exception:
- * @self: A #WebKitDOMTestTypedefs
- * @value: A #glong
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_set_attr_with_getter_exception(WebKitDOMTestTypedefs* self, glong value);
-
-/**
- * webkit_dom_test_typedefs_get_attr_with_setter_exception:
- * @self: A #WebKitDOMTestTypedefs
- *
- * Returns:
- *
-**/
-WEBKIT_API glong
-webkit_dom_test_typedefs_get_attr_with_setter_exception(WebKitDOMTestTypedefs* self);
-
-/**
- * webkit_dom_test_typedefs_set_attr_with_setter_exception:
- * @self: A #WebKitDOMTestTypedefs
- * @value: A #glong
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_set_attr_with_setter_exception(WebKitDOMTestTypedefs* self, glong value, GError** error);
-
-/**
- * webkit_dom_test_typedefs_get_string_attr_with_getter_exception:
- * @self: A #WebKitDOMTestTypedefs
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_typedefs_get_string_attr_with_getter_exception(WebKitDOMTestTypedefs* self, GError** error);
-
-/**
- * webkit_dom_test_typedefs_set_string_attr_with_getter_exception:
- * @self: A #WebKitDOMTestTypedefs
- * @value: A #gchar
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_set_string_attr_with_getter_exception(WebKitDOMTestTypedefs* self, const gchar* value);
-
-/**
- * webkit_dom_test_typedefs_get_string_attr_with_setter_exception:
- * @self: A #WebKitDOMTestTypedefs
- *
- * Returns:
- *
-**/
-WEBKIT_API gchar*
-webkit_dom_test_typedefs_get_string_attr_with_setter_exception(WebKitDOMTestTypedefs* self);
-
-/**
- * webkit_dom_test_typedefs_set_string_attr_with_setter_exception:
- * @self: A #WebKitDOMTestTypedefs
- * @value: A #gchar
- * @error: #GError
- *
- * Returns:
- *
-**/
-WEBKIT_API void
-webkit_dom_test_typedefs_set_string_attr_with_setter_exception(WebKitDOMTestTypedefs* self, const gchar* value, GError** error);
-
-G_END_DECLS
-
-#endif /* WebKitDOMTestTypedefs_h */
diff --git a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefsPrivate.h b/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefsPrivate.h
deleted file mode 100644
index 3b890be..0000000
--- a/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefsPrivate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef WebKitDOMTestTypedefsPrivate_h
-#define WebKitDOMTestTypedefsPrivate_h
-
-#include "TestTypedefs.h"
-#include <webkitdom/WebKitDOMTestTypedefs.h>
-
-namespace WebKit {
-WebKitDOMTestTypedefs* wrapTestTypedefs(WebCore::TestTypedefs*);
-WebCore::TestTypedefs* core(WebKitDOMTestTypedefs* request);
-WebKitDOMTestTypedefs* kit(WebCore::TestTypedefs* node);
-} // namespace WebKit
-
-#endif /* WebKitDOMTestTypedefsPrivate_h */
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp b/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp
deleted file mode 100644
index 65d5ac0..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.cpp
+++ /dev/null
@@ -1,295 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSFloat64Array.h"
-
-#include "ExceptionCode.h"
-#include "JSArrayBufferViewHelper.h"
-#include "JSDOMBinding.h"
-#include "JSFloat32Array.h"
-#include "JSInt32Array.h"
-#include <runtime/Error.h>
-#include <runtime/PropertyNameArray.h>
-#include <wtf/Float64Array.h>
-#include <wtf/GetPtr.h>
-#include <wtf/Int32Array.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSFloat64ArrayTableValues[] =
-{
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsFloat64ArrayConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSFloat64ArrayTable = { 2, 1, JSFloat64ArrayTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSFloat64ArrayConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSFloat64ArrayConstructorTable = { 1, 0, JSFloat64ArrayConstructorTableValues, 0 };
-EncodedJSValue JSC_HOST_CALL JSFloat64ArrayConstructor::constructJSFloat64Array(ExecState* exec)
-{
-    JSFloat64ArrayConstructor* jsConstructor = jsCast<JSFloat64ArrayConstructor*>(exec->callee());
-    RefPtr<Float64Array> array = constructArrayBufferView<Float64Array, double>(exec);
-    if (!array.get())
-        // Exception has already been thrown.
-        return JSValue::encode(JSValue());
-    return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Float64Array* object)
-{
-    return toJSArrayBufferView<JSFloat64Array>(exec, globalObject, object);
-}
-
-void JSFloat64Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
-{
-    impl()->set(index, value.toNumber(exec));
-}
-
-static const HashTable* getJSFloat64ArrayConstructorTable(ExecState* exec)
-{
-    return getHashTableForGlobalData(exec->globalData(), &JSFloat64ArrayConstructorTable);
-}
-
-const ClassInfo JSFloat64ArrayConstructor::s_info = { "Float64ArrayConstructor", &Base::s_info, 0, getJSFloat64ArrayConstructorTable, CREATE_METHOD_TABLE(JSFloat64ArrayConstructor) };
-
-JSFloat64ArrayConstructor::JSFloat64ArrayConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSFloat64ArrayConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSFloat64ArrayPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-    putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(123), ReadOnly | DontDelete | DontEnum);
-}
-
-bool JSFloat64ArrayConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSFloat64ArrayConstructor, JSDOMWrapper>(exec, getJSFloat64ArrayConstructorTable(exec), jsCast<JSFloat64ArrayConstructor*>(cell), propertyName, slot);
-}
-
-bool JSFloat64ArrayConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSFloat64ArrayConstructor, JSDOMWrapper>(exec, getJSFloat64ArrayConstructorTable(exec), jsCast<JSFloat64ArrayConstructor*>(object), propertyName, descriptor);
-}
-
-ConstructType JSFloat64ArrayConstructor::getConstructData(JSCell*, ConstructData& constructData)
-{
-    constructData.native.function = constructJSFloat64Array;
-    return ConstructTypeHost;
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSFloat64ArrayPrototypeTableValues[] =
-{
-    { "foo", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsFloat64ArrayPrototypeFunctionFoo), (intptr_t)1, NoIntrinsic },
-    { "set", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsFloat64ArrayPrototypeFunctionSet), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSFloat64ArrayPrototypeTable = { 4, 3, JSFloat64ArrayPrototypeTableValues, 0 };
-static const HashTable* getJSFloat64ArrayPrototypeTable(ExecState* exec)
-{
-    return getHashTableForGlobalData(exec->globalData(), &JSFloat64ArrayPrototypeTable);
-}
-
-const ClassInfo JSFloat64ArrayPrototype::s_info = { "Float64ArrayPrototype", &Base::s_info, 0, getJSFloat64ArrayPrototypeTable, CREATE_METHOD_TABLE(JSFloat64ArrayPrototype) };
-
-JSObject* JSFloat64ArrayPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSFloat64Array>(exec, globalObject);
-}
-
-bool JSFloat64ArrayPrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSFloat64ArrayPrototype* thisObject = jsCast<JSFloat64ArrayPrototype*>(cell);
-    return getStaticFunctionSlot<JSObject>(exec, getJSFloat64ArrayPrototypeTable(exec), thisObject, propertyName, slot);
-}
-
-bool JSFloat64ArrayPrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSFloat64ArrayPrototype* thisObject = jsCast<JSFloat64ArrayPrototype*>(object);
-    return getStaticFunctionDescriptor<JSObject>(exec, getJSFloat64ArrayPrototypeTable(exec), thisObject, propertyName, descriptor);
-}
-
-static const HashTable* getJSFloat64ArrayTable(ExecState* exec)
-{
-    return getHashTableForGlobalData(exec->globalData(), &JSFloat64ArrayTable);
-}
-
-const ClassInfo JSFloat64Array::s_info = { "Float64Array", &Base::s_info, 0, getJSFloat64ArrayTable , CREATE_METHOD_TABLE(JSFloat64Array) };
-
-JSFloat64Array::JSFloat64Array(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<Float64Array> impl)
-    : JSArrayBufferView(structure, globalObject, impl)
-{
-}
-
-void JSFloat64Array::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    TypedArrayDescriptor descriptor(&JSFloat64Array::s_info, OBJECT_OFFSETOF(JSFloat64Array, m_storage), OBJECT_OFFSETOF(JSFloat64Array, m_storageLength));
-    globalData.registerTypedArrayDescriptor(impl(), descriptor);
-    m_storage = impl()->data();
-    m_storageLength = impl()->length();
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSFloat64Array::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSFloat64ArrayPrototype::create(exec->globalData(), globalObject, JSFloat64ArrayPrototype::createStructure(exec->globalData(), globalObject, JSArrayBufferViewPrototype::self(exec, globalObject)));
-}
-
-bool JSFloat64Array::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSFloat64Array* thisObject = jsCast<JSFloat64Array*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    unsigned index = propertyName.asIndex();
-    if (index != PropertyName::NotAnIndex && index < static_cast<Float64Array*>(thisObject->impl())->length()) {
-        slot.setValue(thisObject->getByIndex(exec, index));
-        return true;
-    }
-    return getStaticValueSlot<JSFloat64Array, Base>(exec, getJSFloat64ArrayTable(exec), thisObject, propertyName, slot);
-}
-
-bool JSFloat64Array::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSFloat64Array* thisObject = jsCast<JSFloat64Array*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    unsigned index = propertyName.asIndex();
-    if (index != PropertyName::NotAnIndex && index < static_cast<Float64Array*>(thisObject->impl())->length()) {
-        descriptor.setDescriptor(thisObject->getByIndex(exec, index), DontDelete);
-        return true;
-    }
-    return getStaticValueDescriptor<JSFloat64Array, Base>(exec, getJSFloat64ArrayTable(exec), thisObject, propertyName, descriptor);
-}
-
-bool JSFloat64Array::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned index, PropertySlot& slot)
-{
-    JSFloat64Array* thisObject = jsCast<JSFloat64Array*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    if (index < static_cast<Float64Array*>(thisObject->impl())->length()) {
-        slot.setValue(thisObject->getByIndex(exec, index));
-        return true;
-    }
-    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
-}
-
-JSValue jsFloat64ArrayConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSFloat64Array* domObject = jsCast<JSFloat64Array*>(asObject(slotBase));
-    return JSFloat64Array::getConstructor(exec, domObject->globalObject());
-}
-
-void JSFloat64Array::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
-{
-    JSFloat64Array* thisObject = jsCast<JSFloat64Array*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    unsigned index = propertyName.asIndex();
-    if (index != PropertyName::NotAnIndex) {
-        thisObject->indexSetter(exec, index, value);
-        return;
-    }
-    Base::put(thisObject, exec, propertyName, value, slot);
-}
-
-void JSFloat64Array::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)
-{
-    JSFloat64Array* thisObject = jsCast<JSFloat64Array*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    if (index <= MAX_ARRAY_INDEX) {
-        UNUSED_PARAM(shouldThrow);
-        thisObject->indexSetter(exec, index, value);
-        return;
-    }
-    Base::putByIndex(cell, exec, index, value, shouldThrow);
-}
-
-void JSFloat64Array::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
-{
-    JSFloat64Array* thisObject = jsCast<JSFloat64Array*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    for (unsigned i = 0; i < static_cast<Float64Array*>(thisObject->impl())->length(); ++i)
-        propertyNames.add(Identifier::from(exec, i));
-     Base::getOwnPropertyNames(thisObject, exec, propertyNames, mode);
-}
-
-JSValue JSFloat64Array::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSFloat64ArrayConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-EncodedJSValue JSC_HOST_CALL jsFloat64ArrayPrototypeFunctionFoo(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSFloat64Array::s_info))
-        return throwVMTypeError(exec);
-    JSFloat64Array* castedThis = jsCast<JSFloat64Array*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSFloat64Array::s_info);
-    Float64Array* impl = static_cast<Float64Array*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Float32Array* array(toFloat32Array(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->foo(array)));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsFloat64ArrayPrototypeFunctionSet(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSFloat64Array::s_info))
-        return throwVMTypeError(exec);
-    JSFloat64Array* castedThis = jsCast<JSFloat64Array*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSFloat64Array::s_info);
-    return JSValue::encode(setWebGLArrayHelper<Float64Array, double>(exec, castedThis->impl()));
-}
-
-
-JSValue JSFloat64Array::getByIndex(ExecState*, unsigned index)
-{
-    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
-    double result = static_cast<Float64Array*>(impl())->item(index);
-    if (std::isnan(result))
-        return jsNaN();
-    return JSValue(result);
-}
-
-Float64Array* toFloat64Array(JSC::JSValue value)
-{
-    return value.inherits(&JSFloat64Array::s_info) ? jsCast<JSFloat64Array*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.h b/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.h
deleted file mode 100644
index 9084479..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSFloat64Array.h
+++ /dev/null
@@ -1,136 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSFloat64Array_h
-#define JSFloat64Array_h
-
-#include "JSArrayBufferView.h"
-#include "JSDOMBinding.h"
-#include <runtime/JSObject.h>
-#include <wtf/Float64Array.h>
-
-namespace WebCore {
-
-class JSFloat64Array : public JSArrayBufferView {
-public:
-    typedef JSArrayBufferView Base;
-    static JSFloat64Array* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<Float64Array> impl)
-    {
-        JSFloat64Array* ptr = new (NotNull, JSC::allocateCell<JSFloat64Array>(globalObject->globalData().heap)) JSFloat64Array(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static bool getOwnPropertySlotByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
-    static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
-    static void putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static void getOwnPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&, JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties);
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    Float64Array* impl() const
-    {
-        return static_cast<Float64Array*>(Base::impl());
-    }
-    static const JSC::TypedArrayType TypedArrayStorageType = JSC::TypedArrayFloat64;
-    intptr_t m_storageLength;
-    void* m_storage;
-protected:
-    JSFloat64Array(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<Float64Array>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetPropertyNames | JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
-    JSC::JSValue getByIndex(JSC::ExecState*, unsigned index);
-    void indexSetter(JSC::ExecState*, unsigned index, JSC::JSValue);
-};
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, Float64Array*);
-Float64Array* toFloat64Array(JSC::JSValue);
-
-class JSFloat64ArrayPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSFloat64ArrayPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSFloat64ArrayPrototype* ptr = new (NotNull, JSC::allocateCell<JSFloat64ArrayPrototype>(globalData.heap)) JSFloat64ArrayPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSFloat64ArrayPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
-};
-
-class JSFloat64ArrayConstructor : public DOMConstructorObject {
-private:
-    JSFloat64ArrayConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSFloat64ArrayConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSFloat64ArrayConstructor* ptr = new (NotNull, JSC::allocateCell<JSFloat64ArrayConstructor>(*exec->heap())) JSFloat64ArrayConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSFloat64Array(JSC::ExecState*);
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-};
-
-// Functions
-
-JSC::EncodedJSValue JSC_HOST_CALL jsFloat64ArrayPrototypeFunctionFoo(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsFloat64ArrayPrototypeFunctionSet(JSC::ExecState*);
-// Attributes
-
-JSC::JSValue jsFloat64ArrayConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp
deleted file mode 100644
index f281230..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp
+++ /dev/null
@@ -1,248 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestActiveDOMObject.h"
-
-#include "BindingSecurity.h"
-#include "ExceptionCode.h"
-#include "JSDOMBinding.h"
-#include "JSNode.h"
-#include "TestActiveDOMObject.h"
-#include <runtime/Error.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestActiveDOMObjectTableValues[] =
-{
-    { "excitingAttr", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestActiveDOMObjectExcitingAttr), (intptr_t)0, NoIntrinsic },
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestActiveDOMObjectConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestActiveDOMObjectTable = { 4, 3, JSTestActiveDOMObjectTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestActiveDOMObjectConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestActiveDOMObjectConstructorTable = { 1, 0, JSTestActiveDOMObjectConstructorTableValues, 0 };
-const ClassInfo JSTestActiveDOMObjectConstructor::s_info = { "TestActiveDOMObjectConstructor", &Base::s_info, &JSTestActiveDOMObjectConstructorTable, 0, CREATE_METHOD_TABLE(JSTestActiveDOMObjectConstructor) };
-
-JSTestActiveDOMObjectConstructor::JSTestActiveDOMObjectConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestActiveDOMObjectConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestActiveDOMObjectPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-}
-
-bool JSTestActiveDOMObjectConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestActiveDOMObjectConstructor, JSDOMWrapper>(exec, &JSTestActiveDOMObjectConstructorTable, jsCast<JSTestActiveDOMObjectConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestActiveDOMObjectConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestActiveDOMObjectConstructor, JSDOMWrapper>(exec, &JSTestActiveDOMObjectConstructorTable, jsCast<JSTestActiveDOMObjectConstructor*>(object), propertyName, descriptor);
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestActiveDOMObjectPrototypeTableValues[] =
-{
-    { "excitingFunction", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestActiveDOMObjectPrototypeFunctionExcitingFunction), (intptr_t)1, NoIntrinsic },
-    { "postMessage", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestActiveDOMObjectPrototypeFunctionPostMessage), (intptr_t)1, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestActiveDOMObjectPrototypeTable = { 4, 3, JSTestActiveDOMObjectPrototypeTableValues, 0 };
-const ClassInfo JSTestActiveDOMObjectPrototype::s_info = { "TestActiveDOMObjectPrototype", &Base::s_info, &JSTestActiveDOMObjectPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestActiveDOMObjectPrototype) };
-
-JSObject* JSTestActiveDOMObjectPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestActiveDOMObject>(exec, globalObject);
-}
-
-bool JSTestActiveDOMObjectPrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestActiveDOMObjectPrototype* thisObject = jsCast<JSTestActiveDOMObjectPrototype*>(cell);
-    return getStaticFunctionSlot<JSObject>(exec, &JSTestActiveDOMObjectPrototypeTable, thisObject, propertyName, slot);
-}
-
-bool JSTestActiveDOMObjectPrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestActiveDOMObjectPrototype* thisObject = jsCast<JSTestActiveDOMObjectPrototype*>(object);
-    return getStaticFunctionDescriptor<JSObject>(exec, &JSTestActiveDOMObjectPrototypeTable, thisObject, propertyName, descriptor);
-}
-
-const ClassInfo JSTestActiveDOMObject::s_info = { "TestActiveDOMObject", &Base::s_info, &JSTestActiveDOMObjectTable, 0 , CREATE_METHOD_TABLE(JSTestActiveDOMObject) };
-
-JSTestActiveDOMObject::JSTestActiveDOMObject(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestActiveDOMObject> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestActiveDOMObject::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestActiveDOMObject::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestActiveDOMObjectPrototype::create(exec->globalData(), globalObject, JSTestActiveDOMObjectPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestActiveDOMObject::destroy(JSC::JSCell* cell)
-{
-    JSTestActiveDOMObject* thisObject = static_cast<JSTestActiveDOMObject*>(cell);
-    thisObject->JSTestActiveDOMObject::~JSTestActiveDOMObject();
-}
-
-JSTestActiveDOMObject::~JSTestActiveDOMObject()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestActiveDOMObject::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestActiveDOMObject* thisObject = jsCast<JSTestActiveDOMObject*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestActiveDOMObject, Base>(exec, &JSTestActiveDOMObjectTable, thisObject, propertyName, slot);
-}
-
-bool JSTestActiveDOMObject::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestActiveDOMObject* thisObject = jsCast<JSTestActiveDOMObject*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    if (!shouldAllowAccessToFrame(exec, thisObject->impl()->frame()))
-        return false;
-    return getStaticValueDescriptor<JSTestActiveDOMObject, Base>(exec, &JSTestActiveDOMObjectTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestActiveDOMObjectExcitingAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestActiveDOMObject* castedThis = jsCast<JSTestActiveDOMObject*>(asObject(slotBase));
-    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis->impl()))
-        return jsUndefined();
-    UNUSED_PARAM(exec);
-    TestActiveDOMObject* impl = static_cast<TestActiveDOMObject*>(castedThis->impl());
-    JSValue result = jsNumber(impl->excitingAttr());
-    return result;
-}
-
-
-JSValue jsTestActiveDOMObjectConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestActiveDOMObject* domObject = jsCast<JSTestActiveDOMObject*>(asObject(slotBase));
-    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, domObject->impl()))
-        return jsUndefined();
-    return JSTestActiveDOMObject::getConstructor(exec, domObject->globalObject());
-}
-
-JSValue JSTestActiveDOMObject::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestActiveDOMObjectConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestActiveDOMObjectPrototypeFunctionExcitingFunction(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestActiveDOMObject::s_info))
-        return throwVMTypeError(exec);
-    JSTestActiveDOMObject* castedThis = jsCast<JSTestActiveDOMObject*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestActiveDOMObject::s_info);
-    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis->impl()))
-        return JSValue::encode(jsUndefined());
-    TestActiveDOMObject* impl = static_cast<TestActiveDOMObject*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Node* nextChild(toNode(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->excitingFunction(nextChild);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestActiveDOMObjectPrototypeFunctionPostMessage(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestActiveDOMObject::s_info))
-        return throwVMTypeError(exec);
-    JSTestActiveDOMObject* castedThis = jsCast<JSTestActiveDOMObject*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestActiveDOMObject::s_info);
-    TestActiveDOMObject* impl = static_cast<TestActiveDOMObject*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String& message(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->postMessage(message);
-    return JSValue::encode(jsUndefined());
-}
-
-static inline bool isObservable(JSTestActiveDOMObject* jsTestActiveDOMObject)
-{
-    if (jsTestActiveDOMObject->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestActiveDOMObjectOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestActiveDOMObject* jsTestActiveDOMObject = jsCast<JSTestActiveDOMObject*>(handle.get().asCell());
-    if (!isObservable(jsTestActiveDOMObject))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestActiveDOMObjectOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestActiveDOMObject* jsTestActiveDOMObject = jsCast<JSTestActiveDOMObject*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestActiveDOMObject->impl(), jsTestActiveDOMObject);
-    jsTestActiveDOMObject->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestActiveDOMObject* impl)
-{
-    return wrap<JSTestActiveDOMObject>(exec, globalObject, impl);
-}
-
-TestActiveDOMObject* toTestActiveDOMObject(JSC::JSValue value)
-{
-    return value.inherits(&JSTestActiveDOMObject::s_info) ? jsCast<JSTestActiveDOMObject*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h b/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h
deleted file mode 100644
index 97cac49..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestActiveDOMObject_h
-#define JSTestActiveDOMObject_h
-
-#include "JSDOMBinding.h"
-#include "TestActiveDOMObject.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestActiveDOMObject : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestActiveDOMObject* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestActiveDOMObject> impl)
-    {
-        JSTestActiveDOMObject* ptr = new (NotNull, JSC::allocateCell<JSTestActiveDOMObject>(globalObject->globalData().heap)) JSTestActiveDOMObject(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestActiveDOMObject();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    TestActiveDOMObject* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestActiveDOMObject* m_impl;
-protected:
-    JSTestActiveDOMObject(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestActiveDOMObject>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
-};
-
-class JSTestActiveDOMObjectOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestActiveDOMObject*)
-{
-    DEFINE_STATIC_LOCAL(JSTestActiveDOMObjectOwner, jsTestActiveDOMObjectOwner, ());
-    return &jsTestActiveDOMObjectOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestActiveDOMObject*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestActiveDOMObject*);
-TestActiveDOMObject* toTestActiveDOMObject(JSC::JSValue);
-
-class JSTestActiveDOMObjectPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestActiveDOMObjectPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestActiveDOMObjectPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestActiveDOMObjectPrototype>(globalData.heap)) JSTestActiveDOMObjectPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestActiveDOMObjectPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
-};
-
-class JSTestActiveDOMObjectConstructor : public DOMConstructorObject {
-private:
-    JSTestActiveDOMObjectConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestActiveDOMObjectConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestActiveDOMObjectConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestActiveDOMObjectConstructor>(*exec->heap())) JSTestActiveDOMObjectConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-};
-
-// Functions
-
-JSC::EncodedJSValue JSC_HOST_CALL jsTestActiveDOMObjectPrototypeFunctionExcitingFunction(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestActiveDOMObjectPrototypeFunctionPostMessage(JSC::ExecState*);
-// Attributes
-
-JSC::JSValue jsTestActiveDOMObjectExcitingAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestActiveDOMObjectConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp
deleted file mode 100644
index 76234d6..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-
-#if ENABLE(SQL_DATABASE)
-
-#include "JSTestCallback.h"
-
-#include "JSClass1.h"
-#include "JSClass2.h"
-#include "JSClass8.h"
-#include "JSDOMStringList.h"
-#include "JSThisClass.h"
-#include "ScriptExecutionContext.h"
-#include <runtime/JSLock.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-JSTestCallback::JSTestCallback(JSObject* callback, JSDOMGlobalObject* globalObject)
-    : ActiveDOMCallback(globalObject->scriptExecutionContext())
-    , m_data(new JSCallbackData(callback, globalObject))
-{
-}
-
-JSTestCallback::~JSTestCallback()
-{
-    ScriptExecutionContext* context = scriptExecutionContext();
-    // When the context is destroyed, all tasks with a reference to a callback
-    // should be deleted. So if the context is 0, we are on the context thread.
-    if (!context || context->isContextThread())
-        delete m_data;
-    else
-        context->postTask(DeleteCallbackDataTask::create(m_data));
-#ifndef NDEBUG
-    m_data = 0;
-#endif
-}
-
-// Functions
-
-bool JSTestCallback::callbackWithNoParam()
-{
-    if (!canInvokeCallback())
-        return true;
-
-    RefPtr<JSTestCallback> protect(this);
-
-    JSLockHolder lock(m_data->globalObject()->globalData());
-
-    MarkedArgumentBuffer args;
-
-    bool raisedException = false;
-    m_data->invokeCallback(args, &raisedException);
-    return !raisedException;
-}
-
-bool JSTestCallback::callbackWithClass1Param(Class1* class1Param)
-{
-    if (!canInvokeCallback())
-        return true;
-
-    RefPtr<JSTestCallback> protect(this);
-
-    JSLockHolder lock(m_data->globalObject()->globalData());
-
-    ExecState* exec = m_data->globalObject()->globalExec();
-    MarkedArgumentBuffer args;
-    args.append(toJS(exec, m_data->globalObject(), class1Param));
-
-    bool raisedException = false;
-    m_data->invokeCallback(args, &raisedException);
-    return !raisedException;
-}
-
-bool JSTestCallback::callbackWithClass2Param(Class2* class2Param, const String& strArg)
-{
-    if (!canInvokeCallback())
-        return true;
-
-    RefPtr<JSTestCallback> protect(this);
-
-    JSLockHolder lock(m_data->globalObject()->globalData());
-
-    ExecState* exec = m_data->globalObject()->globalExec();
-    MarkedArgumentBuffer args;
-    args.append(toJS(exec, m_data->globalObject(), class2Param));
-    args.append(jsStringWithCache(exec, strArg));
-
-    bool raisedException = false;
-    m_data->invokeCallback(args, &raisedException);
-    return !raisedException;
-}
-
-bool JSTestCallback::callbackWithStringList(PassRefPtr<DOMStringList> listParam)
-{
-    if (!canInvokeCallback())
-        return true;
-
-    RefPtr<JSTestCallback> protect(this);
-
-    JSLockHolder lock(m_data->globalObject()->globalData());
-
-    ExecState* exec = m_data->globalObject()->globalExec();
-    MarkedArgumentBuffer args;
-    args.append(toJS(exec, m_data->globalObject(), listParam));
-
-    bool raisedException = false;
-    m_data->invokeCallback(args, &raisedException);
-    return !raisedException;
-}
-
-bool JSTestCallback::callbackWithBoolean(bool boolParam)
-{
-    if (!canInvokeCallback())
-        return true;
-
-    RefPtr<JSTestCallback> protect(this);
-
-    JSLockHolder lock(m_data->globalObject()->globalData());
-
-    ExecState* exec = m_data->globalObject()->globalExec();
-    MarkedArgumentBuffer args;
-    args.append(jsBoolean(boolParam));
-
-    bool raisedException = false;
-    m_data->invokeCallback(args, &raisedException);
-    return !raisedException;
-}
-
-bool JSTestCallback::callbackRequiresThisToPass(Class8* class8Param, ThisClass* thisClassParam)
-{
-    ASSERT(thisClassParam);
-
-    if (!canInvokeCallback())
-        return true;
-
-    RefPtr<JSTestCallback> protect(this);
-
-    JSLockHolder lock(m_data->globalObject()->globalData());
-
-    ExecState* exec = m_data->globalObject()->globalExec();
-    MarkedArgumentBuffer args;
-    args.append(toJS(exec, m_data->globalObject(), class8Param));
-    args.append(toJS(exec, m_data->globalObject(), thisClassParam));
-
-    bool raisedException = false;
-    JSValue jsthisClassParam = toJS(exec, m_data->globalObject(), thisClassParam);
-    m_data->invokeCallback(jsthisClassParam, args, &raisedException);
-
-    return !raisedException;
-}
-
-}
-
-#endif // ENABLE(SQL_DATABASE)
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.h b/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.h
deleted file mode 100644
index 314387c..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestCallback_h
-#define JSTestCallback_h
-
-#if ENABLE(SQL_DATABASE)
-
-#include "ActiveDOMCallback.h"
-#include "JSCallbackData.h"
-#include "TestCallback.h"
-#include <wtf/Forward.h>
-
-namespace WebCore {
-
-class JSTestCallback : public TestCallback, public ActiveDOMCallback {
-public:
-    static PassRefPtr<JSTestCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject)
-    {
-        return adoptRef(new JSTestCallback(callback, globalObject));
-    }
-
-    virtual ScriptExecutionContext* scriptExecutionContext() const { return ContextDestructionObserver::scriptExecutionContext(); }
-
-    virtual ~JSTestCallback();
-
-    // Functions
-    virtual bool callbackWithNoParam();
-    virtual bool callbackWithClass1Param(Class1* class1Param);
-    virtual bool callbackWithClass2Param(Class2* class2Param, const String& strArg);
-    COMPILE_ASSERT(false)    virtual int callbackWithNonBoolReturnType(Class3* class3Param);
-    virtual int customCallback(Class5* class5Param, Class6* class6Param);
-    virtual bool callbackWithStringList(PassRefPtr<DOMStringList> listParam);
-    virtual bool callbackWithBoolean(bool boolParam);
-    virtual bool callbackRequiresThisToPass(Class8* class8Param, ThisClass* thisClassParam);
-
-private:
-    JSTestCallback(JSC::JSObject* callback, JSDOMGlobalObject*);
-
-    JSCallbackData* m_data;
-};
-
-} // namespace WebCore
-
-#endif // ENABLE(SQL_DATABASE)
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp
deleted file mode 100644
index 75a2cd1..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp
+++ /dev/null
@@ -1,232 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestCustomNamedGetter.h"
-
-#include "ExceptionCode.h"
-#include "JSDOMBinding.h"
-#include "TestCustomNamedGetter.h"
-#include "wtf/text/AtomicString.h"
-#include <runtime/Error.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestCustomNamedGetterTableValues[] =
-{
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestCustomNamedGetterConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestCustomNamedGetterTable = { 2, 1, JSTestCustomNamedGetterTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestCustomNamedGetterConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestCustomNamedGetterConstructorTable = { 1, 0, JSTestCustomNamedGetterConstructorTableValues, 0 };
-const ClassInfo JSTestCustomNamedGetterConstructor::s_info = { "TestCustomNamedGetterConstructor", &Base::s_info, &JSTestCustomNamedGetterConstructorTable, 0, CREATE_METHOD_TABLE(JSTestCustomNamedGetterConstructor) };
-
-JSTestCustomNamedGetterConstructor::JSTestCustomNamedGetterConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestCustomNamedGetterConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestCustomNamedGetterPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-}
-
-bool JSTestCustomNamedGetterConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestCustomNamedGetterConstructor, JSDOMWrapper>(exec, &JSTestCustomNamedGetterConstructorTable, jsCast<JSTestCustomNamedGetterConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestCustomNamedGetterConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestCustomNamedGetterConstructor, JSDOMWrapper>(exec, &JSTestCustomNamedGetterConstructorTable, jsCast<JSTestCustomNamedGetterConstructor*>(object), propertyName, descriptor);
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestCustomNamedGetterPrototypeTableValues[] =
-{
-    { "anotherFunction", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestCustomNamedGetterPrototypeFunctionAnotherFunction), (intptr_t)1, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestCustomNamedGetterPrototypeTable = { 2, 1, JSTestCustomNamedGetterPrototypeTableValues, 0 };
-const ClassInfo JSTestCustomNamedGetterPrototype::s_info = { "TestCustomNamedGetterPrototype", &Base::s_info, &JSTestCustomNamedGetterPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestCustomNamedGetterPrototype) };
-
-JSObject* JSTestCustomNamedGetterPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestCustomNamedGetter>(exec, globalObject);
-}
-
-bool JSTestCustomNamedGetterPrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestCustomNamedGetterPrototype* thisObject = jsCast<JSTestCustomNamedGetterPrototype*>(cell);
-    return getStaticFunctionSlot<JSObject>(exec, &JSTestCustomNamedGetterPrototypeTable, thisObject, propertyName, slot);
-}
-
-bool JSTestCustomNamedGetterPrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestCustomNamedGetterPrototype* thisObject = jsCast<JSTestCustomNamedGetterPrototype*>(object);
-    return getStaticFunctionDescriptor<JSObject>(exec, &JSTestCustomNamedGetterPrototypeTable, thisObject, propertyName, descriptor);
-}
-
-const ClassInfo JSTestCustomNamedGetter::s_info = { "TestCustomNamedGetter", &Base::s_info, &JSTestCustomNamedGetterTable, 0 , CREATE_METHOD_TABLE(JSTestCustomNamedGetter) };
-
-JSTestCustomNamedGetter::JSTestCustomNamedGetter(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestCustomNamedGetter> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestCustomNamedGetter::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestCustomNamedGetter::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestCustomNamedGetterPrototype::create(exec->globalData(), globalObject, JSTestCustomNamedGetterPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestCustomNamedGetter::destroy(JSC::JSCell* cell)
-{
-    JSTestCustomNamedGetter* thisObject = static_cast<JSTestCustomNamedGetter*>(cell);
-    thisObject->JSTestCustomNamedGetter::~JSTestCustomNamedGetter();
-}
-
-JSTestCustomNamedGetter::~JSTestCustomNamedGetter()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestCustomNamedGetter::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestCustomNamedGetter* thisObject = jsCast<JSTestCustomNamedGetter*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    if (canGetItemsForName(exec, static_cast<TestCustomNamedGetter*>(thisObject->impl()), propertyName)) {
-        slot.setCustom(thisObject, thisObject->nameGetter);
-        return true;
-    }
-    return getStaticValueSlot<JSTestCustomNamedGetter, Base>(exec, &JSTestCustomNamedGetterTable, thisObject, propertyName, slot);
-}
-
-bool JSTestCustomNamedGetter::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestCustomNamedGetter* thisObject = jsCast<JSTestCustomNamedGetter*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    if (canGetItemsForName(exec, static_cast<TestCustomNamedGetter*>(thisObject->impl()), propertyName)) {
-        PropertySlot slot;
-        slot.setCustom(thisObject, nameGetter);
-        descriptor.setDescriptor(slot.getValue(exec, propertyName), ReadOnly | DontDelete | DontEnum);
-        return true;
-    }
-    return getStaticValueDescriptor<JSTestCustomNamedGetter, Base>(exec, &JSTestCustomNamedGetterTable, thisObject, propertyName, descriptor);
-}
-
-bool JSTestCustomNamedGetter::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned index, PropertySlot& slot)
-{
-    JSTestCustomNamedGetter* thisObject = jsCast<JSTestCustomNamedGetter*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    PropertyName propertyName = Identifier::from(exec, index);
-    if (canGetItemsForName(exec, static_cast<TestCustomNamedGetter*>(thisObject->impl()), propertyName)) {
-        slot.setCustom(thisObject, thisObject->nameGetter);
-        return true;
-    }
-    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
-}
-
-JSValue jsTestCustomNamedGetterConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestCustomNamedGetter* domObject = jsCast<JSTestCustomNamedGetter*>(asObject(slotBase));
-    return JSTestCustomNamedGetter::getConstructor(exec, domObject->globalObject());
-}
-
-JSValue JSTestCustomNamedGetter::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestCustomNamedGetterConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestCustomNamedGetterPrototypeFunctionAnotherFunction(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestCustomNamedGetter::s_info))
-        return throwVMTypeError(exec);
-    JSTestCustomNamedGetter* castedThis = jsCast<JSTestCustomNamedGetter*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestCustomNamedGetter::s_info);
-    TestCustomNamedGetter* impl = static_cast<TestCustomNamedGetter*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String& str(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->anotherFunction(str);
-    return JSValue::encode(jsUndefined());
-}
-
-static inline bool isObservable(JSTestCustomNamedGetter* jsTestCustomNamedGetter)
-{
-    if (jsTestCustomNamedGetter->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestCustomNamedGetterOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestCustomNamedGetter* jsTestCustomNamedGetter = jsCast<JSTestCustomNamedGetter*>(handle.get().asCell());
-    if (!isObservable(jsTestCustomNamedGetter))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestCustomNamedGetterOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestCustomNamedGetter* jsTestCustomNamedGetter = jsCast<JSTestCustomNamedGetter*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestCustomNamedGetter->impl(), jsTestCustomNamedGetter);
-    jsTestCustomNamedGetter->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestCustomNamedGetter* impl)
-{
-    return wrap<JSTestCustomNamedGetter>(exec, globalObject, impl);
-}
-
-TestCustomNamedGetter* toTestCustomNamedGetter(JSC::JSValue value)
-{
-    return value.inherits(&JSTestCustomNamedGetter::s_info) ? jsCast<JSTestCustomNamedGetter*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h b/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h
deleted file mode 100644
index 76ba135..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestCustomNamedGetter_h
-#define JSTestCustomNamedGetter_h
-
-#include "JSDOMBinding.h"
-#include "TestCustomNamedGetter.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestCustomNamedGetter : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestCustomNamedGetter* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestCustomNamedGetter> impl)
-    {
-        JSTestCustomNamedGetter* ptr = new (NotNull, JSC::allocateCell<JSTestCustomNamedGetter>(globalObject->globalData().heap)) JSTestCustomNamedGetter(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static bool getOwnPropertySlotByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestCustomNamedGetter();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    TestCustomNamedGetter* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestCustomNamedGetter* m_impl;
-protected:
-    JSTestCustomNamedGetter(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestCustomNamedGetter>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::HasImpureGetOwnPropertySlot | Base::StructureFlags;
-private:
-    static bool canGetItemsForName(JSC::ExecState*, TestCustomNamedGetter*, JSC::PropertyName);
-    static JSC::JSValue nameGetter(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-};
-
-class JSTestCustomNamedGetterOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestCustomNamedGetter*)
-{
-    DEFINE_STATIC_LOCAL(JSTestCustomNamedGetterOwner, jsTestCustomNamedGetterOwner, ());
-    return &jsTestCustomNamedGetterOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestCustomNamedGetter*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestCustomNamedGetter*);
-TestCustomNamedGetter* toTestCustomNamedGetter(JSC::JSValue);
-
-class JSTestCustomNamedGetterPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestCustomNamedGetterPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestCustomNamedGetterPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestCustomNamedGetterPrototype>(globalData.heap)) JSTestCustomNamedGetterPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestCustomNamedGetterPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
-};
-
-class JSTestCustomNamedGetterConstructor : public DOMConstructorObject {
-private:
-    JSTestCustomNamedGetterConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestCustomNamedGetterConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestCustomNamedGetterConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestCustomNamedGetterConstructor>(*exec->heap())) JSTestCustomNamedGetterConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-};
-
-// Functions
-
-JSC::EncodedJSValue JSC_HOST_CALL jsTestCustomNamedGetterPrototypeFunctionAnotherFunction(JSC::ExecState*);
-// Attributes
-
-JSC::JSValue jsTestCustomNamedGetterConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp
deleted file mode 100644
index 03ec230..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp
+++ /dev/null
@@ -1,247 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestEventConstructor.h"
-
-#include "JSDictionary.h"
-#include "KURL.h"
-#include "TestEventConstructor.h"
-#include <runtime/Error.h>
-#include <runtime/JSString.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table for constructor */
-
-static const HashTableValue JSTestEventConstructorTableValues[] =
-{
-    { "attr1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventConstructorAttr1), (intptr_t)0, NoIntrinsic },
-    { "attr2", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventConstructorAttr2), (intptr_t)0, NoIntrinsic },
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventConstructorConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestEventConstructorTable = { 9, 7, JSTestEventConstructorTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestEventConstructorConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestEventConstructorConstructorTable = { 1, 0, JSTestEventConstructorConstructorTableValues, 0 };
-EncodedJSValue JSC_HOST_CALL JSTestEventConstructorConstructor::constructJSTestEventConstructor(ExecState* exec)
-{
-    JSTestEventConstructorConstructor* jsConstructor = jsCast<JSTestEventConstructorConstructor*>(exec->callee());
-
-    ScriptExecutionContext* executionContext = jsConstructor->scriptExecutionContext();
-    if (!executionContext)
-        return throwVMError(exec, createReferenceError(exec, "Constructor associated execution context is unavailable"));
-
-    AtomicString eventType = exec->argument(0).toString(exec)->value(exec);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    TestEventConstructorInit eventInit;
-
-    JSValue initializerValue = exec->argument(1);
-    if (!initializerValue.isUndefinedOrNull()) {
-        // Given the above test, this will always yield an object.
-        JSObject* initializerObject = initializerValue.toObject(exec);
-
-        // Create the dictionary wrapper from the initializer object.
-        JSDictionary dictionary(exec, initializerObject);
-
-        // Attempt to fill in the EventInit.
-        if (!fillTestEventConstructorInit(eventInit, dictionary))
-            return JSValue::encode(jsUndefined());
-    }
-
-    RefPtr<TestEventConstructor> event = TestEventConstructor::create(eventType, eventInit);
-    return JSValue::encode(toJS(exec, jsConstructor->globalObject(), event.get()));
-}
-
-bool fillTestEventConstructorInit(TestEventConstructorInit& eventInit, JSDictionary& dictionary)
-{
-    if (!dictionary.tryGetProperty("attr2", eventInit.attr2))
-        return false;
-    return true;
-}
-
-const ClassInfo JSTestEventConstructorConstructor::s_info = { "TestEventConstructorConstructor", &Base::s_info, &JSTestEventConstructorConstructorTable, 0, CREATE_METHOD_TABLE(JSTestEventConstructorConstructor) };
-
-JSTestEventConstructorConstructor::JSTestEventConstructorConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestEventConstructorConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestEventConstructorPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-    putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(2), ReadOnly | DontDelete | DontEnum);
-}
-
-bool JSTestEventConstructorConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestEventConstructorConstructor, JSDOMWrapper>(exec, &JSTestEventConstructorConstructorTable, jsCast<JSTestEventConstructorConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestEventConstructorConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestEventConstructorConstructor, JSDOMWrapper>(exec, &JSTestEventConstructorConstructorTable, jsCast<JSTestEventConstructorConstructor*>(object), propertyName, descriptor);
-}
-
-ConstructType JSTestEventConstructorConstructor::getConstructData(JSCell*, ConstructData& constructData)
-{
-    constructData.native.function = constructJSTestEventConstructor;
-    return ConstructTypeHost;
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestEventConstructorPrototypeTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestEventConstructorPrototypeTable = { 1, 0, JSTestEventConstructorPrototypeTableValues, 0 };
-const ClassInfo JSTestEventConstructorPrototype::s_info = { "TestEventConstructorPrototype", &Base::s_info, &JSTestEventConstructorPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestEventConstructorPrototype) };
-
-JSObject* JSTestEventConstructorPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestEventConstructor>(exec, globalObject);
-}
-
-const ClassInfo JSTestEventConstructor::s_info = { "TestEventConstructor", &Base::s_info, &JSTestEventConstructorTable, 0 , CREATE_METHOD_TABLE(JSTestEventConstructor) };
-
-JSTestEventConstructor::JSTestEventConstructor(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestEventConstructor> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestEventConstructor::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestEventConstructor::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestEventConstructorPrototype::create(exec->globalData(), globalObject, JSTestEventConstructorPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestEventConstructor::destroy(JSC::JSCell* cell)
-{
-    JSTestEventConstructor* thisObject = static_cast<JSTestEventConstructor*>(cell);
-    thisObject->JSTestEventConstructor::~JSTestEventConstructor();
-}
-
-JSTestEventConstructor::~JSTestEventConstructor()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestEventConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestEventConstructor* thisObject = jsCast<JSTestEventConstructor*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestEventConstructor, Base>(exec, &JSTestEventConstructorTable, thisObject, propertyName, slot);
-}
-
-bool JSTestEventConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestEventConstructor* thisObject = jsCast<JSTestEventConstructor*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestEventConstructor, Base>(exec, &JSTestEventConstructorTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestEventConstructorAttr1(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestEventConstructor* castedThis = jsCast<JSTestEventConstructor*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestEventConstructor* impl = static_cast<TestEventConstructor*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->attr1());
-    return result;
-}
-
-
-JSValue jsTestEventConstructorAttr2(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestEventConstructor* castedThis = jsCast<JSTestEventConstructor*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestEventConstructor* impl = static_cast<TestEventConstructor*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->attr2());
-    return result;
-}
-
-
-JSValue jsTestEventConstructorConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestEventConstructor* domObject = jsCast<JSTestEventConstructor*>(asObject(slotBase));
-    return JSTestEventConstructor::getConstructor(exec, domObject->globalObject());
-}
-
-JSValue JSTestEventConstructor::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestEventConstructorConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-static inline bool isObservable(JSTestEventConstructor* jsTestEventConstructor)
-{
-    if (jsTestEventConstructor->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestEventConstructorOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestEventConstructor* jsTestEventConstructor = jsCast<JSTestEventConstructor*>(handle.get().asCell());
-    if (!isObservable(jsTestEventConstructor))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestEventConstructorOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestEventConstructor* jsTestEventConstructor = jsCast<JSTestEventConstructor*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestEventConstructor->impl(), jsTestEventConstructor);
-    jsTestEventConstructor->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestEventConstructor* impl)
-{
-    return wrap<JSTestEventConstructor>(exec, globalObject, impl);
-}
-
-TestEventConstructor* toTestEventConstructor(JSC::JSValue value)
-{
-    return value.inherits(&JSTestEventConstructor::s_info) ? jsCast<JSTestEventConstructor*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h b/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h
deleted file mode 100644
index 8df1a29..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestEventConstructor_h
-#define JSTestEventConstructor_h
-
-#include "JSDOMBinding.h"
-#include "TestEventConstructor.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSDictionary;
-
-class JSTestEventConstructor : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestEventConstructor* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestEventConstructor> impl)
-    {
-        JSTestEventConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestEventConstructor>(globalObject->globalData().heap)) JSTestEventConstructor(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestEventConstructor();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    TestEventConstructor* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestEventConstructor* m_impl;
-protected:
-    JSTestEventConstructor(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestEventConstructor>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
-};
-
-class JSTestEventConstructorOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestEventConstructor*)
-{
-    DEFINE_STATIC_LOCAL(JSTestEventConstructorOwner, jsTestEventConstructorOwner, ());
-    return &jsTestEventConstructorOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestEventConstructor*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventConstructor*);
-TestEventConstructor* toTestEventConstructor(JSC::JSValue);
-
-class JSTestEventConstructorPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestEventConstructorPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestEventConstructorPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestEventConstructorPrototype>(globalData.heap)) JSTestEventConstructorPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestEventConstructorPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = Base::StructureFlags;
-};
-
-class JSTestEventConstructorConstructor : public DOMConstructorObject {
-private:
-    JSTestEventConstructorConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestEventConstructorConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestEventConstructorConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestEventConstructorConstructor>(*exec->heap())) JSTestEventConstructorConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestEventConstructor(JSC::ExecState*);
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-};
-
-bool fillTestEventConstructorInit(TestEventConstructorInit&, JSDictionary&);
-
-// Attributes
-
-JSC::JSValue jsTestEventConstructorAttr1(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestEventConstructorAttr2(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestEventConstructorConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp
deleted file mode 100644
index 0f297e7..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp
+++ /dev/null
@@ -1,353 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestEventTarget.h"
-
-#include "Event.h"
-#include "ExceptionCode.h"
-#include "JSDOMBinding.h"
-#include "JSEvent.h"
-#include "JSEventListener.h"
-#include "JSNode.h"
-#include "Node.h"
-#include "TestEventTarget.h"
-#include "wtf/text/AtomicString.h"
-#include <runtime/Error.h>
-#include <runtime/PropertyNameArray.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestEventTargetTableValues[] =
-{
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventTargetConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestEventTargetTable = { 2, 1, JSTestEventTargetTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestEventTargetConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestEventTargetConstructorTable = { 1, 0, JSTestEventTargetConstructorTableValues, 0 };
-const ClassInfo JSTestEventTargetConstructor::s_info = { "TestEventTargetConstructor", &Base::s_info, &JSTestEventTargetConstructorTable, 0, CREATE_METHOD_TABLE(JSTestEventTargetConstructor) };
-
-JSTestEventTargetConstructor::JSTestEventTargetConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestEventTargetConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestEventTargetPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-}
-
-bool JSTestEventTargetConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestEventTargetConstructor, JSDOMWrapper>(exec, &JSTestEventTargetConstructorTable, jsCast<JSTestEventTargetConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestEventTargetConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestEventTargetConstructor, JSDOMWrapper>(exec, &JSTestEventTargetConstructorTable, jsCast<JSTestEventTargetConstructor*>(object), propertyName, descriptor);
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestEventTargetPrototypeTableValues[] =
-{
-    { "item", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestEventTargetPrototypeFunctionItem), (intptr_t)1, NoIntrinsic },
-    { "addEventListener", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestEventTargetPrototypeFunctionAddEventListener), (intptr_t)3, NoIntrinsic },
-    { "removeEventListener", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestEventTargetPrototypeFunctionRemoveEventListener), (intptr_t)3, NoIntrinsic },
-    { "dispatchEvent", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestEventTargetPrototypeFunctionDispatchEvent), (intptr_t)1, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestEventTargetPrototypeTable = { 8, 7, JSTestEventTargetPrototypeTableValues, 0 };
-const ClassInfo JSTestEventTargetPrototype::s_info = { "TestEventTargetPrototype", &Base::s_info, &JSTestEventTargetPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestEventTargetPrototype) };
-
-JSObject* JSTestEventTargetPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestEventTarget>(exec, globalObject);
-}
-
-bool JSTestEventTargetPrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestEventTargetPrototype* thisObject = jsCast<JSTestEventTargetPrototype*>(cell);
-    return getStaticFunctionSlot<JSObject>(exec, &JSTestEventTargetPrototypeTable, thisObject, propertyName, slot);
-}
-
-bool JSTestEventTargetPrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestEventTargetPrototype* thisObject = jsCast<JSTestEventTargetPrototype*>(object);
-    return getStaticFunctionDescriptor<JSObject>(exec, &JSTestEventTargetPrototypeTable, thisObject, propertyName, descriptor);
-}
-
-const ClassInfo JSTestEventTarget::s_info = { "TestEventTarget", &Base::s_info, &JSTestEventTargetTable, 0 , CREATE_METHOD_TABLE(JSTestEventTarget) };
-
-JSTestEventTarget::JSTestEventTarget(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestEventTarget> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestEventTarget::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestEventTarget::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestEventTargetPrototype::create(exec->globalData(), globalObject, JSTestEventTargetPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestEventTarget::destroy(JSC::JSCell* cell)
-{
-    JSTestEventTarget* thisObject = static_cast<JSTestEventTarget*>(cell);
-    thisObject->JSTestEventTarget::~JSTestEventTarget();
-}
-
-JSTestEventTarget::~JSTestEventTarget()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestEventTarget::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    const HashEntry* entry = getStaticValueSlotEntryWithoutCaching<JSTestEventTarget>(exec, propertyName);
-    if (entry) {
-        slot.setCustom(thisObject, entry->propertyGetter());
-        return true;
-    }
-    unsigned index = propertyName.asIndex();
-    if (index != PropertyName::NotAnIndex && index < static_cast<TestEventTarget*>(thisObject->impl())->length()) {
-        slot.setCustomIndex(thisObject, index, indexGetter);
-        return true;
-    }
-    if (canGetItemsForName(exec, static_cast<TestEventTarget*>(thisObject->impl()), propertyName)) {
-        slot.setCustom(thisObject, thisObject->nameGetter);
-        return true;
-    }
-    return getStaticValueSlot<JSTestEventTarget, Base>(exec, &JSTestEventTargetTable, thisObject, propertyName, slot);
-}
-
-bool JSTestEventTarget::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    const HashEntry* entry = JSTestEventTargetTable.entry(exec, propertyName);
-    if (entry) {
-        PropertySlot slot;
-        slot.setCustom(thisObject, entry->propertyGetter());
-        descriptor.setDescriptor(slot.getValue(exec, propertyName), entry->attributes());
-        return true;
-    }
-    unsigned index = propertyName.asIndex();
-    if (index != PropertyName::NotAnIndex && index < static_cast<TestEventTarget*>(thisObject->impl())->length()) {
-        PropertySlot slot;
-        slot.setCustomIndex(thisObject, index, indexGetter);
-        descriptor.setDescriptor(slot.getValue(exec, propertyName), DontDelete | ReadOnly);
-        return true;
-    }
-    if (canGetItemsForName(exec, static_cast<TestEventTarget*>(thisObject->impl()), propertyName)) {
-        PropertySlot slot;
-        slot.setCustom(thisObject, nameGetter);
-        descriptor.setDescriptor(slot.getValue(exec, propertyName), ReadOnly | DontDelete | DontEnum);
-        return true;
-    }
-    return getStaticValueDescriptor<JSTestEventTarget, Base>(exec, &JSTestEventTargetTable, thisObject, propertyName, descriptor);
-}
-
-bool JSTestEventTarget::getOwnPropertySlotByIndex(JSCell* cell, ExecState* exec, unsigned index, PropertySlot& slot)
-{
-    JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    if (index < static_cast<TestEventTarget*>(thisObject->impl())->length()) {
-        slot.setCustomIndex(thisObject, index, thisObject->indexGetter);
-        return true;
-    }
-    PropertyName propertyName = Identifier::from(exec, index);
-    if (canGetItemsForName(exec, static_cast<TestEventTarget*>(thisObject->impl()), propertyName)) {
-        slot.setCustom(thisObject, thisObject->nameGetter);
-        return true;
-    }
-    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
-}
-
-JSValue jsTestEventTargetConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestEventTarget* domObject = jsCast<JSTestEventTarget*>(asObject(slotBase));
-    return JSTestEventTarget::getConstructor(exec, domObject->globalObject());
-}
-
-void JSTestEventTarget::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
-{
-    JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    for (unsigned i = 0; i < static_cast<TestEventTarget*>(thisObject->impl())->length(); ++i)
-        propertyNames.add(Identifier::from(exec, i));
-     Base::getOwnPropertyNames(thisObject, exec, propertyNames, mode);
-}
-
-JSValue JSTestEventTarget::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestEventTargetConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionItem(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestEventTarget::s_info))
-        return throwVMTypeError(exec);
-    JSTestEventTarget* castedThis = jsCast<JSTestEventTarget*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestEventTarget::s_info);
-    TestEventTarget* impl = static_cast<TestEventTarget*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int index(toUInt32(exec, exec->argument(0), NormalConversion));
-    if (index < 0) {
-        setDOMException(exec, INDEX_SIZE_ERR);
-        return JSValue::encode(jsUndefined());
-    }
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->item(index)));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionAddEventListener(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestEventTarget::s_info))
-        return throwVMTypeError(exec);
-    JSTestEventTarget* castedThis = jsCast<JSTestEventTarget*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestEventTarget::s_info);
-    TestEventTarget* impl = static_cast<TestEventTarget*>(castedThis->impl());
-    JSValue listener = exec->argument(1);
-    if (!listener.isObject())
-        return JSValue::encode(jsUndefined());
-    impl->addEventListener(exec->argument(0).toString(exec)->value(exec), JSEventListener::create(asObject(listener), castedThis, false, currentWorld(exec)), exec->argument(2).toBoolean(exec));
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionRemoveEventListener(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestEventTarget::s_info))
-        return throwVMTypeError(exec);
-    JSTestEventTarget* castedThis = jsCast<JSTestEventTarget*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestEventTarget::s_info);
-    TestEventTarget* impl = static_cast<TestEventTarget*>(castedThis->impl());
-    JSValue listener = exec->argument(1);
-    if (!listener.isObject())
-        return JSValue::encode(jsUndefined());
-    impl->removeEventListener(exec->argument(0).toString(exec)->value(exec), JSEventListener::create(asObject(listener), castedThis, false, currentWorld(exec)).get(), exec->argument(2).toBoolean(exec));
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionDispatchEvent(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestEventTarget::s_info))
-        return throwVMTypeError(exec);
-    JSTestEventTarget* castedThis = jsCast<JSTestEventTarget*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestEventTarget::s_info);
-    TestEventTarget* impl = static_cast<TestEventTarget*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    Event* evt(toEvent(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = jsBoolean(impl->dispatchEvent(evt, ec));
-    setDOMException(exec, ec);
-    return JSValue::encode(result);
-}
-
-void JSTestEventTarget::visitChildren(JSCell* cell, SlotVisitor& visitor)
-{
-    JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    COMPILE_ASSERT(StructureFlags & OverridesVisitChildren, OverridesVisitChildrenWithoutSettingFlag);
-    ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren());
-    Base::visitChildren(thisObject, visitor);
-    thisObject->impl()->visitJSEventListeners(visitor);
-}
-
-
-JSValue JSTestEventTarget::indexGetter(ExecState* exec, JSValue slotBase, unsigned index)
-{
-    JSTestEventTarget* thisObj = jsCast<JSTestEventTarget*>(asObject(slotBase));
-    ASSERT_GC_OBJECT_INHERITS(thisObj, &s_info);
-    return toJS(exec, thisObj->globalObject(), static_cast<TestEventTarget*>(thisObj->impl())->item(index));
-}
-
-static inline bool isObservable(JSTestEventTarget* jsTestEventTarget)
-{
-    if (jsTestEventTarget->hasCustomProperties())
-        return true;
-    if (jsTestEventTarget->impl()->hasEventListeners())
-        return true;
-    return false;
-}
-
-bool JSTestEventTargetOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestEventTarget* jsTestEventTarget = jsCast<JSTestEventTarget*>(handle.get().asCell());
-    if (!isObservable(jsTestEventTarget))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestEventTargetOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestEventTarget* jsTestEventTarget = jsCast<JSTestEventTarget*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestEventTarget->impl(), jsTestEventTarget);
-    jsTestEventTarget->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestEventTarget* impl)
-{
-    return wrap<JSTestEventTarget>(exec, globalObject, impl);
-}
-
-TestEventTarget* toTestEventTarget(JSC::JSValue value)
-{
-    return value.inherits(&JSTestEventTarget::s_info) ? jsCast<JSTestEventTarget*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h b/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h
deleted file mode 100644
index 663a65e..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestEventTarget_h
-#define JSTestEventTarget_h
-
-#include "JSDOMBinding.h"
-#include "TestEventTarget.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestEventTarget : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestEventTarget* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestEventTarget> impl)
-    {
-        globalObject->masqueradesAsUndefinedWatchpoint()->notifyWrite();
-        JSTestEventTarget* ptr = new (NotNull, JSC::allocateCell<JSTestEventTarget>(globalObject->globalData().heap)) JSTestEventTarget(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static bool getOwnPropertySlotByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestEventTarget();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static void getOwnPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&, JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties);
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    static void visitChildren(JSCell*, JSC::SlotVisitor&);
-
-    TestEventTarget* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestEventTarget* m_impl;
-protected:
-    JSTestEventTarget(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestEventTarget>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetPropertyNames | JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesVisitChildren | JSC::MasqueradesAsUndefined | JSC::HasImpureGetOwnPropertySlot | Base::StructureFlags;
-    static JSC::JSValue indexGetter(JSC::ExecState*, JSC::JSValue, unsigned);
-private:
-    static bool canGetItemsForName(JSC::ExecState*, TestEventTarget*, JSC::PropertyName);
-    static JSC::JSValue nameGetter(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-};
-
-class JSTestEventTargetOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestEventTarget*)
-{
-    DEFINE_STATIC_LOCAL(JSTestEventTargetOwner, jsTestEventTargetOwner, ());
-    return &jsTestEventTargetOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestEventTarget*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventTarget*);
-TestEventTarget* toTestEventTarget(JSC::JSValue);
-
-class JSTestEventTargetPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestEventTargetPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestEventTargetPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestEventTargetPrototype>(globalData.heap)) JSTestEventTargetPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestEventTargetPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::OverridesVisitChildren | Base::StructureFlags;
-};
-
-class JSTestEventTargetConstructor : public DOMConstructorObject {
-private:
-    JSTestEventTargetConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestEventTargetConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestEventTargetConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestEventTargetConstructor>(*exec->heap())) JSTestEventTargetConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-};
-
-// Functions
-
-JSC::EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionItem(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionAddEventListener(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionRemoveEventListener(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionDispatchEvent(JSC::ExecState*);
-// Attributes
-
-JSC::JSValue jsTestEventTargetConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp
deleted file mode 100644
index d8e8830..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp
+++ /dev/null
@@ -1,189 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestException.h"
-
-#include "KURL.h"
-#include "TestException.h"
-#include <runtime/JSString.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestExceptionTableValues[] =
-{
-    { "name", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestExceptionName), (intptr_t)0, NoIntrinsic },
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestExceptionConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestExceptionTable = { 5, 3, JSTestExceptionTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestExceptionConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestExceptionConstructorTable = { 1, 0, JSTestExceptionConstructorTableValues, 0 };
-const ClassInfo JSTestExceptionConstructor::s_info = { "TestExceptionConstructor", &Base::s_info, &JSTestExceptionConstructorTable, 0, CREATE_METHOD_TABLE(JSTestExceptionConstructor) };
-
-JSTestExceptionConstructor::JSTestExceptionConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestExceptionConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestExceptionPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-}
-
-bool JSTestExceptionConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestExceptionConstructor, JSDOMWrapper>(exec, &JSTestExceptionConstructorTable, jsCast<JSTestExceptionConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestExceptionConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestExceptionConstructor, JSDOMWrapper>(exec, &JSTestExceptionConstructorTable, jsCast<JSTestExceptionConstructor*>(object), propertyName, descriptor);
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestExceptionPrototypeTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestExceptionPrototypeTable = { 1, 0, JSTestExceptionPrototypeTableValues, 0 };
-const ClassInfo JSTestExceptionPrototype::s_info = { "TestExceptionPrototype", &Base::s_info, &JSTestExceptionPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestExceptionPrototype) };
-
-JSObject* JSTestExceptionPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestException>(exec, globalObject);
-}
-
-const ClassInfo JSTestException::s_info = { "TestException", &Base::s_info, &JSTestExceptionTable, 0 , CREATE_METHOD_TABLE(JSTestException) };
-
-JSTestException::JSTestException(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestException> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestException::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestException::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestExceptionPrototype::create(exec->globalData(), globalObject, JSTestExceptionPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->errorPrototype()));
-}
-
-void JSTestException::destroy(JSC::JSCell* cell)
-{
-    JSTestException* thisObject = static_cast<JSTestException*>(cell);
-    thisObject->JSTestException::~JSTestException();
-}
-
-JSTestException::~JSTestException()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestException::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestException* thisObject = jsCast<JSTestException*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestException, Base>(exec, &JSTestExceptionTable, thisObject, propertyName, slot);
-}
-
-bool JSTestException::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestException* thisObject = jsCast<JSTestException*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestException, Base>(exec, &JSTestExceptionTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestExceptionName(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestException* castedThis = jsCast<JSTestException*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestException* impl = static_cast<TestException*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->name());
-    return result;
-}
-
-
-JSValue jsTestExceptionConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestException* domObject = jsCast<JSTestException*>(asObject(slotBase));
-    return JSTestException::getConstructor(exec, domObject->globalObject());
-}
-
-JSValue JSTestException::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestExceptionConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-static inline bool isObservable(JSTestException* jsTestException)
-{
-    if (jsTestException->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestExceptionOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestException* jsTestException = jsCast<JSTestException*>(handle.get().asCell());
-    if (!isObservable(jsTestException))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestExceptionOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestException* jsTestException = jsCast<JSTestException*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestException->impl(), jsTestException);
-    jsTestException->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestException* impl)
-{
-    return wrap<JSTestException>(exec, globalObject, impl);
-}
-
-TestException* toTestException(JSC::JSValue value)
-{
-    return value.inherits(&JSTestException::s_info) ? jsCast<JSTestException*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestException.h b/Source/WebCore/bindings/scripts/test/JS/JSTestException.h
deleted file mode 100644
index 27573a1..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestException.h
+++ /dev/null
@@ -1,143 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestException_h
-#define JSTestException_h
-
-#include "JSDOMBinding.h"
-#include "TestException.h"
-#include <runtime/ErrorPrototype.h>
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-
-namespace WebCore {
-
-class JSTestException : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestException* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestException> impl)
-    {
-        JSTestException* ptr = new (NotNull, JSC::allocateCell<JSTestException>(globalObject->globalData().heap)) JSTestException(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestException();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    TestException* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestException* m_impl;
-protected:
-    JSTestException(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestException>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
-};
-
-class JSTestExceptionOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestException*)
-{
-    DEFINE_STATIC_LOCAL(JSTestExceptionOwner, jsTestExceptionOwner, ());
-    return &jsTestExceptionOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestException*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestException*);
-TestException* toTestException(JSC::JSValue);
-
-class JSTestExceptionPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestExceptionPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestExceptionPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestExceptionPrototype>(globalData.heap)) JSTestExceptionPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestExceptionPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = Base::StructureFlags;
-};
-
-class JSTestExceptionConstructor : public DOMConstructorObject {
-private:
-    JSTestExceptionConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestExceptionConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestExceptionConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestExceptionConstructor>(*exec->heap())) JSTestExceptionConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-};
-
-// Attributes
-
-JSC::JSValue jsTestExceptionName(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestExceptionConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp
deleted file mode 100644
index 0f0cd54..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp
+++ /dev/null
@@ -1,514 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#include "JSTestInterface.h"
-
-#include "ExceptionCode.h"
-#include "JSDOMBinding.h"
-#include "JSTestInterfaceCustom.h"
-#include "JSTestObj.h"
-#include "TestInterface.h"
-#include "TestObj.h"
-#include "TestSupplemental.h"
-#include <runtime/Error.h>
-#include <wtf/GetPtr.h>
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-#include "JSNode.h"
-#include "KURL.h"
-#include <runtime/JSString.h>
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-#include "Node.h"
-#endif
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestInterfaceTableValues[] =
-{
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalStr1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceSupplementalStr1), (intptr_t)0, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalStr2", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceSupplementalStr2), (intptr_t)setJSTestInterfaceSupplementalStr2, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalStr3", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceSupplementalStr3), (intptr_t)setJSTestInterfaceSupplementalStr3, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalNode", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceSupplementalNode), (intptr_t)setJSTestInterfaceSupplementalNode, NoIntrinsic },
-#endif
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestInterfaceTable = { 16, 15, JSTestInterfaceTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestInterfaceConstructorTableValues[] =
-{
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "SUPPLEMENTALCONSTANT1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceSUPPLEMENTALCONSTANT1), (intptr_t)0, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "SUPPLEMENTALCONSTANT2", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceSUPPLEMENTALCONSTANT2), (intptr_t)0, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalStaticReadOnlyAttr", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr), (intptr_t)0, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalStaticAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceConstructorSupplementalStaticAttr), (intptr_t)setJSTestInterfaceConstructorSupplementalStaticAttr, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalMethod4", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestInterfaceConstructorFunctionSupplementalMethod4), (intptr_t)0, NoIntrinsic },
-#endif
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestInterfaceConstructorTable = { 5, 3, JSTestInterfaceConstructorTableValues, 0 };
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-COMPILE_ASSERT(1 == TestSupplemental::SUPPLEMENTALCONSTANT1, TestInterfaceEnumSUPPLEMENTALCONSTANT1IsWrongUseDoNotCheckConstants);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-COMPILE_ASSERT(2 == TestSupplemental::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDoNotCheckConstants);
-#endif
-
-EncodedJSValue JSC_HOST_CALL JSTestInterfaceConstructor::constructJSTestInterface(ExecState* exec)
-{
-    JSTestInterfaceConstructor* castedThis = jsCast<JSTestInterfaceConstructor*>(exec->callee());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    const String& str1(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    const String& str2(exec->argument(1).isEmpty() ? String() : exec->argument(1).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    ScriptExecutionContext* context = castedThis->scriptExecutionContext();
-    if (!context)
-        return throwVMError(exec, createReferenceError(exec, "TestInterface constructor associated document is unavailable"));
-    RefPtr<TestInterface> object = TestInterface::create(context, str1, str2, ec);
-    if (ec) {
-        setDOMException(exec, ec);
-        return JSValue::encode(JSValue());
-    }
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-const ClassInfo JSTestInterfaceConstructor::s_info = { "TestInterfaceConstructor", &Base::s_info, &JSTestInterfaceConstructorTable, 0, CREATE_METHOD_TABLE(JSTestInterfaceConstructor) };
-
-JSTestInterfaceConstructor::JSTestInterfaceConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestInterfaceConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestInterfacePrototype::self(exec, globalObject), DontDelete | ReadOnly);
-    putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(2), ReadOnly | DontDelete | DontEnum);
-}
-
-bool JSTestInterfaceConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticPropertySlot<JSTestInterfaceConstructor, JSDOMWrapper>(exec, &JSTestInterfaceConstructorTable, jsCast<JSTestInterfaceConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestInterfaceConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticPropertyDescriptor<JSTestInterfaceConstructor, JSDOMWrapper>(exec, &JSTestInterfaceConstructorTable, jsCast<JSTestInterfaceConstructor*>(object), propertyName, descriptor);
-}
-
-#if ENABLE(TEST_INTERFACE)
-ConstructType JSTestInterfaceConstructor::getConstructData(JSCell*, ConstructData& constructData)
-{
-    constructData.native.function = constructJSTestInterface;
-    return ConstructTypeHost;
-}
-#endif // ENABLE(TEST_INTERFACE)
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestInterfacePrototypeTableValues[] =
-{
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "SUPPLEMENTALCONSTANT1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceSUPPLEMENTALCONSTANT1), (intptr_t)0, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "SUPPLEMENTALCONSTANT2", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceSUPPLEMENTALCONSTANT2), (intptr_t)0, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalMethod1", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestInterfacePrototypeFunctionSupplementalMethod1), (intptr_t)0, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalMethod2", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestInterfacePrototypeFunctionSupplementalMethod2), (intptr_t)2, NoIntrinsic },
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    { "supplementalMethod3", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestInterfacePrototypeFunctionSupplementalMethod3), (intptr_t)0, NoIntrinsic },
-#endif
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestInterfacePrototypeTable = { 17, 15, JSTestInterfacePrototypeTableValues, 0 };
-const ClassInfo JSTestInterfacePrototype::s_info = { "TestInterfacePrototype", &Base::s_info, &JSTestInterfacePrototypeTable, 0, CREATE_METHOD_TABLE(JSTestInterfacePrototype) };
-
-JSObject* JSTestInterfacePrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestInterface>(exec, globalObject);
-}
-
-bool JSTestInterfacePrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestInterfacePrototype* thisObject = jsCast<JSTestInterfacePrototype*>(cell);
-    return getStaticPropertySlot<JSTestInterfacePrototype, JSObject>(exec, &JSTestInterfacePrototypeTable, thisObject, propertyName, slot);
-}
-
-bool JSTestInterfacePrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestInterfacePrototype* thisObject = jsCast<JSTestInterfacePrototype*>(object);
-    return getStaticPropertyDescriptor<JSTestInterfacePrototype, JSObject>(exec, &JSTestInterfacePrototypeTable, thisObject, propertyName, descriptor);
-}
-
-const ClassInfo JSTestInterface::s_info = { "TestInterface", &Base::s_info, &JSTestInterfaceTable, 0 , CREATE_METHOD_TABLE(JSTestInterface) };
-
-JSTestInterface::JSTestInterface(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestInterface> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestInterface::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestInterface::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestInterfacePrototype::create(exec->globalData(), globalObject, JSTestInterfacePrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestInterface::destroy(JSC::JSCell* cell)
-{
-    JSTestInterface* thisObject = static_cast<JSTestInterface*>(cell);
-    thisObject->JSTestInterface::~JSTestInterface();
-}
-
-JSTestInterface::~JSTestInterface()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestInterface::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestInterface* thisObject = jsCast<JSTestInterface*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestInterface, Base>(exec, &JSTestInterfaceTable, thisObject, propertyName, slot);
-}
-
-bool JSTestInterface::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestInterface* thisObject = jsCast<JSTestInterface*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestInterface, Base>(exec, &JSTestInterfaceTable, thisObject, propertyName, descriptor);
-}
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSValue jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    UNUSED_PARAM(slotBase);
-    UNUSED_PARAM(exec);
-    JSValue result = jsNumber(TestSupplemental::supplementalStaticReadOnlyAttr());
-    return result;
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSValue jsTestInterfaceConstructorSupplementalStaticAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    UNUSED_PARAM(slotBase);
-    UNUSED_PARAM(exec);
-    JSValue result = jsStringWithCache(exec, TestSupplemental::supplementalStaticAttr());
-    return result;
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSValue jsTestInterfaceSupplementalStr1(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestInterface* castedThis = jsCast<JSTestInterface*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestInterface* impl = static_cast<TestInterface*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, TestSupplemental::supplementalStr1(impl));
-    return result;
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSValue jsTestInterfaceSupplementalStr2(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestInterface* castedThis = jsCast<JSTestInterface*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestInterface* impl = static_cast<TestInterface*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, TestSupplemental::supplementalStr2(impl));
-    return result;
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSValue jsTestInterfaceSupplementalStr3(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestInterface* castedThis = jsCast<JSTestInterface*>(asObject(slotBase));
-    return castedThis->supplementalStr3(exec);
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSValue jsTestInterfaceSupplementalNode(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestInterface* castedThis = jsCast<JSTestInterface*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestInterface* impl = static_cast<TestInterface*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(TestSupplemental::supplementalNode(impl)));
-    return result;
-}
-
-#endif
-
-JSValue jsTestInterfaceConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestInterface* domObject = jsCast<JSTestInterface*>(asObject(slotBase));
-    return JSTestInterface::getConstructor(exec, domObject->globalObject());
-}
-
-void JSTestInterface::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
-{
-    JSTestInterface* thisObject = jsCast<JSTestInterface*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    if (thisObject->putDelegate(exec, propertyName, value, slot))
-        return;
-    lookupPut<JSTestInterface, Base>(exec, propertyName, value, &JSTestInterfaceTable, thisObject, slot);
-}
-
-void JSTestInterface::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)
-{
-    JSTestInterface* thisObject = jsCast<JSTestInterface*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    PropertyName propertyName = Identifier::from(exec, index);
-    PutPropertySlot slot(shouldThrow);
-    if (thisObject->putDelegate(exec, propertyName, value, slot))
-        return;
-    Base::putByIndex(cell, exec, index, value, shouldThrow);
-}
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-void setJSTestInterfaceConstructorSupplementalStaticAttr(ExecState* exec, JSObject*, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
-    if (exec->hadException())
-        return;
-    TestSupplemental::setSupplementalStaticAttr(nativeValue);
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-void setJSTestInterfaceSupplementalStr2(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestInterface* castedThis = jsCast<JSTestInterface*>(thisObject);
-    TestInterface* impl = static_cast<TestInterface*>(castedThis->impl());
-    const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
-    if (exec->hadException())
-        return;
-    TestSupplemental::setSupplementalStr2(impl, nativeValue);
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-void setJSTestInterfaceSupplementalStr3(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    jsCast<JSTestInterface*>(thisObject)->setSupplementalStr3(exec, value);
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-void setJSTestInterfaceSupplementalNode(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestInterface* castedThis = jsCast<JSTestInterface*>(thisObject);
-    TestInterface* impl = static_cast<TestInterface*>(castedThis->impl());
-    Node* nativeValue(toNode(value));
-    if (exec->hadException())
-        return;
-    TestSupplemental::setSupplementalNode(impl, nativeValue);
-}
-
-#endif
-
-JSValue JSTestInterface::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestInterfaceConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod1(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestInterface::s_info))
-        return throwVMTypeError(exec);
-    JSTestInterface* castedThis = jsCast<JSTestInterface*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestInterface::s_info);
-    TestInterface* impl = static_cast<TestInterface*>(castedThis->impl());
-    TestSupplemental::supplementalMethod1(impl);
-    return JSValue::encode(jsUndefined());
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod2(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestInterface::s_info))
-        return throwVMTypeError(exec);
-    JSTestInterface* castedThis = jsCast<JSTestInterface*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestInterface::s_info);
-    TestInterface* impl = static_cast<TestInterface*>(castedThis->impl());
-    if (exec->argumentCount() < 2)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return JSValue::encode(jsUndefined());
-    const String& strArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    TestObj* objArg(toTestObj(exec->argument(1)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(TestSupplemental::supplementalMethod2(impl, scriptContext, strArg, objArg, ec)));
-    setDOMException(exec, ec);
-    return JSValue::encode(result);
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod3(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestInterface::s_info))
-        return throwVMTypeError(exec);
-    JSTestInterface* castedThis = jsCast<JSTestInterface*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestInterface::s_info);
-    return JSValue::encode(castedThis->supplementalMethod3(exec));
-}
-
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-EncodedJSValue JSC_HOST_CALL jsTestInterfaceConstructorFunctionSupplementalMethod4(ExecState* exec)
-{
-    TestSupplemental::supplementalMethod4();
-    return JSValue::encode(jsUndefined());
-}
-
-#endif
-
-// Constant getters
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSValue jsTestInterfaceSUPPLEMENTALCONSTANT1(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(1));
-}
-
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSValue jsTestInterfaceSUPPLEMENTALCONSTANT2(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(2));
-}
-
-#endif
-static inline bool isObservable(JSTestInterface* jsTestInterface)
-{
-    if (jsTestInterface->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestInterfaceOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestInterface* jsTestInterface = jsCast<JSTestInterface*>(handle.get().asCell());
-    if (jsTestInterface->impl()->hasPendingActivity())
-        return true;
-    if (!isObservable(jsTestInterface))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestInterfaceOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestInterface* jsTestInterface = jsCast<JSTestInterface*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestInterface->impl(), jsTestInterface);
-    jsTestInterface->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestInterface* impl)
-{
-    return wrap<JSTestInterface>(exec, globalObject, impl);
-}
-
-TestInterface* toTestInterface(JSC::JSValue value)
-{
-    return value.inherits(&JSTestInterface::s_info) ? jsCast<JSTestInterface*>(asObject(value))->impl() : 0;
-}
-
-}
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h b/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h
deleted file mode 100644
index e02990d..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestInterface_h
-#define JSTestInterface_h
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#include "JSDOMBinding.h"
-#include "TestInterface.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestInterface : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestInterface* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestInterface> impl)
-    {
-        JSTestInterface* ptr = new (NotNull, JSC::allocateCell<JSTestInterface>(globalObject->globalData().heap)) JSTestInterface(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
-    static void putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);
-    bool putDelegate(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestInterface();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-
-    // Custom attributes
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    JSC::JSValue supplementalStr3(JSC::ExecState*) const;
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    void setSupplementalStr3(JSC::ExecState*, JSC::JSValue);
-#endif
-
-    // Custom functions
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    JSC::JSValue supplementalMethod3(JSC::ExecState*);
-#endif
-    TestInterface* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestInterface* m_impl;
-protected:
-    JSTestInterface(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestInterface>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
-};
-
-class JSTestInterfaceOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestInterface*)
-{
-    DEFINE_STATIC_LOCAL(JSTestInterfaceOwner, jsTestInterfaceOwner, ());
-    return &jsTestInterfaceOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestInterface*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestInterface*);
-TestInterface* toTestInterface(JSC::JSValue);
-
-class JSTestInterfacePrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestInterfacePrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestInterfacePrototype* ptr = new (NotNull, JSC::allocateCell<JSTestInterfacePrototype>(globalData.heap)) JSTestInterfacePrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestInterfacePrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
-};
-
-class JSTestInterfaceConstructor : public DOMConstructorObject {
-private:
-    JSTestInterfaceConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestInterfaceConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestInterfaceConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestInterfaceConstructor>(*exec->heap())) JSTestInterfaceConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestInterface(JSC::ExecState*);
-#if ENABLE(TEST_INTERFACE)
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-#endif // ENABLE(TEST_INTERFACE)
-};
-
-// Functions
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod1(JSC::ExecState*);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod2(JSC::ExecState*);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod3(JSC::ExecState*);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::EncodedJSValue JSC_HOST_CALL jsTestInterfaceConstructorFunctionSupplementalMethod4(JSC::ExecState*);
-#endif
-// Attributes
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::JSValue jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::JSValue jsTestInterfaceConstructorSupplementalStaticAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestInterfaceConstructorSupplementalStaticAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::JSValue jsTestInterfaceSupplementalStr1(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::JSValue jsTestInterfaceSupplementalStr2(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestInterfaceSupplementalStr2(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::JSValue jsTestInterfaceSupplementalStr3(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestInterfaceSupplementalStr3(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::JSValue jsTestInterfaceSupplementalNode(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestInterfaceSupplementalNode(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-JSC::JSValue jsTestInterfaceConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-// Constants
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::JSValue jsTestInterfaceSUPPLEMENTALCONSTANT1(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-JSC::JSValue jsTestInterfaceSUPPLEMENTALCONSTANT2(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-#endif
-
-} // namespace WebCore
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp
deleted file mode 100644
index c947fdf..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp
+++ /dev/null
@@ -1,210 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestMediaQueryListListener.h"
-
-#include "ExceptionCode.h"
-#include "JSDOMBinding.h"
-#include "MediaQueryListListener.h"
-#include "TestMediaQueryListListener.h"
-#include <runtime/Error.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestMediaQueryListListenerTableValues[] =
-{
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestMediaQueryListListenerConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestMediaQueryListListenerTable = { 2, 1, JSTestMediaQueryListListenerTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestMediaQueryListListenerConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestMediaQueryListListenerConstructorTable = { 1, 0, JSTestMediaQueryListListenerConstructorTableValues, 0 };
-const ClassInfo JSTestMediaQueryListListenerConstructor::s_info = { "TestMediaQueryListListenerConstructor", &Base::s_info, &JSTestMediaQueryListListenerConstructorTable, 0, CREATE_METHOD_TABLE(JSTestMediaQueryListListenerConstructor) };
-
-JSTestMediaQueryListListenerConstructor::JSTestMediaQueryListListenerConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestMediaQueryListListenerConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestMediaQueryListListenerPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-}
-
-bool JSTestMediaQueryListListenerConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestMediaQueryListListenerConstructor, JSDOMWrapper>(exec, &JSTestMediaQueryListListenerConstructorTable, jsCast<JSTestMediaQueryListListenerConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestMediaQueryListListenerConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestMediaQueryListListenerConstructor, JSDOMWrapper>(exec, &JSTestMediaQueryListListenerConstructorTable, jsCast<JSTestMediaQueryListListenerConstructor*>(object), propertyName, descriptor);
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestMediaQueryListListenerPrototypeTableValues[] =
-{
-    { "method", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestMediaQueryListListenerPrototypeFunctionMethod), (intptr_t)1, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestMediaQueryListListenerPrototypeTable = { 2, 1, JSTestMediaQueryListListenerPrototypeTableValues, 0 };
-const ClassInfo JSTestMediaQueryListListenerPrototype::s_info = { "TestMediaQueryListListenerPrototype", &Base::s_info, &JSTestMediaQueryListListenerPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestMediaQueryListListenerPrototype) };
-
-JSObject* JSTestMediaQueryListListenerPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestMediaQueryListListener>(exec, globalObject);
-}
-
-bool JSTestMediaQueryListListenerPrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestMediaQueryListListenerPrototype* thisObject = jsCast<JSTestMediaQueryListListenerPrototype*>(cell);
-    return getStaticFunctionSlot<JSObject>(exec, &JSTestMediaQueryListListenerPrototypeTable, thisObject, propertyName, slot);
-}
-
-bool JSTestMediaQueryListListenerPrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestMediaQueryListListenerPrototype* thisObject = jsCast<JSTestMediaQueryListListenerPrototype*>(object);
-    return getStaticFunctionDescriptor<JSObject>(exec, &JSTestMediaQueryListListenerPrototypeTable, thisObject, propertyName, descriptor);
-}
-
-const ClassInfo JSTestMediaQueryListListener::s_info = { "TestMediaQueryListListener", &Base::s_info, &JSTestMediaQueryListListenerTable, 0 , CREATE_METHOD_TABLE(JSTestMediaQueryListListener) };
-
-JSTestMediaQueryListListener::JSTestMediaQueryListListener(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestMediaQueryListListener> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestMediaQueryListListener::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestMediaQueryListListener::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestMediaQueryListListenerPrototype::create(exec->globalData(), globalObject, JSTestMediaQueryListListenerPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestMediaQueryListListener::destroy(JSC::JSCell* cell)
-{
-    JSTestMediaQueryListListener* thisObject = static_cast<JSTestMediaQueryListListener*>(cell);
-    thisObject->JSTestMediaQueryListListener::~JSTestMediaQueryListListener();
-}
-
-JSTestMediaQueryListListener::~JSTestMediaQueryListListener()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestMediaQueryListListener::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestMediaQueryListListener* thisObject = jsCast<JSTestMediaQueryListListener*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestMediaQueryListListener, Base>(exec, &JSTestMediaQueryListListenerTable, thisObject, propertyName, slot);
-}
-
-bool JSTestMediaQueryListListener::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestMediaQueryListListener* thisObject = jsCast<JSTestMediaQueryListListener*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestMediaQueryListListener, Base>(exec, &JSTestMediaQueryListListenerTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestMediaQueryListListenerConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestMediaQueryListListener* domObject = jsCast<JSTestMediaQueryListListener*>(asObject(slotBase));
-    return JSTestMediaQueryListListener::getConstructor(exec, domObject->globalObject());
-}
-
-JSValue JSTestMediaQueryListListener::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestMediaQueryListListenerConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestMediaQueryListListenerPrototypeFunctionMethod(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestMediaQueryListListener::s_info))
-        return throwVMTypeError(exec);
-    JSTestMediaQueryListListener* castedThis = jsCast<JSTestMediaQueryListListener*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestMediaQueryListListener::s_info);
-    TestMediaQueryListListener* impl = static_cast<TestMediaQueryListListener*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    RefPtr<MediaQueryListListener> listener(MediaQueryListListener::create(ScriptValue(exec->globalData(), exec->argument(0))));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->method(listener);
-    return JSValue::encode(jsUndefined());
-}
-
-static inline bool isObservable(JSTestMediaQueryListListener* jsTestMediaQueryListListener)
-{
-    if (jsTestMediaQueryListListener->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestMediaQueryListListenerOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestMediaQueryListListener* jsTestMediaQueryListListener = jsCast<JSTestMediaQueryListListener*>(handle.get().asCell());
-    if (!isObservable(jsTestMediaQueryListListener))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestMediaQueryListListenerOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestMediaQueryListListener* jsTestMediaQueryListListener = jsCast<JSTestMediaQueryListListener*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestMediaQueryListListener->impl(), jsTestMediaQueryListListener);
-    jsTestMediaQueryListListener->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestMediaQueryListListener* impl)
-{
-    return wrap<JSTestMediaQueryListListener>(exec, globalObject, impl);
-}
-
-TestMediaQueryListListener* toTestMediaQueryListListener(JSC::JSValue value)
-{
-    return value.inherits(&JSTestMediaQueryListListener::s_info) ? jsCast<JSTestMediaQueryListListener*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h b/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h
deleted file mode 100644
index d84bca9..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestMediaQueryListListener_h
-#define JSTestMediaQueryListListener_h
-
-#include "JSDOMBinding.h"
-#include "TestMediaQueryListListener.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestMediaQueryListListener : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestMediaQueryListListener* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestMediaQueryListListener> impl)
-    {
-        JSTestMediaQueryListListener* ptr = new (NotNull, JSC::allocateCell<JSTestMediaQueryListListener>(globalObject->globalData().heap)) JSTestMediaQueryListListener(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestMediaQueryListListener();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    TestMediaQueryListListener* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestMediaQueryListListener* m_impl;
-protected:
-    JSTestMediaQueryListListener(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestMediaQueryListListener>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
-};
-
-class JSTestMediaQueryListListenerOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestMediaQueryListListener*)
-{
-    DEFINE_STATIC_LOCAL(JSTestMediaQueryListListenerOwner, jsTestMediaQueryListListenerOwner, ());
-    return &jsTestMediaQueryListListenerOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestMediaQueryListListener*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestMediaQueryListListener*);
-TestMediaQueryListListener* toTestMediaQueryListListener(JSC::JSValue);
-
-class JSTestMediaQueryListListenerPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestMediaQueryListListenerPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestMediaQueryListListenerPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestMediaQueryListListenerPrototype>(globalData.heap)) JSTestMediaQueryListListenerPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestMediaQueryListListenerPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
-};
-
-class JSTestMediaQueryListListenerConstructor : public DOMConstructorObject {
-private:
-    JSTestMediaQueryListListenerConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestMediaQueryListListenerConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestMediaQueryListListenerConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestMediaQueryListListenerConstructor>(*exec->heap())) JSTestMediaQueryListListenerConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-};
-
-// Functions
-
-JSC::EncodedJSValue JSC_HOST_CALL jsTestMediaQueryListListenerPrototypeFunctionMethod(JSC::ExecState*);
-// Attributes
-
-JSC::JSValue jsTestMediaQueryListListenerConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp
deleted file mode 100644
index 27bfb47..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp
+++ /dev/null
@@ -1,224 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestNamedConstructor.h"
-
-#include "ExceptionCode.h"
-#include "JSDOMBinding.h"
-#include "TestNamedConstructor.h"
-#include <runtime/Error.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table for constructor */
-
-static const HashTableValue JSTestNamedConstructorTableValues[] =
-{
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNamedConstructorConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestNamedConstructorTable = { 2, 1, JSTestNamedConstructorTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestNamedConstructorConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestNamedConstructorConstructorTable = { 1, 0, JSTestNamedConstructorConstructorTableValues, 0 };
-const ClassInfo JSTestNamedConstructorConstructor::s_info = { "TestNamedConstructorConstructor", &Base::s_info, &JSTestNamedConstructorConstructorTable, 0, CREATE_METHOD_TABLE(JSTestNamedConstructorConstructor) };
-
-JSTestNamedConstructorConstructor::JSTestNamedConstructorConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestNamedConstructorConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestNamedConstructorPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-}
-
-bool JSTestNamedConstructorConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestNamedConstructorConstructor, JSDOMWrapper>(exec, &JSTestNamedConstructorConstructorTable, jsCast<JSTestNamedConstructorConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestNamedConstructorConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestNamedConstructorConstructor, JSDOMWrapper>(exec, &JSTestNamedConstructorConstructorTable, jsCast<JSTestNamedConstructorConstructor*>(object), propertyName, descriptor);
-}
-
-EncodedJSValue JSC_HOST_CALL JSTestNamedConstructorNamedConstructor::constructJSTestNamedConstructor(ExecState* exec)
-{
-    JSTestNamedConstructorNamedConstructor* castedThis = jsCast<JSTestNamedConstructorNamedConstructor*>(exec->callee());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    const String& str1(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    const String& str2(exec->argument(1).isEmpty() ? String() : exec->argument(1).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    const String& str3(argumentOrNull(exec, 2).isEmpty() ? String() : argumentOrNull(exec, 2).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    RefPtr<TestNamedConstructor> object = TestNamedConstructor::createForJSConstructor(castedThis->document(), str1, str2, str3, ec);
-    if (ec) {
-        setDOMException(exec, ec);
-        return JSValue::encode(JSValue());
-    }
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-const ClassInfo JSTestNamedConstructorNamedConstructor::s_info = { "AudioConstructor", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(JSTestNamedConstructorNamedConstructor) };
-
-JSTestNamedConstructorNamedConstructor::JSTestNamedConstructorNamedConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorWithDocument(structure, globalObject)
-{
-}
-
-void JSTestNamedConstructorNamedConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(globalObject);
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestNamedConstructorPrototype::self(exec, globalObject), None);
-}
-
-ConstructType JSTestNamedConstructorNamedConstructor::getConstructData(JSCell*, ConstructData& constructData)
-{
-    constructData.native.function = constructJSTestNamedConstructor;
-    return ConstructTypeHost;
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestNamedConstructorPrototypeTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestNamedConstructorPrototypeTable = { 1, 0, JSTestNamedConstructorPrototypeTableValues, 0 };
-const ClassInfo JSTestNamedConstructorPrototype::s_info = { "TestNamedConstructorPrototype", &Base::s_info, &JSTestNamedConstructorPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestNamedConstructorPrototype) };
-
-JSObject* JSTestNamedConstructorPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestNamedConstructor>(exec, globalObject);
-}
-
-const ClassInfo JSTestNamedConstructor::s_info = { "TestNamedConstructor", &Base::s_info, &JSTestNamedConstructorTable, 0 , CREATE_METHOD_TABLE(JSTestNamedConstructor) };
-
-JSTestNamedConstructor::JSTestNamedConstructor(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestNamedConstructor> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestNamedConstructor::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestNamedConstructor::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestNamedConstructorPrototype::create(exec->globalData(), globalObject, JSTestNamedConstructorPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestNamedConstructor::destroy(JSC::JSCell* cell)
-{
-    JSTestNamedConstructor* thisObject = static_cast<JSTestNamedConstructor*>(cell);
-    thisObject->JSTestNamedConstructor::~JSTestNamedConstructor();
-}
-
-JSTestNamedConstructor::~JSTestNamedConstructor()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestNamedConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestNamedConstructor* thisObject = jsCast<JSTestNamedConstructor*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestNamedConstructor, Base>(exec, &JSTestNamedConstructorTable, thisObject, propertyName, slot);
-}
-
-bool JSTestNamedConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestNamedConstructor* thisObject = jsCast<JSTestNamedConstructor*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestNamedConstructor, Base>(exec, &JSTestNamedConstructorTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestNamedConstructorConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestNamedConstructor* domObject = jsCast<JSTestNamedConstructor*>(asObject(slotBase));
-    return JSTestNamedConstructor::getConstructor(exec, domObject->globalObject());
-}
-
-JSValue JSTestNamedConstructor::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestNamedConstructorConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-static inline bool isObservable(JSTestNamedConstructor* jsTestNamedConstructor)
-{
-    if (jsTestNamedConstructor->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestNamedConstructorOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestNamedConstructor* jsTestNamedConstructor = jsCast<JSTestNamedConstructor*>(handle.get().asCell());
-    if (jsTestNamedConstructor->impl()->hasPendingActivity())
-        return true;
-    if (!isObservable(jsTestNamedConstructor))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestNamedConstructorOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestNamedConstructor* jsTestNamedConstructor = jsCast<JSTestNamedConstructor*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestNamedConstructor->impl(), jsTestNamedConstructor);
-    jsTestNamedConstructor->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestNamedConstructor* impl)
-{
-    return wrap<JSTestNamedConstructor>(exec, globalObject, impl);
-}
-
-TestNamedConstructor* toTestNamedConstructor(JSC::JSValue value)
-{
-    return value.inherits(&JSTestNamedConstructor::s_info) ? jsCast<JSTestNamedConstructor*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h
deleted file mode 100644
index 3d35ca8..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestNamedConstructor_h
-#define JSTestNamedConstructor_h
-
-#include "JSDOMBinding.h"
-#include "TestNamedConstructor.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestNamedConstructor : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestNamedConstructor* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestNamedConstructor> impl)
-    {
-        JSTestNamedConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestNamedConstructor>(globalObject->globalData().heap)) JSTestNamedConstructor(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestNamedConstructor();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    TestNamedConstructor* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestNamedConstructor* m_impl;
-protected:
-    JSTestNamedConstructor(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestNamedConstructor>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
-};
-
-class JSTestNamedConstructorOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestNamedConstructor*)
-{
-    DEFINE_STATIC_LOCAL(JSTestNamedConstructorOwner, jsTestNamedConstructorOwner, ());
-    return &jsTestNamedConstructorOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestNamedConstructor*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestNamedConstructor*);
-TestNamedConstructor* toTestNamedConstructor(JSC::JSValue);
-
-class JSTestNamedConstructorPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestNamedConstructorPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestNamedConstructorPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestNamedConstructorPrototype>(globalData.heap)) JSTestNamedConstructorPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestNamedConstructorPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = Base::StructureFlags;
-};
-
-class JSTestNamedConstructorConstructor : public DOMConstructorObject {
-private:
-    JSTestNamedConstructorConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestNamedConstructorConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestNamedConstructorConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestNamedConstructorConstructor>(*exec->heap())) JSTestNamedConstructorConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-};
-
-class JSTestNamedConstructorNamedConstructor : public DOMConstructorWithDocument {
-public:
-    typedef DOMConstructorWithDocument Base;
-
-    static JSTestNamedConstructorNamedConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestNamedConstructorNamedConstructor* constructor = new (NotNull, JSC::allocateCell<JSTestNamedConstructorNamedConstructor>(*exec->heap())) JSTestNamedConstructorNamedConstructor(structure, globalObject);
-        constructor->finishCreation(exec, globalObject);
-        return constructor;
-    }
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static const JSC::ClassInfo s_info;
-
-private:
-    JSTestNamedConstructorNamedConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestNamedConstructor(JSC::ExecState*);
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-};
-
-// Attributes
-
-JSC::JSValue jsTestNamedConstructorConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp
deleted file mode 100644
index 1fe7f66..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp
+++ /dev/null
@@ -1,158 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestNode.h"
-
-#include "ExceptionCode.h"
-#include "JSDOMBinding.h"
-#include "TestNode.h"
-#include <runtime/Error.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestNodeTableValues[] =
-{
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNodeConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestNodeTable = { 2, 1, JSTestNodeTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestNodeConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestNodeConstructorTable = { 1, 0, JSTestNodeConstructorTableValues, 0 };
-EncodedJSValue JSC_HOST_CALL JSTestNodeConstructor::constructJSTestNode(ExecState* exec)
-{
-    JSTestNodeConstructor* castedThis = jsCast<JSTestNodeConstructor*>(exec->callee());
-    RefPtr<TestNode> object = TestNode::create();
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-const ClassInfo JSTestNodeConstructor::s_info = { "TestNodeConstructor", &Base::s_info, &JSTestNodeConstructorTable, 0, CREATE_METHOD_TABLE(JSTestNodeConstructor) };
-
-JSTestNodeConstructor::JSTestNodeConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestNodeConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestNodePrototype::self(exec, globalObject), DontDelete | ReadOnly);
-    putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(0), ReadOnly | DontDelete | DontEnum);
-}
-
-bool JSTestNodeConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestNodeConstructor, JSDOMWrapper>(exec, &JSTestNodeConstructorTable, jsCast<JSTestNodeConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestNodeConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestNodeConstructor, JSDOMWrapper>(exec, &JSTestNodeConstructorTable, jsCast<JSTestNodeConstructor*>(object), propertyName, descriptor);
-}
-
-ConstructType JSTestNodeConstructor::getConstructData(JSCell*, ConstructData& constructData)
-{
-    constructData.native.function = constructJSTestNode;
-    return ConstructTypeHost;
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestNodePrototypeTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestNodePrototypeTable = { 1, 0, JSTestNodePrototypeTableValues, 0 };
-const ClassInfo JSTestNodePrototype::s_info = { "TestNodePrototype", &Base::s_info, &JSTestNodePrototypeTable, 0, CREATE_METHOD_TABLE(JSTestNodePrototype) };
-
-JSObject* JSTestNodePrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestNode>(exec, globalObject);
-}
-
-const ClassInfo JSTestNode::s_info = { "TestNode", &Base::s_info, &JSTestNodeTable, 0 , CREATE_METHOD_TABLE(JSTestNode) };
-
-JSTestNode::JSTestNode(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestNode> impl)
-    : JSNode(structure, globalObject, impl)
-{
-}
-
-void JSTestNode::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestNode::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestNodePrototype::create(exec->globalData(), globalObject, JSTestNodePrototype::createStructure(exec->globalData(), globalObject, JSNodePrototype::self(exec, globalObject)));
-}
-
-bool JSTestNode::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestNode* thisObject = jsCast<JSTestNode*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestNode, Base>(exec, &JSTestNodeTable, thisObject, propertyName, slot);
-}
-
-bool JSTestNode::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestNode* thisObject = jsCast<JSTestNode*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestNode, Base>(exec, &JSTestNodeTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestNodeConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestNode* domObject = jsCast<JSTestNode*>(asObject(slotBase));
-    return JSTestNode::getConstructor(exec, domObject->globalObject());
-}
-
-JSValue JSTestNode::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestNodeConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-void JSTestNode::visitChildren(JSCell* cell, SlotVisitor& visitor)
-{
-    JSTestNode* thisObject = jsCast<JSTestNode*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    COMPILE_ASSERT(StructureFlags & OverridesVisitChildren, OverridesVisitChildrenWithoutSettingFlag);
-    ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren());
-    Base::visitChildren(thisObject, visitor);
-    thisObject->impl()->visitJSEventListeners(visitor);
-}
-
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h
deleted file mode 100644
index 0171bac..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestNode_h
-#define JSTestNode_h
-
-#include "JSDOMBinding.h"
-#include "JSNode.h"
-#include "TestNode.h"
-#include <runtime/JSObject.h>
-
-namespace WebCore {
-
-class JSTestNode : public JSNode {
-public:
-    typedef JSNode Base;
-    static JSTestNode* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestNode> impl)
-    {
-        JSTestNode* ptr = new (NotNull, JSC::allocateCell<JSTestNode>(globalObject->globalData().heap)) JSTestNode(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    static void visitChildren(JSCell*, JSC::SlotVisitor&);
-
-protected:
-    JSTestNode(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestNode>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesVisitChildren | Base::StructureFlags;
-};
-
-
-class JSTestNodePrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestNodePrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestNodePrototype* ptr = new (NotNull, JSC::allocateCell<JSTestNodePrototype>(globalData.heap)) JSTestNodePrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestNodePrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesVisitChildren | Base::StructureFlags;
-};
-
-class JSTestNodeConstructor : public DOMConstructorObject {
-private:
-    JSTestNodeConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestNodeConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestNodeConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestNodeConstructor>(*exec->heap())) JSTestNodeConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestNode(JSC::ExecState*);
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-};
-
-// Attributes
-
-JSC::JSValue jsTestNodeConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
deleted file mode 100644
index 261fbbd..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
+++ /dev/null
@@ -1,3094 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestObj.h"
-
-#include "CallbackFunction.h"
-#include "DOMStringList.h"
-#include "Dictionary.h"
-#include "Document.h"
-#include "ExceptionCode.h"
-#include "HTMLNames.h"
-#include "JSDOMBinding.h"
-#include "JSDOMStringList.h"
-#include "JSDocument.h"
-#include "JSEventListener.h"
-#include "JSFloat32Array.h"
-#include "JSNode.h"
-#include "JSSVGDocument.h"
-#include "JSSVGPoint.h"
-#include "JSScriptProfile.h"
-#include "JSTestCallback.h"
-#include "JSTestObj.h"
-#include "JSTestSubObj.h"
-#include "JSa.h"
-#include "JSb.h"
-#include "JSbool.h"
-#include "JSd.h"
-#include "JSe.h"
-#include "KURL.h"
-#include "SVGDocument.h"
-#include "SVGStaticPropertyTearOff.h"
-#include "ScriptArguments.h"
-#include "ScriptCallStackFactory.h"
-#include "ScriptProfile.h"
-#include "SerializedScriptValue.h"
-#include "TestObj.h"
-#include "bool.h"
-#include <runtime/Error.h>
-#include <runtime/JSArray.h>
-#include <runtime/JSString.h>
-#include <wtf/Float32Array.h>
-#include <wtf/GetPtr.h>
-
-#if ENABLE(Condition1)
-#include "JSTestObjectA.h"
-#endif
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-#include "JSTestObjectB.h"
-#endif
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-#include "JSTestObjectC.h"
-#endif
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestObjTableValues[] =
-{
-    { "readOnlyLongAttr", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReadOnlyLongAttr), (intptr_t)0, NoIntrinsic },
-    { "readOnlyStringAttr", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReadOnlyStringAttr), (intptr_t)0, NoIntrinsic },
-    { "readOnlyTestObjAttr", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReadOnlyTestObjAttr), (intptr_t)0, NoIntrinsic },
-    { "enumAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjEnumAttr), (intptr_t)setJSTestObjEnumAttr, NoIntrinsic },
-    { "shortAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjShortAttr), (intptr_t)setJSTestObjShortAttr, NoIntrinsic },
-    { "unsignedShortAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjUnsignedShortAttr), (intptr_t)setJSTestObjUnsignedShortAttr, NoIntrinsic },
-    { "longAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjLongAttr), (intptr_t)setJSTestObjLongAttr, NoIntrinsic },
-    { "longLongAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjLongLongAttr), (intptr_t)setJSTestObjLongLongAttr, NoIntrinsic },
-    { "unsignedLongLongAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjUnsignedLongLongAttr), (intptr_t)setJSTestObjUnsignedLongLongAttr, NoIntrinsic },
-    { "stringAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStringAttr), (intptr_t)setJSTestObjStringAttr, NoIntrinsic },
-    { "testObjAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjTestObjAttr), (intptr_t)setJSTestObjTestObjAttr, NoIntrinsic },
-    { "XMLObjAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjXMLObjAttr), (intptr_t)setJSTestObjXMLObjAttr, NoIntrinsic },
-    { "create", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCreate), (intptr_t)setJSTestObjCreate, NoIntrinsic },
-    { "reflectedStringAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReflectedStringAttr), (intptr_t)setJSTestObjReflectedStringAttr, NoIntrinsic },
-    { "reflectedIntegralAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReflectedIntegralAttr), (intptr_t)setJSTestObjReflectedIntegralAttr, NoIntrinsic },
-    { "reflectedUnsignedIntegralAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReflectedUnsignedIntegralAttr), (intptr_t)setJSTestObjReflectedUnsignedIntegralAttr, NoIntrinsic },
-    { "reflectedBooleanAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReflectedBooleanAttr), (intptr_t)setJSTestObjReflectedBooleanAttr, NoIntrinsic },
-    { "reflectedURLAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReflectedURLAttr), (intptr_t)setJSTestObjReflectedURLAttr, NoIntrinsic },
-    { "reflectedStringAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReflectedStringAttr), (intptr_t)setJSTestObjReflectedStringAttr, NoIntrinsic },
-    { "reflectedCustomIntegralAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReflectedCustomIntegralAttr), (intptr_t)setJSTestObjReflectedCustomIntegralAttr, NoIntrinsic },
-    { "reflectedCustomBooleanAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReflectedCustomBooleanAttr), (intptr_t)setJSTestObjReflectedCustomBooleanAttr, NoIntrinsic },
-    { "reflectedCustomURLAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReflectedCustomURLAttr), (intptr_t)setJSTestObjReflectedCustomURLAttr, NoIntrinsic },
-    { "typedArrayAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjTypedArrayAttr), (intptr_t)setJSTestObjTypedArrayAttr, NoIntrinsic },
-    { "attrWithGetterException", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjAttrWithGetterException), (intptr_t)setJSTestObjAttrWithGetterException, NoIntrinsic },
-    { "attrWithSetterException", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjAttrWithSetterException), (intptr_t)setJSTestObjAttrWithSetterException, NoIntrinsic },
-    { "stringAttrWithGetterException", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStringAttrWithGetterException), (intptr_t)setJSTestObjStringAttrWithGetterException, NoIntrinsic },
-    { "stringAttrWithSetterException", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStringAttrWithSetterException), (intptr_t)setJSTestObjStringAttrWithSetterException, NoIntrinsic },
-    { "customAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCustomAttr), (intptr_t)setJSTestObjCustomAttr, NoIntrinsic },
-    { "withScriptStateAttribute", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjWithScriptStateAttribute), (intptr_t)setJSTestObjWithScriptStateAttribute, NoIntrinsic },
-    { "withScriptExecutionContextAttribute", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjWithScriptExecutionContextAttribute), (intptr_t)setJSTestObjWithScriptExecutionContextAttribute, NoIntrinsic },
-    { "withScriptStateAttributeRaises", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjWithScriptStateAttributeRaises), (intptr_t)setJSTestObjWithScriptStateAttributeRaises, NoIntrinsic },
-    { "withScriptExecutionContextAttributeRaises", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjWithScriptExecutionContextAttributeRaises), (intptr_t)setJSTestObjWithScriptExecutionContextAttributeRaises, NoIntrinsic },
-    { "withScriptExecutionContextAndScriptStateAttribute", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjWithScriptExecutionContextAndScriptStateAttribute), (intptr_t)setJSTestObjWithScriptExecutionContextAndScriptStateAttribute, NoIntrinsic },
-    { "withScriptExecutionContextAndScriptStateAttributeRaises", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises), (intptr_t)setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises, NoIntrinsic },
-    { "withScriptExecutionContextAndScriptStateWithSpacesAttribute", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute), (intptr_t)setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute, NoIntrinsic },
-    { "withScriptArgumentsAndCallStackAttribute", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjWithScriptArgumentsAndCallStackAttribute), (intptr_t)setJSTestObjWithScriptArgumentsAndCallStackAttribute, NoIntrinsic },
-#if ENABLE(Condition1)
-    { "conditionalAttr1", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConditionalAttr1), (intptr_t)setJSTestObjConditionalAttr1, NoIntrinsic },
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-    { "conditionalAttr2", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConditionalAttr2), (intptr_t)setJSTestObjConditionalAttr2, NoIntrinsic },
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    { "conditionalAttr3", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConditionalAttr3), (intptr_t)setJSTestObjConditionalAttr3, NoIntrinsic },
-#endif
-#if ENABLE(Condition1)
-    { "conditionalAttr4", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConditionalAttr4Constructor), (intptr_t)setJSTestObjConditionalAttr4Constructor, NoIntrinsic },
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-    { "conditionalAttr5", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConditionalAttr5Constructor), (intptr_t)setJSTestObjConditionalAttr5Constructor, NoIntrinsic },
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    { "conditionalAttr6", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConditionalAttr6Constructor), (intptr_t)setJSTestObjConditionalAttr6Constructor, NoIntrinsic },
-#endif
-    { "cachedAttribute1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCachedAttribute1), (intptr_t)0, NoIntrinsic },
-    { "cachedAttribute2", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCachedAttribute2), (intptr_t)0, NoIntrinsic },
-    { "anyAttribute", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjAnyAttribute), (intptr_t)setJSTestObjAnyAttribute, NoIntrinsic },
-    { "contentDocument", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjContentDocument), (intptr_t)0, NoIntrinsic },
-    { "mutablePoint", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjMutablePoint), (intptr_t)setJSTestObjMutablePoint, NoIntrinsic },
-    { "immutablePoint", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjImmutablePoint), (intptr_t)setJSTestObjImmutablePoint, NoIntrinsic },
-    { "strawberry", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStrawberry), (intptr_t)setJSTestObjStrawberry, NoIntrinsic },
-    { "strictFloat", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStrictFloat), (intptr_t)setJSTestObjStrictFloat, NoIntrinsic },
-    { "description", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjDescription), (intptr_t)0, NoIntrinsic },
-    { "id", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjId), (intptr_t)setJSTestObjId, NoIntrinsic },
-    { "hash", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjHash), (intptr_t)0, NoIntrinsic },
-    { "replaceableAttribute", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReplaceableAttribute), (intptr_t)setJSTestObjReplaceableAttribute, NoIntrinsic },
-    { "nullableDoubleAttribute", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjNullableDoubleAttribute), (intptr_t)0, NoIntrinsic },
-    { "nullableLongAttribute", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjNullableLongAttribute), (intptr_t)0, NoIntrinsic },
-    { "nullableBooleanAttribute", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjNullableBooleanAttribute), (intptr_t)0, NoIntrinsic },
-    { "nullableStringAttribute", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjNullableStringAttribute), (intptr_t)0, NoIntrinsic },
-    { "nullableLongSettableAttribute", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjNullableLongSettableAttribute), (intptr_t)setJSTestObjNullableLongSettableAttribute, NoIntrinsic },
-    { "nullableStringValue", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjNullableStringValue), (intptr_t)setJSTestObjNullableStringValue, NoIntrinsic },
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestObjTable = { 145, 127, JSTestObjTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestObjConstructorTableValues[] =
-{
-#if ENABLE(Condition1)
-    { "CONDITIONAL_CONST", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONDITIONAL_CONST), (intptr_t)0, NoIntrinsic },
-#endif
-    { "CONST_VALUE_0", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_0), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_1), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_2", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_2), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_4", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_4), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_8", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_8), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_9", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_9), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_10", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_10), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_11", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_11), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_12", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_12), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_13", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_13), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_14", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_14), (intptr_t)0, NoIntrinsic },
-    { "CONST_JAVASCRIPT", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_JAVASCRIPT), (intptr_t)0, NoIntrinsic },
-    { "staticReadOnlyLongAttr", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConstructorStaticReadOnlyLongAttr), (intptr_t)0, NoIntrinsic },
-    { "staticStringAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConstructorStaticStringAttr), (intptr_t)setJSTestObjConstructorStaticStringAttr, NoIntrinsic },
-    { "TestSubObj", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConstructorTestSubObj), (intptr_t)0, NoIntrinsic },
-    { "staticMethodWithCallbackAndOptionalArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjConstructorFunctionStaticMethodWithCallbackAndOptionalArg), (intptr_t)1, NoIntrinsic },
-    { "staticMethodWithCallbackArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjConstructorFunctionStaticMethodWithCallbackArg), (intptr_t)1, NoIntrinsic },
-    { "classMethod", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjConstructorFunctionClassMethod), (intptr_t)0, NoIntrinsic },
-    { "classMethodWithOptional", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjConstructorFunctionClassMethodWithOptional), (intptr_t)1, NoIntrinsic },
-    { "classMethod2", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjConstructorFunctionClassMethod2), (intptr_t)1, NoIntrinsic },
-#if ENABLE(Condition1)
-    { "overloadedMethod1", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjConstructorFunctionOverloadedMethod1), (intptr_t)1, NoIntrinsic },
-#endif
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestObjConstructorTable = { 38, 31, JSTestObjConstructorTableValues, 0 };
-
-#if ENABLE(Condition1)
-COMPILE_ASSERT(0 == TestObj::CONDITIONAL_CONST, TestObjEnumCONDITIONAL_CONSTIsWrongUseDoNotCheckConstants);
-#endif
-COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(-1 == TestObj::CONST_VALUE_9, TestObjEnumCONST_VALUE_9IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT("my constant string" == TestObj::CONST_VALUE_10, TestObjEnumCONST_VALUE_10IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0xffffffff == TestObj::CONST_VALUE_11, TestObjEnumCONST_VALUE_11IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0x01 == TestObj::CONST_VALUE_12, TestObjEnumCONST_VALUE_12IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0X20 == TestObj::CONST_VALUE_13, TestObjEnumCONST_VALUE_13IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0x1abc == TestObj::CONST_VALUE_14, TestObjEnumCONST_VALUE_14IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDoNotCheckConstants);
-
-EncodedJSValue JSC_HOST_CALL JSTestObjConstructor::constructJSTestObj(ExecState* exec)
-{
-    JSTestObjConstructor* castedThis = jsCast<JSTestObjConstructor*>(exec->callee());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (exec->argumentCount() <= 0 || !exec->argument(0).isFunction())
-        return throwVMTypeError(exec);
-    RefPtr<TestCallback> testCallback = JSTestCallback::create(asObject(exec->argument(0)), castedThis->globalObject());
-    RefPtr<TestObj> object = TestObj::create(testCallback);
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-const ClassInfo JSTestObjConstructor::s_info = { "TestObjectConstructor", &Base::s_info, &JSTestObjConstructorTable, 0, CREATE_METHOD_TABLE(JSTestObjConstructor) };
-
-JSTestObjConstructor::JSTestObjConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestObjConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestObjPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-    putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
-}
-
-bool JSTestObjConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticPropertySlot<JSTestObjConstructor, JSDOMWrapper>(exec, &JSTestObjConstructorTable, jsCast<JSTestObjConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestObjConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticPropertyDescriptor<JSTestObjConstructor, JSDOMWrapper>(exec, &JSTestObjConstructorTable, jsCast<JSTestObjConstructor*>(object), propertyName, descriptor);
-}
-
-ConstructType JSTestObjConstructor::getConstructData(JSCell*, ConstructData& constructData)
-{
-    constructData.native.function = constructJSTestObj;
-    return ConstructTypeHost;
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestObjPrototypeTableValues[] =
-{
-#if ENABLE(Condition1)
-    { "CONDITIONAL_CONST", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONDITIONAL_CONST), (intptr_t)0, NoIntrinsic },
-#endif
-    { "CONST_VALUE_0", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_0), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_1), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_2", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_2), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_4", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_4), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_8", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_8), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_9", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_9), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_10", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_10), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_11", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_11), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_12", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_12), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_13", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_13), (intptr_t)0, NoIntrinsic },
-    { "CONST_VALUE_14", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_14), (intptr_t)0, NoIntrinsic },
-    { "CONST_JAVASCRIPT", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_JAVASCRIPT), (intptr_t)0, NoIntrinsic },
-    { "voidMethod", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionVoidMethod), (intptr_t)0, NoIntrinsic },
-    { "voidMethodWithArgs", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionVoidMethodWithArgs), (intptr_t)3, NoIntrinsic },
-    { "longMethod", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionLongMethod), (intptr_t)0, NoIntrinsic },
-    { "longMethodWithArgs", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionLongMethodWithArgs), (intptr_t)3, NoIntrinsic },
-    { "objMethod", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionObjMethod), (intptr_t)0, NoIntrinsic },
-    { "objMethodWithArgs", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionObjMethodWithArgs), (intptr_t)3, NoIntrinsic },
-    { "methodWithSequenceArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithSequenceArg), (intptr_t)1, NoIntrinsic },
-    { "methodReturningSequence", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodReturningSequence), (intptr_t)1, NoIntrinsic },
-    { "methodWithEnumArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithEnumArg), (intptr_t)1, NoIntrinsic },
-    { "methodThatRequiresAllArgsAndThrows", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows), (intptr_t)2, NoIntrinsic },
-    { "serializedValue", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionSerializedValue), (intptr_t)1, NoIntrinsic },
-    { "optionsObject", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionOptionsObject), (intptr_t)2, NoIntrinsic },
-    { "methodWithException", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithException), (intptr_t)0, NoIntrinsic },
-    { "customMethod", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionCustomMethod), (intptr_t)0, NoIntrinsic },
-    { "customMethodWithArgs", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionCustomMethodWithArgs), (intptr_t)3, NoIntrinsic },
-    { "addEventListener", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionAddEventListener), (intptr_t)3, NoIntrinsic },
-    { "removeEventListener", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionRemoveEventListener), (intptr_t)3, NoIntrinsic },
-    { "withScriptStateVoid", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionWithScriptStateVoid), (intptr_t)0, NoIntrinsic },
-    { "withScriptStateObj", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionWithScriptStateObj), (intptr_t)0, NoIntrinsic },
-    { "withScriptStateVoidException", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionWithScriptStateVoidException), (intptr_t)0, NoIntrinsic },
-    { "withScriptStateObjException", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionWithScriptStateObjException), (intptr_t)0, NoIntrinsic },
-    { "withScriptExecutionContext", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionWithScriptExecutionContext), (intptr_t)0, NoIntrinsic },
-    { "withScriptExecutionContextAndScriptState", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptState), (intptr_t)0, NoIntrinsic },
-    { "withScriptExecutionContextAndScriptStateObjException", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateObjException), (intptr_t)0, NoIntrinsic },
-    { "withScriptExecutionContextAndScriptStateWithSpaces", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateWithSpaces), (intptr_t)0, NoIntrinsic },
-    { "withScriptArgumentsAndCallStack", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionWithScriptArgumentsAndCallStack), (intptr_t)0, NoIntrinsic },
-    { "methodWithOptionalArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithOptionalArg), (intptr_t)1, NoIntrinsic },
-    { "methodWithNonOptionalArgAndOptionalArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg), (intptr_t)2, NoIntrinsic },
-    { "methodWithNonOptionalArgAndTwoOptionalArgs", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs), (intptr_t)3, NoIntrinsic },
-    { "methodWithOptionalString", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithOptionalString), (intptr_t)1, NoIntrinsic },
-    { "methodWithOptionalStringIsUndefined", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithOptionalStringIsUndefined), (intptr_t)1, NoIntrinsic },
-    { "methodWithOptionalStringIsNullString", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithOptionalStringIsNullString), (intptr_t)1, NoIntrinsic },
-    { "methodWithCallbackArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithCallbackArg), (intptr_t)1, NoIntrinsic },
-    { "methodWithNonCallbackArgAndCallbackArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg), (intptr_t)2, NoIntrinsic },
-    { "methodWithCallbackAndOptionalArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg), (intptr_t)1, NoIntrinsic },
-#if ENABLE(Condition1)
-    { "conditionalMethod1", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionConditionalMethod1), (intptr_t)0, NoIntrinsic },
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-    { "conditionalMethod2", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionConditionalMethod2), (intptr_t)0, NoIntrinsic },
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-    { "conditionalMethod3", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionConditionalMethod3), (intptr_t)0, NoIntrinsic },
-#endif
-    { "overloadedMethod", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionOverloadedMethod), (intptr_t)2, NoIntrinsic },
-    { "classMethodWithClamp", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionClassMethodWithClamp), (intptr_t)2, NoIntrinsic },
-    { "methodWithUnsignedLongSequence", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence), (intptr_t)1, NoIntrinsic },
-    { "stringArrayFunction", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionStringArrayFunction), (intptr_t)1, NoIntrinsic },
-    { "domStringListFunction", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionDomStringListFunction), (intptr_t)1, NoIntrinsic },
-    { "getSVGDocument", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionGetSVGDocument), (intptr_t)0, NoIntrinsic },
-    { "convert1", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionConvert1), (intptr_t)1, NoIntrinsic },
-    { "convert2", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionConvert2), (intptr_t)1, NoIntrinsic },
-    { "convert4", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionConvert4), (intptr_t)1, NoIntrinsic },
-    { "convert5", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionConvert5), (intptr_t)1, NoIntrinsic },
-    { "mutablePointFunction", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionMutablePointFunction), (intptr_t)0, NoIntrinsic },
-    { "immutablePointFunction", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionImmutablePointFunction), (intptr_t)0, NoIntrinsic },
-    { "orange", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionOrange), (intptr_t)0, NoIntrinsic },
-    { "strictFunction", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionStrictFunction), (intptr_t)3, NoIntrinsic },
-    { "variadicStringMethod", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionVariadicStringMethod), (intptr_t)2, NoIntrinsic },
-    { "variadicDoubleMethod", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionVariadicDoubleMethod), (intptr_t)2, NoIntrinsic },
-    { "variadicNodeMethod", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionVariadicNodeMethod), (intptr_t)2, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestObjPrototypeTable = { 266, 255, JSTestObjPrototypeTableValues, 0 };
-const ClassInfo JSTestObjPrototype::s_info = { "TestObjectPrototype", &Base::s_info, &JSTestObjPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestObjPrototype) };
-
-JSObject* JSTestObjPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestObj>(exec, globalObject);
-}
-
-bool JSTestObjPrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestObjPrototype* thisObject = jsCast<JSTestObjPrototype*>(cell);
-    return getStaticPropertySlot<JSTestObjPrototype, JSObject>(exec, &JSTestObjPrototypeTable, thisObject, propertyName, slot);
-}
-
-bool JSTestObjPrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestObjPrototype* thisObject = jsCast<JSTestObjPrototype*>(object);
-    return getStaticPropertyDescriptor<JSTestObjPrototype, JSObject>(exec, &JSTestObjPrototypeTable, thisObject, propertyName, descriptor);
-}
-
-const ClassInfo JSTestObj::s_info = { "TestObject", &Base::s_info, &JSTestObjTable, 0 , CREATE_METHOD_TABLE(JSTestObj) };
-
-JSTestObj::JSTestObj(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestObj> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestObj::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestObj::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestObjPrototype::create(exec->globalData(), globalObject, JSTestObjPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestObj::destroy(JSC::JSCell* cell)
-{
-    JSTestObj* thisObject = static_cast<JSTestObj*>(cell);
-    thisObject->JSTestObj::~JSTestObj();
-}
-
-JSTestObj::~JSTestObj()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestObj::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestObj* thisObject = jsCast<JSTestObj*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestObj, Base>(exec, &JSTestObjTable, thisObject, propertyName, slot);
-}
-
-bool JSTestObj::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestObj* thisObject = jsCast<JSTestObj*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestObj, Base>(exec, &JSTestObjTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestObjReadOnlyLongAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->readOnlyLongAttr());
-    return result;
-}
-
-
-JSValue jsTestObjReadOnlyStringAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->readOnlyStringAttr());
-    return result;
-}
-
-
-JSValue jsTestObjReadOnlyTestObjAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->readOnlyTestObjAttr()));
-    return result;
-}
-
-
-JSValue jsTestObjConstructorStaticReadOnlyLongAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    UNUSED_PARAM(slotBase);
-    UNUSED_PARAM(exec);
-    JSValue result = jsNumber(TestObj::staticReadOnlyLongAttr());
-    return result;
-}
-
-
-JSValue jsTestObjConstructorStaticStringAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    UNUSED_PARAM(slotBase);
-    UNUSED_PARAM(exec);
-    JSValue result = jsStringWithCache(exec, TestObj::staticStringAttr());
-    return result;
-}
-
-
-JSValue jsTestObjConstructorTestSubObj(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    return JSTestSubObj::getConstructor(exec, castedThis->globalObject());
-}
-
-
-JSValue jsTestObjEnumAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->enumAttr());
-    return result;
-}
-
-
-JSValue jsTestObjShortAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->shortAttr());
-    return result;
-}
-
-
-JSValue jsTestObjUnsignedShortAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->unsignedShortAttr());
-    return result;
-}
-
-
-JSValue jsTestObjLongAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->longAttr());
-    return result;
-}
-
-
-JSValue jsTestObjLongLongAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->longLongAttr());
-    return result;
-}
-
-
-JSValue jsTestObjUnsignedLongLongAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->unsignedLongLongAttr());
-    return result;
-}
-
-
-JSValue jsTestObjStringAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->stringAttr());
-    return result;
-}
-
-
-JSValue jsTestObjTestObjAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->testObjAttr()));
-    return result;
-}
-
-
-JSValue jsTestObjXMLObjAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->xmlObjAttr()));
-    return result;
-}
-
-
-JSValue jsTestObjCreate(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsBoolean(impl->isCreate());
-    return result;
-}
-
-
-JSValue jsTestObjReflectedStringAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr));
-    return result;
-}
-
-
-JSValue jsTestObjReflectedIntegralAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->getIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr));
-    return result;
-}
-
-
-JSValue jsTestObjReflectedUnsignedIntegralAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(std::max(0, impl->getIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr)));
-    return result;
-}
-
-
-JSValue jsTestObjReflectedBooleanAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsBoolean(impl->fastHasAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr));
-    return result;
-}
-
-
-JSValue jsTestObjReflectedURLAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr));
-    return result;
-}
-
-
-JSValue jsTestObjReflectedStringAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr));
-    return result;
-}
-
-
-JSValue jsTestObjReflectedCustomIntegralAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->getIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr));
-    return result;
-}
-
-
-JSValue jsTestObjReflectedCustomBooleanAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsBoolean(impl->fastHasAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr));
-    return result;
-}
-
-
-JSValue jsTestObjReflectedCustomURLAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr));
-    return result;
-}
-
-
-JSValue jsTestObjTypedArrayAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->typedArrayAttr()));
-    return result;
-}
-
-
-JSValue jsTestObjAttrWithGetterException(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    ExceptionCode ec = 0;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSC::JSValue result = jsNumber(impl->attrWithGetterException(ec));
-    setDOMException(exec, ec);
-    return result;
-}
-
-
-JSValue jsTestObjAttrWithSetterException(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->attrWithSetterException());
-    return result;
-}
-
-
-JSValue jsTestObjStringAttrWithGetterException(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    ExceptionCode ec = 0;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSC::JSValue result = jsStringWithCache(exec, impl->stringAttrWithGetterException(ec));
-    setDOMException(exec, ec);
-    return result;
-}
-
-
-JSValue jsTestObjStringAttrWithSetterException(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->stringAttrWithSetterException());
-    return result;
-}
-
-
-JSValue jsTestObjCustomAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    return castedThis->customAttr(exec);
-}
-
-
-JSValue jsTestObjWithScriptStateAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->withScriptStateAttribute(exec));
-    return result;
-}
-
-
-JSValue jsTestObjWithScriptExecutionContextAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return jsUndefined();
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptExecutionContextAttribute(scriptContext)));
-    return result;
-}
-
-
-JSValue jsTestObjWithScriptStateAttributeRaises(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    ExceptionCode ec = 0;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptStateAttributeRaises(exec, ec)));
-    setDOMException(exec, ec);
-    return result;
-}
-
-
-JSValue jsTestObjWithScriptExecutionContextAttributeRaises(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    ExceptionCode ec = 0;
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return jsUndefined();
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptExecutionContextAttributeRaises(scriptContext, ec)));
-    setDOMException(exec, ec);
-    return result;
-}
-
-
-JSValue jsTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return jsUndefined();
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptExecutionContextAndScriptStateAttribute(exec, scriptContext)));
-    return result;
-}
-
-
-JSValue jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    ExceptionCode ec = 0;
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return jsUndefined();
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptExecutionContextAndScriptStateAttributeRaises(exec, scriptContext, ec)));
-    setDOMException(exec, ec);
-    return result;
-}
-
-
-JSValue jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return jsUndefined();
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptExecutionContextAndScriptStateWithSpacesAttribute(exec, scriptContext)));
-    return result;
-}
-
-
-JSValue jsTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptArgumentsAndCallStackAttribute()));
-    return result;
-}
-
-
-#if ENABLE(Condition1)
-JSValue jsTestObjConditionalAttr1(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->conditionalAttr1());
-    return result;
-}
-
-#endif
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-JSValue jsTestObjConditionalAttr2(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->conditionalAttr2());
-    return result;
-}
-
-#endif
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-JSValue jsTestObjConditionalAttr3(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->conditionalAttr3());
-    return result;
-}
-
-#endif
-
-#if ENABLE(Condition1)
-JSValue jsTestObjConditionalAttr4Constructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    return JSTestObjectA::getConstructor(exec, castedThis->globalObject());
-}
-
-#endif
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-JSValue jsTestObjConditionalAttr5Constructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    return JSTestObjectB::getConstructor(exec, castedThis->globalObject());
-}
-
-#endif
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-JSValue jsTestObjConditionalAttr6Constructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    return JSTestObjectC::getConstructor(exec, castedThis->globalObject());
-}
-
-#endif
-
-JSValue jsTestObjCachedAttribute1(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    if (JSValue cachedValue = castedThis->m_cachedAttribute1.get())
-        return cachedValue;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = (impl->cachedAttribute1().hasNoValue() ? jsNull() : impl->cachedAttribute1().jsValue());
-    castedThis->m_cachedAttribute1.set(exec->globalData(), castedThis, result);
-    return result;
-}
-
-
-JSValue jsTestObjCachedAttribute2(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    if (JSValue cachedValue = castedThis->m_cachedAttribute2.get())
-        return cachedValue;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = (impl->cachedAttribute2().hasNoValue() ? jsNull() : impl->cachedAttribute2().jsValue());
-    castedThis->m_cachedAttribute2.set(exec->globalData(), castedThis, result);
-    return result;
-}
-
-
-JSValue jsTestObjAnyAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = (impl->anyAttribute().hasNoValue() ? jsNull() : impl->anyAttribute().jsValue());
-    return result;
-}
-
-
-JSValue jsTestObjContentDocument(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    return shouldAllowAccessToNode(exec, impl->contentDocument()) ? toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->contentDocument())) : jsNull();
-}
-
-
-JSValue jsTestObjMutablePoint(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGStaticPropertyTearOff<TestObj, FloatPoint>::create(impl, impl->mutablePoint(), &TestObj::updateMutablePoint)));
-    return result;
-}
-
-
-JSValue jsTestObjImmutablePoint(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGPropertyTearOff<FloatPoint>::create(impl->immutablePoint())));
-    return result;
-}
-
-
-JSValue jsTestObjStrawberry(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->blueberry());
-    return result;
-}
-
-
-JSValue jsTestObjStrictFloat(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->strictFloat());
-    return result;
-}
-
-
-JSValue jsTestObjDescription(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->description());
-    return result;
-}
-
-
-JSValue jsTestObjId(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->id());
-    return result;
-}
-
-
-JSValue jsTestObjHash(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->hash());
-    return result;
-}
-
-
-JSValue jsTestObjReplaceableAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->replaceableAttribute());
-    return result;
-}
-
-
-JSValue jsTestObjNullableDoubleAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    bool isNull = false;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->nullableDoubleAttribute(isNull));
-    if (isNull)
-        return jsNull();
-    return result;
-}
-
-
-JSValue jsTestObjNullableLongAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    bool isNull = false;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->nullableLongAttribute(isNull));
-    if (isNull)
-        return jsNull();
-    return result;
-}
-
-
-JSValue jsTestObjNullableBooleanAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    bool isNull = false;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsBoolean(impl->nullableBooleanAttribute(isNull));
-    if (isNull)
-        return jsNull();
-    return result;
-}
-
-
-JSValue jsTestObjNullableStringAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    bool isNull = false;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->nullableStringAttribute(isNull));
-    if (isNull)
-        return jsNull();
-    return result;
-}
-
-
-JSValue jsTestObjNullableLongSettableAttribute(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    bool isNull = false;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue result = jsNumber(impl->nullableLongSettableAttribute(isNull));
-    if (isNull)
-        return jsNull();
-    return result;
-}
-
-
-JSValue jsTestObjNullableStringValue(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase));
-    ExceptionCode ec = 0;
-    bool isNull = false;
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSC::JSValue result = jsNumber(impl->nullableStringValue(isNull, ec));
-    if (isNull)
-        return jsNull();
-    setDOMException(exec, ec);
-    return result;
-}
-
-
-JSValue jsTestObjConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestObj* domObject = jsCast<JSTestObj*>(asObject(slotBase));
-    return JSTestObj::getConstructor(exec, domObject->globalObject());
-}
-
-void JSTestObj::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
-{
-    JSTestObj* thisObject = jsCast<JSTestObj*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    lookupPut<JSTestObj, Base>(exec, propertyName, value, &JSTestObjTable, thisObject, slot);
-}
-
-void setJSTestObjConstructorStaticStringAttr(ExecState* exec, JSObject*, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
-    if (exec->hadException())
-        return;
-    TestObj::setStaticStringAttr(nativeValue);
-}
-
-
-void setJSTestObjEnumAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    const String nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
-    if (exec->hadException())
-        return;
-    if (nativeValue != "" && nativeValue != "EnumValue1" && nativeValue != "EnumValue2" && nativeValue != "EnumValue3")
-        return;
-    impl->setEnumAttr(nativeValue);
-}
-
-
-void setJSTestObjShortAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    short nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setShortAttr(nativeValue);
-}
-
-
-void setJSTestObjUnsignedShortAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    unsigned short nativeValue(toUInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setUnsignedShortAttr(nativeValue);
-}
-
-
-void setJSTestObjLongAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setLongAttr(nativeValue);
-}
-
-
-void setJSTestObjLongLongAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    long long nativeValue(toInt64(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setLongLongAttr(nativeValue);
-}
-
-
-void setJSTestObjUnsignedLongLongAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    unsigned long long nativeValue(toUInt64(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setUnsignedLongLongAttr(nativeValue);
-}
-
-
-void setJSTestObjStringAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
-    if (exec->hadException())
-        return;
-    impl->setStringAttr(nativeValue);
-}
-
-
-void setJSTestObjTestObjAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    TestObj* nativeValue(toTestObj(value));
-    if (exec->hadException())
-        return;
-    impl->setTestObjAttr(nativeValue);
-}
-
-
-void setJSTestObjXMLObjAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    TestObj* nativeValue(toTestObj(value));
-    if (exec->hadException())
-        return;
-    impl->setXMLObjAttr(nativeValue);
-}
-
-
-void setJSTestObjCreate(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    bool nativeValue(value.toBoolean(exec));
-    if (exec->hadException())
-        return;
-    impl->setCreate(nativeValue);
-}
-
-
-void setJSTestObjReflectedStringAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    const String& nativeValue(valueToStringWithNullCheck(exec, value));
-    if (exec->hadException())
-        return;
-    impl->setAttribute(WebCore::HTMLNames::reflectedstringattrAttr, nativeValue);
-}
-
-
-void setJSTestObjReflectedIntegralAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr, nativeValue);
-}
-
-
-void setJSTestObjReflectedUnsignedIntegralAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    unsigned nativeValue(toUInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr, nativeValue);
-}
-
-
-void setJSTestObjReflectedBooleanAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    bool nativeValue(value.toBoolean(exec));
-    if (exec->hadException())
-        return;
-    impl->setBooleanAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr, nativeValue);
-}
-
-
-void setJSTestObjReflectedURLAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    const String& nativeValue(valueToStringWithNullCheck(exec, value));
-    if (exec->hadException())
-        return;
-    impl->setAttribute(WebCore::HTMLNames::reflectedurlattrAttr, nativeValue);
-}
-
-
-void setJSTestObjReflectedStringAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    const String& nativeValue(valueToStringWithNullCheck(exec, value));
-    if (exec->hadException())
-        return;
-    impl->setAttribute(WebCore::HTMLNames::customContentStringAttrAttr, nativeValue);
-}
-
-
-void setJSTestObjReflectedCustomIntegralAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr, nativeValue);
-}
-
-
-void setJSTestObjReflectedCustomBooleanAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    bool nativeValue(value.toBoolean(exec));
-    if (exec->hadException())
-        return;
-    impl->setBooleanAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr, nativeValue);
-}
-
-
-void setJSTestObjReflectedCustomURLAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    const String& nativeValue(valueToStringWithNullCheck(exec, value));
-    if (exec->hadException())
-        return;
-    impl->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, nativeValue);
-}
-
-
-void setJSTestObjTypedArrayAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    Float32Array* nativeValue(toFloat32Array(value));
-    if (exec->hadException())
-        return;
-    impl->setTypedArrayAttr(nativeValue);
-}
-
-
-void setJSTestObjAttrWithGetterException(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setAttrWithGetterException(nativeValue);
-}
-
-
-void setJSTestObjAttrWithSetterException(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ExceptionCode ec = 0;
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setAttrWithSetterException(nativeValue, ec);
-    setDOMException(exec, ec);
-}
-
-
-void setJSTestObjStringAttrWithGetterException(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
-    if (exec->hadException())
-        return;
-    impl->setStringAttrWithGetterException(nativeValue);
-}
-
-
-void setJSTestObjStringAttrWithSetterException(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ExceptionCode ec = 0;
-    const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
-    if (exec->hadException())
-        return;
-    impl->setStringAttrWithSetterException(nativeValue, ec);
-    setDOMException(exec, ec);
-}
-
-
-void setJSTestObjCustomAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    jsCast<JSTestObj*>(thisObject)->setCustomAttr(exec, value);
-}
-
-
-void setJSTestObjWithScriptStateAttribute(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setWithScriptStateAttribute(exec, nativeValue);
-}
-
-
-void setJSTestObjWithScriptExecutionContextAttribute(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    TestObj* nativeValue(toTestObj(value));
-    if (exec->hadException())
-        return;
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return;
-    impl->setWithScriptExecutionContextAttribute(scriptContext, nativeValue);
-}
-
-
-void setJSTestObjWithScriptStateAttributeRaises(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    TestObj* nativeValue(toTestObj(value));
-    if (exec->hadException())
-        return;
-    impl->setWithScriptStateAttributeRaises(exec, nativeValue);
-}
-
-
-void setJSTestObjWithScriptExecutionContextAttributeRaises(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    TestObj* nativeValue(toTestObj(value));
-    if (exec->hadException())
-        return;
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return;
-    impl->setWithScriptExecutionContextAttributeRaises(scriptContext, nativeValue);
-}
-
-
-void setJSTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    TestObj* nativeValue(toTestObj(value));
-    if (exec->hadException())
-        return;
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return;
-    impl->setWithScriptExecutionContextAndScriptStateAttribute(exec, scriptContext, nativeValue);
-}
-
-
-void setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    TestObj* nativeValue(toTestObj(value));
-    if (exec->hadException())
-        return;
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return;
-    impl->setWithScriptExecutionContextAndScriptStateAttributeRaises(exec, scriptContext, nativeValue);
-}
-
-
-void setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    TestObj* nativeValue(toTestObj(value));
-    if (exec->hadException())
-        return;
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return;
-    impl->setWithScriptExecutionContextAndScriptStateWithSpacesAttribute(exec, scriptContext, nativeValue);
-}
-
-
-void setJSTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    TestObj* nativeValue(toTestObj(value));
-    if (exec->hadException())
-        return;
-    impl->setWithScriptArgumentsAndCallStackAttribute(nativeValue);
-}
-
-
-#if ENABLE(Condition1)
-void setJSTestObjConditionalAttr1(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setConditionalAttr1(nativeValue);
-}
-
-#endif
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-void setJSTestObjConditionalAttr2(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setConditionalAttr2(nativeValue);
-}
-
-#endif
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-void setJSTestObjConditionalAttr3(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setConditionalAttr3(nativeValue);
-}
-
-#endif
-
-#if ENABLE(Condition1)
-void setJSTestObjConditionalAttr4Constructor(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    // Shadowing a built-in constructor
-    jsCast<JSTestObj*>(thisObject)->putDirect(exec->globalData(), Identifier(exec, "conditionalAttr4"), value);
-}
-
-#endif
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-void setJSTestObjConditionalAttr5Constructor(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    // Shadowing a built-in constructor
-    jsCast<JSTestObj*>(thisObject)->putDirect(exec->globalData(), Identifier(exec, "conditionalAttr5"), value);
-}
-
-#endif
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-void setJSTestObjConditionalAttr6Constructor(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    // Shadowing a built-in constructor
-    jsCast<JSTestObj*>(thisObject)->putDirect(exec->globalData(), Identifier(exec, "conditionalAttr6"), value);
-}
-
-#endif
-
-void setJSTestObjAnyAttribute(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ScriptValue nativeValue(exec->globalData(), value);
-    if (exec->hadException())
-        return;
-    impl->setAnyAttribute(nativeValue);
-}
-
-
-void setJSTestObjMutablePoint(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    SVGPropertyTearOff<FloatPoint>* nativeValue(toSVGPoint(value));
-    if (exec->hadException())
-        return;
-    impl->setMutablePoint(nativeValue);
-}
-
-
-void setJSTestObjImmutablePoint(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    SVGPropertyTearOff<FloatPoint>* nativeValue(toSVGPoint(value));
-    if (exec->hadException())
-        return;
-    impl->setImmutablePoint(nativeValue);
-}
-
-
-void setJSTestObjStrawberry(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setBlueberry(nativeValue);
-}
-
-
-void setJSTestObjStrictFloat(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    float nativeValue(value.toFloat(exec));
-    if (exec->hadException())
-        return;
-    impl->setStrictFloat(nativeValue);
-}
-
-
-void setJSTestObjId(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setId(nativeValue);
-}
-
-
-void setJSTestObjReplaceableAttribute(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    // Shadowing a built-in object
-    jsCast<JSTestObj*>(thisObject)->putDirect(exec->globalData(), Identifier(exec, "replaceableAttribute"), value);
-}
-
-
-void setJSTestObjNullableLongSettableAttribute(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setNullableLongSettableAttribute(nativeValue);
-}
-
-
-void setJSTestObjNullableStringValue(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setNullableStringValue(nativeValue);
-}
-
-
-JSValue JSTestObj::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestObjConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVoidMethod(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    impl->voidMethod();
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVoidMethodWithArgs(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 3)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    const String& strArg(exec->argument(1).isEmpty() ? String() : exec->argument(1).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    TestObj* objArg(toTestObj(exec->argument(2)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->voidMethodWithArgs(longArg, strArg, objArg);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionLongMethod(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-
-    JSC::JSValue result = jsNumber(impl->longMethod());
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionLongMethodWithArgs(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 3)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    const String& strArg(exec->argument(1).isEmpty() ? String() : exec->argument(1).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    TestObj* objArg(toTestObj(exec->argument(2)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = jsNumber(impl->longMethodWithArgs(longArg, strArg, objArg));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionObjMethod(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->objMethod()));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionObjMethodWithArgs(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 3)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    const String& strArg(exec->argument(1).isEmpty() ? String() : exec->argument(1).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    TestObj* objArg(toTestObj(exec->argument(2)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->objMethodWithArgs(longArg, strArg, objArg)));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithSequenceArg(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector<RefPtr<ScriptProfile> > sequenceArg((toRefPtrNativeArray<ScriptProfile, JSScriptProfile>(exec, exec->argument(0), &toScriptProfile)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->methodWithSequenceArg(sequenceArg);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodReturningSequence(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = jsArray(exec, castedThis->globalObject(), impl->methodReturningSequence(longArg));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithEnumArg(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String enumArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (enumArg != "" && enumArg != "EnumValue1" && enumArg != "EnumValue2" && enumArg != "EnumValue3")
-        return throwVMTypeError(exec);
-    impl->methodWithEnumArg(enumArg);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 2)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    const String& strArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    TestObj* objArg(toTestObj(exec->argument(1)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->methodThatRequiresAllArgsAndThrows(strArg, objArg, ec)));
-    setDOMException(exec, ec);
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionSerializedValue(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    RefPtr<SerializedScriptValue> serializedArg(SerializedScriptValue::create(exec, exec->argument(0), 0, 0));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->serializedValue(serializedArg);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOptionsObject(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Dictionary oo(exec, exec->argument(0));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    Dictionary ooo(exec, exec->argument(1));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->optionsObject(oo, ooo);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithException(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ExceptionCode ec = 0;
-    impl->methodWithException(ec);
-    setDOMException(exec, ec);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionCustomMethod(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    return JSValue::encode(castedThis->customMethod(exec));
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionCustomMethodWithArgs(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    return JSValue::encode(castedThis->customMethodWithArgs(exec));
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionAddEventListener(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue listener = exec->argument(1);
-    if (!listener.isObject())
-        return JSValue::encode(jsUndefined());
-    impl->addEventListener(exec->argument(0).toString(exec)->value(exec), JSEventListener::create(asObject(listener), castedThis, false, currentWorld(exec)), exec->argument(2).toBoolean(exec));
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionRemoveEventListener(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    JSValue listener = exec->argument(1);
-    if (!listener.isObject())
-        return JSValue::encode(jsUndefined());
-    impl->removeEventListener(exec->argument(0).toString(exec)->value(exec), JSEventListener::create(asObject(listener), castedThis, false, currentWorld(exec)).get(), exec->argument(2).toBoolean(exec));
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateVoid(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    impl->withScriptStateVoid(exec);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateObj(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptStateObj(exec)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateVoidException(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ExceptionCode ec = 0;
-    impl->withScriptStateVoidException(exec, ec);
-    setDOMException(exec, ec);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateObjException(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ExceptionCode ec = 0;
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptStateObjException(exec, ec)));
-    setDOMException(exec, ec);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContext(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return JSValue::encode(jsUndefined());
-    impl->withScriptExecutionContext(scriptContext);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptState(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return JSValue::encode(jsUndefined());
-    impl->withScriptExecutionContextAndScriptState(exec, scriptContext);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateObjException(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ExceptionCode ec = 0;
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptExecutionContextAndScriptStateObjException(exec, scriptContext, ec)));
-    setDOMException(exec, ec);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateWithSpaces(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
-    if (!scriptContext)
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->withScriptExecutionContextAndScriptStateWithSpaces(exec, scriptContext)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptArgumentsAndCallStack(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    RefPtr<ScriptArguments> scriptArguments(createScriptArguments(exec, 0));
-    impl->withScriptArgumentsAndCallStack(scriptArguments.release());
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalArg(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 0) {
-        impl->methodWithOptionalArg();
-        return JSValue::encode(jsUndefined());
-    }
-
-    int opt(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->methodWithOptionalArg(opt);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int nonOpt(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 1) {
-        impl->methodWithNonOptionalArgAndOptionalArg(nonOpt);
-        return JSValue::encode(jsUndefined());
-    }
-
-    int opt(toInt32(exec, exec->argument(1), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->methodWithNonOptionalArgAndOptionalArg(nonOpt, opt);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int nonOpt(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 1) {
-        impl->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt);
-        return JSValue::encode(jsUndefined());
-    }
-
-    int opt1(toInt32(exec, exec->argument(1), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (argsCount <= 2) {
-        impl->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt, opt1);
-        return JSValue::encode(jsUndefined());
-    }
-
-    int opt2(toInt32(exec, exec->argument(2), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt, opt1, opt2);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalString(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 0) {
-        impl->methodWithOptionalString();
-        return JSValue::encode(jsUndefined());
-    }
-
-    const String& str(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->methodWithOptionalString(str);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringIsUndefined(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    const String& str(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->methodWithOptionalStringIsUndefined(str);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringIsNullString(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    const String& str(argumentOrNull(exec, 0).isEmpty() ? String() : argumentOrNull(exec, 0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->methodWithOptionalStringIsNullString(str);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackArg(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (exec->argumentCount() <= 0 || !exec->argument(0).isFunction())
-        return throwVMTypeError(exec);
-    RefPtr<TestCallback> callback = JSTestCallback::create(asObject(exec->argument(0)), castedThis->globalObject());
-    impl->methodWithCallbackArg(callback);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 2)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int nonCallback(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (exec->argumentCount() <= 1 || !exec->argument(1).isFunction())
-        return throwVMTypeError(exec);
-    RefPtr<TestCallback> callback = JSTestCallback::create(asObject(exec->argument(1)), castedThis->globalObject());
-    impl->methodWithNonCallbackArgAndCallbackArg(nonCallback, callback);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    RefPtr<TestCallback> callback;
-    if (exec->argumentCount() > 0 && !exec->argument(0).isUndefinedOrNull()) {
-        if (!exec->argument(0).isFunction())
-            return throwVMTypeError(exec);
-        callback = JSTestCallback::create(asObject(exec->argument(0)), castedThis->globalObject());
-    }
-    impl->methodWithCallbackAndOptionalArg(callback);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionStaticMethodWithCallbackAndOptionalArg(ExecState* exec)
-{
-    RefPtr<TestCallback> callback;
-    if (exec->argumentCount() > 0 && !exec->argument(0).isUndefinedOrNull()) {
-        if (!exec->argument(0).isFunction())
-            return throwVMTypeError(exec);
-        callback = createFunctionOnlyCallback<JSTestCallback>(exec, static_cast<JSDOMGlobalObject*>(exec->lexicalGlobalObject()), exec->argument(0));
-    }
-    TestObj::staticMethodWithCallbackAndOptionalArg(callback);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionStaticMethodWithCallbackArg(ExecState* exec)
-{
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (exec->argumentCount() <= 0 || !exec->argument(0).isFunction())
-        return throwVMTypeError(exec);
-    RefPtr<TestCallback> callback = createFunctionOnlyCallback<JSTestCallback>(exec, static_cast<JSDOMGlobalObject*>(exec->lexicalGlobalObject()), exec->argument(0));
-    TestObj::staticMethodWithCallbackArg(callback);
-    return JSValue::encode(jsUndefined());
-}
-
-#if ENABLE(Condition1)
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod1(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-
-    JSC::JSValue result = jsStringWithCache(exec, impl->conditionalMethod1());
-    return JSValue::encode(result);
-}
-
-#endif
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod2(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    impl->conditionalMethod2();
-    return JSValue::encode(jsUndefined());
-}
-
-#endif
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod3(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    impl->conditionalMethod3();
-    return JSValue::encode(jsUndefined());
-}
-
-#endif
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod1(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 2)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestObj* objArg(toTestObj(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    const String& strArg(exec->argument(1).isEmpty() ? String() : exec->argument(1).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(objArg, strArg);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod2(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestObj* objArg(toTestObj(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 1) {
-        impl->overloadedMethod(objArg);
-        return JSValue::encode(jsUndefined());
-    }
-
-    int longArg(toInt32(exec, exec->argument(1), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(objArg, longArg);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod3(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String& strArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(strArg);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod4(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(longArg);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod5(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (exec->argumentCount() <= 0 || !exec->argument(0).isFunction())
-        return throwVMTypeError(exec);
-    RefPtr<TestCallback> callback = JSTestCallback::create(asObject(exec->argument(0)), castedThis->globalObject());
-    impl->overloadedMethod(callback);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod6(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    RefPtr<DOMStringList> listArg(toDOMStringList(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(listArg);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod7(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector<String> arrayArg(toNativeArray<String>(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(arrayArg);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod8(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestObj* objArg(toTestObj(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(objArg);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod9(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector<String> arrayArg(toNativeArray<String>(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(arrayArg);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod10(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector<unsigned> arrayArg(toNativeArray<unsigned>(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(arrayArg);
-    return JSValue::encode(jsUndefined());
-}
-
-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod11(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String& strArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->overloadedMethod(strArg);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod(ExecState* exec)
-{
-    size_t argsCount = exec->argumentCount();
-    JSValue arg1(exec->argument(1));
-    JSValue arg0(exec->argument(0));
-    if ((argsCount == 2 && (arg0.isNull() || (arg0.isObject() && asObject(arg0)->inherits(&JSTestObj::s_info))) && (arg1.isUndefinedOrNull() || arg1.isString() || arg1.isObject())))
-        return jsTestObjPrototypeFunctionOverloadedMethod1(exec);
-    if ((argsCount == 1 && (arg0.isNull() || (arg0.isObject() && asObject(arg0)->inherits(&JSTestObj::s_info)))) || (argsCount == 2 && (arg0.isNull() || (arg0.isObject() && asObject(arg0)->inherits(&JSTestObj::s_info)))))
-        return jsTestObjPrototypeFunctionOverloadedMethod2(exec);
-    if ((argsCount == 1 && (arg0.isUndefinedOrNull() || arg0.isString() || arg0.isObject())))
-        return jsTestObjPrototypeFunctionOverloadedMethod3(exec);
-    if (argsCount == 1)
-        return jsTestObjPrototypeFunctionOverloadedMethod4(exec);
-    if ((argsCount == 1 && (arg0.isNull() || arg0.isFunction())))
-        return jsTestObjPrototypeFunctionOverloadedMethod5(exec);
-    if ((argsCount == 1 && (arg0.isNull() || (arg0.isObject() && asObject(arg0)->inherits(&JSDOMStringList::s_info)))))
-        return jsTestObjPrototypeFunctionOverloadedMethod6(exec);
-    if ((argsCount == 1 && (arg0.isNull() || (arg0.isObject() && isJSArray(arg0)))))
-        return jsTestObjPrototypeFunctionOverloadedMethod7(exec);
-    if ((argsCount == 1 && (arg0.isObject() && asObject(arg0)->inherits(&JSTestObj::s_info))))
-        return jsTestObjPrototypeFunctionOverloadedMethod8(exec);
-    if ((argsCount == 1 && (arg0.isObject() && isJSArray(arg0))))
-        return jsTestObjPrototypeFunctionOverloadedMethod9(exec);
-    if ((argsCount == 1 && (arg0.isObject() && isJSArray(arg0))))
-        return jsTestObjPrototypeFunctionOverloadedMethod10(exec);
-    if (argsCount == 1)
-        return jsTestObjPrototypeFunctionOverloadedMethod11(exec);
-    if (argsCount < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    return throwVMTypeError(exec);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethod(ExecState* exec)
-{
-    TestObj::classMethod();
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethodWithOptional(ExecState* exec)
-{
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 0) {
-
-        JSC::JSValue result = jsNumber(TestObj::classMethodWithOptional());
-        return JSValue::encode(result);
-    }
-
-    int arg(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = jsNumber(TestObj::classMethodWithOptional(arg));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethod2(ExecState* exec)
-{
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    return JSValue::encode(JSTestObj::classMethod2(exec));
-}
-
-#if ENABLE(Condition1)
-static EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod11(ExecState* exec)
-{
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int arg(toInt32(exec, exec->argument(0), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    TestObj::overloadedMethod1(arg);
-    return JSValue::encode(jsUndefined());
-}
-
-#endif
-
-#if ENABLE(Condition1)
-static EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod12(ExecState* exec)
-{
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String& type(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    TestObj::overloadedMethod1(type);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod1(ExecState* exec)
-{
-    size_t argsCount = exec->argumentCount();
-    if (argsCount == 1)
-        return jsTestObjConstructorFunctionOverloadedMethod11(exec);
-    JSValue arg0(exec->argument(0));
-    if ((argsCount == 1 && (arg0.isUndefinedOrNull() || arg0.isString() || arg0.isObject())))
-        return jsTestObjConstructorFunctionOverloadedMethod12(exec);
-    if (argsCount < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    return throwVMTypeError(exec);
-}
-
-#endif
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionClassMethodWithClamp(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 2)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    unsigned short objArgsShort = 0;
-    double objArgsShortNativeValue = exec->argument(0).toNumber(exec);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    if (!std::isnan(objArgsShortNativeValue))
-        objArgsShort = clampTo<unsigned short>(objArgsShortNativeValue);
-
-    unsigned long objArgsLong = 0;
-    double objArgsLongNativeValue = exec->argument(1).toNumber(exec);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    if (!std::isnan(objArgsLongNativeValue))
-        objArgsLong = clampTo<unsigned long>(objArgsLongNativeValue);
-
-    impl->classMethodWithClamp(objArgsShort, objArgsLong);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector<unsigned> unsignedLongSequence(toNativeArray<unsigned>(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->methodWithUnsignedLongSequence(unsignedLongSequence);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStringArrayFunction(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    Vector<String> values(toNativeArray<String>(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = jsArray(exec, castedThis->globalObject(), impl->stringArrayFunction(values, ec));
-    setDOMException(exec, ec);
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionDomStringListFunction(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    RefPtr<DOMStringList> values(toDOMStringList(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->domStringListFunction(values, ec)));
-    setDOMException(exec, ec);
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionGetSVGDocument(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    ExceptionCode ec = 0;
-    if (!shouldAllowAccessToNode(exec, impl->getSVGDocument(ec)))
-        return JSValue::encode(jsNull());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->getSVGDocument(ec)));
-    setDOMException(exec, ec);
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert1(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    a* value(toa(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->convert1(value);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert2(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    b* value(tob(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->convert2(value);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert4(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    d* value(tod(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->convert4(value);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert5(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    e* value(toe(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->convert5(value);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMutablePointFunction(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGPropertyTearOff<FloatPoint>::create(impl->mutablePointFunction())));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionImmutablePointFunction(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGPropertyTearOff<FloatPoint>::create(impl->immutablePointFunction())));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOrange(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    impl->banana();
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStrictFunction(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 3)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    const String& str(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    float a(exec->argument(1).toFloat(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    int b(toInt32(exec, exec->argument(2), NormalConversion));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl->strictFunction(str, a, b, ec)));
-    setDOMException(exec, ec);
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicStringMethod(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String& head(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    Vector<String> tail = toNativeArguments<String>(exec, 1);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->variadicStringMethod(head, tail);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicDoubleMethod(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    double head(exec->argument(0).toNumber(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    Vector<double> tail = toNativeArguments<double>(exec, 1);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->variadicDoubleMethod(head, tail);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicNodeMethod(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestObj::s_info))
-        return throwVMTypeError(exec);
-    JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
-    TestObj* impl = static_cast<TestObj*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Node* head(toNode(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    Vector<Node*> tail;
-    for (unsigned i = 1; i < exec->argumentCount(); ++i) {
-        if (!exec->argument(i).inherits(&JSNode::s_info))
-            return throwVMTypeError(exec);
-        tail.append(toNode(exec->argument(i)));
-    }
-    impl->variadicNodeMethod(head, tail);
-    return JSValue::encode(jsUndefined());
-}
-
-void JSTestObj::visitChildren(JSCell* cell, SlotVisitor& visitor)
-{
-    JSTestObj* thisObject = jsCast<JSTestObj*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    COMPILE_ASSERT(StructureFlags & OverridesVisitChildren, OverridesVisitChildrenWithoutSettingFlag);
-    ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren());
-    Base::visitChildren(thisObject, visitor);
-    visitor.append(&thisObject->m_cachedAttribute1);
-    visitor.append(&thisObject->m_cachedAttribute2);
-}
-
-// Constant getters
-
-#if ENABLE(Condition1)
-JSValue jsTestObjCONDITIONAL_CONST(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(0));
-}
-
-#endif
-JSValue jsTestObjCONST_VALUE_0(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(0));
-}
-
-JSValue jsTestObjCONST_VALUE_1(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(1));
-}
-
-JSValue jsTestObjCONST_VALUE_2(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(2));
-}
-
-JSValue jsTestObjCONST_VALUE_4(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(4));
-}
-
-JSValue jsTestObjCONST_VALUE_8(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(8));
-}
-
-JSValue jsTestObjCONST_VALUE_9(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(-1));
-}
-
-JSValue jsTestObjCONST_VALUE_10(ExecState* exec, JSValue, PropertyName)
-{
-    return jsStringOrNull(exec, String("my constant string"));
-}
-
-JSValue jsTestObjCONST_VALUE_11(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(0xffffffff));
-}
-
-JSValue jsTestObjCONST_VALUE_12(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(0x01));
-}
-
-JSValue jsTestObjCONST_VALUE_13(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(0X20));
-}
-
-JSValue jsTestObjCONST_VALUE_14(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(0x1abc));
-}
-
-JSValue jsTestObjCONST_JAVASCRIPT(ExecState* exec, JSValue, PropertyName)
-{
-    UNUSED_PARAM(exec);
-    return jsNumber(static_cast<int>(15));
-}
-
-static inline bool isObservable(JSTestObj* jsTestObj)
-{
-    if (jsTestObj->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestObjOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestObj* jsTestObj = jsCast<JSTestObj*>(handle.get().asCell());
-    if (!isObservable(jsTestObj))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestObjOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestObj* jsTestObj = jsCast<JSTestObj*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestObj->impl(), jsTestObj);
-    jsTestObj->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestObj* impl)
-{
-    return wrap<JSTestObj>(exec, globalObject, impl);
-}
-
-TestObj* toTestObj(JSC::JSValue value)
-{
-    return value.inherits(&JSTestObj::s_info) ? jsCast<JSTestObj*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h b/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h
deleted file mode 100644
index 02205d2..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h
+++ /dev/null
@@ -1,372 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestObj_h
-#define JSTestObj_h
-
-#include "JSDOMBinding.h"
-#include "TestObj.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestObj : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestObj* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestObj> impl)
-    {
-        JSTestObj* ptr = new (NotNull, JSC::allocateCell<JSTestObj>(globalObject->globalData().heap)) JSTestObj(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestObj();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    JSC::WriteBarrier<JSC::Unknown> m_cachedAttribute1;
-    JSC::WriteBarrier<JSC::Unknown> m_cachedAttribute2;
-    static void visitChildren(JSCell*, JSC::SlotVisitor&);
-
-
-    // Custom attributes
-    JSC::JSValue customAttr(JSC::ExecState*) const;
-    void setCustomAttr(JSC::ExecState*, JSC::JSValue);
-
-    // Custom functions
-    JSC::JSValue customMethod(JSC::ExecState*);
-    JSC::JSValue customMethodWithArgs(JSC::ExecState*);
-    static JSC::JSValue classMethod2(JSC::ExecState*);
-    TestObj* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestObj* m_impl;
-protected:
-    JSTestObj(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestObj>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesVisitChildren | Base::StructureFlags;
-};
-
-class JSTestObjOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestObj*)
-{
-    DEFINE_STATIC_LOCAL(JSTestObjOwner, jsTestObjOwner, ());
-    return &jsTestObjOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestObj*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestObj*);
-TestObj* toTestObj(JSC::JSValue);
-
-class JSTestObjPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestObjPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestObjPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestObjPrototype>(globalData.heap)) JSTestObjPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestObjPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::OverridesVisitChildren | Base::StructureFlags;
-};
-
-class JSTestObjConstructor : public DOMConstructorObject {
-private:
-    JSTestObjConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestObjConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestObjConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestObjConstructor>(*exec->heap())) JSTestObjConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestObj(JSC::ExecState*);
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-};
-
-// Functions
-
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVoidMethod(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVoidMethodWithArgs(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionLongMethod(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionLongMethodWithArgs(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionObjMethod(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionObjMethodWithArgs(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithSequenceArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodReturningSequence(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithEnumArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionSerializedValue(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOptionsObject(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithException(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionCustomMethod(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionCustomMethodWithArgs(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionAddEventListener(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionRemoveEventListener(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateVoid(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateObj(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateVoidException(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateObjException(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContext(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptState(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateObjException(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateWithSpaces(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptArgumentsAndCallStack(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalString(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringIsUndefined(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringIsNullString(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionStaticMethodWithCallbackAndOptionalArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionStaticMethodWithCallbackArg(JSC::ExecState*);
-#if ENABLE(Condition1)
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod1(JSC::ExecState*);
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod2(JSC::ExecState*);
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod3(JSC::ExecState*);
-#endif
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethod(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethodWithOptional(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethod2(JSC::ExecState*);
-#if ENABLE(Condition1)
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod1(JSC::ExecState*);
-#endif
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionClassMethodWithClamp(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStringArrayFunction(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionDomStringListFunction(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionGetSVGDocument(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert1(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert2(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert4(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert5(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMutablePointFunction(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionImmutablePointFunction(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOrange(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStrictFunction(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicStringMethod(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicDoubleMethod(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicNodeMethod(JSC::ExecState*);
-// Attributes
-
-JSC::JSValue jsTestObjReadOnlyLongAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjReadOnlyStringAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjReadOnlyTestObjAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjConstructorStaticReadOnlyLongAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjConstructorStaticStringAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjConstructorStaticStringAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjConstructorTestSubObj(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjEnumAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjEnumAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjShortAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjShortAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjUnsignedShortAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjUnsignedShortAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjLongAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjLongAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjLongLongAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjLongLongAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjUnsignedLongLongAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjUnsignedLongLongAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjStringAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjStringAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjTestObjAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjTestObjAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjXMLObjAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjXMLObjAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjCreate(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjCreate(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjReflectedStringAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReflectedStringAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjReflectedIntegralAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReflectedIntegralAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjReflectedUnsignedIntegralAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReflectedUnsignedIntegralAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjReflectedBooleanAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReflectedBooleanAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjReflectedURLAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReflectedURLAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjReflectedStringAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReflectedStringAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjReflectedCustomIntegralAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReflectedCustomIntegralAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjReflectedCustomBooleanAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReflectedCustomBooleanAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjReflectedCustomURLAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReflectedCustomURLAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjTypedArrayAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjTypedArrayAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjAttrWithGetterException(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjAttrWithGetterException(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjAttrWithSetterException(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjAttrWithSetterException(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjStringAttrWithGetterException(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjStringAttrWithGetterException(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjStringAttrWithSetterException(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjStringAttrWithSetterException(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjCustomAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjCustomAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjWithScriptStateAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjWithScriptStateAttribute(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjWithScriptExecutionContextAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjWithScriptExecutionContextAttribute(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjWithScriptStateAttributeRaises(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjWithScriptStateAttributeRaises(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjWithScriptExecutionContextAttributeRaises(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjWithScriptExecutionContextAttributeRaises(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjWithScriptExecutionContextAndScriptStateAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjWithScriptExecutionContextAndScriptStateAttribute(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjWithScriptArgumentsAndCallStackAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjWithScriptArgumentsAndCallStackAttribute(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#if ENABLE(Condition1)
-JSC::JSValue jsTestObjConditionalAttr1(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjConditionalAttr1(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-JSC::JSValue jsTestObjConditionalAttr2(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjConditionalAttr2(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-JSC::JSValue jsTestObjConditionalAttr3(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjConditionalAttr3(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-#if ENABLE(Condition1)
-JSC::JSValue jsTestObjConditionalAttr4Constructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjConditionalAttr4Constructor(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-JSC::JSValue jsTestObjConditionalAttr5Constructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjConditionalAttr5Constructor(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-JSC::JSValue jsTestObjConditionalAttr6Constructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjConditionalAttr6Constructor(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-#endif
-JSC::JSValue jsTestObjCachedAttribute1(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCachedAttribute2(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjAnyAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjAnyAttribute(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjContentDocument(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjMutablePoint(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjMutablePoint(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjImmutablePoint(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjImmutablePoint(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjStrawberry(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjStrawberry(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjStrictFloat(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjStrictFloat(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjDescription(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjId(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjId(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjHash(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjReplaceableAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjReplaceableAttribute(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjNullableDoubleAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjNullableLongAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjNullableBooleanAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjNullableStringAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjNullableLongSettableAttribute(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjNullableLongSettableAttribute(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjNullableStringValue(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestObjNullableStringValue(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestObjConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-// Constants
-
-#if ENABLE(Condition1)
-JSC::JSValue jsTestObjCONDITIONAL_CONST(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-#endif
-JSC::JSValue jsTestObjCONST_VALUE_0(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_1(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_2(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_4(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_8(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_9(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_10(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_11(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_12(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_13(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_VALUE_14(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestObjCONST_JAVASCRIPT(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp
deleted file mode 100644
index d1cd323..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp
+++ /dev/null
@@ -1,254 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestOverloadedConstructors.h"
-
-#include "ExceptionCode.h"
-#include "JSArrayBuffer.h"
-#include "JSArrayBufferView.h"
-#include "JSBlob.h"
-#include "JSDOMBinding.h"
-#include "TestOverloadedConstructors.h"
-#include <runtime/Error.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table for constructor */
-
-static const HashTableValue JSTestOverloadedConstructorsTableValues[] =
-{
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestOverloadedConstructorsConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestOverloadedConstructorsTable = { 2, 1, JSTestOverloadedConstructorsTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestOverloadedConstructorsConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestOverloadedConstructorsConstructorTable = { 1, 0, JSTestOverloadedConstructorsConstructorTableValues, 0 };
-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors1(ExecState* exec)
-{
-    JSTestOverloadedConstructorsConstructor* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ArrayBuffer* arrayBuffer(toArrayBuffer(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    RefPtr<TestOverloadedConstructors> object = TestOverloadedConstructors::create(arrayBuffer);
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors2(ExecState* exec)
-{
-    JSTestOverloadedConstructorsConstructor* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ArrayBufferView* arrayBufferView(toArrayBufferView(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    RefPtr<TestOverloadedConstructors> object = TestOverloadedConstructors::create(arrayBufferView);
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors3(ExecState* exec)
-{
-    JSTestOverloadedConstructorsConstructor* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Blob* blob(toBlob(exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    RefPtr<TestOverloadedConstructors> object = TestOverloadedConstructors::create(blob);
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors4(ExecState* exec)
-{
-    JSTestOverloadedConstructorsConstructor* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String& string(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    RefPtr<TestOverloadedConstructors> object = TestOverloadedConstructors::create(string);
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors(ExecState* exec)
-{
-    size_t argsCount = exec->argumentCount();
-    JSValue arg0(exec->argument(0));
-    if ((argsCount == 1 && (arg0.isObject() && asObject(arg0)->inherits(&JSArrayBuffer::s_info))))
-        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors1(exec);
-    if ((argsCount == 1 && (arg0.isObject() && asObject(arg0)->inherits(&JSArrayBufferView::s_info))))
-        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors2(exec);
-    if ((argsCount == 1 && (arg0.isObject() && asObject(arg0)->inherits(&JSBlob::s_info))))
-        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors3(exec);
-    if (argsCount == 1)
-        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors4(exec);
-    if (argsCount < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    return throwVMTypeError(exec);
-}
-
-const ClassInfo JSTestOverloadedConstructorsConstructor::s_info = { "TestOverloadedConstructorsConstructor", &Base::s_info, &JSTestOverloadedConstructorsConstructorTable, 0, CREATE_METHOD_TABLE(JSTestOverloadedConstructorsConstructor) };
-
-JSTestOverloadedConstructorsConstructor::JSTestOverloadedConstructorsConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestOverloadedConstructorsConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestOverloadedConstructorsPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-    putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
-}
-
-bool JSTestOverloadedConstructorsConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestOverloadedConstructorsConstructor, JSDOMWrapper>(exec, &JSTestOverloadedConstructorsConstructorTable, jsCast<JSTestOverloadedConstructorsConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestOverloadedConstructorsConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestOverloadedConstructorsConstructor, JSDOMWrapper>(exec, &JSTestOverloadedConstructorsConstructorTable, jsCast<JSTestOverloadedConstructorsConstructor*>(object), propertyName, descriptor);
-}
-
-ConstructType JSTestOverloadedConstructorsConstructor::getConstructData(JSCell*, ConstructData& constructData)
-{
-    constructData.native.function = constructJSTestOverloadedConstructors;
-    return ConstructTypeHost;
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestOverloadedConstructorsPrototypeTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestOverloadedConstructorsPrototypeTable = { 1, 0, JSTestOverloadedConstructorsPrototypeTableValues, 0 };
-const ClassInfo JSTestOverloadedConstructorsPrototype::s_info = { "TestOverloadedConstructorsPrototype", &Base::s_info, &JSTestOverloadedConstructorsPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestOverloadedConstructorsPrototype) };
-
-JSObject* JSTestOverloadedConstructorsPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestOverloadedConstructors>(exec, globalObject);
-}
-
-const ClassInfo JSTestOverloadedConstructors::s_info = { "TestOverloadedConstructors", &Base::s_info, &JSTestOverloadedConstructorsTable, 0 , CREATE_METHOD_TABLE(JSTestOverloadedConstructors) };
-
-JSTestOverloadedConstructors::JSTestOverloadedConstructors(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestOverloadedConstructors> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestOverloadedConstructors::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestOverloadedConstructors::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestOverloadedConstructorsPrototype::create(exec->globalData(), globalObject, JSTestOverloadedConstructorsPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestOverloadedConstructors::destroy(JSC::JSCell* cell)
-{
-    JSTestOverloadedConstructors* thisObject = static_cast<JSTestOverloadedConstructors*>(cell);
-    thisObject->JSTestOverloadedConstructors::~JSTestOverloadedConstructors();
-}
-
-JSTestOverloadedConstructors::~JSTestOverloadedConstructors()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestOverloadedConstructors::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestOverloadedConstructors* thisObject = jsCast<JSTestOverloadedConstructors*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestOverloadedConstructors, Base>(exec, &JSTestOverloadedConstructorsTable, thisObject, propertyName, slot);
-}
-
-bool JSTestOverloadedConstructors::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestOverloadedConstructors* thisObject = jsCast<JSTestOverloadedConstructors*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestOverloadedConstructors, Base>(exec, &JSTestOverloadedConstructorsTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestOverloadedConstructorsConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestOverloadedConstructors* domObject = jsCast<JSTestOverloadedConstructors*>(asObject(slotBase));
-    return JSTestOverloadedConstructors::getConstructor(exec, domObject->globalObject());
-}
-
-JSValue JSTestOverloadedConstructors::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestOverloadedConstructorsConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-static inline bool isObservable(JSTestOverloadedConstructors* jsTestOverloadedConstructors)
-{
-    if (jsTestOverloadedConstructors->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestOverloadedConstructorsOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestOverloadedConstructors* jsTestOverloadedConstructors = jsCast<JSTestOverloadedConstructors*>(handle.get().asCell());
-    if (!isObservable(jsTestOverloadedConstructors))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestOverloadedConstructorsOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestOverloadedConstructors* jsTestOverloadedConstructors = jsCast<JSTestOverloadedConstructors*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestOverloadedConstructors->impl(), jsTestOverloadedConstructors);
-    jsTestOverloadedConstructors->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestOverloadedConstructors* impl)
-{
-    return wrap<JSTestOverloadedConstructors>(exec, globalObject, impl);
-}
-
-TestOverloadedConstructors* toTestOverloadedConstructors(JSC::JSValue value)
-{
-    return value.inherits(&JSTestOverloadedConstructors::s_info) ? jsCast<JSTestOverloadedConstructors*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h
deleted file mode 100644
index a0a302b..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestOverloadedConstructors_h
-#define JSTestOverloadedConstructors_h
-
-#include "JSDOMBinding.h"
-#include "TestOverloadedConstructors.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestOverloadedConstructors : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestOverloadedConstructors* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestOverloadedConstructors> impl)
-    {
-        JSTestOverloadedConstructors* ptr = new (NotNull, JSC::allocateCell<JSTestOverloadedConstructors>(globalObject->globalData().heap)) JSTestOverloadedConstructors(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestOverloadedConstructors();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    TestOverloadedConstructors* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestOverloadedConstructors* m_impl;
-protected:
-    JSTestOverloadedConstructors(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestOverloadedConstructors>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
-};
-
-class JSTestOverloadedConstructorsOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestOverloadedConstructors*)
-{
-    DEFINE_STATIC_LOCAL(JSTestOverloadedConstructorsOwner, jsTestOverloadedConstructorsOwner, ());
-    return &jsTestOverloadedConstructorsOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestOverloadedConstructors*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestOverloadedConstructors*);
-TestOverloadedConstructors* toTestOverloadedConstructors(JSC::JSValue);
-
-class JSTestOverloadedConstructorsPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestOverloadedConstructorsPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestOverloadedConstructorsPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestOverloadedConstructorsPrototype>(globalData.heap)) JSTestOverloadedConstructorsPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestOverloadedConstructorsPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = Base::StructureFlags;
-};
-
-class JSTestOverloadedConstructorsConstructor : public DOMConstructorObject {
-private:
-    JSTestOverloadedConstructorsConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestOverloadedConstructorsConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestOverloadedConstructorsConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestOverloadedConstructorsConstructor>(*exec->heap())) JSTestOverloadedConstructorsConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestOverloadedConstructors(JSC::ExecState*);
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestOverloadedConstructors1(JSC::ExecState*);
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestOverloadedConstructors2(JSC::ExecState*);
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestOverloadedConstructors3(JSC::ExecState*);
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestOverloadedConstructors4(JSC::ExecState*);
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-};
-
-// Attributes
-
-JSC::JSValue jsTestOverloadedConstructorsConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp
deleted file mode 100644
index e857a3d..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp
+++ /dev/null
@@ -1,404 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#include "JSTestSerializedScriptValueInterface.h"
-
-#include "ExceptionCode.h"
-#include "JSArray.h"
-#include "JSDOMBinding.h"
-#include "JSMessagePort.h"
-#include "MessagePort.h"
-#include "SerializedScriptValue.h"
-#include "TestSerializedScriptValueInterface.h"
-#include <runtime/Error.h>
-#include <runtime/JSArray.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestSerializedScriptValueInterfaceTableValues[] =
-{
-    { "value", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceValue), (intptr_t)setJSTestSerializedScriptValueInterfaceValue, NoIntrinsic },
-    { "readonlyValue", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceReadonlyValue), (intptr_t)0, NoIntrinsic },
-    { "cachedValue", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceCachedValue), (intptr_t)setJSTestSerializedScriptValueInterfaceCachedValue, NoIntrinsic },
-    { "ports", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfacePorts), (intptr_t)0, NoIntrinsic },
-    { "cachedReadonlyValue", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceCachedReadonlyValue), (intptr_t)0, NoIntrinsic },
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestSerializedScriptValueInterfaceTable = { 17, 15, JSTestSerializedScriptValueInterfaceTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestSerializedScriptValueInterfaceConstructorTableValues[] =
-{
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestSerializedScriptValueInterfaceConstructorTable = { 1, 0, JSTestSerializedScriptValueInterfaceConstructorTableValues, 0 };
-EncodedJSValue JSC_HOST_CALL JSTestSerializedScriptValueInterfaceConstructor::constructJSTestSerializedScriptValueInterface(ExecState* exec)
-{
-    JSTestSerializedScriptValueInterfaceConstructor* castedThis = jsCast<JSTestSerializedScriptValueInterfaceConstructor*>(exec->callee());
-    if (exec->argumentCount() < 2)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String& hello(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    RefPtr<SerializedScriptValue> data(SerializedScriptValue::create(exec, exec->argument(1), 0, 0));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    Array* transferList(toArray(exec->argument(2)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    RefPtr<TestSerializedScriptValueInterface> object = TestSerializedScriptValueInterface::create(hello, data, transferList);
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-const ClassInfo JSTestSerializedScriptValueInterfaceConstructor::s_info = { "TestSerializedScriptValueInterfaceConstructor", &Base::s_info, &JSTestSerializedScriptValueInterfaceConstructorTable, 0, CREATE_METHOD_TABLE(JSTestSerializedScriptValueInterfaceConstructor) };
-
-JSTestSerializedScriptValueInterfaceConstructor::JSTestSerializedScriptValueInterfaceConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestSerializedScriptValueInterfaceConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestSerializedScriptValueInterfacePrototype::self(exec, globalObject), DontDelete | ReadOnly);
-    putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(3), ReadOnly | DontDelete | DontEnum);
-}
-
-bool JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestSerializedScriptValueInterfaceConstructor, JSDOMWrapper>(exec, &JSTestSerializedScriptValueInterfaceConstructorTable, jsCast<JSTestSerializedScriptValueInterfaceConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestSerializedScriptValueInterfaceConstructor, JSDOMWrapper>(exec, &JSTestSerializedScriptValueInterfaceConstructorTable, jsCast<JSTestSerializedScriptValueInterfaceConstructor*>(object), propertyName, descriptor);
-}
-
-ConstructType JSTestSerializedScriptValueInterfaceConstructor::getConstructData(JSCell*, ConstructData& constructData)
-{
-    constructData.native.function = constructJSTestSerializedScriptValueInterface;
-    return ConstructTypeHost;
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestSerializedScriptValueInterfacePrototypeTableValues[] =
-{
-    { "acceptTransferList", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestSerializedScriptValueInterfacePrototypeFunctionAcceptTransferList), (intptr_t)2, NoIntrinsic },
-    { "multiTransferList", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestSerializedScriptValueInterfacePrototypeFunctionMultiTransferList), (intptr_t)4, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestSerializedScriptValueInterfacePrototypeTable = { 5, 3, JSTestSerializedScriptValueInterfacePrototypeTableValues, 0 };
-const ClassInfo JSTestSerializedScriptValueInterfacePrototype::s_info = { "TestSerializedScriptValueInterfacePrototype", &Base::s_info, &JSTestSerializedScriptValueInterfacePrototypeTable, 0, CREATE_METHOD_TABLE(JSTestSerializedScriptValueInterfacePrototype) };
-
-JSObject* JSTestSerializedScriptValueInterfacePrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestSerializedScriptValueInterface>(exec, globalObject);
-}
-
-bool JSTestSerializedScriptValueInterfacePrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestSerializedScriptValueInterfacePrototype* thisObject = jsCast<JSTestSerializedScriptValueInterfacePrototype*>(cell);
-    return getStaticFunctionSlot<JSObject>(exec, &JSTestSerializedScriptValueInterfacePrototypeTable, thisObject, propertyName, slot);
-}
-
-bool JSTestSerializedScriptValueInterfacePrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestSerializedScriptValueInterfacePrototype* thisObject = jsCast<JSTestSerializedScriptValueInterfacePrototype*>(object);
-    return getStaticFunctionDescriptor<JSObject>(exec, &JSTestSerializedScriptValueInterfacePrototypeTable, thisObject, propertyName, descriptor);
-}
-
-const ClassInfo JSTestSerializedScriptValueInterface::s_info = { "TestSerializedScriptValueInterface", &Base::s_info, &JSTestSerializedScriptValueInterfaceTable, 0 , CREATE_METHOD_TABLE(JSTestSerializedScriptValueInterface) };
-
-JSTestSerializedScriptValueInterface::JSTestSerializedScriptValueInterface(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestSerializedScriptValueInterface> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestSerializedScriptValueInterface::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestSerializedScriptValueInterface::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestSerializedScriptValueInterfacePrototype::create(exec->globalData(), globalObject, JSTestSerializedScriptValueInterfacePrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestSerializedScriptValueInterface::destroy(JSC::JSCell* cell)
-{
-    JSTestSerializedScriptValueInterface* thisObject = static_cast<JSTestSerializedScriptValueInterface*>(cell);
-    thisObject->JSTestSerializedScriptValueInterface::~JSTestSerializedScriptValueInterface();
-}
-
-JSTestSerializedScriptValueInterface::~JSTestSerializedScriptValueInterface()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestSerializedScriptValueInterface::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestSerializedScriptValueInterface* thisObject = jsCast<JSTestSerializedScriptValueInterface*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestSerializedScriptValueInterface, Base>(exec, &JSTestSerializedScriptValueInterfaceTable, thisObject, propertyName, slot);
-}
-
-bool JSTestSerializedScriptValueInterface::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestSerializedScriptValueInterface* thisObject = jsCast<JSTestSerializedScriptValueInterface*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestSerializedScriptValueInterface, Base>(exec, &JSTestSerializedScriptValueInterfaceTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestSerializedScriptValueInterfaceValue(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestSerializedScriptValueInterface* castedThis = jsCast<JSTestSerializedScriptValueInterface*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestSerializedScriptValueInterface* impl = static_cast<TestSerializedScriptValueInterface*>(castedThis->impl());
-    JSValue result = impl->value() ? impl->value()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
-    return result;
-}
-
-
-JSValue jsTestSerializedScriptValueInterfaceReadonlyValue(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestSerializedScriptValueInterface* castedThis = jsCast<JSTestSerializedScriptValueInterface*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestSerializedScriptValueInterface* impl = static_cast<TestSerializedScriptValueInterface*>(castedThis->impl());
-    JSValue result = impl->readonlyValue() ? impl->readonlyValue()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
-    return result;
-}
-
-
-JSValue jsTestSerializedScriptValueInterfaceCachedValue(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestSerializedScriptValueInterface* castedThis = jsCast<JSTestSerializedScriptValueInterface*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    if (JSValue cachedValue = castedThis->m_cachedValue.get())
-        return cachedValue;
-    TestSerializedScriptValueInterface* impl = static_cast<TestSerializedScriptValueInterface*>(castedThis->impl());
-    JSValue result = impl->cachedValue() ? impl->cachedValue()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
-    castedThis->m_cachedValue.set(exec->globalData(), castedThis, result);
-    return result;
-}
-
-
-JSValue jsTestSerializedScriptValueInterfacePorts(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestSerializedScriptValueInterface* castedThis = jsCast<JSTestSerializedScriptValueInterface*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestSerializedScriptValueInterface* impl = static_cast<TestSerializedScriptValueInterface*>(castedThis->impl());
-    JSValue result = jsArray(exec, castedThis->globalObject(), *impl->ports());
-    return result;
-}
-
-
-JSValue jsTestSerializedScriptValueInterfaceCachedReadonlyValue(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestSerializedScriptValueInterface* castedThis = jsCast<JSTestSerializedScriptValueInterface*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    if (JSValue cachedValue = castedThis->m_cachedReadonlyValue.get())
-        return cachedValue;
-    TestSerializedScriptValueInterface* impl = static_cast<TestSerializedScriptValueInterface*>(castedThis->impl());
-    JSValue result = impl->cachedReadonlyValue() ? impl->cachedReadonlyValue()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
-    castedThis->m_cachedReadonlyValue.set(exec->globalData(), castedThis, result);
-    return result;
-}
-
-
-JSValue jsTestSerializedScriptValueInterfaceConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestSerializedScriptValueInterface* domObject = jsCast<JSTestSerializedScriptValueInterface*>(asObject(slotBase));
-    return JSTestSerializedScriptValueInterface::getConstructor(exec, domObject->globalObject());
-}
-
-void JSTestSerializedScriptValueInterface::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
-{
-    JSTestSerializedScriptValueInterface* thisObject = jsCast<JSTestSerializedScriptValueInterface*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    lookupPut<JSTestSerializedScriptValueInterface, Base>(exec, propertyName, value, &JSTestSerializedScriptValueInterfaceTable, thisObject, slot);
-}
-
-void setJSTestSerializedScriptValueInterfaceValue(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestSerializedScriptValueInterface* castedThis = jsCast<JSTestSerializedScriptValueInterface*>(thisObject);
-    TestSerializedScriptValueInterface* impl = static_cast<TestSerializedScriptValueInterface*>(castedThis->impl());
-    RefPtr<SerializedScriptValue> nativeValue(SerializedScriptValue::create(exec, value, 0, 0));
-    if (exec->hadException())
-        return;
-    impl->setValue(nativeValue);
-}
-
-
-void setJSTestSerializedScriptValueInterfaceCachedValue(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestSerializedScriptValueInterface* castedThis = jsCast<JSTestSerializedScriptValueInterface*>(thisObject);
-    TestSerializedScriptValueInterface* impl = static_cast<TestSerializedScriptValueInterface*>(castedThis->impl());
-    RefPtr<SerializedScriptValue> nativeValue(SerializedScriptValue::create(exec, value, 0, 0));
-    if (exec->hadException())
-        return;
-    impl->setCachedValue(nativeValue);
-}
-
-
-JSValue JSTestSerializedScriptValueInterface::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestSerializedScriptValueInterfaceConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestSerializedScriptValueInterfacePrototypeFunctionAcceptTransferList(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestSerializedScriptValueInterface::s_info))
-        return throwVMTypeError(exec);
-    JSTestSerializedScriptValueInterface* castedThis = jsCast<JSTestSerializedScriptValueInterface*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestSerializedScriptValueInterface::s_info);
-    TestSerializedScriptValueInterface* impl = static_cast<TestSerializedScriptValueInterface*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    RefPtr<SerializedScriptValue> data(SerializedScriptValue::create(exec, exec->argument(0), 0, 0));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 1) {
-        impl->acceptTransferList(data);
-        return JSValue::encode(jsUndefined());
-    }
-
-    Array* transferList(toArray(exec->argument(1)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->acceptTransferList(data, transferList);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestSerializedScriptValueInterfacePrototypeFunctionMultiTransferList(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestSerializedScriptValueInterface::s_info))
-        return throwVMTypeError(exec);
-    JSTestSerializedScriptValueInterface* castedThis = jsCast<JSTestSerializedScriptValueInterface*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestSerializedScriptValueInterface::s_info);
-    TestSerializedScriptValueInterface* impl = static_cast<TestSerializedScriptValueInterface*>(castedThis->impl());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 0) {
-        impl->multiTransferList();
-        return JSValue::encode(jsUndefined());
-    }
-
-    RefPtr<SerializedScriptValue> first(SerializedScriptValue::create(exec, exec->argument(0), 0, 0));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (argsCount <= 1) {
-        impl->multiTransferList(first);
-        return JSValue::encode(jsUndefined());
-    }
-
-    Array* tx(toArray(exec->argument(1)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (argsCount <= 2) {
-        impl->multiTransferList(first, tx);
-        return JSValue::encode(jsUndefined());
-    }
-
-    RefPtr<SerializedScriptValue> second(SerializedScriptValue::create(exec, exec->argument(2), 0, 0));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (argsCount <= 3) {
-        impl->multiTransferList(first, tx, second);
-        return JSValue::encode(jsUndefined());
-    }
-
-    Array* txx(toArray(exec->argument(3)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->multiTransferList(first, tx, second, txx);
-    return JSValue::encode(jsUndefined());
-}
-
-void JSTestSerializedScriptValueInterface::visitChildren(JSCell* cell, SlotVisitor& visitor)
-{
-    JSTestSerializedScriptValueInterface* thisObject = jsCast<JSTestSerializedScriptValueInterface*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    COMPILE_ASSERT(StructureFlags & OverridesVisitChildren, OverridesVisitChildrenWithoutSettingFlag);
-    ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren());
-    Base::visitChildren(thisObject, visitor);
-    visitor.append(&thisObject->m_cachedValue);
-    visitor.append(&thisObject->m_cachedReadonlyValue);
-}
-
-static inline bool isObservable(JSTestSerializedScriptValueInterface* jsTestSerializedScriptValueInterface)
-{
-    if (jsTestSerializedScriptValueInterface->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestSerializedScriptValueInterfaceOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestSerializedScriptValueInterface* jsTestSerializedScriptValueInterface = jsCast<JSTestSerializedScriptValueInterface*>(handle.get().asCell());
-    if (!isObservable(jsTestSerializedScriptValueInterface))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestSerializedScriptValueInterfaceOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestSerializedScriptValueInterface* jsTestSerializedScriptValueInterface = jsCast<JSTestSerializedScriptValueInterface*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestSerializedScriptValueInterface->impl(), jsTestSerializedScriptValueInterface);
-    jsTestSerializedScriptValueInterface->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestSerializedScriptValueInterface* impl)
-{
-    return wrap<JSTestSerializedScriptValueInterface>(exec, globalObject, impl);
-}
-
-TestSerializedScriptValueInterface* toTestSerializedScriptValueInterface(JSC::JSValue value)
-{
-    return value.inherits(&JSTestSerializedScriptValueInterface::s_info) ? jsCast<JSTestSerializedScriptValueInterface*>(asObject(value))->impl() : 0;
-}
-
-}
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h
deleted file mode 100644
index 05e0e6a..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestSerializedScriptValueInterface_h
-#define JSTestSerializedScriptValueInterface_h
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#include "JSDOMBinding.h"
-#include "TestSerializedScriptValueInterface.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestSerializedScriptValueInterface : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestSerializedScriptValueInterface* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestSerializedScriptValueInterface> impl)
-    {
-        JSTestSerializedScriptValueInterface* ptr = new (NotNull, JSC::allocateCell<JSTestSerializedScriptValueInterface>(globalObject->globalData().heap)) JSTestSerializedScriptValueInterface(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestSerializedScriptValueInterface();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    JSC::WriteBarrier<JSC::Unknown> m_cachedValue;
-    JSC::WriteBarrier<JSC::Unknown> m_cachedReadonlyValue;
-    static void visitChildren(JSCell*, JSC::SlotVisitor&);
-
-    TestSerializedScriptValueInterface* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestSerializedScriptValueInterface* m_impl;
-protected:
-    JSTestSerializedScriptValueInterface(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestSerializedScriptValueInterface>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesVisitChildren | Base::StructureFlags;
-};
-
-class JSTestSerializedScriptValueInterfaceOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestSerializedScriptValueInterface*)
-{
-    DEFINE_STATIC_LOCAL(JSTestSerializedScriptValueInterfaceOwner, jsTestSerializedScriptValueInterfaceOwner, ());
-    return &jsTestSerializedScriptValueInterfaceOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestSerializedScriptValueInterface*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestSerializedScriptValueInterface*);
-TestSerializedScriptValueInterface* toTestSerializedScriptValueInterface(JSC::JSValue);
-
-class JSTestSerializedScriptValueInterfacePrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestSerializedScriptValueInterfacePrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestSerializedScriptValueInterfacePrototype* ptr = new (NotNull, JSC::allocateCell<JSTestSerializedScriptValueInterfacePrototype>(globalData.heap)) JSTestSerializedScriptValueInterfacePrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestSerializedScriptValueInterfacePrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::OverridesVisitChildren | Base::StructureFlags;
-};
-
-class JSTestSerializedScriptValueInterfaceConstructor : public DOMConstructorObject {
-private:
-    JSTestSerializedScriptValueInterfaceConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestSerializedScriptValueInterfaceConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestSerializedScriptValueInterfaceConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestSerializedScriptValueInterfaceConstructor>(*exec->heap())) JSTestSerializedScriptValueInterfaceConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestSerializedScriptValueInterface(JSC::ExecState*);
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-};
-
-// Functions
-
-JSC::EncodedJSValue JSC_HOST_CALL jsTestSerializedScriptValueInterfacePrototypeFunctionAcceptTransferList(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestSerializedScriptValueInterfacePrototypeFunctionMultiTransferList(JSC::ExecState*);
-// Attributes
-
-JSC::JSValue jsTestSerializedScriptValueInterfaceValue(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestSerializedScriptValueInterfaceValue(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestSerializedScriptValueInterfaceReadonlyValue(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestSerializedScriptValueInterfaceCachedValue(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestSerializedScriptValueInterfaceCachedValue(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestSerializedScriptValueInterfacePorts(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestSerializedScriptValueInterfaceCachedReadonlyValue(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestSerializedScriptValueInterfaceConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSupplemental.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSupplemental.cpp
deleted file mode 100644
index 66d3214..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSupplemental.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that JSTestSupplemental.h and
-    JSTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate JSTestSupplemental.h and
-    JSTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSupplemental.h b/Source/WebCore/bindings/scripts/test/JS/JSTestSupplemental.h
deleted file mode 100644
index 66d3214..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSupplemental.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that JSTestSupplemental.h and
-    JSTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate JSTestSupplemental.h and
-    JSTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp
deleted file mode 100644
index 512bd3a..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp
+++ /dev/null
@@ -1,640 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "JSTestTypedefs.h"
-
-#include "DOMStringList.h"
-#include "ExceptionCode.h"
-#include "JSArray.h"
-#include "JSDOMBinding.h"
-#include "JSDOMStringList.h"
-#include "JSSVGPoint.h"
-#include "JSSerializedScriptValue.h"
-#include "JSTestCallback.h"
-#include "JSTestSubObj.h"
-#include "KURL.h"
-#include "SerializedScriptValue.h"
-#include "TestTypedefs.h"
-#include <runtime/Error.h>
-#include <runtime/JSArray.h>
-#include <runtime/JSString.h>
-#include <wtf/GetPtr.h>
-
-using namespace JSC;
-
-namespace WebCore {
-
-/* Hash table */
-
-static const HashTableValue JSTestTypedefsTableValues[] =
-{
-    { "unsignedLongLongAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsUnsignedLongLongAttr), (intptr_t)setJSTestTypedefsUnsignedLongLongAttr, NoIntrinsic },
-    { "immutableSerializedScriptValue", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsImmutableSerializedScriptValue), (intptr_t)setJSTestTypedefsImmutableSerializedScriptValue, NoIntrinsic },
-    { "attrWithGetterException", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsAttrWithGetterException), (intptr_t)setJSTestTypedefsAttrWithGetterException, NoIntrinsic },
-    { "attrWithSetterException", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsAttrWithSetterException), (intptr_t)setJSTestTypedefsAttrWithSetterException, NoIntrinsic },
-    { "stringAttrWithGetterException", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsStringAttrWithGetterException), (intptr_t)setJSTestTypedefsStringAttrWithGetterException, NoIntrinsic },
-    { "stringAttrWithSetterException", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsStringAttrWithSetterException), (intptr_t)setJSTestTypedefsStringAttrWithSetterException, NoIntrinsic },
-    { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsConstructor), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestTypedefsTable = { 18, 15, JSTestTypedefsTableValues, 0 };
-/* Hash table for constructor */
-
-static const HashTableValue JSTestTypedefsConstructorTableValues[] =
-{
-    { "TestSubObj", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsConstructorTestSubObj), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestTypedefsConstructorTable = { 1, 0, JSTestTypedefsConstructorTableValues, 0 };
-EncodedJSValue JSC_HOST_CALL JSTestTypedefsConstructor::constructJSTestTypedefs(ExecState* exec)
-{
-    JSTestTypedefsConstructor* castedThis = jsCast<JSTestTypedefsConstructor*>(exec->callee());
-    if (exec->argumentCount() < 2)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    const String& hello(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (exec->argumentCount() <= 1 || !exec->argument(1).isFunction())
-        return throwVMTypeError(exec);
-    RefPtr<TestCallback> testCallback = JSTestCallback::create(asObject(exec->argument(1)), castedThis->globalObject());
-    RefPtr<TestTypedefs> object = TestTypedefs::create(hello, testCallback);
-    return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
-}
-
-const ClassInfo JSTestTypedefsConstructor::s_info = { "TestTypedefsConstructor", &Base::s_info, &JSTestTypedefsConstructorTable, 0, CREATE_METHOD_TABLE(JSTestTypedefsConstructor) };
-
-JSTestTypedefsConstructor::JSTestTypedefsConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(structure, globalObject)
-{
-}
-
-void JSTestTypedefsConstructor::finishCreation(ExecState* exec, JSDOMGlobalObject* globalObject)
-{
-    Base::finishCreation(exec->globalData());
-    ASSERT(inherits(&s_info));
-    putDirect(exec->globalData(), exec->propertyNames().prototype, JSTestTypedefsPrototype::self(exec, globalObject), DontDelete | ReadOnly);
-    putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(2), ReadOnly | DontDelete | DontEnum);
-}
-
-bool JSTestTypedefsConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    return getStaticValueSlot<JSTestTypedefsConstructor, JSDOMWrapper>(exec, &JSTestTypedefsConstructorTable, jsCast<JSTestTypedefsConstructor*>(cell), propertyName, slot);
-}
-
-bool JSTestTypedefsConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    return getStaticValueDescriptor<JSTestTypedefsConstructor, JSDOMWrapper>(exec, &JSTestTypedefsConstructorTable, jsCast<JSTestTypedefsConstructor*>(object), propertyName, descriptor);
-}
-
-ConstructType JSTestTypedefsConstructor::getConstructData(JSCell*, ConstructData& constructData)
-{
-    constructData.native.function = constructJSTestTypedefs;
-    return ConstructTypeHost;
-}
-
-/* Hash table for prototype */
-
-static const HashTableValue JSTestTypedefsPrototypeTableValues[] =
-{
-    { "func", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionFunc), (intptr_t)1, NoIntrinsic },
-    { "multiTransferList", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionMultiTransferList), (intptr_t)4, NoIntrinsic },
-    { "setShadow", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionSetShadow), (intptr_t)5, NoIntrinsic },
-    { "methodWithSequenceArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionMethodWithSequenceArg), (intptr_t)1, NoIntrinsic },
-    { "nullableArrayArg", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionNullableArrayArg), (intptr_t)1, NoIntrinsic },
-    { "funcWithClamp", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionFuncWithClamp), (intptr_t)2, NoIntrinsic },
-    { "immutablePointFunction", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionImmutablePointFunction), (intptr_t)0, NoIntrinsic },
-    { "stringArrayFunction", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionStringArrayFunction), (intptr_t)1, NoIntrinsic },
-    { "stringArrayFunction2", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionStringArrayFunction2), (intptr_t)1, NoIntrinsic },
-    { "methodWithException", DontDelete | JSC::Function, (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionMethodWithException), (intptr_t)0, NoIntrinsic },
-    { 0, 0, 0, 0, NoIntrinsic }
-};
-
-static const HashTable JSTestTypedefsPrototypeTable = { 34, 31, JSTestTypedefsPrototypeTableValues, 0 };
-const ClassInfo JSTestTypedefsPrototype::s_info = { "TestTypedefsPrototype", &Base::s_info, &JSTestTypedefsPrototypeTable, 0, CREATE_METHOD_TABLE(JSTestTypedefsPrototype) };
-
-JSObject* JSTestTypedefsPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMPrototype<JSTestTypedefs>(exec, globalObject);
-}
-
-bool JSTestTypedefsPrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestTypedefsPrototype* thisObject = jsCast<JSTestTypedefsPrototype*>(cell);
-    return getStaticFunctionSlot<JSObject>(exec, &JSTestTypedefsPrototypeTable, thisObject, propertyName, slot);
-}
-
-bool JSTestTypedefsPrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestTypedefsPrototype* thisObject = jsCast<JSTestTypedefsPrototype*>(object);
-    return getStaticFunctionDescriptor<JSObject>(exec, &JSTestTypedefsPrototypeTable, thisObject, propertyName, descriptor);
-}
-
-const ClassInfo JSTestTypedefs::s_info = { "TestTypedefs", &Base::s_info, &JSTestTypedefsTable, 0 , CREATE_METHOD_TABLE(JSTestTypedefs) };
-
-JSTestTypedefs::JSTestTypedefs(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestTypedefs> impl)
-    : JSDOMWrapper(structure, globalObject)
-    , m_impl(impl.leakRef())
-{
-}
-
-void JSTestTypedefs::finishCreation(JSGlobalData& globalData)
-{
-    Base::finishCreation(globalData);
-    ASSERT(inherits(&s_info));
-}
-
-JSObject* JSTestTypedefs::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return JSTestTypedefsPrototype::create(exec->globalData(), globalObject, JSTestTypedefsPrototype::createStructure(globalObject->globalData(), globalObject, globalObject->objectPrototype()));
-}
-
-void JSTestTypedefs::destroy(JSC::JSCell* cell)
-{
-    JSTestTypedefs* thisObject = static_cast<JSTestTypedefs*>(cell);
-    thisObject->JSTestTypedefs::~JSTestTypedefs();
-}
-
-JSTestTypedefs::~JSTestTypedefs()
-{
-    releaseImplIfNotNull();
-}
-
-bool JSTestTypedefs::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
-{
-    JSTestTypedefs* thisObject = jsCast<JSTestTypedefs*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueSlot<JSTestTypedefs, Base>(exec, &JSTestTypedefsTable, thisObject, propertyName, slot);
-}
-
-bool JSTestTypedefs::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
-{
-    JSTestTypedefs* thisObject = jsCast<JSTestTypedefs*>(object);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    return getStaticValueDescriptor<JSTestTypedefs, Base>(exec, &JSTestTypedefsTable, thisObject, propertyName, descriptor);
-}
-
-JSValue jsTestTypedefsUnsignedLongLongAttr(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    JSValue result = jsNumber(impl->unsignedLongLongAttr());
-    return result;
-}
-
-
-JSValue jsTestTypedefsImmutableSerializedScriptValue(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    JSValue result = impl->immutableSerializedScriptValue() ? impl->immutableSerializedScriptValue()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
-    return result;
-}
-
-
-JSValue jsTestTypedefsConstructorTestSubObj(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(slotBase));
-    return JSTestSubObj::getConstructor(exec, castedThis->globalObject());
-}
-
-
-JSValue jsTestTypedefsAttrWithGetterException(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(slotBase));
-    ExceptionCode ec = 0;
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    JSC::JSValue result = jsNumber(impl->attrWithGetterException(ec));
-    setDOMException(exec, ec);
-    return result;
-}
-
-
-JSValue jsTestTypedefsAttrWithSetterException(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    JSValue result = jsNumber(impl->attrWithSetterException());
-    return result;
-}
-
-
-JSValue jsTestTypedefsStringAttrWithGetterException(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(slotBase));
-    ExceptionCode ec = 0;
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    JSC::JSValue result = jsStringWithCache(exec, impl->stringAttrWithGetterException(ec));
-    setDOMException(exec, ec);
-    return result;
-}
-
-
-JSValue jsTestTypedefsStringAttrWithSetterException(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    JSValue result = jsStringWithCache(exec, impl->stringAttrWithSetterException());
-    return result;
-}
-
-
-JSValue jsTestTypedefsConstructor(ExecState* exec, JSValue slotBase, PropertyName)
-{
-    JSTestTypedefs* domObject = jsCast<JSTestTypedefs*>(asObject(slotBase));
-    return JSTestTypedefs::getConstructor(exec, domObject->globalObject());
-}
-
-void JSTestTypedefs::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
-{
-    JSTestTypedefs* thisObject = jsCast<JSTestTypedefs*>(cell);
-    ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
-    lookupPut<JSTestTypedefs, Base>(exec, propertyName, value, &JSTestTypedefsTable, thisObject, slot);
-}
-
-void setJSTestTypedefsUnsignedLongLongAttr(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(thisObject);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    unsigned long long nativeValue(toUInt64(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setUnsignedLongLongAttr(nativeValue);
-}
-
-
-void setJSTestTypedefsImmutableSerializedScriptValue(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(thisObject);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    RefPtr<SerializedScriptValue> nativeValue(SerializedScriptValue::create(exec, value, 0, 0));
-    if (exec->hadException())
-        return;
-    impl->setImmutableSerializedScriptValue(nativeValue);
-}
-
-
-void setJSTestTypedefsAttrWithGetterException(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(thisObject);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setAttrWithGetterException(nativeValue);
-}
-
-
-void setJSTestTypedefsAttrWithSetterException(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(thisObject);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    ExceptionCode ec = 0;
-    int nativeValue(toInt32(exec, value, NormalConversion));
-    if (exec->hadException())
-        return;
-    impl->setAttrWithSetterException(nativeValue, ec);
-    setDOMException(exec, ec);
-}
-
-
-void setJSTestTypedefsStringAttrWithGetterException(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(thisObject);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
-    if (exec->hadException())
-        return;
-    impl->setStringAttrWithGetterException(nativeValue);
-}
-
-
-void setJSTestTypedefsStringAttrWithSetterException(ExecState* exec, JSObject* thisObject, JSValue value)
-{
-    UNUSED_PARAM(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(thisObject);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    ExceptionCode ec = 0;
-    const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
-    if (exec->hadException())
-        return;
-    impl->setStringAttrWithSetterException(nativeValue, ec);
-    setDOMException(exec, ec);
-}
-
-
-JSValue JSTestTypedefs::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
-{
-    return getDOMConstructor<JSTestTypedefsConstructor>(exec, jsCast<JSDOMGlobalObject*>(globalObject));
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFunc(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 0) {
-        impl->func();
-        return JSValue::encode(jsUndefined());
-    }
-
-    if (exec->argumentCount() > 0 && !exec->argument(0).isUndefinedOrNull() && !exec->argument(0).inherits(&JSlong[]::s_info))
-        return throwVMTypeError(exec);
-    Vector<int> x(toNativeArray<int>(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->func(x);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMultiTransferList(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    RefPtr<SerializedScriptValue> first(SerializedScriptValue::create(exec, exec->argument(0), 0, 0));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 1) {
-        impl->multiTransferList(first);
-        return JSValue::encode(jsUndefined());
-    }
-
-    Array* tx(toArray(exec->argument(1)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (argsCount <= 2) {
-        impl->multiTransferList(first, tx);
-        return JSValue::encode(jsUndefined());
-    }
-
-    RefPtr<SerializedScriptValue> second(SerializedScriptValue::create(exec, exec->argument(2), 0, 0));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (argsCount <= 3) {
-        impl->multiTransferList(first, tx, second);
-        return JSValue::encode(jsUndefined());
-    }
-
-    Array* txx(toArray(exec->argument(3)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->multiTransferList(first, tx, second, txx);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionSetShadow(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    if (exec->argumentCount() < 3)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    float width(exec->argument(0).toFloat(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    float height(exec->argument(1).toFloat(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    float blur(exec->argument(2).toFloat(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 3) {
-        impl->setShadow(width, height, blur);
-        return JSValue::encode(jsUndefined());
-    }
-
-    const String& color(exec->argument(3).isEmpty() ? String() : exec->argument(3).toString(exec)->value(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    if (argsCount <= 4) {
-        impl->setShadow(width, height, blur, color);
-        return JSValue::encode(jsUndefined());
-    }
-
-    float alpha(exec->argument(4).toFloat(exec));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->setShadow(width, height, blur, color, alpha);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMethodWithSequenceArg(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector<RefPtr<SerializedScriptValue>> sequenceArg((toRefPtrNativeArray<SerializedScriptValue, JSSerializedScriptValue>(exec, exec->argument(0), &toSerializedScriptValue)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = jsNumber(impl->methodWithSequenceArg(sequenceArg));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionNullableArrayArg(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector<String> arrayArg(toNativeArray<String>(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-    impl->nullableArrayArg(arrayArg);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFuncWithClamp(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    unsigned long long arg1 = 0;
-    double arg1NativeValue = exec->argument(0).toNumber(exec);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    if (!std::isnan(arg1NativeValue))
-        arg1 = clampTo<unsigned long long>(arg1NativeValue);
-
-
-    size_t argsCount = exec->argumentCount();
-    if (argsCount <= 1) {
-        impl->funcWithClamp(arg1);
-        return JSValue::encode(jsUndefined());
-    }
-
-    unsigned long long arg2 = 0;
-    double arg2NativeValue = exec->argument(1).toNumber(exec);
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    if (!std::isnan(arg2NativeValue))
-        arg2 = clampTo<unsigned long long>(arg2NativeValue);
-
-    impl->funcWithClamp(arg1, arg2);
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionImmutablePointFunction(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-
-    JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGPropertyTearOff<FloatPoint>::create(impl->immutablePointFunction())));
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionStringArrayFunction(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    Vector<String> values(toNativeArray<String>(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = jsArray(exec, castedThis->globalObject(), impl->stringArrayFunction(values, ec));
-    setDOMException(exec, ec);
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionStringArrayFunction2(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    if (exec->argumentCount() < 1)
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ExceptionCode ec = 0;
-    Vector<String> values(toNativeArray<String>(exec, exec->argument(0)));
-    if (exec->hadException())
-        return JSValue::encode(jsUndefined());
-
-    JSC::JSValue result = jsArray(exec, castedThis->globalObject(), impl->stringArrayFunction2(values, ec));
-    setDOMException(exec, ec);
-    return JSValue::encode(result);
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMethodWithException(ExecState* exec)
-{
-    JSValue thisValue = exec->hostThisValue();
-    if (!thisValue.inherits(&JSTestTypedefs::s_info))
-        return throwVMTypeError(exec);
-    JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(asObject(thisValue));
-    ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestTypedefs::s_info);
-    TestTypedefs* impl = static_cast<TestTypedefs*>(castedThis->impl());
-    ExceptionCode ec = 0;
-    impl->methodWithException(ec);
-    setDOMException(exec, ec);
-    return JSValue::encode(jsUndefined());
-}
-
-static inline bool isObservable(JSTestTypedefs* jsTestTypedefs)
-{
-    if (jsTestTypedefs->hasCustomProperties())
-        return true;
-    return false;
-}
-
-bool JSTestTypedefsOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
-{
-    JSTestTypedefs* jsTestTypedefs = jsCast<JSTestTypedefs*>(handle.get().asCell());
-    if (!isObservable(jsTestTypedefs))
-        return false;
-    UNUSED_PARAM(visitor);
-    return false;
-}
-
-void JSTestTypedefsOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
-{
-    JSTestTypedefs* jsTestTypedefs = jsCast<JSTestTypedefs*>(handle.get().asCell());
-    DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
-    uncacheWrapper(world, jsTestTypedefs->impl(), jsTestTypedefs);
-    jsTestTypedefs->releaseImpl();
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestTypedefs* impl)
-{
-    return wrap<JSTestTypedefs>(exec, globalObject, impl);
-}
-
-TestTypedefs* toTestTypedefs(JSC::JSValue value)
-{
-    return value.inherits(&JSTestTypedefs::s_info) ? jsCast<JSTestTypedefs*>(asObject(value))->impl() : 0;
-}
-
-}
diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h b/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h
deleted file mode 100644
index 41f0807..0000000
--- a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h
+++ /dev/null
@@ -1,172 +0,0 @@
-/*
-    This file is part of the WebKit open source project.
-    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef JSTestTypedefs_h
-#define JSTestTypedefs_h
-
-#include "JSDOMBinding.h"
-#include "TestTypedefs.h"
-#include <runtime/JSGlobalObject.h>
-#include <runtime/JSObject.h>
-#include <runtime/ObjectPrototype.h>
-
-namespace WebCore {
-
-class JSTestTypedefs : public JSDOMWrapper {
-public:
-    typedef JSDOMWrapper Base;
-    static JSTestTypedefs* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<TestTypedefs> impl)
-    {
-        JSTestTypedefs* ptr = new (NotNull, JSC::allocateCell<JSTestTypedefs>(globalObject->globalData().heap)) JSTestTypedefs(structure, globalObject, impl);
-        ptr->finishCreation(globalObject->globalData());
-        return ptr;
-    }
-
-    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
-    static void destroy(JSC::JSCell*);
-    ~JSTestTypedefs();
-    static const JSC::ClassInfo s_info;
-
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
-    TestTypedefs* impl() const { return m_impl; }
-    void releaseImpl() { m_impl->deref(); m_impl = 0; }
-
-    void releaseImplIfNotNull() { if (m_impl) { m_impl->deref(); m_impl = 0; } }
-
-private:
-    TestTypedefs* m_impl;
-protected:
-    JSTestTypedefs(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<TestTypedefs>);
-    void finishCreation(JSC::JSGlobalData&);
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags;
-};
-
-class JSTestTypedefsOwner : public JSC::WeakHandleOwner {
-public:
-    virtual bool isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void* context, JSC::SlotVisitor&);
-    virtual void finalize(JSC::Handle<JSC::Unknown>, void* context);
-};
-
-inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, TestTypedefs*)
-{
-    DEFINE_STATIC_LOCAL(JSTestTypedefsOwner, jsTestTypedefsOwner, ());
-    return &jsTestTypedefsOwner;
-}
-
-inline void* wrapperContext(DOMWrapperWorld* world, TestTypedefs*)
-{
-    return world;
-}
-
-JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestTypedefs*);
-TestTypedefs* toTestTypedefs(JSC::JSValue);
-
-class JSTestTypedefsPrototype : public JSC::JSNonFinalObject {
-public:
-    typedef JSC::JSNonFinalObject Base;
-    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
-    static JSTestTypedefsPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
-    {
-        JSTestTypedefsPrototype* ptr = new (NotNull, JSC::allocateCell<JSTestTypedefsPrototype>(globalData.heap)) JSTestTypedefsPrototype(globalData, globalObject, structure);
-        ptr->finishCreation(globalData);
-        return ptr;
-    }
-
-    static const JSC::ClassInfo s_info;
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-
-private:
-    JSTestTypedefsPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
-};
-
-class JSTestTypedefsConstructor : public DOMConstructorObject {
-private:
-    JSTestTypedefsConstructor(JSC::Structure*, JSDOMGlobalObject*);
-    void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
-
-public:
-    typedef DOMConstructorObject Base;
-    static JSTestTypedefsConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
-    {
-        JSTestTypedefsConstructor* ptr = new (NotNull, JSC::allocateCell<JSTestTypedefsConstructor>(*exec->heap())) JSTestTypedefsConstructor(structure, globalObject);
-        ptr->finishCreation(exec, globalObject);
-        return ptr;
-    }
-
-    static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
-    static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertyDescriptor&);
-    static const JSC::ClassInfo s_info;
-    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
-    {
-        return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
-    }
-protected:
-    static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
-    static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestTypedefs(JSC::ExecState*);
-    static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
-};
-
-// Functions
-
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFunc(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMultiTransferList(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionSetShadow(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMethodWithSequenceArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionNullableArrayArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFuncWithClamp(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionImmutablePointFunction(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionStringArrayFunction(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionStringArrayFunction2(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMethodWithException(JSC::ExecState*);
-// Attributes
-
-JSC::JSValue jsTestTypedefsUnsignedLongLongAttr(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestTypedefsUnsignedLongLongAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestTypedefsImmutableSerializedScriptValue(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestTypedefsImmutableSerializedScriptValue(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestTypedefsConstructorTestSubObj(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-JSC::JSValue jsTestTypedefsAttrWithGetterException(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestTypedefsAttrWithGetterException(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestTypedefsAttrWithSetterException(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestTypedefsAttrWithSetterException(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestTypedefsStringAttrWithGetterException(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestTypedefsStringAttrWithGetterException(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestTypedefsStringAttrWithSetterException(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-void setJSTestTypedefsStringAttrWithSetterException(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
-JSC::JSValue jsTestTypedefsConstructor(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
-
-} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMFloat64Array.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMFloat64Array.h
deleted file mode 100644
index 3cf738f..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMFloat64Array.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMArrayBufferView.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class DOMFloat32Array;
-@class DOMInt32Array;
-
-@interface DOMFloat64Array : DOMArrayBufferView
-- (DOMInt32Array *)foo:(DOMFloat32Array *)array;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMFloat64Array.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMFloat64Array.mm
deleted file mode 100644
index 17565d1..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMFloat64Array.mm
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMFloat64Array.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMFloat32ArrayInternal.h"
-#import "DOMFloat64ArrayInternal.h"
-#import "DOMInt32ArrayInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "ExceptionHandlers.h"
-#import "Float32Array.h"
-#import "Float64Array.h"
-#import "Int32Array.h"
-#import "JSMainThreadExecState.h"
-#import "ThreadCheck.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL static_cast<WebCore::Float64Array*>(reinterpret_cast<WebCore::Node*>(_internal))
-
-@implementation DOMFloat64Array
-
-- (DOMInt32Array *)foo:(DOMFloat32Array *)array
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->foo(core(array))));
-}
-
-@end
-
-WebCore::Float64Array* core(DOMFloat64Array *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::Float64Array*>(wrapper->_internal) : 0;
-}
-
-DOMFloat64Array *kit(WebCore::Float64Array* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    return static_cast<DOMFloat64Array*>(kit(static_cast<WebCore::Node*>(value)));
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h
deleted file mode 100644
index 5da2e36..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMFloat64Array.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class Float64Array;
-}
-
-WebCore::Float64Array* core(DOMFloat64Array *);
-DOMFloat64Array *kit(WebCore::Float64Array*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h
deleted file mode 100644
index 06e526b..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class DOMNode;
-@class NSString;
-
-@interface DOMTestActiveDOMObject : DOMObject
-@property(readonly) int excitingAttr;
-
-- (void)excitingFunction:(DOMNode *)nextChild;
-- (void)postMessage:(NSString *)message;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm
deleted file mode 100644
index 53d667b..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestActiveDOMObject.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestActiveDOMObjectInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "KURL.h"
-#import "Node.h"
-#import "TestActiveDOMObject.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestActiveDOMObject*>(_internal)
-
-@implementation DOMTestActiveDOMObject
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestActiveDOMObject class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (int)excitingAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->excitingAttr();
-}
-
-- (void)excitingFunction:(DOMNode *)nextChild
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->excitingFunction(core(nextChild));
-}
-
-- (void)postMessage:(NSString *)message
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->postMessage(message);
-}
-
-@end
-
-WebCore::TestActiveDOMObject* core(DOMTestActiveDOMObject *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestActiveDOMObject*>(wrapper->_internal) : 0;
-}
-
-DOMTestActiveDOMObject *kit(WebCore::TestActiveDOMObject* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestActiveDOMObject *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestActiveDOMObject *wrapper = [[DOMTestActiveDOMObject alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h
deleted file mode 100644
index 6d21e38..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestActiveDOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestActiveDOMObject;
-}
-
-WebCore::TestActiveDOMObject* core(DOMTestActiveDOMObject *);
-DOMTestActiveDOMObject *kit(WebCore::TestActiveDOMObject*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallback.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallback.h
deleted file mode 100644
index 7d53b30..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallback.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class DOMClass1;
-@class DOMClass2;
-@class DOMClass3;
-@class DOMClass5;
-@class DOMClass6;
-@class DOMClass8;
-@class DOMDOMStringList;
-@class DOMThisClass;
-@class NSString;
-
-@interface DOMTestCallback : DOMObject
-- (BOOL)callbackWithNoParam;
-- (BOOL)callbackWithClass1Param:(DOMClass1 *)class1Param;
-- (BOOL)callbackWithClass2Param:(DOMClass2 *)class2Param strArg:(NSString *)strArg;
-- (int)callbackWithNonBoolReturnType:(DOMClass3 *)class3Param;
-- (int)customCallback:(DOMClass5 *)class5Param class6Param:(DOMClass6 *)class6Param;
-- (BOOL)callbackWithStringList:(DOMDOMStringList *)listParam;
-- (BOOL)callbackWithBoolean:(BOOL)boolParam;
-- (BOOL)callbackRequiresThisToPass:(DOMClass8 *)class8Param thisClassParam:(DOMThisClass *)thisClassParam;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallback.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallback.mm
deleted file mode 100644
index f2f389c..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallback.mm
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-
-#if ENABLE(SQL_DATABASE)
-
-#import "DOMInternal.h"
-
-#import "DOMTestCallback.h"
-
-#import "Class1.h"
-#import "Class2.h"
-#import "Class3.h"
-#import "Class5.h"
-#import "Class6.h"
-#import "Class8.h"
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMClass1Internal.h"
-#import "DOMClass2Internal.h"
-#import "DOMClass3Internal.h"
-#import "DOMClass5Internal.h"
-#import "DOMClass6Internal.h"
-#import "DOMClass8Internal.h"
-#import "DOMDOMStringListInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStringList.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestCallbackInternal.h"
-#import "DOMThisClassInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "KURL.h"
-#import "TestCallback.h"
-#import "ThisClass.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestCallback*>(_internal)
-
-@implementation DOMTestCallback
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestCallback class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (BOOL)callbackWithNoParam
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->callbackWithNoParam();
-}
-
-- (BOOL)callbackWithClass1Param:(DOMClass1 *)class1Param
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->callbackWithClass1Param(core(class1Param));
-}
-
-- (BOOL)callbackWithClass2Param:(DOMClass2 *)class2Param strArg:(NSString *)strArg
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->callbackWithClass2Param(core(class2Param), strArg);
-}
-
-- (int)callbackWithNonBoolReturnType:(DOMClass3 *)class3Param
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->callbackWithNonBoolReturnType(core(class3Param));
-}
-
-- (int)customCallback:(DOMClass5 *)class5Param class6Param:(DOMClass6 *)class6Param
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->customCallback(core(class5Param), core(class6Param));
-}
-
-- (BOOL)callbackWithStringList:(DOMDOMStringList *)listParam
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->callbackWithStringList(core(listParam));
-}
-
-- (BOOL)callbackWithBoolean:(BOOL)boolParam
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->callbackWithBoolean(boolParam);
-}
-
-- (BOOL)callbackRequiresThisToPass:(DOMClass8 *)class8Param thisClassParam:(DOMThisClass *)thisClassParam
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->callbackRequiresThisToPass(core(class8Param), core(thisClassParam));
-}
-
-@end
-
-WebCore::TestCallback* core(DOMTestCallback *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestCallback*>(wrapper->_internal) : 0;
-}
-
-DOMTestCallback *kit(WebCore::TestCallback* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestCallback *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestCallback *wrapper = [[DOMTestCallback alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
-
-#endif // ENABLE(SQL_DATABASE)
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallbackInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallbackInternal.h
deleted file mode 100644
index d8ea940..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCallbackInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestCallback.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestCallback;
-}
-
-WebCore::TestCallback* core(DOMTestCallback *);
-DOMTestCallback *kit(WebCore::TestCallback*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h
deleted file mode 100644
index ce781fd..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class NSString;
-
-@interface DOMTestCustomNamedGetter : DOMObject
-- (void)anotherFunction:(NSString *)str;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm
deleted file mode 100644
index 872066e..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestCustomNamedGetter.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestCustomNamedGetterInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "KURL.h"
-#import "TestCustomNamedGetter.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestCustomNamedGetter*>(_internal)
-
-@implementation DOMTestCustomNamedGetter
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestCustomNamedGetter class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (void)anotherFunction:(NSString *)str
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->anotherFunction(str);
-}
-
-@end
-
-WebCore::TestCustomNamedGetter* core(DOMTestCustomNamedGetter *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestCustomNamedGetter*>(wrapper->_internal) : 0;
-}
-
-DOMTestCustomNamedGetter *kit(WebCore::TestCustomNamedGetter* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestCustomNamedGetter *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestCustomNamedGetter *wrapper = [[DOMTestCustomNamedGetter alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h
deleted file mode 100644
index e9b9996..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestCustomNamedGetter.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestCustomNamedGetter;
-}
-
-WebCore::TestCustomNamedGetter* core(DOMTestCustomNamedGetter *);
-DOMTestCustomNamedGetter *kit(WebCore::TestCustomNamedGetter*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventConstructor.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventConstructor.h
deleted file mode 100644
index df57dfe..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventConstructor.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class NSString;
-
-@interface DOMTestEventConstructor : DOMObject
-@property(readonly, copy) NSString *attr1;
-@property(readonly, copy) NSString *attr2;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventConstructor.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventConstructor.mm
deleted file mode 100644
index c7e61f1..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventConstructor.mm
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestEventConstructor.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestEventConstructorInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "KURL.h"
-#import "TestEventConstructor.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestEventConstructor*>(_internal)
-
-@implementation DOMTestEventConstructor
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestEventConstructor class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (NSString *)attr1
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->attr1();
-}
-
-- (NSString *)attr2
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->attr2();
-}
-
-@end
-
-WebCore::TestEventConstructor* core(DOMTestEventConstructor *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestEventConstructor*>(wrapper->_internal) : 0;
-}
-
-DOMTestEventConstructor *kit(WebCore::TestEventConstructor* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestEventConstructor *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestEventConstructor *wrapper = [[DOMTestEventConstructor alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h
deleted file mode 100644
index 2aac8ff..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestEventConstructor.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestEventConstructor;
-}
-
-WebCore::TestEventConstructor* core(DOMTestEventConstructor *);
-DOMTestEventConstructor *kit(WebCore::TestEventConstructor*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTarget.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTarget.h
deleted file mode 100644
index 5208095..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTarget.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class DOMEvent;
-@class DOMNode;
-@class NSString;
-@protocol DOMEventListener;
-
-@interface DOMTestEventTarget : DOMObject
-- (DOMNode *)item:(unsigned)index;
-- (void)addEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture;
-- (void)removeEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture;
-- (BOOL)dispatchEvent:(DOMEvent *)evt;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTarget.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTarget.mm
deleted file mode 100644
index 94b05a9..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTarget.mm
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestEventTarget.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestEventTargetInternal.h"
-#import "Event.h"
-#import "EventListener.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "KURL.h"
-#import "Node.h"
-#import "ObjCEventListener.h"
-#import "TestEventTarget.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestEventTarget*>(_internal)
-
-@implementation DOMTestEventTarget
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestEventTarget class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (DOMNode *)item:(unsigned)index
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->item(index)));
-}
-
-- (void)addEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture
-{
-    WebCore::JSMainThreadNullState state;
-    RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap(listener);
-    IMPL->addEventListener(type, WTF::getPtr(nativeEventListener), useCapture);
-}
-
-- (void)removeEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture
-{
-    WebCore::JSMainThreadNullState state;
-    RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap(listener);
-    IMPL->removeEventListener(type, WTF::getPtr(nativeEventListener), useCapture);
-}
-
-- (BOOL)dispatchEvent:(DOMEvent *)evt
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    BOOL result = IMPL->dispatchEvent(core(evt), ec);
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-@end
-
-WebCore::TestEventTarget* core(DOMTestEventTarget *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestEventTarget*>(wrapper->_internal) : 0;
-}
-
-DOMTestEventTarget *kit(WebCore::TestEventTarget* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestEventTarget *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestEventTarget *wrapper = [[DOMTestEventTarget alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h
deleted file mode 100644
index d4f658d..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestEventTarget.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestEventTarget;
-}
-
-WebCore::TestEventTarget* core(DOMTestEventTarget *);
-DOMTestEventTarget *kit(WebCore::TestEventTarget*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestException.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestException.h
deleted file mode 100644
index 9c68a82..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestException.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class NSString;
-
-@interface DOMTestException : DOMObject
-@property(readonly, copy) NSString *name;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestException.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestException.mm
deleted file mode 100644
index 5ba3460..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestException.mm
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestException.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestExceptionInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "KURL.h"
-#import "TestException.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestException*>(_internal)
-
-@implementation DOMTestException
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestException class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (NSString *)name
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->name();
-}
-
-@end
-
-WebCore::TestException* core(DOMTestException *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestException*>(wrapper->_internal) : 0;
-}
-
-DOMTestException *kit(WebCore::TestException* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestException *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestException *wrapper = [[DOMTestException alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestExceptionInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestExceptionInternal.h
deleted file mode 100644
index 54f38bc..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestExceptionInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestException.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestException;
-}
-
-WebCore::TestException* core(DOMTestException *);
-DOMTestException *kit(WebCore::TestException*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestInterface.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestInterface.h
deleted file mode 100644
index a740c23..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestInterface.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class DOMNode;
-@class DOMTestObj;
-@class NSString;
-
-enum {
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    DOM_SUPPLEMENTALCONSTANT1 = 1,
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-    DOM_SUPPLEMENTALCONSTANT2 = 2
-#endif
-
-};
-
-@interface DOMTestInterface : DOMObject
-@property(readonly, copy) NSString *supplementalStr1;
-@property(copy) NSString *supplementalStr2;
-@property(copy) NSString *supplementalStr3;
-@property(retain) DOMNode *supplementalNode;
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (void)supplementalMethod1;
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (DOMTestObj *)supplementalMethod2:(NSString *)strArg objArg:(DOMTestObj *)objArg;
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (void)supplementalMethod3;
-#endif
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (void)supplementalMethod4;
-#endif
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestInterface.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestInterface.mm
deleted file mode 100644
index 381e4c2..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestInterface.mm
+++ /dev/null
@@ -1,192 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#import "DOMInternal.h"
-
-#import "DOMTestInterface.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestInterfaceInternal.h"
-#import "DOMTestObjInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "KURL.h"
-#import "Node.h"
-#import "TestInterface.h"
-#import "TestObj.h"
-#import "TestSupplemental.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestInterface*>(_internal)
-
-@implementation DOMTestInterface
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestInterface class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (NSString *)supplementalStr1
-{
-    WebCore::JSMainThreadNullState state;
-    return TestSupplemental::supplementalStr1(IMPL);
-}
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (NSString *)supplementalStr2
-{
-    WebCore::JSMainThreadNullState state;
-    return TestSupplemental::supplementalStr2(IMPL);
-}
-
-- (void)setSupplementalStr2:(NSString *)newSupplementalStr2
-{
-    WebCore::JSMainThreadNullState state;
-    TestSupplemental::setSupplementalStr2(IMPL, newSupplementalStr2);
-}
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (NSString *)supplementalStr3
-{
-    WebCore::JSMainThreadNullState state;
-    return TestSupplemental::supplementalStr3(IMPL);
-}
-
-- (void)setSupplementalStr3:(NSString *)newSupplementalStr3
-{
-    WebCore::JSMainThreadNullState state;
-    TestSupplemental::setSupplementalStr3(IMPL, newSupplementalStr3);
-}
-#endif
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (DOMNode *)supplementalNode
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(TestSupplemental::supplementalNode(IMPL)));
-}
-
-- (void)setSupplementalNode:(DOMNode *)newSupplementalNode
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newSupplementalNode);
-
-    TestSupplemental::setSupplementalNode(IMPL, core(newSupplementalNode));
-}
-#endif
-
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (void)supplementalMethod1
-{
-    WebCore::JSMainThreadNullState state;
-    TestSupplemental::supplementalMethod1(IMPL);
-}
-
-#endif
-
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (DOMTestObj *)supplementalMethod2:(NSString *)strArg objArg:(DOMTestObj *)objArg
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    DOMTestObj *result = kit(WTF::getPtr(TestSupplemental::supplementalMethod2(IMPL, strArg, core(objArg), ec)));
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-#endif
-
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (void)supplementalMethod3
-{
-    WebCore::JSMainThreadNullState state;
-    TestSupplemental::supplementalMethod3(IMPL);
-}
-
-#endif
-
-
-#if ENABLE(Condition11) || ENABLE(Condition12)
-- (void)supplementalMethod4
-{
-    WebCore::JSMainThreadNullState state;
-    TestSupplemental::supplementalMethod4(IMPL);
-}
-
-#endif
-
-@end
-
-WebCore::TestInterface* core(DOMTestInterface *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestInterface*>(wrapper->_internal) : 0;
-}
-
-DOMTestInterface *kit(WebCore::TestInterface* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestInterface *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestInterface *wrapper = [[DOMTestInterface alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h
deleted file mode 100644
index fef60a3..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestInterface.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestInterface;
-}
-
-WebCore::TestInterface* core(DOMTestInterface *);
-DOMTestInterface *kit(WebCore::TestInterface*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h
deleted file mode 100644
index 20be806..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class DOMMediaQueryListListener;
-
-@interface DOMTestMediaQueryListListener : DOMObject
-- (void)method:(DOMMediaQueryListListener *)listener;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm
deleted file mode 100644
index 74e3d52..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestMediaQueryListListener.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMMediaQueryListListenerInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestMediaQueryListListenerInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "MediaQueryListListener.h"
-#import "TestMediaQueryListListener.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestMediaQueryListListener*>(_internal)
-
-@implementation DOMTestMediaQueryListListener
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestMediaQueryListListener class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (void)method:(DOMMediaQueryListListener *)listener
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->method(core(listener));
-}
-
-@end
-
-WebCore::TestMediaQueryListListener* core(DOMTestMediaQueryListListener *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestMediaQueryListListener*>(wrapper->_internal) : 0;
-}
-
-DOMTestMediaQueryListListener *kit(WebCore::TestMediaQueryListListener* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestMediaQueryListListener *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestMediaQueryListListener *wrapper = [[DOMTestMediaQueryListListener alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h
deleted file mode 100644
index b1421a3..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestMediaQueryListListener.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestMediaQueryListListener;
-}
-
-WebCore::TestMediaQueryListListener* core(DOMTestMediaQueryListListener *);
-DOMTestMediaQueryListListener *kit(WebCore::TestMediaQueryListListener*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNamedConstructor.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNamedConstructor.h
deleted file mode 100644
index ea23add..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNamedConstructor.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@interface DOMTestNamedConstructor : DOMObject
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm
deleted file mode 100644
index 962ce89..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestNamedConstructor.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestNamedConstructorInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "TestNamedConstructor.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestNamedConstructor*>(_internal)
-
-@implementation DOMTestNamedConstructor
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestNamedConstructor class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-@end
-
-WebCore::TestNamedConstructor* core(DOMTestNamedConstructor *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestNamedConstructor*>(wrapper->_internal) : 0;
-}
-
-DOMTestNamedConstructor *kit(WebCore::TestNamedConstructor* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestNamedConstructor *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestNamedConstructor *wrapper = [[DOMTestNamedConstructor alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h
deleted file mode 100644
index 5b4904b..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestNamedConstructor.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestNamedConstructor;
-}
-
-WebCore::TestNamedConstructor* core(DOMTestNamedConstructor *);
-DOMTestNamedConstructor *kit(WebCore::TestNamedConstructor*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNode.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNode.h
deleted file mode 100644
index d298c78..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNode.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMNode.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@interface DOMTestNode : DOMNode
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNode.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNode.mm
deleted file mode 100644
index 1a657d8..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNode.mm
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestNode.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestNodeInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "TestNode.h"
-#import "ThreadCheck.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL static_cast<WebCore::TestNode*>(reinterpret_cast<WebCore::Node*>(_internal))
-
-@implementation DOMTestNode
-
-@end
-
-WebCore::TestNode* core(DOMTestNode *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestNode*>(wrapper->_internal) : 0;
-}
-
-DOMTestNode *kit(WebCore::TestNode* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    return static_cast<DOMTestNode*>(kit(static_cast<WebCore::Node*>(value)));
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNodeInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNodeInternal.h
deleted file mode 100644
index fef2757..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestNodeInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestNode.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestNode;
-}
-
-WebCore::TestNode* core(DOMTestNode *);
-DOMTestNode *kit(WebCore::TestNode*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h
deleted file mode 100644
index 7150061..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h
+++ /dev/null
@@ -1,188 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class DOMDictionary;
-@class DOMDocument;
-@class DOMNode;
-@class DOMSVGDocument;
-@class DOMSVGPoint;
-@class DOMTestEnumType;
-@class DOMTestObj;
-@class DOMTestObjectAConstructor;
-@class DOMTestObjectBConstructor;
-@class DOMTestObjectCConstructor;
-@class DOMa;
-@class DOMany;
-@class DOMb;
-@class DOMbool;
-@class DOMd;
-@class DOMe;
-@class NSString;
-@protocol DOMEventListener;
-
-enum {
-#if ENABLE(Condition1)
-    DOM_CONDITIONAL_CONST = 0,
-#endif
-    DOM_CONST_VALUE_0 = 0,
-    DOM_CONST_VALUE_1 = 1,
-    DOM_CONST_VALUE_2 = 2,
-    DOM_CONST_VALUE_4 = 4,
-    DOM_CONST_VALUE_8 = 8,
-    DOM_CONST_VALUE_9 = -1,
-    DOM_CONST_VALUE_10 = "my constant string",
-    DOM_CONST_VALUE_11 = 0xffffffff,
-    DOM_CONST_VALUE_12 = 0x01,
-    DOM_CONST_VALUE_13 = 0X20,
-    DOM_CONST_VALUE_14 = 0x1abc,
-    DOM_CONST_JAVASCRIPT = 15
-};
-
-@interface DOMTestObj : DOMObject
-@property(readonly) int readOnlyLongAttr;
-@property(readonly, copy) NSString *readOnlyStringAttr;
-@property(readonly, retain) DOMTestObj *readOnlyTestObjAttr;
-@property short shortAttr;
-@property unsigned short unsignedShortAttr;
-@property int longAttr;
-@property long long longLongAttr;
-@property unsigned long long unsignedLongLongAttr;
-@property(copy) NSString *stringAttr;
-@property(retain) DOMTestObj *testObjAttr;
-@property(retain) DOMTestObj *XMLObjAttr;
-@property BOOL create;
-@property(copy) NSString *reflectedStringAttr;
-@property int reflectedIntegralAttr;
-@property unsigned reflectedUnsignedIntegralAttr;
-@property BOOL reflectedBooleanAttr;
-@property(copy) NSString *reflectedURLAttr;
-@property(copy) NSString *reflectedStringAttr;
-@property int reflectedCustomIntegralAttr;
-@property BOOL reflectedCustomBooleanAttr;
-@property(copy) NSString *reflectedCustomURLAttr;
-@property int attrWithGetterException;
-@property int attrWithSetterException;
-@property(copy) NSString *stringAttrWithGetterException;
-@property(copy) NSString *stringAttrWithSetterException;
-@property int customAttr;
-@property int withScriptStateAttribute;
-@property(retain) DOMTestObj *withScriptExecutionContextAttribute;
-@property(retain) DOMTestObj *withScriptStateAttributeRaises;
-@property(retain) DOMTestObj *withScriptExecutionContextAttributeRaises;
-@property(retain) DOMTestObj *withScriptExecutionContextAndScriptStateAttribute;
-@property(retain) DOMTestObj *withScriptExecutionContextAndScriptStateAttributeRaises;
-@property(retain) DOMTestObj *withScriptExecutionContextAndScriptStateWithSpacesAttribute;
-@property(retain) DOMTestObj *withScriptArgumentsAndCallStackAttribute;
-@property int conditionalAttr1;
-@property int conditionalAttr2;
-@property int conditionalAttr3;
-@property(retain) DOMTestObjectAConstructor *conditionalAttr4;
-@property(retain) DOMTestObjectBConstructor *conditionalAttr5;
-@property(retain) DOMTestObjectCConstructor *conditionalAttr6;
-@property(retain) DOMany *anyAttribute;
-@property(readonly, retain) DOMDocument *contentDocument;
-@property(retain) DOMSVGPoint *mutablePoint;
-@property(retain) DOMSVGPoint *immutablePoint;
-@property int strawberry;
-@property float strictFloat;
-@property(readonly) int descriptionName;
-@property int idName;
-@property(readonly, copy) NSString *hashName;
-@property(readonly) int replaceableAttribute;
-@property(readonly) double nullableDoubleAttribute;
-@property(readonly) int nullableLongAttribute;
-@property(readonly) BOOL nullableBooleanAttribute;
-@property(readonly, copy) NSString *nullableStringAttribute;
-@property int nullableLongSettableAttribute;
-@property int nullableStringValue;
-
-- (void)voidMethod;
-- (void)voidMethodWithArgs:(int)longArg strArg:(NSString *)strArg objArg:(DOMTestObj *)objArg;
-- (int)longMethod;
-- (int)longMethodWithArgs:(int)longArg strArg:(NSString *)strArg objArg:(DOMTestObj *)objArg;
-- (DOMTestObj *)objMethod;
-- (DOMTestObj *)objMethodWithArgs:(int)longArg strArg:(NSString *)strArg objArg:(DOMTestObj *)objArg;
-- (void)methodWithEnumArg:(DOMTestEnumType *)enumArg;
-- (DOMTestObj *)methodThatRequiresAllArgsAndThrows:(NSString *)strArg objArg:(DOMTestObj *)objArg;
-- (void)serializedValue:(NSString *)serializedArg;
-- (void)optionsObject:(DOMDictionary *)oo ooo:(DOMDictionary *)ooo;
-- (void)methodWithException;
-- (void)customMethod;
-- (void)customMethodWithArgs:(int)longArg strArg:(NSString *)strArg objArg:(DOMTestObj *)objArg;
-- (void)addEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture;
-- (void)removeEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture;
-- (void)withScriptStateVoid;
-- (DOMTestObj *)withScriptStateObj;
-- (void)withScriptStateVoidException;
-- (DOMTestObj *)withScriptStateObjException;
-- (void)withScriptExecutionContext;
-- (void)withScriptExecutionContextAndScriptState;
-- (DOMTestObj *)withScriptExecutionContextAndScriptStateObjException;
-- (DOMTestObj *)withScriptExecutionContextAndScriptStateWithSpaces;
-- (void)withScriptArgumentsAndCallStack;
-- (void)methodWithOptionalArg:(int)opt;
-- (void)methodWithNonOptionalArgAndOptionalArg:(int)nonOpt opt:(int)opt;
-- (void)methodWithNonOptionalArgAndTwoOptionalArgs:(int)nonOpt opt1:(int)opt1 opt2:(int)opt2;
-- (void)methodWithOptionalString:(NSString *)str;
-- (void)methodWithOptionalStringIsUndefined:(NSString *)str;
-- (void)methodWithOptionalStringIsNullString:(NSString *)str;
-#if ENABLE(Condition1)
-- (NSString *)conditionalMethod1;
-#endif
-#if ENABLE(Condition1) && ENABLE(Condition2)
-- (void)conditionalMethod2;
-#endif
-#if ENABLE(Condition1) || ENABLE(Condition2)
-- (void)conditionalMethod3;
-#endif
-- (void)classMethod;
-- (int)classMethodWithOptional:(int)arg;
-- (void)classMethod2:(int)arg;
-#if ENABLE(Condition1)
-- (void)overloadedMethod1:(int)arg;
-#endif
-#if ENABLE(Condition1)
-- (void)overloadedMethod1:(NSString *)type;
-#endif
-- (DOMSVGDocument *)getSVGDocument;
-- (void)convert1:(DOMa *)value;
-- (void)convert2:(DOMb *)value;
-- (void)convert4:(DOMd *)value;
-- (void)convert5:(DOMe *)value;
-- (DOMSVGPoint *)mutablePointFunction;
-- (DOMSVGPoint *)immutablePointFunction;
-- (void)orange;
-- (DOMbool *)strictFunction:(NSString *)str a:(float)a b:(int)b;
-- (void)variadicStringMethod:(NSString *)head tail:(NSString *)tail;
-- (void)variadicDoubleMethod:(double)head tail:(double)tail;
-- (void)variadicNodeMethod:(DOMNode *)head tail:(DOMNode *)tail;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
deleted file mode 100644
index 3da1490..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
+++ /dev/null
@@ -1,1132 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestObj.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMDictionaryInternal.h"
-#import "DOMDocumentInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMSVGDocumentInternal.h"
-#import "DOMSVGPointInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestEnumTypeInternal.h"
-#import "DOMTestObjInternal.h"
-#import "DOMTestObjectAConstructorInternal.h"
-#import "DOMTestObjectBConstructorInternal.h"
-#import "DOMTestObjectCConstructorInternal.h"
-#import "DOMaInternal.h"
-#import "DOManyInternal.h"
-#import "DOMbInternal.h"
-#import "DOMboolInternal.h"
-#import "DOMdInternal.h"
-#import "DOMeInternal.h"
-#import "Dictionary.h"
-#import "Document.h"
-#import "EventListener.h"
-#import "ExceptionHandlers.h"
-#import "HTMLNames.h"
-#import "JSMainThreadExecState.h"
-#import "KURL.h"
-#import "Node.h"
-#import "ObjCEventListener.h"
-#import "SVGDocument.h"
-#import "SVGStaticPropertyTearOff.h"
-#import "SerializedScriptValue.h"
-#import "TestEnumType.h"
-#import "TestObj.h"
-#import "TestObjectAConstructor.h"
-#import "TestObjectBConstructor.h"
-#import "TestObjectCConstructor.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import "a.h"
-#import "any.h"
-#import "b.h"
-#import "bool.h"
-#import "d.h"
-#import "e.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestObj*>(_internal)
-
-@implementation DOMTestObj
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestObj class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (int)readOnlyLongAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->readOnlyLongAttr();
-}
-
-- (NSString *)readOnlyStringAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->readOnlyStringAttr();
-}
-
-- (DOMTestObj *)readOnlyTestObjAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->readOnlyTestObjAttr()));
-}
-
-- (short)shortAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->shortAttr();
-}
-
-- (void)setShortAttr:(short)newShortAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setShortAttr(newShortAttr);
-}
-
-- (unsigned short)unsignedShortAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->unsignedShortAttr();
-}
-
-- (void)setUnsignedShortAttr:(unsigned short)newUnsignedShortAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setUnsignedShortAttr(newUnsignedShortAttr);
-}
-
-- (int)longAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->longAttr();
-}
-
-- (void)setLongAttr:(int)newLongAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setLongAttr(newLongAttr);
-}
-
-- (long long)longLongAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->longLongAttr();
-}
-
-- (void)setLongLongAttr:(long long)newLongLongAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setLongLongAttr(newLongLongAttr);
-}
-
-- (unsigned long long)unsignedLongLongAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->unsignedLongLongAttr();
-}
-
-- (void)setUnsignedLongLongAttr:(unsigned long long)newUnsignedLongLongAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setUnsignedLongLongAttr(newUnsignedLongLongAttr);
-}
-
-- (NSString *)stringAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->stringAttr();
-}
-
-- (void)setStringAttr:(NSString *)newStringAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setStringAttr(newStringAttr);
-}
-
-- (DOMTestObj *)testObjAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->testObjAttr()));
-}
-
-- (void)setTestObjAttr:(DOMTestObj *)newTestObjAttr
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newTestObjAttr);
-
-    IMPL->setTestObjAttr(core(newTestObjAttr));
-}
-
-- (DOMTestObj *)XMLObjAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->xmlObjAttr()));
-}
-
-- (void)setXMLObjAttr:(DOMTestObj *)newXMLObjAttr
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newXMLObjAttr);
-
-    IMPL->setXMLObjAttr(core(newXMLObjAttr));
-}
-
-- (BOOL)create
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->isCreate();
-}
-
-- (void)setCreate:(BOOL)newCreate
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setCreate(newCreate);
-}
-
-- (NSString *)reflectedStringAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr);
-}
-
-- (void)setReflectedStringAttr:(NSString *)newReflectedStringAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setAttribute(WebCore::HTMLNames::reflectedstringattrAttr, newReflectedStringAttr);
-}
-
-- (int)reflectedIntegralAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->getIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr);
-}
-
-- (void)setReflectedIntegralAttr:(int)newReflectedIntegralAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr, newReflectedIntegralAttr);
-}
-
-- (unsigned)reflectedUnsignedIntegralAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->getUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr);
-}
-
-- (void)setReflectedUnsignedIntegralAttr:(unsigned)newReflectedUnsignedIntegralAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr, newReflectedUnsignedIntegralAttr);
-}
-
-- (BOOL)reflectedBooleanAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->fastHasAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr);
-}
-
-- (void)setReflectedBooleanAttr:(BOOL)newReflectedBooleanAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setBooleanAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr, newReflectedBooleanAttr);
-}
-
-- (NSString *)reflectedURLAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr);
-}
-
-- (void)setReflectedURLAttr:(NSString *)newReflectedURLAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setAttribute(WebCore::HTMLNames::reflectedurlattrAttr, newReflectedURLAttr);
-}
-
-- (NSString *)reflectedStringAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr);
-}
-
-- (void)setReflectedStringAttr:(NSString *)newReflectedStringAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setAttribute(WebCore::HTMLNames::customContentStringAttrAttr, newReflectedStringAttr);
-}
-
-- (int)reflectedCustomIntegralAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->getIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr);
-}
-
-- (void)setReflectedCustomIntegralAttr:(int)newReflectedCustomIntegralAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr, newReflectedCustomIntegralAttr);
-}
-
-- (BOOL)reflectedCustomBooleanAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->fastHasAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr);
-}
-
-- (void)setReflectedCustomBooleanAttr:(BOOL)newReflectedCustomBooleanAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setBooleanAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr, newReflectedCustomBooleanAttr);
-}
-
-- (NSString *)reflectedCustomURLAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr);
-}
-
-- (void)setReflectedCustomURLAttr:(NSString *)newReflectedCustomURLAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, newReflectedCustomURLAttr);
-}
-
-- (int)attrWithGetterException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    int result = IMPL->attrWithGetterException(ec);
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)setAttrWithGetterException:(int)newAttrWithGetterException
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setAttrWithGetterException(newAttrWithGetterException);
-}
-
-- (int)attrWithSetterException
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->attrWithSetterException();
-}
-
-- (void)setAttrWithSetterException:(int)newAttrWithSetterException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    IMPL->setAttrWithSetterException(newAttrWithSetterException, ec);
-    WebCore::raiseOnDOMError(ec);
-}
-
-- (NSString *)stringAttrWithGetterException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    NSString *result = IMPL->stringAttrWithGetterException(ec);
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)setStringAttrWithGetterException:(NSString *)newStringAttrWithGetterException
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setStringAttrWithGetterException(newStringAttrWithGetterException);
-}
-
-- (NSString *)stringAttrWithSetterException
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->stringAttrWithSetterException();
-}
-
-- (void)setStringAttrWithSetterException:(NSString *)newStringAttrWithSetterException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    IMPL->setStringAttrWithSetterException(newStringAttrWithSetterException, ec);
-    WebCore::raiseOnDOMError(ec);
-}
-
-- (int)customAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->customAttr();
-}
-
-- (void)setCustomAttr:(int)newCustomAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setCustomAttr(newCustomAttr);
-}
-
-- (int)withScriptStateAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->withScriptStateAttribute();
-}
-
-- (void)setWithScriptStateAttribute:(int)newWithScriptStateAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setWithScriptStateAttribute(newWithScriptStateAttribute);
-}
-
-- (DOMTestObj *)withScriptExecutionContextAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->withScriptExecutionContextAttribute()));
-}
-
-- (void)setWithScriptExecutionContextAttribute:(DOMTestObj *)newWithScriptExecutionContextAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newWithScriptExecutionContextAttribute);
-
-    IMPL->setWithScriptExecutionContextAttribute(core(newWithScriptExecutionContextAttribute));
-}
-
-- (DOMTestObj *)withScriptStateAttributeRaises
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    DOMTestObj *result = kit(WTF::getPtr(IMPL->withScriptStateAttributeRaises(ec)));
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)setWithScriptStateAttributeRaises:(DOMTestObj *)newWithScriptStateAttributeRaises
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newWithScriptStateAttributeRaises);
-
-    IMPL->setWithScriptStateAttributeRaises(core(newWithScriptStateAttributeRaises));
-}
-
-- (DOMTestObj *)withScriptExecutionContextAttributeRaises
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    DOMTestObj *result = kit(WTF::getPtr(IMPL->withScriptExecutionContextAttributeRaises(ec)));
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)setWithScriptExecutionContextAttributeRaises:(DOMTestObj *)newWithScriptExecutionContextAttributeRaises
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newWithScriptExecutionContextAttributeRaises);
-
-    IMPL->setWithScriptExecutionContextAttributeRaises(core(newWithScriptExecutionContextAttributeRaises));
-}
-
-- (DOMTestObj *)withScriptExecutionContextAndScriptStateAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->withScriptExecutionContextAndScriptStateAttribute()));
-}
-
-- (void)setWithScriptExecutionContextAndScriptStateAttribute:(DOMTestObj *)newWithScriptExecutionContextAndScriptStateAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newWithScriptExecutionContextAndScriptStateAttribute);
-
-    IMPL->setWithScriptExecutionContextAndScriptStateAttribute(core(newWithScriptExecutionContextAndScriptStateAttribute));
-}
-
-- (DOMTestObj *)withScriptExecutionContextAndScriptStateAttributeRaises
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    DOMTestObj *result = kit(WTF::getPtr(IMPL->withScriptExecutionContextAndScriptStateAttributeRaises(ec)));
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)setWithScriptExecutionContextAndScriptStateAttributeRaises:(DOMTestObj *)newWithScriptExecutionContextAndScriptStateAttributeRaises
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newWithScriptExecutionContextAndScriptStateAttributeRaises);
-
-    IMPL->setWithScriptExecutionContextAndScriptStateAttributeRaises(core(newWithScriptExecutionContextAndScriptStateAttributeRaises));
-}
-
-- (DOMTestObj *)withScriptExecutionContextAndScriptStateWithSpacesAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->withScriptExecutionContextAndScriptStateWithSpacesAttribute()));
-}
-
-- (void)setWithScriptExecutionContextAndScriptStateWithSpacesAttribute:(DOMTestObj *)newWithScriptExecutionContextAndScriptStateWithSpacesAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newWithScriptExecutionContextAndScriptStateWithSpacesAttribute);
-
-    IMPL->setWithScriptExecutionContextAndScriptStateWithSpacesAttribute(core(newWithScriptExecutionContextAndScriptStateWithSpacesAttribute));
-}
-
-- (DOMTestObj *)withScriptArgumentsAndCallStackAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->withScriptArgumentsAndCallStackAttribute()));
-}
-
-- (void)setWithScriptArgumentsAndCallStackAttribute:(DOMTestObj *)newWithScriptArgumentsAndCallStackAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newWithScriptArgumentsAndCallStackAttribute);
-
-    IMPL->setWithScriptArgumentsAndCallStackAttribute(core(newWithScriptArgumentsAndCallStackAttribute));
-}
-
-#if ENABLE(Condition1)
-- (int)conditionalAttr1
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->conditionalAttr1();
-}
-
-- (void)setConditionalAttr1:(int)newConditionalAttr1
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setConditionalAttr1(newConditionalAttr1);
-}
-#endif
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-- (int)conditionalAttr2
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->conditionalAttr2();
-}
-
-- (void)setConditionalAttr2:(int)newConditionalAttr2
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setConditionalAttr2(newConditionalAttr2);
-}
-#endif
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-- (int)conditionalAttr3
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->conditionalAttr3();
-}
-
-- (void)setConditionalAttr3:(int)newConditionalAttr3
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setConditionalAttr3(newConditionalAttr3);
-}
-#endif
-
-#if ENABLE(Condition1)
-- (DOMTestObjectAConstructor *)conditionalAttr4
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->conditionalAttr4()));
-}
-
-- (void)setConditionalAttr4:(DOMTestObjectAConstructor *)newConditionalAttr4
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newConditionalAttr4);
-
-    IMPL->setConditionalAttr4(core(newConditionalAttr4));
-}
-#endif
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-- (DOMTestObjectBConstructor *)conditionalAttr5
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->conditionalAttr5()));
-}
-
-- (void)setConditionalAttr5:(DOMTestObjectBConstructor *)newConditionalAttr5
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newConditionalAttr5);
-
-    IMPL->setConditionalAttr5(core(newConditionalAttr5));
-}
-#endif
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-- (DOMTestObjectCConstructor *)conditionalAttr6
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->conditionalAttr6()));
-}
-
-- (void)setConditionalAttr6:(DOMTestObjectCConstructor *)newConditionalAttr6
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newConditionalAttr6);
-
-    IMPL->setConditionalAttr6(core(newConditionalAttr6));
-}
-#endif
-
-- (DOMany *)anyAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->anyAttribute()));
-}
-
-- (void)setAnyAttribute:(DOMany *)newAnyAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newAnyAttribute);
-
-    IMPL->setAnyAttribute(core(newAnyAttribute));
-}
-
-- (DOMDocument *)contentDocument
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->contentDocument()));
-}
-
-- (DOMSVGPoint *)mutablePoint
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(WebCore::SVGStaticPropertyTearOff<WebCore::TestObj, WebCore::FloatPoint>::create(IMPL, IMPL->mutablePoint(), &WebCore::TestObj::updateMutablePoint)));
-}
-
-- (void)setMutablePoint:(DOMSVGPoint *)newMutablePoint
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newMutablePoint);
-
-    IMPL->setMutablePoint(core(newMutablePoint));
-}
-
-- (DOMSVGPoint *)immutablePoint
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(WebCore::SVGPropertyTearOff<WebCore::FloatPoint>::create(IMPL->immutablePoint())));
-}
-
-- (void)setImmutablePoint:(DOMSVGPoint *)newImmutablePoint
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newImmutablePoint);
-
-    IMPL->setImmutablePoint(core(newImmutablePoint));
-}
-
-- (int)strawberry
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->blueberry();
-}
-
-- (void)setStrawberry:(int)newStrawberry
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setBlueberry(newStrawberry);
-}
-
-- (float)strictFloat
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->strictFloat();
-}
-
-- (void)setStrictFloat:(float)newStrictFloat
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setStrictFloat(newStrictFloat);
-}
-
-- (int)descriptionName
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->description();
-}
-
-- (int)idName
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->id();
-}
-
-- (void)setIdName:(int)newIdName
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setId(newIdName);
-}
-
-- (NSString *)hashName
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->hash();
-}
-
-- (int)replaceableAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->replaceableAttribute();
-}
-
-- (double)nullableDoubleAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->nullableDoubleAttribute(isNull);
-}
-
-- (int)nullableLongAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->nullableLongAttribute(isNull);
-}
-
-- (BOOL)nullableBooleanAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->nullableBooleanAttribute(isNull);
-}
-
-- (NSString *)nullableStringAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->nullableStringAttribute(isNull);
-}
-
-- (int)nullableLongSettableAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->nullableLongSettableAttribute(isNull);
-}
-
-- (void)setNullableLongSettableAttribute:(int)newNullableLongSettableAttribute
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setNullableLongSettableAttribute(newNullableLongSettableAttribute);
-}
-
-- (int)nullableStringValue
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    int result = IMPL->nullableStringValue(isNull, ec);
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)setNullableStringValue:(int)newNullableStringValue
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setNullableStringValue(newNullableStringValue);
-}
-
-- (void)voidMethod
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->voidMethod();
-}
-
-- (void)voidMethodWithArgs:(int)longArg strArg:(NSString *)strArg objArg:(DOMTestObj *)objArg
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->voidMethodWithArgs(longArg, strArg, core(objArg));
-}
-
-- (int)longMethod
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->longMethod();
-}
-
-- (int)longMethodWithArgs:(int)longArg strArg:(NSString *)strArg objArg:(DOMTestObj *)objArg
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->longMethodWithArgs(longArg, strArg, core(objArg));
-}
-
-- (DOMTestObj *)objMethod
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->objMethod()));
-}
-
-- (DOMTestObj *)objMethodWithArgs:(int)longArg strArg:(NSString *)strArg objArg:(DOMTestObj *)objArg
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->objMethodWithArgs(longArg, strArg, core(objArg))));
-}
-
-- (void)methodWithEnumArg:(DOMTestEnumType *)enumArg
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->methodWithEnumArg(core(enumArg));
-}
-
-- (DOMTestObj *)methodThatRequiresAllArgsAndThrows:(NSString *)strArg objArg:(DOMTestObj *)objArg
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    DOMTestObj *result = kit(WTF::getPtr(IMPL->methodThatRequiresAllArgsAndThrows(strArg, core(objArg), ec)));
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)serializedValue:(NSString *)serializedArg
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->serializedValue(WebCore::SerializedScriptValue::create(WTF::String(serializedArg)));
-}
-
-- (void)optionsObject:(DOMDictionary *)oo ooo:(DOMDictionary *)ooo
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->optionsObject(core(oo), core(ooo));
-}
-
-- (void)methodWithException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    IMPL->methodWithException(ec);
-    WebCore::raiseOnDOMError(ec);
-}
-
-- (void)customMethod
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->customMethod();
-}
-
-- (void)customMethodWithArgs:(int)longArg strArg:(NSString *)strArg objArg:(DOMTestObj *)objArg
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->customMethodWithArgs(longArg, strArg, core(objArg));
-}
-
-- (void)addEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture
-{
-    WebCore::JSMainThreadNullState state;
-    RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap(listener);
-    IMPL->addEventListener(type, WTF::getPtr(nativeEventListener), useCapture);
-}
-
-- (void)removeEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture
-{
-    WebCore::JSMainThreadNullState state;
-    RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap(listener);
-    IMPL->removeEventListener(type, WTF::getPtr(nativeEventListener), useCapture);
-}
-
-- (void)withScriptStateVoid
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->withScriptStateVoid();
-}
-
-- (DOMTestObj *)withScriptStateObj
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->withScriptStateObj()));
-}
-
-- (void)withScriptStateVoidException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    IMPL->withScriptStateVoidException(ec);
-    WebCore::raiseOnDOMError(ec);
-}
-
-- (DOMTestObj *)withScriptStateObjException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    DOMTestObj *result = kit(WTF::getPtr(IMPL->withScriptStateObjException(ec)));
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)withScriptExecutionContext
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->withScriptExecutionContext();
-}
-
-- (void)withScriptExecutionContextAndScriptState
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->withScriptExecutionContextAndScriptState();
-}
-
-- (DOMTestObj *)withScriptExecutionContextAndScriptStateObjException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    DOMTestObj *result = kit(WTF::getPtr(IMPL->withScriptExecutionContextAndScriptStateObjException(ec)));
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (DOMTestObj *)withScriptExecutionContextAndScriptStateWithSpaces
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->withScriptExecutionContextAndScriptStateWithSpaces()));
-}
-
-- (void)withScriptArgumentsAndCallStack
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->withScriptArgumentsAndCallStack();
-}
-
-- (void)methodWithOptionalArg:(int)opt
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->methodWithOptionalArg(opt);
-}
-
-- (void)methodWithNonOptionalArgAndOptionalArg:(int)nonOpt opt:(int)opt
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->methodWithNonOptionalArgAndOptionalArg(nonOpt, opt);
-}
-
-- (void)methodWithNonOptionalArgAndTwoOptionalArgs:(int)nonOpt opt1:(int)opt1 opt2:(int)opt2
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt, opt1, opt2);
-}
-
-- (void)methodWithOptionalString:(NSString *)str
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->methodWithOptionalString(str);
-}
-
-- (void)methodWithOptionalStringIsUndefined:(NSString *)str
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->methodWithOptionalStringIsUndefined(str);
-}
-
-- (void)methodWithOptionalStringIsNullString:(NSString *)str
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->methodWithOptionalStringIsNullString(str);
-}
-
-
-#if ENABLE(Condition1)
-- (NSString *)conditionalMethod1
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->conditionalMethod1();
-}
-
-#endif
-
-
-#if ENABLE(Condition1) && ENABLE(Condition2)
-- (void)conditionalMethod2
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->conditionalMethod2();
-}
-
-#endif
-
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-- (void)conditionalMethod3
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->conditionalMethod3();
-}
-
-#endif
-
-- (void)classMethod
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->classMethod();
-}
-
-- (int)classMethodWithOptional:(int)arg
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->classMethodWithOptional(arg);
-}
-
-- (void)classMethod2:(int)arg
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->classMethod2(arg);
-}
-
-
-#if ENABLE(Condition1)
-- (void)overloadedMethod1:(int)arg
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->overloadedMethod1(arg);
-}
-
-#endif
-
-
-#if ENABLE(Condition1)
-- (void)overloadedMethod1:(NSString *)type
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->overloadedMethod1(type);
-}
-
-#endif
-
-- (DOMSVGDocument *)getSVGDocument
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    DOMSVGDocument *result = kit(WTF::getPtr(IMPL->getSVGDocument(ec)));
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)convert1:(DOMa *)value
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->convert1(core(value));
-}
-
-- (void)convert2:(DOMb *)value
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->convert2(core(value));
-}
-
-- (void)convert4:(DOMd *)value
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->convert4(core(value));
-}
-
-- (void)convert5:(DOMe *)value
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->convert5(core(value));
-}
-
-- (DOMSVGPoint *)mutablePointFunction
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(WebCore::SVGPropertyTearOff<WebCore::FloatPoint>::create(IMPL->mutablePointFunction())));
-}
-
-- (DOMSVGPoint *)immutablePointFunction
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(WebCore::SVGPropertyTearOff<WebCore::FloatPoint>::create(IMPL->immutablePointFunction())));
-}
-
-- (void)orange
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->orange();
-}
-
-- (DOMbool *)strictFunction:(NSString *)str a:(float)a b:(int)b
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    DOMbool *result = kit(WTF::getPtr(IMPL->strictFunction(str, a, b, ec)));
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)variadicStringMethod:(NSString *)head tail:(NSString *)tail
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->variadicStringMethod(head, tail);
-}
-
-- (void)variadicDoubleMethod:(double)head tail:(double)tail
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->variadicDoubleMethod(head, tail);
-}
-
-- (void)variadicNodeMethod:(DOMNode *)head tail:(DOMNode *)tail
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->variadicNodeMethod(core(head), core(tail));
-}
-
-@end
-
-WebCore::TestObj* core(DOMTestObj *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestObj*>(wrapper->_internal) : 0;
-}
-
-DOMTestObj *kit(WebCore::TestObj* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestObj *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestObj *wrapper = [[DOMTestObj alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObjInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObjInternal.h
deleted file mode 100644
index c24ea84..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObjInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestObj.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestObj;
-}
-
-WebCore::TestObj* core(DOMTestObj *);
-DOMTestObj *kit(WebCore::TestObj*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h
deleted file mode 100644
index 315b7bc..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@interface DOMTestOverloadedConstructors : DOMObject
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm
deleted file mode 100644
index d029bb2..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestOverloadedConstructors.h"
-
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestOverloadedConstructorsInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "TestOverloadedConstructors.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestOverloadedConstructors*>(_internal)
-
-@implementation DOMTestOverloadedConstructors
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestOverloadedConstructors class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-@end
-
-WebCore::TestOverloadedConstructors* core(DOMTestOverloadedConstructors *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestOverloadedConstructors*>(wrapper->_internal) : 0;
-}
-
-DOMTestOverloadedConstructors *kit(WebCore::TestOverloadedConstructors* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestOverloadedConstructors *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestOverloadedConstructors *wrapper = [[DOMTestOverloadedConstructors alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h
deleted file mode 100644
index 8fecc81..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestOverloadedConstructors.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestOverloadedConstructors;
-}
-
-WebCore::TestOverloadedConstructors* core(DOMTestOverloadedConstructors *);
-DOMTestOverloadedConstructors *kit(WebCore::TestOverloadedConstructors*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h
deleted file mode 100644
index e853b0c..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class DOMArray;
-@class DOMMessagePortArray;
-@class NSString;
-
-@interface DOMTestSerializedScriptValueInterface : DOMObject
-@property(retain) NSString *value;
-@property(readonly, retain) NSString *readonlyValue;
-@property(retain) NSString *cachedValue;
-@property(readonly, retain) DOMMessagePortArray *ports;
-@property(readonly, retain) NSString *cachedReadonlyValue;
-
-- (void)acceptTransferList:(NSString *)data transferList:(DOMArray *)transferList;
-- (void)multiTransferList:(NSString *)first tx:(DOMArray *)tx second:(NSString *)second txx:(DOMArray *)txx;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm
deleted file mode 100644
index 3b9fb73..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm
+++ /dev/null
@@ -1,155 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-
-#if ENABLE(Condition1) || ENABLE(Condition2)
-
-#import "DOMInternal.h"
-
-#import "DOMTestSerializedScriptValueInterface.h"
-
-#import "Array.h"
-#import "DOMArrayInternal.h"
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMMessagePortArrayInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestSerializedScriptValueInterfaceInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "MessagePortArray.h"
-#import "SerializedScriptValue.h"
-#import "TestSerializedScriptValueInterface.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestSerializedScriptValueInterface*>(_internal)
-
-@implementation DOMTestSerializedScriptValueInterface
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestSerializedScriptValueInterface class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (NSString *)value
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->value()->toString();
-}
-
-- (void)setValue:(NSString *)newValue
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newValue);
-
-    IMPL->setValue(WebCore::SerializedScriptValue::create(WTF::String(newValue)));
-}
-
-- (NSString *)readonlyValue
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->readonlyValue()->toString();
-}
-
-- (NSString *)cachedValue
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->cachedValue()->toString();
-}
-
-- (void)setCachedValue:(NSString *)newCachedValue
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newCachedValue);
-
-    IMPL->setCachedValue(WebCore::SerializedScriptValue::create(WTF::String(newCachedValue)));
-}
-
-- (DOMMessagePortArray *)ports
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL->ports()));
-}
-
-- (NSString *)cachedReadonlyValue
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->cachedReadonlyValue()->toString();
-}
-
-- (void)acceptTransferList:(NSString *)data transferList:(DOMArray *)transferList
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->acceptTransferList(WebCore::SerializedScriptValue::create(WTF::String(data)), core(transferList));
-}
-
-- (void)multiTransferList:(NSString *)first tx:(DOMArray *)tx second:(NSString *)second txx:(DOMArray *)txx
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->multiTransferList(WebCore::SerializedScriptValue::create(WTF::String(first)), core(tx), WebCore::SerializedScriptValue::create(WTF::String(second)), core(txx));
-}
-
-@end
-
-WebCore::TestSerializedScriptValueInterface* core(DOMTestSerializedScriptValueInterface *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestSerializedScriptValueInterface*>(wrapper->_internal) : 0;
-}
-
-DOMTestSerializedScriptValueInterface *kit(WebCore::TestSerializedScriptValueInterface* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestSerializedScriptValueInterface *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestSerializedScriptValueInterface *wrapper = [[DOMTestSerializedScriptValueInterface alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
-
-#endif // ENABLE(Condition1) || ENABLE(Condition2)
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h
deleted file mode 100644
index 39c40c5..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestSerializedScriptValueInterface.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestSerializedScriptValueInterface;
-}
-
-WebCore::TestSerializedScriptValueInterface* core(DOMTestSerializedScriptValueInterface *);
-DOMTestSerializedScriptValueInterface *kit(WebCore::TestSerializedScriptValueInterface*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSupplemental.cpp b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSupplemental.cpp
deleted file mode 100644
index c50f1f5..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSupplemental.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that DOMTestSupplemental.h and
-    DOMTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate DOMTestSupplemental.h and
-    DOMTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSupplemental.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSupplemental.h
deleted file mode 100644
index c50f1f5..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestSupplemental.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that DOMTestSupplemental.h and
-    DOMTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate DOMTestSupplemental.h and
-    DOMTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestTypedefs.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestTypedefs.h
deleted file mode 100644
index 4ffd7f3..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestTypedefs.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMObject.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-@class DOMArray;
-@class DOMSVGPoint;
-@class NSString;
-
-@interface DOMTestTypedefs : DOMObject
-@property unsigned long long unsignedLongLongAttr;
-@property(retain) NSString *immutableSerializedScriptValue;
-@property int attrWithGetterException;
-@property int attrWithSetterException;
-@property(copy) NSString *stringAttrWithGetterException;
-@property(copy) NSString *stringAttrWithSetterException;
-
-- (void)multiTransferList:(NSString *)first tx:(DOMArray *)tx second:(NSString *)second txx:(DOMArray *)txx;
-- (void)setShadow:(float)width height:(float)height blur:(float)blur color:(NSString *)color alpha:(float)alpha;
-- (DOMSVGPoint *)immutablePointFunction;
-- (void)methodWithException;
-@end
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestTypedefs.mm b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestTypedefs.mm
deleted file mode 100644
index eb02a02..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestTypedefs.mm
+++ /dev/null
@@ -1,202 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import "config.h"
-#import "DOMInternal.h"
-
-#import "DOMTestTypedefs.h"
-
-#import "Array.h"
-#import "DOMArrayInternal.h"
-#import "DOMBlobInternal.h"
-#import "DOMCSSRuleInternal.h"
-#import "DOMCSSValueInternal.h"
-#import "DOMEventInternal.h"
-#import "DOMNodeInternal.h"
-#import "DOMSVGPointInternal.h"
-#import "DOMStyleSheetInternal.h"
-#import "DOMTestTypedefsInternal.h"
-#import "ExceptionHandlers.h"
-#import "JSMainThreadExecState.h"
-#import "KURL.h"
-#import "SerializedScriptValue.h"
-#import "TestTypedefs.h"
-#import "ThreadCheck.h"
-#import "WebCoreObjCExtras.h"
-#import "WebScriptObjectPrivate.h"
-#import <wtf/GetPtr.h>
-
-#define IMPL reinterpret_cast<WebCore::TestTypedefs*>(_internal)
-
-@implementation DOMTestTypedefs
-
-- (void)dealloc
-{
-    if (WebCoreObjCScheduleDeallocateOnMainThread([DOMTestTypedefs class], self))
-        return;
-
-    if (_internal)
-        IMPL->deref();
-    [super dealloc];
-}
-
-- (void)finalize
-{
-    if (_internal)
-        IMPL->deref();
-    [super finalize];
-}
-
-- (unsigned long long)unsignedLongLongAttr
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->unsignedLongLongAttr();
-}
-
-- (void)setUnsignedLongLongAttr:(unsigned long long)newUnsignedLongLongAttr
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setUnsignedLongLongAttr(newUnsignedLongLongAttr);
-}
-
-- (NSString *)immutableSerializedScriptValue
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->immutableSerializedScriptValue()->toString();
-}
-
-- (void)setImmutableSerializedScriptValue:(NSString *)newImmutableSerializedScriptValue
-{
-    WebCore::JSMainThreadNullState state;
-    ASSERT(newImmutableSerializedScriptValue);
-
-    IMPL->setImmutableSerializedScriptValue(WebCore::SerializedScriptValue::create(WTF::String(newImmutableSerializedScriptValue)));
-}
-
-- (int)attrWithGetterException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    int result = IMPL->attrWithGetterException(ec);
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)setAttrWithGetterException:(int)newAttrWithGetterException
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setAttrWithGetterException(newAttrWithGetterException);
-}
-
-- (int)attrWithSetterException
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->attrWithSetterException();
-}
-
-- (void)setAttrWithSetterException:(int)newAttrWithSetterException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    IMPL->setAttrWithSetterException(newAttrWithSetterException, ec);
-    WebCore::raiseOnDOMError(ec);
-}
-
-- (NSString *)stringAttrWithGetterException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    NSString *result = IMPL->stringAttrWithGetterException(ec);
-    WebCore::raiseOnDOMError(ec);
-    return result;
-}
-
-- (void)setStringAttrWithGetterException:(NSString *)newStringAttrWithGetterException
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setStringAttrWithGetterException(newStringAttrWithGetterException);
-}
-
-- (NSString *)stringAttrWithSetterException
-{
-    WebCore::JSMainThreadNullState state;
-    return IMPL->stringAttrWithSetterException();
-}
-
-- (void)setStringAttrWithSetterException:(NSString *)newStringAttrWithSetterException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    IMPL->setStringAttrWithSetterException(newStringAttrWithSetterException, ec);
-    WebCore::raiseOnDOMError(ec);
-}
-
-- (void)multiTransferList:(NSString *)first tx:(DOMArray *)tx second:(NSString *)second txx:(DOMArray *)txx
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->multiTransferList(WebCore::SerializedScriptValue::create(WTF::String(first)), core(tx), WebCore::SerializedScriptValue::create(WTF::String(second)), core(txx));
-}
-
-- (void)setShadow:(float)width height:(float)height blur:(float)blur color:(NSString *)color alpha:(float)alpha
-{
-    WebCore::JSMainThreadNullState state;
-    IMPL->setShadow(width, height, blur, color, alpha);
-}
-
-- (DOMSVGPoint *)immutablePointFunction
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(WebCore::SVGPropertyTearOff<WebCore::FloatPoint>::create(IMPL->immutablePointFunction())));
-}
-
-- (void)methodWithException
-{
-    WebCore::JSMainThreadNullState state;
-    WebCore::ExceptionCode ec = 0;
-    IMPL->methodWithException(ec);
-    WebCore::raiseOnDOMError(ec);
-}
-
-@end
-
-WebCore::TestTypedefs* core(DOMTestTypedefs *wrapper)
-{
-    return wrapper ? reinterpret_cast<WebCore::TestTypedefs*>(wrapper->_internal) : 0;
-}
-
-DOMTestTypedefs *kit(WebCore::TestTypedefs* value)
-{
-    { DOM_ASSERT_MAIN_THREAD(); WebCoreThreadViolationCheckRoundOne(); };
-    if (!value)
-        return nil;
-    if (DOMTestTypedefs *wrapper = getDOMWrapper(value))
-        return [[wrapper retain] autorelease];
-    DOMTestTypedefs *wrapper = [[DOMTestTypedefs alloc] _init];
-    wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
-    value->ref();
-    addDOMWrapper(wrapper, value);
-    return [wrapper autorelease];
-}
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h b/Source/WebCore/bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h
deleted file mode 100644
index eda8bc3..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#import <WebCore/DOMTestTypedefs.h>
-
-#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
-
-namespace WebCore {
-    class TestTypedefs;
-}
-
-WebCore::TestTypedefs* core(DOMTestTypedefs *);
-DOMTestTypedefs *kit(WebCore::TestTypedefs*);
-
-#endif
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/ObjCTestSupplemental.cpp b/Source/WebCore/bindings/scripts/test/ObjC/ObjCTestSupplemental.cpp
deleted file mode 100644
index e373268..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/ObjCTestSupplemental.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that ObjCTestSupplemental.h and
-    ObjCTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate ObjCTestSupplemental.h and
-    ObjCTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Source/WebCore/bindings/scripts/test/ObjC/ObjCTestSupplemental.h b/Source/WebCore/bindings/scripts/test/ObjC/ObjCTestSupplemental.h
deleted file mode 100644
index e373268..0000000
--- a/Source/WebCore/bindings/scripts/test/ObjC/ObjCTestSupplemental.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
-    This file is generated just to tell build scripts that ObjCTestSupplemental.h and
-    ObjCTestSupplemental.cpp are created for TestSupplemental.idl, and thus
-    prevent the build scripts from trying to generate ObjCTestSupplemental.h and
-    ObjCTestSupplemental.cpp at every build. This file must not be tried to compile.
-*/
diff --git a/Tools/Scripts/run-bindings-tests b/Tools/Scripts/run-bindings-tests
index a0785e4..1970718 100755
--- a/Tools/Scripts/run-bindings-tests
+++ b/Tools/Scripts/run-bindings-tests
@@ -42,11 +42,7 @@
     reset_results = "--reset-results" in argv
 
     generators = [
-        'JS',
         'V8',
-        'ObjC',
-        'GObject',
-        'CPP'
     ]
 
     from webkitpy.bindings.main import BindingsTests