Diff
Modified: trunk/Source/WebCore/CMakeLists.txt (222290 => 222291)
--- trunk/Source/WebCore/CMakeLists.txt 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/CMakeLists.txt 2017-09-20 21:59:19 UTC (rev 222291)
@@ -502,7 +502,6 @@
dom/CompositionEvent.idl
dom/CustomElementRegistry.idl
dom/CustomEvent.idl
- dom/DOMError.idl
dom/DOMException.idl
dom/DOMImplementation.idl
dom/DOMPoint.idl
@@ -1608,7 +1607,6 @@
dom/CustomElementReactionQueue.cpp
dom/CustomElementRegistry.cpp
dom/CustomEvent.cpp
- dom/DOMError.cpp
dom/DOMException.cpp
dom/DOMImplementation.cpp
dom/DOMPointReadOnly.cpp
Modified: trunk/Source/WebCore/ChangeLog (222290 => 222291)
--- trunk/Source/WebCore/ChangeLog 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/ChangeLog 2017-09-20 21:59:19 UTC (rev 222291)
@@ -1,3 +1,26 @@
+2017-09-20 Chris Dumez <[email protected]>
+
+ Drop legacy DOMError type
+ https://bugs.webkit.org/show_bug.cgi?id=177207
+
+ Reviewed by Eric Carlson.
+
+ Drop legacy DOMError type. It has been removed from the Web standards,
+ is no longer used by our implementation and was not exposed to the
+ Web in WebKit (i.e. marked as [NoInterfaceObject]).
+
+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * Modules/mediastream/MediaEndpointSessionDescription.h:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSDOMPromiseDeferred.cpp:
+ * dom/DOMAllInOne.cpp:
+ * dom/DOMError.cpp: Removed.
+ * dom/DOMError.h: Removed.
+ * dom/DOMError.idl: Removed.
+ * platform/mock/RTCNotifiersMock.cpp:
+
2017-09-20 Commit Queue <[email protected]>
Unreviewed, rolling out r222254.
Modified: trunk/Source/WebCore/DerivedSources.cpp (222290 => 222291)
--- trunk/Source/WebCore/DerivedSources.cpp 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/DerivedSources.cpp 2017-09-20 21:59:19 UTC (rev 222291)
@@ -152,7 +152,6 @@
#include "JSDocumentType.cpp"
#include "JSDOMApplicationCache.cpp"
#include "JSDOMCSSNamespace.cpp"
-#include "JSDOMError.cpp"
#include "JSDOMException.cpp"
#include "JSDOMFileSystem.cpp"
#include "JSDOMFormData.cpp"
Modified: trunk/Source/WebCore/DerivedSources.make (222290 => 222291)
--- trunk/Source/WebCore/DerivedSources.make 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/DerivedSources.make 2017-09-20 21:59:19 UTC (rev 222291)
@@ -419,7 +419,6 @@
$(WebCore)/dom/CompositionEvent.idl \
$(WebCore)/dom/CustomElementRegistry.idl \
$(WebCore)/dom/CustomEvent.idl \
- $(WebCore)/dom/DOMError.idl \
$(WebCore)/dom/DOMException.idl \
$(WebCore)/dom/DOMImplementation.idl \
$(WebCore)/dom/DOMPoint.idl \
Modified: trunk/Source/WebCore/Modules/mediastream/MediaEndpointSessionDescription.h (222290 => 222291)
--- trunk/Source/WebCore/Modules/mediastream/MediaEndpointSessionDescription.h 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/Modules/mediastream/MediaEndpointSessionDescription.h 2017-09-20 21:59:19 UTC (rev 222291)
@@ -41,7 +41,6 @@
class MediaEndpointSessionConfiguration;
class SDPProcessor;
-class DOMError;
class MediaEndpointSessionDescription : public RefCounted<MediaEndpointSessionDescription> {
public:
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (222290 => 222291)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2017-09-20 21:59:19 UTC (rev 222291)
@@ -1692,8 +1692,6 @@
3FFFF9A9159D9A550020BBD5 /* WebKitCSSViewportRule.h in Headers */ = {isa = PBXBuildFile; fileRef = 3FFFF9A7159D9A550020BBD5 /* WebKitCSSViewportRule.h */; };
3FFFF9AD159D9B060020BBD5 /* ViewportStyleResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3FFFF9AB159D9B060020BBD5 /* ViewportStyleResolver.cpp */; };
3FFFF9AE159D9B060020BBD5 /* ViewportStyleResolver.h in Headers */ = {isa = PBXBuildFile; fileRef = 3FFFF9AC159D9B060020BBD5 /* ViewportStyleResolver.h */; };
- 40ECAE7E16B8B67200C36103 /* JSDOMError.h in Headers */ = {isa = PBXBuildFile; fileRef = 40ECAE7D16B8B67200C36103 /* JSDOMError.h */; };
- 40ECAE8116B8B68A00C36103 /* JSDOMError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 40ECAE8016B8B68A00C36103 /* JSDOMError.cpp */; };
410B7E721045FAB000D8224F /* JSMessageEventCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 410B7E711045FAB000D8224F /* JSMessageEventCustom.cpp */; };
41103AAB1E39791000769F03 /* RealtimeOutgoingAudioSource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41103AA71E39790A00769F03 /* RealtimeOutgoingAudioSource.cpp */; };
41103AAC1E39791000769F03 /* RealtimeOutgoingAudioSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 41103AA81E39790A00769F03 /* RealtimeOutgoingAudioSource.h */; };
@@ -5745,8 +5743,6 @@
BC14028B0E83680800319717 /* ScrollbarThemeComposite.h in Headers */ = {isa = PBXBuildFile; fileRef = BC1402890E83680800319717 /* ScrollbarThemeComposite.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC1A7D9718FCB5B000421879 /* RenderMultiColumnSpannerPlaceholder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC1A7D9518FCB5B000421879 /* RenderMultiColumnSpannerPlaceholder.cpp */; };
BC1A7D9818FCB5B000421879 /* RenderMultiColumnSpannerPlaceholder.h in Headers */ = {isa = PBXBuildFile; fileRef = BC1A7D9618FCB5B000421879 /* RenderMultiColumnSpannerPlaceholder.h */; };
- 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 /* JSDeprecatedCSSOMValueCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC20FB7E0C0E8E6C00D1447F /* JSDeprecatedCSSOMValueCustom.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, ); }; };
@@ -9482,8 +9478,6 @@
3FFFF9A7159D9A550020BBD5 /* WebKitCSSViewportRule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKitCSSViewportRule.h; sourceTree = "<group>"; };
3FFFF9AB159D9B060020BBD5 /* ViewportStyleResolver.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ViewportStyleResolver.cpp; sourceTree = "<group>"; };
3FFFF9AC159D9B060020BBD5 /* ViewportStyleResolver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewportStyleResolver.h; sourceTree = "<group>"; };
- 40ECAE7D16B8B67200C36103 /* JSDOMError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSDOMError.h; sourceTree = "<group>"; };
- 40ECAE8016B8B68A00C36103 /* JSDOMError.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMError.cpp; sourceTree = "<group>"; };
410B7E711045FAB000D8224F /* JSMessageEventCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSMessageEventCustom.cpp; sourceTree = "<group>"; };
41103AA71E39790A00769F03 /* RealtimeOutgoingAudioSource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RealtimeOutgoingAudioSource.cpp; sourceTree = "<group>"; };
41103AA81E39790A00769F03 /* RealtimeOutgoingAudioSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RealtimeOutgoingAudioSource.h; sourceTree = "<group>"; };
@@ -14427,9 +14421,6 @@
BC1402890E83680800319717 /* ScrollbarThemeComposite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScrollbarThemeComposite.h; sourceTree = "<group>"; };
BC1A7D9518FCB5B000421879 /* RenderMultiColumnSpannerPlaceholder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderMultiColumnSpannerPlaceholder.cpp; sourceTree = "<group>"; };
BC1A7D9618FCB5B000421879 /* RenderMultiColumnSpannerPlaceholder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderMultiColumnSpannerPlaceholder.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 /* JSDeprecatedCSSOMValueCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSDeprecatedCSSOMValueCustom.cpp; sourceTree = "<group>"; };
BC2272860E82E70700E7F975 /* StyleReflection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StyleReflection.h; sourceTree = "<group>"; };
BC2272A10E82E87C00E7F975 /* CursorData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CursorData.h; sourceTree = "<group>"; };
@@ -19365,8 +19356,6 @@
14DCF3B11B6BE2080062D4C2 /* JSCountQueuingStrategy.h */,
9908B0FD1BCAD07D00ED0F66 /* JSDOMBindingInternalsBuiltins.cpp */,
9B03D8061BB3110D00B764DA /* JSDOMBindingInternalsBuiltins.h */,
- 40ECAE8016B8B68A00C36103 /* JSDOMError.cpp */,
- 40ECAE7D16B8B67200C36103 /* JSDOMError.h */,
C280833D1C6DC22C001451B6 /* JSFontFace.cpp */,
C280833E1C6DC22C001451B6 /* JSFontFace.h */,
1C24EEA61C72A7B40080F8FC /* JSFontFaceSet.cpp */,
@@ -26248,9 +26237,6 @@
A8185F3209765765005826D9 /* DocumentType.cpp */,
A8185F3109765765005826D9 /* DocumentType.h */,
93EEC1E809C2877700C515D1 /* DocumentType.idl */,
- BC1BDF20156C17A9001C1243 /* DOMError.cpp */,
- BC1BDF21156C17A9001C1243 /* DOMError.h */,
- BC1BDF22156C17A9001C1243 /* DOMError.idl */,
978D07BD145A0F6C0096908D /* DOMException.cpp */,
BC60D6E80D28D83400B9918F /* DOMException.h */,
BC60D6EB0D28D99900B9918F /* DOMException.idl */,
@@ -27703,7 +27689,6 @@
FC9A0F75164094CF003D6B8D /* DOMCSSNamespace.h in Headers */,
9B3A8872145632F9003AE8F5 /* DOMDOMSettableTokenList.h in Headers */,
7AABA25A14BC613300AA9A11 /* DOMEditor.h in Headers */,
- BC1BDF25156C18C7001C1243 /* DOMError.h in Headers */,
BC60D6E90D28D83400B9918F /* DOMException.h in Headers */,
8399470C1F50B63E00E9D86B /* DOMFileSystem.h in Headers */,
2ED609BD1145B07100C8684E /* DOMFormData.h in Headers */,
@@ -28486,7 +28471,6 @@
7C8E34C61E4A33B00054CE23 /* JSDOMConvertWebGL.h in Headers */,
7C8E34C71E4A33B00054CE23 /* JSDOMConvertXPathNSResolver.h in Headers */,
FC9E0E4D16419C1E00392BE3 /* JSDOMCSSNamespace.h in Headers */,
- 40ECAE7E16B8B67200C36103 /* JSDOMError.h in Headers */,
BC60D7C10D29A46300B9918F /* JSDOMException.h in Headers */,
7C45C9D61E3FCBF800AAB558 /* JSDOMExceptionHandling.h in Headers */,
839947101F50B6FA00E9D86B /* JSDOMFileSystem.h in Headers */,
@@ -28832,7 +28816,6 @@
316DCB201E78CA55001B5F87 /* JSRTCOfferAnswerOptions.h in Headers */,
07969DBA17D14151007FF842 /* JSRTCPeerConnection.h in Headers */,
07969DB817D14151007FF842 /* JSRTCPeerConnectionIceEvent.h in Headers */,
- E18C35441F71970C00FF632D /* WebArchiveResourceWebResourceHandler.h in Headers */,
5E2C43741BCF0D750001E2BE /* JSRTCRtpParameters.h in Headers */,
5E2C43721BCF0D750001E2BC /* JSRTCRtpReceiver.h in Headers */,
5E2C43741BCF0D750001E2BC /* JSRTCRtpSender.h in Headers */,
@@ -30317,7 +30300,6 @@
0806E57A12893045007CED32 /* SVGMatrix.h in Headers */,
08CA3D4412894A3800FFF260 /* SVGMatrixTearOff.h in Headers */,
7CE58D5C1DD7EC9C00128552 /* SVGMatrixValue.h in Headers */,
- E18536841F4E481400FE091B /* WebArchiveResourceFromNSAttributedString.h in Headers */,
B2227A4B0D00BF220071B782 /* SVGMetadataElement.h in Headers */,
B2A1F2B10CEF0ABF00442F6A /* SVGMissingGlyphElement.h in Headers */,
B2227A4E0D00BF220071B782 /* SVGMPathElement.h in Headers */,
@@ -30651,6 +30633,8 @@
AAA728F716D1D8BC00D3BBC6 /* WebAccessibilityObjectWrapperIOS.h in Headers */,
AA478A7F16CD70C3007D1BB4 /* WebAccessibilityObjectWrapperMac.h in Headers */,
2D3EF4481917915C00034184 /* WebActionDisablingCALayerDelegate.h in Headers */,
+ E18536841F4E481400FE091B /* WebArchiveResourceFromNSAttributedString.h in Headers */,
+ E18C35441F71970C00FF632D /* WebArchiveResourceWebResourceHandler.h in Headers */,
CDE667A51E4BBF1500E8154A /* WebAudioBufferList.h in Headers */,
41B2A6261EF1BF6D002B9D7A /* WebAudioSourceProvider.h in Headers */,
07D637401BB0B11300256CE9 /* WebAudioSourceProviderAVFObjC.h in Headers */,
@@ -31778,7 +31762,6 @@
41380C281F3436AC00155FDA /* DOMCacheStorage.cpp in Sources */,
FD677738195CAF3D0072E0D3 /* DOMCSSNamespace.cpp in Sources */,
7AABA25914BC613300AA9A11 /* DOMEditor.cpp in Sources */,
- BC1BDF24156C1883001C1243 /* DOMError.cpp in Sources */,
978D07BE145A0F6C0096908D /* DOMException.cpp in Sources */,
8399470B1F50B63E00E9D86B /* DOMFileSystem.cpp in Sources */,
2ED609BC1145B07100C8684E /* DOMFormData.cpp in Sources */,
@@ -32505,7 +32488,6 @@
7C8E34C21E4A33B00054CE23 /* JSDOMConvertStrings.cpp in Sources */,
7CBA5BA71F0B4BDE0034D745 /* JSDOMConvertWebGL.cpp in Sources */,
FD67773B195CB1E60072E0D3 /* JSDOMCSSNamespace.cpp in Sources */,
- 40ECAE8116B8B68A00C36103 /* JSDOMError.cpp in Sources */,
BC60D7C00D29A46300B9918F /* JSDOMException.cpp in Sources */,
7C45C9D21E3EFE0800AAB558 /* JSDOMExceptionHandling.cpp in Sources */,
8399470F1F50B6FA00E9D86B /* JSDOMFileSystem.cpp in Sources */,
@@ -32655,7 +32637,6 @@
A6148A7812E41E3B0044A784 /* JSHTMLKeygenElement.cpp in Sources */,
1AE2AB210A1CE63B00B42B25 /* JSHTMLLabelElement.cpp in Sources */,
1AE2AB230A1CE63B00B42B25 /* JSHTMLLegendElement.cpp in Sources */,
- E18C35431F71970100FF632D /* WebArchiveResourceWebResourceHandler.mm in Sources */,
1AE2AB250A1CE63B00B42B25 /* JSHTMLLIElement.cpp in Sources */,
A80E7B100A19D606007FB8C5 /* JSHTMLLinkElement.cpp in Sources */,
1AE2AB270A1CE63B00B42B25 /* JSHTMLMapElement.cpp in Sources */,
@@ -32823,7 +32804,6 @@
A1CC56781F4614A500A4555B /* JSPaymentRequest.cpp in Sources */,
A1F600571F4765050077E83F /* JSPaymentRequestUpdateEvent.cpp in Sources */,
A1F600591F4765050077E83F /* JSPaymentRequestUpdateEventInit.cpp in Sources */,
- E18536851F50906100FE091B /* WebArchiveResourceFromNSAttributedString.mm in Sources */,
A1CC567A1F4614AA00A4555B /* JSPaymentResponse.cpp in Sources */,
A1CC567C1F4614AF00A4555B /* JSPaymentShippingOption.cpp in Sources */,
A1CC567E1F4614B400A4555B /* JSPaymentShippingType.cpp in Sources */,
@@ -34431,6 +34411,8 @@
AA478A8016CD70C3007D1BB4 /* WebAccessibilityObjectWrapperMac.mm in Sources */,
2D3EF4491917915C00034184 /* WebActionDisablingCALayerDelegate.mm in Sources */,
120DE3ED1C86CA3E00B6D4DD /* WebAnimation.cpp in Sources */,
+ E18536851F50906100FE091B /* WebArchiveResourceFromNSAttributedString.mm in Sources */,
+ E18C35431F71970100FF632D /* WebArchiveResourceWebResourceHandler.mm in Sources */,
CDE667A41E4BBF1500E8154A /* WebAudioBufferList.cpp in Sources */,
07D637411BB0B11300256CE9 /* WebAudioSourceProviderAVFObjC.mm in Sources */,
CDA29A311CBF74DA00901CCF /* WebAVPlayerController.mm in Sources */,
Modified: trunk/Source/WebCore/bindings/js/JSDOMPromiseDeferred.cpp (222290 => 222291)
--- trunk/Source/WebCore/bindings/js/JSDOMPromiseDeferred.cpp 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/bindings/js/JSDOMPromiseDeferred.cpp 2017-09-20 21:59:19 UTC (rev 222291)
@@ -27,7 +27,6 @@
#include "JSDOMPromiseDeferred.h"
#include "DOMWindow.h"
-#include "JSDOMError.h"
#include "JSDOMWindow.h"
#include <builtins/BuiltinNames.h>
#include <runtime/Exception.h>
Modified: trunk/Source/WebCore/dom/DOMAllInOne.cpp (222290 => 222291)
--- trunk/Source/WebCore/dom/DOMAllInOne.cpp 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/dom/DOMAllInOne.cpp 2017-09-20 21:59:19 UTC (rev 222291)
@@ -46,7 +46,6 @@
#include "ContainerNodeAlgorithms.cpp"
#include "ContextDestructionObserver.cpp"
#include "CustomEvent.cpp"
-#include "DOMError.cpp"
#include "DOMException.cpp"
#include "DOMImplementation.cpp"
#include "DOMStringList.cpp"
Deleted: trunk/Source/WebCore/dom/DOMError.cpp (222290 => 222291)
--- trunk/Source/WebCore/dom/DOMError.cpp 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/dom/DOMError.cpp 2017-09-20 21:59:19 UTC (rev 222291)
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2012 Google Inc. All Rights Reserved.
- * Copyright (C) 2016 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.
- *
- * 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"
-
-namespace WebCore {
-
-DOMError::DOMError(const String& name, const String& message)
- : m_name(name)
- , m_message(message)
-{
-}
-
-} // namespace WebCore
Deleted: trunk/Source/WebCore/dom/DOMError.h (222290 => 222291)
--- trunk/Source/WebCore/dom/DOMError.h 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/dom/DOMError.h 2017-09-20 21:59:19 UTC (rev 222291)
@@ -1,53 +0,0 @@
-/*
- * Copyright (C) 2012 Google Inc. All Rights Reserved.
- * Copyright (C) 2016 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.
- *
- * 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.
- */
-
-#pragma once
-
-#include <wtf/RefCounted.h>
-#include <wtf/text/WTFString.h>
-
-namespace WebCore {
-
-class DOMError : public RefCounted<DOMError> {
-public:
- static Ref<DOMError> create(const String& name, const String& message = { })
- {
- return adoptRef(*new DOMError(name, message));
- }
- virtual ~DOMError() { }
-
- const String& name() const { return m_name; }
- const String& message() const { return m_message; }
-
-protected:
- explicit DOMError(const String& name, const String& message);
-
-private:
- String m_name;
- String m_message;
-};
-
-} // namespace WebCore
Deleted: trunk/Source/WebCore/dom/DOMError.idl (222290 => 222291)
--- trunk/Source/WebCore/dom/DOMError.idl 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/dom/DOMError.idl 2017-09-20 21:59:19 UTC (rev 222291)
@@ -1,35 +0,0 @@
-/*
- * 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 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.
- */
-[
- NoInterfaceObject,
- SkipVTableValidation
-] interface DOMError {
- readonly attribute DOMString name;
- readonly attribute DOMString message;
-};
-
Modified: trunk/Source/WebCore/platform/mock/RTCNotifiersMock.cpp (222290 => 222291)
--- trunk/Source/WebCore/platform/mock/RTCNotifiersMock.cpp 2017-09-20 21:47:19 UTC (rev 222290)
+++ trunk/Source/WebCore/platform/mock/RTCNotifiersMock.cpp 2017-09-20 21:59:19 UTC (rev 222291)
@@ -30,7 +30,6 @@
#include "RTCNotifiersMock.h"
-#include "DOMError.h"
#include "RTCDataChannelHandlerMock.h"
#include "RTCSessionDescriptionDescriptor.h"
#include "RTCSessionDescriptionRequest.h"