Diff
Modified: trunk/Source/WebCore/CMakeLists.txt (118225 => 118226)
--- trunk/Source/WebCore/CMakeLists.txt 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/CMakeLists.txt 2012-05-23 19:38:55 UTC (rev 118226)
@@ -200,6 +200,7 @@
dom/Document.idl
dom/DocumentType.idl
dom/DOMCoreException.idl
+ dom/DOMError.idl
dom/DOMImplementation.idl
dom/DOMStringList.idl
dom/DOMStringMap.idl
@@ -571,6 +572,7 @@
dom/DocumentOrderedMap.cpp
dom/DocumentType.cpp
dom/DOMCoreException.cpp
+ dom/DOMError.cpp
dom/DOMImplementation.cpp
dom/DOMStringList.cpp
dom/DOMStringMap.cpp
Modified: trunk/Source/WebCore/ChangeLog (118225 => 118226)
--- trunk/Source/WebCore/ChangeLog 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/ChangeLog 2012-05-23 19:38:55 UTC (rev 118226)
@@ -1,3 +1,25 @@
+2012-05-23 Alec Flett <[email protected]>
+
+ Implement DOM4 DOMError
+ https://bugs.webkit.org/show_bug.cgi?id=87055
+
+ Reviewed by Adam Barth.
+
+ Implement the DOMError class and it's IDL interface.
+
+ No new tests. Not testable yet, as it's not used.
+
+ * WebCore.gypi:
+ * dom/DOMError.cpp: Added.
+ (WebCore):
+ (WebCore::DOMError::DOMError):
+ * dom/DOMError.h: Added.
+ (WebCore):
+ (DOMError):
+ (WebCore::DOMError::create):
+ (WebCore::DOMError::name):
+ * dom/DOMError.idl: Added.
+
2012-05-23 Kenneth Russell <[email protected]>
REGRESSION(117918) - 4 webgl/tex-iomage-and-sub-image-2d-with-image tests failing on Mac bots.
Modified: trunk/Source/WebCore/DerivedSources.cpp (118225 => 118226)
--- trunk/Source/WebCore/DerivedSources.cpp 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/DerivedSources.cpp 2012-05-23 19:38:55 UTC (rev 118226)
@@ -84,6 +84,7 @@
#include "JSDocumentType.cpp"
#include "JSDOMApplicationCache.cpp"
#include "JSDOMCoreException.cpp"
+#include "JSDOMError.cpp"
#include "JSDOMFileSystem.cpp"
#include "JSDOMFileSystemSync.cpp"
#include "JSDOMFormData.cpp"
Modified: trunk/Source/WebCore/DerivedSources.make (118225 => 118226)
--- trunk/Source/WebCore/DerivedSources.make 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/DerivedSources.make 2012-05-23 19:38:55 UTC (rev 118226)
@@ -191,6 +191,7 @@
$(WebCore)/dom/CompositionEvent.idl \
$(WebCore)/dom/CustomEvent.idl \
$(WebCore)/dom/DOMCoreException.idl \
+ $(WebCore)/dom/DOMError.idl \
$(WebCore)/dom/DOMImplementation.idl \
$(WebCore)/dom/DOMStringList.idl \
$(WebCore)/dom/DOMStringMap.idl \
Modified: trunk/Source/WebCore/DerivedSources.pri (118225 => 118226)
--- trunk/Source/WebCore/DerivedSources.pri 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/DerivedSources.pri 2012-05-23 19:38:55 UTC (rev 118226)
@@ -212,6 +212,7 @@
$$PWD/dom/Document.idl \
$$PWD/dom/DocumentType.idl \
$$PWD/dom/DOMCoreException.idl \
+ $$PWD/dom/DOMError.idl \
$$PWD/dom/DOMImplementation.idl \
$$PWD/dom/DOMStringList.idl \
$$PWD/dom/DOMStringMap.idl \
Modified: trunk/Source/WebCore/GNUmakefile.list.am (118225 => 118226)
--- trunk/Source/WebCore/GNUmakefile.list.am 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/GNUmakefile.list.am 2012-05-23 19:38:55 UTC (rev 118226)
@@ -125,6 +125,8 @@
DerivedSources/WebCore/JSDOMApplicationCache.h \
DerivedSources/WebCore/JSDOMCoreException.cpp \
DerivedSources/WebCore/JSDOMCoreException.h \
+ DerivedSources/WebCore/JSDOMError.cpp \
+ DerivedSources/WebCore/JSDOMError.h \
DerivedSources/WebCore/JSDOMFormData.cpp \
DerivedSources/WebCore/JSDOMFormData.h \
DerivedSources/WebCore/JSDOMImplementation.cpp \
@@ -740,6 +742,7 @@
$(WebCore)/dom/CompositionEvent.idl \
$(WebCore)/dom/CustomEvent.idl \
$(WebCore)/dom/DOMCoreException.idl \
+ $(WebCore)/dom/DOMError.idl \
$(WebCore)/dom/DOMImplementation.idl \
$(WebCore)/dom/DOMStringList.idl \
$(WebCore)/dom/DOMStringMap.idl \
@@ -1835,6 +1838,8 @@
Source/WebCore/dom/DocumentType.h \
Source/WebCore/dom/DOMCoreException.cpp \
Source/WebCore/dom/DOMCoreException.h \
+ Source/WebCore/dom/DOMError.cpp \
+ Source/WebCore/dom/DOMError.h \
Source/WebCore/dom/DOMImplementation.cpp \
Source/WebCore/dom/DOMImplementation.h \
Source/WebCore/dom/DOMStringList.cpp \
Modified: trunk/Source/WebCore/Target.pri (118225 => 118226)
--- trunk/Source/WebCore/Target.pri 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/Target.pri 2012-05-23 19:38:55 UTC (rev 118226)
@@ -543,6 +543,7 @@
dom/DocumentParser.cpp \
dom/DocumentType.cpp \
dom/DOMCoreException.cpp \
+ dom/DOMError.cpp \
dom/DOMImplementation.cpp \
dom/DOMStringList.cpp \
dom/DOMStringMap.cpp \
@@ -1705,6 +1706,7 @@
dom/DocumentMarkerController.h \
dom/DocumentOrderedMap.h \
dom/DocumentType.h \
+ dom/DOMEvent.h \
dom/DOMImplementation.h \
dom/DOMStringList.h \
dom/DOMStringMap.h \
Modified: trunk/Source/WebCore/WebCore.gypi (118225 => 118226)
--- trunk/Source/WebCore/WebCore.gypi 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/WebCore.gypi 2012-05-23 19:38:55 UTC (rev 118226)
@@ -929,6 +929,7 @@
'dom/CompositionEvent.idl',
'dom/CustomEvent.idl',
'dom/DOMCoreException.idl',
+ 'dom/DOMError.idl',
'dom/DOMImplementation.idl',
'dom/DOMStringList.idl',
'dom/DOMStringMap.idl',
@@ -5227,6 +5228,8 @@
'dom/DOMAllInOne.cpp',
'dom/DOMCoreException.cpp',
'dom/DOMCoreException.h',
+ 'dom/DOMError.cpp',
+ 'dom/DOMError.h',
'dom/DOMImplementation.cpp',
'dom/DOMStringList.cpp',
'dom/DOMStringList.h',
@@ -7342,6 +7345,8 @@
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSDOMApplicationCache.h',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSDOMCoreException.cpp',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSDOMCoreException.h',
+ '<(PRODUCT_DIR)/DerivedSources/WebCore/JSDOMError.cpp',
+ '<(PRODUCT_DIR)/DerivedSources/WebCore/JSDOMError.h',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSDOMFileSystem.cpp',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSDOMFileSystem.h',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSDOMFileSystemSync.cpp',
Modified: trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj (118225 => 118226)
--- trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj 2012-05-23 19:38:55 UTC (rev 118226)
@@ -3322,6 +3322,62 @@
>
</File>
<File
+ RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSDOMError.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug_Cairo_CFLite|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release_Cairo_CFLite|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug_All|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Production|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSDOMError.h"
+ >
+ </File>
+ <File
RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSDOMFileSystem.cpp"
>
<FileConfiguration
@@ -49494,6 +49550,62 @@
>
</File>
<File
+ RelativePath="..\dom\DOMError.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug_Cairo_CFLite|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release_Cairo_CFLite|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug_All|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Production|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath="..\dom\DOMError.h"
+ >
+ </File>
+ <File
RelativePath="..\dom\DOMImplementation.cpp"
>
<FileConfiguration
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (118225 => 118226)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2012-05-23 19:22:03 UTC (rev 118225)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2012-05-23 19:38:55 UTC (rev 118226)
@@ -5210,6 +5210,8 @@
BC1A37BE097C715F0019F3D8 /* DOMTraversal.h in Headers */ = {isa = PBXBuildFile; fileRef = BC1A37A8097C715F0019F3D8 /* DOMTraversal.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC1A37BF097C715F0019F3D8 /* DOMUtility.mm in Sources */ = {isa = PBXBuildFile; fileRef = BC1A37A9097C715F0019F3D8 /* DOMUtility.mm */; };
BC1A37C0097C715F0019F3D8 /* DOMViews.h in Headers */ = {isa = PBXBuildFile; fileRef = BC1A37AA097C715F0019F3D8 /* DOMViews.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ BC1BDF24156C1883001C1243 /* DOMError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC1BDF20156C17A9001C1243 /* DOMError.cpp */; };
+ BC1BDF25156C18C7001C1243 /* DOMError.h in Headers */ = {isa = PBXBuildFile; fileRef = BC1BDF21156C17A9001C1243 /* DOMError.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC20FB7F0C0E8E6C00D1447F /* JSCSSValueCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC20FB7E0C0E8E6C00D1447F /* JSCSSValueCustom.cpp */; };
BC2272870E82E70700E7F975 /* StyleReflection.h in Headers */ = {isa = PBXBuildFile; fileRef = BC2272860E82E70700E7F975 /* StyleReflection.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC2272A20E82E87C00E7F975 /* CursorData.h in Headers */ = {isa = PBXBuildFile; fileRef = BC2272A10E82E87C00E7F975 /* CursorData.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -12322,6 +12324,9 @@
BC1A37A8097C715F0019F3D8 /* DOMTraversal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMTraversal.h; sourceTree = "<group>"; };
BC1A37A9097C715F0019F3D8 /* DOMUtility.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMUtility.mm; sourceTree = "<group>"; };
BC1A37AA097C715F0019F3D8 /* DOMViews.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMViews.h; sourceTree = "<group>"; };
+ BC1BDF20156C17A9001C1243 /* DOMError.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMError.cpp; sourceTree = "<group>"; };
+ BC1BDF21156C17A9001C1243 /* DOMError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMError.h; sourceTree = "<group>"; };
+ BC1BDF22156C17A9001C1243 /* DOMError.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMError.idl; sourceTree = "<group>"; };
BC20FB7E0C0E8E6C00D1447F /* JSCSSValueCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSCSSValueCustom.cpp; sourceTree = "<group>"; };
BC2272860E82E70700E7F975 /* StyleReflection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StyleReflection.h; path = style/StyleReflection.h; sourceTree = "<group>"; };
BC2272A10E82E87C00E7F975 /* CursorData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CursorData.h; path = style/CursorData.h; sourceTree = "<group>"; };
@@ -21142,6 +21147,9 @@
A8185F3109765765005826D9 /* DocumentType.h */,
93EEC1E809C2877700C515D1 /* DocumentType.idl */,
978D07BD145A0F6C0096908D /* DOMCoreException.cpp */,
+ BC1BDF20156C17A9001C1243 /* DOMError.cpp */,
+ BC1BDF21156C17A9001C1243 /* DOMError.h */,
+ BC1BDF22156C17A9001C1243 /* DOMError.idl */,
BC60D6E80D28D83400B9918F /* DOMCoreException.h */,
BC60D6EB0D28D99900B9918F /* DOMCoreException.idl */,
BC9A6141146859D9006057FD /* DOMExceptions.in */,
@@ -24924,6 +24932,7 @@
FDB052E01561A42C00B500D6 /* AudioSummingJunction.h in Headers */,
371941971566B37200A276D8 /* WebCoreNSCellExtras.h in Headers */,
1482E0C7156C36DE00965065 /* FractionalLayoutBoxExtent.h in Headers */,
+ BC1BDF25156C18C7001C1243 /* DOMError.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -27951,6 +27960,7 @@
371941961566B37200A276D8 /* WebCoreNSCellExtras.m in Sources */,
146CC115156988E400109E37 /* LengthBox.cpp in Sources */,
1482E0C6156C36DE00965065 /* FractionalLayoutBoxExtent.cpp in Sources */,
+ BC1BDF24156C1883001C1243 /* DOMError.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Added: trunk/Source/WebCore/dom/DOMError.cpp (0 => 118226)
--- trunk/Source/WebCore/dom/DOMError.cpp (rev 0)
+++ trunk/Source/WebCore/dom/DOMError.cpp 2012-05-23 19:38:55 UTC (rev 118226)
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2012 Google Inc. All Rights Reserved.
+ *
+ * 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 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 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.
+ */
+
+#include "config.h"
+#include "DOMError.h"
+
+#include <wtf/text/WTFString.h>
+
+namespace WebCore {
+
+DOMError::DOMError(const String& name)
+ : m_name(name)
+{
+}
+
+} // namespace WebCore
Added: trunk/Source/WebCore/dom/DOMError.h (0 => 118226)
--- trunk/Source/WebCore/dom/DOMError.h (rev 0)
+++ trunk/Source/WebCore/dom/DOMError.h 2012-05-23 19:38:55 UTC (rev 118226)
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2012 Google Inc. All Rights Reserved.
+ *
+ * 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 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 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.
+ */
+
+#ifndef DOMError_h
+#define DOMError_h
+
+#include <wtf/PassRefPtr.h>
+#include <wtf/RefCounted.h>
+#include <wtf/text/WTFString.h>
+
+namespace WebCore {
+
+class DOMError : public RefCounted<DOMError> {
+public:
+ static PassRefPtr<DOMError> create(const String& name)
+ {
+ return adoptRef(new DOMError(name));
+ }
+
+ const String& name() const { return m_name; }
+
+private:
+ explicit DOMError(const String& name);
+
+ const String m_name;
+};
+
+} // namespace WebCore
+
+#endif // DOMError_h
Added: trunk/Source/WebCore/dom/DOMError.idl (0 => 118226)
--- trunk/Source/WebCore/dom/DOMError.idl (rev 0)
+++ trunk/Source/WebCore/dom/DOMError.idl 2012-05-23 19:38:55 UTC (rev 118226)
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2007 Apple Inc. All rights reserved.
+ *
+ * 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.
+ * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "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 OR ITS 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.
+ */
+
+module core {
+ interface [
+ ] DOMError {
+ readonly attribute DOMString name;
+ };
+
+}
\ No newline at end of file