Changeset 282199 in webkit


Ignore:
Timestamp:
Sep 9, 2021 12:37:01 AM (10 months ago)
Author:
youenn@apple.com
Message:

Add support for RTCError and RTCErrorEvent
https://bugs.webkit.org/show_bug.cgi?id=229987

Reviewed by Eric Carlson.

LayoutTests/imported/w3c:

  • web-platform-tests/webrtc/RTCError-expected.txt:
  • web-platform-tests/webrtc/idlharness.https.window-expected.txt:

Source/WebCore:

Add support for RTCError and RTCErrorEvent as per https://w3c.github.io/webrtc-pc/#rtcerror-interface
and https://w3c.github.io/webrtc-pc/#rtcerrorevent-interface.

Covered by updated tests.

  • CMakeLists.txt:
  • DerivedSources-input.xcfilelist:
  • DerivedSources-output.xcfilelist:
  • DerivedSources.make:
  • Modules/mediastream/RTCError.cpp: Added.

(WebCore::RTCError::RTCError):

  • Modules/mediastream/RTCError.h: Added.
  • Modules/mediastream/RTCError.idl: Added.
  • Modules/mediastream/RTCErrorDetailType.h: Added.
  • Modules/mediastream/RTCErrorDetailType.idl: Added.
  • Modules/mediastream/RTCErrorEvent.cpp: Added.

(WebCore::RTCErrorEvent::RTCErrorEvent):

  • Modules/mediastream/RTCErrorEvent.h: Added.
  • Modules/mediastream/RTCErrorEvent.idl: Added.
  • Sources.txt:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/WebCoreBuiltinNames.h:
  • dom/DOMException.h:
  • dom/EventNames.in:
Location:
trunk
Files:
8 added
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r282198 r282199  
     12021-09-09  Youenn Fablet  <youenn@apple.com>
     2
     3        Add support for RTCError and RTCErrorEvent
     4        https://bugs.webkit.org/show_bug.cgi?id=229987
     5
     6        Reviewed by Eric Carlson.
     7
     8        * web-platform-tests/webrtc/RTCError-expected.txt:
     9        * web-platform-tests/webrtc/idlharness.https.window-expected.txt:
     10
    1112021-09-09  Youenn Fablet  <youenn@apple.com>
    212
  • trunk/LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCError-expected.txt

    r264202 r282199  
    11
    2 FAIL RTCError constructor with errorDetail and message Can't find variable: RTCError
    3 FAIL RTCError constructor's message argument is optional Can't find variable: RTCError
    4 FAIL RTCError constructor throws TypeError if arguments are missing assert_throws_js: function "() => {
    5     new RTCError();
    6   }" threw object "ReferenceError: Can't find variable: RTCError" ("ReferenceError") expected instance of function "function TypeError() {
    7     [native code]
    8 }" ("TypeError")
    9 FAIL RTCError constructor throws TypeError if the errorDetail is invalid assert_throws_js: function "() => {
    10     new RTCError({errorDetail:'invalid-error-detail'}, 'message');
    11   }" threw object "ReferenceError: Can't find variable: RTCError" ("ReferenceError") expected instance of function "function TypeError() {
    12     [native code]
    13 }" ("TypeError")
    14 FAIL RTCError.name is 'OperationError' Can't find variable: RTCError
    15 FAIL RTCError.code is 0 Can't find variable: RTCError
    16 FAIL RTCError.errorDetail is readonly. Can't find variable: RTCError
    17 FAIL RTCErrorInit.errorDetail is the only required attribute assert_throws_js: function "() => {
    18     new RTCError({}, 'message');
    19   }" threw object "ReferenceError: Can't find variable: RTCError" ("ReferenceError") expected instance of function "function TypeError() {
    20     [native code]
    21 }" ("TypeError")
    22 FAIL RTCError.sdpLineNumber is null by default Can't find variable: RTCError
    23 FAIL RTCError.sdpLineNumber is settable by constructor Can't find variable: RTCError
    24 FAIL RTCError.sdpLineNumber is readonly Can't find variable: RTCError
    25 FAIL RTCError.httpRequestStatusCode is null by default Can't find variable: RTCError
    26 FAIL RTCError.httpRequestStatusCode is settable by constructor Can't find variable: RTCError
    27 FAIL RTCError.httpRequestStatusCode is readonly Can't find variable: RTCError
    28 FAIL RTCError.sctpCauseCode is null by default Can't find variable: RTCError
    29 FAIL RTCError.sctpCauseCode is settable by constructor Can't find variable: RTCError
    30 FAIL RTCError.sctpCauseCode is readonly Can't find variable: RTCError
    31 FAIL RTCError.receivedAlert is null by default Can't find variable: RTCError
    32 FAIL RTCError.receivedAlert is settable by constructor Can't find variable: RTCError
    33 FAIL RTCError.receivedAlert is readonly Can't find variable: RTCError
    34 FAIL RTCError.sentAlert is null by default Can't find variable: RTCError
    35 FAIL RTCError.sentAlert is settable by constructor Can't find variable: RTCError
    36 FAIL RTCError.sentAlert is readonly Can't find variable: RTCError
     2PASS RTCError constructor with errorDetail and message
     3PASS RTCError constructor's message argument is optional
     4PASS RTCError constructor throws TypeError if arguments are missing
     5PASS RTCError constructor throws TypeError if the errorDetail is invalid
     6PASS RTCError.name is 'OperationError'
     7PASS RTCError.code is 0
     8PASS RTCError.errorDetail is readonly.
     9PASS RTCErrorInit.errorDetail is the only required attribute
     10PASS RTCError.sdpLineNumber is null by default
     11PASS RTCError.sdpLineNumber is settable by constructor
     12PASS RTCError.sdpLineNumber is readonly
     13FAIL RTCError.httpRequestStatusCode is null by default assert_equals: expected (object) null but got (undefined) undefined
     14FAIL RTCError.httpRequestStatusCode is settable by constructor assert_equals: expected (number) 0 but got (undefined) undefined
     15FAIL RTCError.httpRequestStatusCode is readonly assert_throws_js: function "() => {
     16      error[attribute] = 42;
     17    }" did not throw
     18PASS RTCError.sctpCauseCode is null by default
     19PASS RTCError.sctpCauseCode is settable by constructor
     20PASS RTCError.sctpCauseCode is readonly
     21PASS RTCError.receivedAlert is null by default
     22PASS RTCError.receivedAlert is settable by constructor
     23PASS RTCError.receivedAlert is readonly
     24PASS RTCError.sentAlert is null by default
     25PASS RTCError.sentAlert is settable by constructor
     26PASS RTCError.sentAlert is readonly
    3727
  • trunk/LayoutTests/imported/w3c/web-platform-tests/webrtc/idlharness.https.window-expected.txt

    r282198 r282199  
    481481PASS RTCStatsReport interface: existence and properties of interface prototype object's "constructor" property
    482482PASS RTCStatsReport interface: existence and properties of interface prototype object's @@unscopables property
    483 FAIL RTCError interface: existence and properties of interface object assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    484 FAIL RTCError interface object length assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    485 FAIL RTCError interface object name assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    486 FAIL RTCError interface: existence and properties of interface prototype object assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    487 FAIL RTCError interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    488 FAIL RTCError interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    489 FAIL RTCError interface: attribute errorDetail assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    490 FAIL RTCError interface: attribute sdpLineNumber assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    491 FAIL RTCError interface: attribute sctpCauseCode assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    492 FAIL RTCError interface: attribute receivedAlert assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    493 FAIL RTCError interface: attribute sentAlert assert_own_property: self does not have own property "RTCError" expected property "RTCError" missing
    494 FAIL RTCErrorEvent interface: existence and properties of interface object assert_own_property: self does not have own property "RTCErrorEvent" expected property "RTCErrorEvent" missing
    495 FAIL RTCErrorEvent interface object length assert_own_property: self does not have own property "RTCErrorEvent" expected property "RTCErrorEvent" missing
    496 FAIL RTCErrorEvent interface object name assert_own_property: self does not have own property "RTCErrorEvent" expected property "RTCErrorEvent" missing
    497 FAIL RTCErrorEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "RTCErrorEvent" expected property "RTCErrorEvent" missing
    498 FAIL RTCErrorEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "RTCErrorEvent" expected property "RTCErrorEvent" missing
    499 FAIL RTCErrorEvent interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "RTCErrorEvent" expected property "RTCErrorEvent" missing
    500 FAIL RTCErrorEvent interface: attribute error assert_own_property: self does not have own property "RTCErrorEvent" expected property "RTCErrorEvent" missing
    501 FAIL RTCErrorEvent must be primary interface of new RTCErrorEvent('error') assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: RTCErrorEvent"
    502 FAIL Stringification of new RTCErrorEvent('error') assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: RTCErrorEvent"
    503 FAIL RTCErrorEvent interface: new RTCErrorEvent('error') must inherit property "error" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: RTCErrorEvent"
     483PASS RTCError interface: existence and properties of interface object
     484PASS RTCError interface object length
     485PASS RTCError interface object name
     486PASS RTCError interface: existence and properties of interface prototype object
     487PASS RTCError interface: existence and properties of interface prototype object's "constructor" property
     488PASS RTCError interface: existence and properties of interface prototype object's @@unscopables property
     489PASS RTCError interface: attribute errorDetail
     490PASS RTCError interface: attribute sdpLineNumber
     491PASS RTCError interface: attribute sctpCauseCode
     492PASS RTCError interface: attribute receivedAlert
     493PASS RTCError interface: attribute sentAlert
     494PASS RTCErrorEvent interface: existence and properties of interface object
     495PASS RTCErrorEvent interface object length
     496PASS RTCErrorEvent interface object name
     497PASS RTCErrorEvent interface: existence and properties of interface prototype object
     498PASS RTCErrorEvent interface: existence and properties of interface prototype object's "constructor" property
     499PASS RTCErrorEvent interface: existence and properties of interface prototype object's @@unscopables property
     500PASS RTCErrorEvent interface: attribute error
     501FAIL RTCErrorEvent must be primary interface of new RTCErrorEvent('error') assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Not enough arguments"
     502FAIL Stringification of new RTCErrorEvent('error') assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Not enough arguments"
     503FAIL RTCErrorEvent interface: new RTCErrorEvent('error') must inherit property "error" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Not enough arguments"
    504504
  • trunk/Source/WebCore/CMakeLists.txt

    r282197 r282199  
    387387    Modules/mediastream/RTCEncodedAudioFrame.idl
    388388    Modules/mediastream/RTCEncodedVideoFrame.idl
     389    Modules/mediastream/RTCError.idl
     390    Modules/mediastream/RTCErrorDetailType.idl
     391    Modules/mediastream/RTCErrorEvent.idl
    389392    Modules/mediastream/RTCIceCandidate.idl
    390393    Modules/mediastream/RTCIceCandidateInit.idl
  • trunk/Source/WebCore/ChangeLog

    r282198 r282199  
     12021-09-09  Youenn Fablet  <youenn@apple.com>
     2
     3        Add support for RTCError and RTCErrorEvent
     4        https://bugs.webkit.org/show_bug.cgi?id=229987
     5
     6        Reviewed by Eric Carlson.
     7
     8        Add support for RTCError and RTCErrorEvent as per https://w3c.github.io/webrtc-pc/#rtcerror-interface
     9        and https://w3c.github.io/webrtc-pc/#rtcerrorevent-interface.
     10
     11        Covered by updated tests.
     12
     13        * CMakeLists.txt:
     14        * DerivedSources-input.xcfilelist:
     15        * DerivedSources-output.xcfilelist:
     16        * DerivedSources.make:
     17        * Modules/mediastream/RTCError.cpp: Added.
     18        (WebCore::RTCError::RTCError):
     19        * Modules/mediastream/RTCError.h: Added.
     20        * Modules/mediastream/RTCError.idl: Added.
     21        * Modules/mediastream/RTCErrorDetailType.h: Added.
     22        * Modules/mediastream/RTCErrorDetailType.idl: Added.
     23        * Modules/mediastream/RTCErrorEvent.cpp: Added.
     24        (WebCore::RTCErrorEvent::RTCErrorEvent):
     25        * Modules/mediastream/RTCErrorEvent.h: Added.
     26        * Modules/mediastream/RTCErrorEvent.idl: Added.
     27        * Sources.txt:
     28        * WebCore.xcodeproj/project.pbxproj:
     29        * bindings/js/WebCoreBuiltinNames.h:
     30        * dom/DOMException.h:
     31        * dom/EventNames.in:
     32
    1332021-09-09  Youenn Fablet  <youenn@apple.com>
    234
  • trunk/Source/WebCore/DerivedSources-input.xcfilelist

    r282197 r282199  
    225225$(PROJECT_DIR)/Modules/mediastream/RTCEncodedAudioFrame.idl
    226226$(PROJECT_DIR)/Modules/mediastream/RTCEncodedVideoFrame.idl
     227$(PROJECT_DIR)/Modules/mediastream/RTCError.idl
     228$(PROJECT_DIR)/Modules/mediastream/RTCErrorDetailType.idl
     229$(PROJECT_DIR)/Modules/mediastream/RTCErrorEvent.idl
    227230$(PROJECT_DIR)/Modules/mediastream/RTCIceCandidate.idl
    228231$(PROJECT_DIR)/Modules/mediastream/RTCIceCandidateInit.idl
  • trunk/Source/WebCore/DerivedSources-output.xcfilelist

    r282197 r282199  
    16701670$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCEncodedVideoFrame.cpp
    16711671$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCEncodedVideoFrame.h
     1672$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCError.cpp
     1673$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCError.h
     1674$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCErrorDetailType.cpp
     1675$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCErrorDetailType.h
     1676$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCErrorEvent.cpp
     1677$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCErrorEvent.h
    16721678$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceCandidate.cpp
    16731679$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceCandidate.h
  • trunk/Source/WebCore/DerivedSources.make

    r282197 r282199  
    251251    $(WebCore)/Modules/mediastream/RTCEncodedAudioFrame.idl \
    252252    $(WebCore)/Modules/mediastream/RTCEncodedVideoFrame.idl \
     253    $(WebCore)/Modules/mediastream/RTCError.idl \
     254    $(WebCore)/Modules/mediastream/RTCErrorDetailType.idl \
     255    $(WebCore)/Modules/mediastream/RTCErrorEvent.idl \
    253256    $(WebCore)/Modules/mediastream/RTCIceCandidate.idl \
    254257    $(WebCore)/Modules/mediastream/RTCIceCandidateInit.idl \
  • trunk/Source/WebCore/Sources.txt

    r282197 r282199  
    166166Modules/mediastream/RTCEncodedFrame.cpp
    167167Modules/mediastream/RTCEncodedVideoFrame.cpp
     168Modules/mediastream/RTCError.cpp
     169Modules/mediastream/RTCErrorEvent.cpp
    168170Modules/mediastream/RTCIceCandidate.cpp
    169171Modules/mediastream/RTCIceTransport.cpp
     
    33213323JSRTCEncodedAudioFrame.cpp
    33223324JSRTCEncodedVideoFrame.cpp
     3325JSRTCError.cpp
     3326JSRTCErrorDetailType.cpp
     3327JSRTCErrorEvent.cpp
    33233328JSRTCIceCandidate.cpp
    33243329JSRTCIceCandidateInit.cpp
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r282197 r282199  
    11671167                41A3D58F101C152D00316D07 /* DedicatedWorkerThread.h in Headers */ = {isa = PBXBuildFile; fileRef = 41A3D58D101C152D00316D07 /* DedicatedWorkerThread.h */; };
    11681168                41A7D3531F438D16008988DE /* WorkerCacheStorageConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = 41A7D3501F438D10008988DE /* WorkerCacheStorageConnection.h */; };
     1169                41AB979526E75A2E007C0FE6 /* RTCErrorDetailType.h in Headers */ = {isa = PBXBuildFile; fileRef = 41AB979226E75A2D007C0FE6 /* RTCErrorDetailType.h */; };
    11691170                41ABE67B1D0580DB006D862D /* CrossOriginPreflightChecker.h in Headers */ = {isa = PBXBuildFile; fileRef = 41ABE67A1D0580D5006D862D /* CrossOriginPreflightChecker.h */; };
    11701171                41AD753A1CEF6BD100A31486 /* FetchOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = 41AD75391CEF6BCE00A31486 /* FetchOptions.h */; settings = {ATTRIBUTES = (Private, ); }; };
     
    80388039                41A7D34F1F438D10008988DE /* WorkerCacheStorageConnection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WorkerCacheStorageConnection.cpp; sourceTree = "<group>"; };
    80398040                41A7D3501F438D10008988DE /* WorkerCacheStorageConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WorkerCacheStorageConnection.h; sourceTree = "<group>"; };
     8041                41AB979226E75A2D007C0FE6 /* RTCErrorDetailType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCErrorDetailType.h; sourceTree = "<group>"; };
     8042                41AB979426E75A2D007C0FE6 /* RTCErrorDetailType.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RTCErrorDetailType.idl; sourceTree = "<group>"; };
    80408043                41ABE6791D0580D5006D862D /* CrossOriginPreflightChecker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CrossOriginPreflightChecker.cpp; sourceTree = "<group>"; };
    80418044                41ABE67A1D0580D5006D862D /* CrossOriginPreflightChecker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CrossOriginPreflightChecker.h; sourceTree = "<group>"; };
     
    80588061                41B6AA5126B995F800AADFA7 /* RTCRtpSFrameTransformErrorEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RTCRtpSFrameTransformErrorEvent.idl; sourceTree = "<group>"; };
    80598062                41B6AA5226B995F900AADFA7 /* RTCRtpSFrameTransformErrorEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RTCRtpSFrameTransformErrorEvent.cpp; sourceTree = "<group>"; };
     8063                41B7C04526E690BC00D36C07 /* RTCErrorEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = RTCErrorEvent.cpp; sourceTree = "<group>"; };
     8064                41B7C04726E690BD00D36C07 /* RTCErrorEvent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RTCErrorEvent.h; sourceTree = "<group>"; };
     8065                41B7C04826E690BE00D36C07 /* RTCErrorEvent.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = RTCErrorEvent.idl; sourceTree = "<group>"; };
     8066                41B7C04926E6916F00D36C07 /* RTCError.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = RTCError.idl; sourceTree = "<group>"; };
     8067                41B7C04A26E6917000D36C07 /* RTCError.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = RTCError.cpp; sourceTree = "<group>"; };
     8068                41B7C04B26E6917100D36C07 /* RTCError.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RTCError.h; sourceTree = "<group>"; };
    80608069                41B8776023DE1042003638B8 /* RealtimeMediaSourceIdentifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RealtimeMediaSourceIdentifier.h; sourceTree = "<group>"; };
    80618070                41B9137623584D0E0025BFA3 /* MockAudioDestinationCocoa.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MockAudioDestinationCocoa.h; sourceTree = "<group>"; };
     
    1726617275                                414189FD2564176600363417 /* RTCEncodedVideoFrame.h */,
    1726717276                                414189FA2564165100363417 /* RTCEncodedVideoFrame.idl */,
     17277                                41B7C04A26E6917000D36C07 /* RTCError.cpp */,
     17278                                41B7C04B26E6917100D36C07 /* RTCError.h */,
     17279                                41B7C04926E6916F00D36C07 /* RTCError.idl */,
     17280                                41AB979226E75A2D007C0FE6 /* RTCErrorDetailType.h */,
     17281                                41AB979426E75A2D007C0FE6 /* RTCErrorDetailType.idl */,
     17282                                41B7C04526E690BC00D36C07 /* RTCErrorEvent.cpp */,
     17283                                41B7C04726E690BD00D36C07 /* RTCErrorEvent.h */,
     17284                                41B7C04826E690BE00D36C07 /* RTCErrorEvent.idl */,
    1726817285                                07221B7117CEC32700848E51 /* RTCIceCandidate.cpp */,
    1726917286                                07221B7217CEC32700848E51 /* RTCIceCandidate.h */,
     
    3452334540                                078E092017D14D1C00420AA1 /* RTCDTMFSender.h in Headers */,
    3452434541                                078E092117D14D1C00420AA1 /* RTCDTMFToneChangeEvent.h in Headers */,
     34542                                41AB979526E75A2E007C0FE6 /* RTCErrorDetailType.h in Headers */,
    3452534543                                078E092317D14D1C00420AA1 /* RTCIceCandidate.h in Headers */,
    3452634544                                078E094017D16E1C00420AA1 /* RTCIceCandidateDescriptor.h in Headers */,
  • trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h

    r282197 r282199  
    172172    macro(PerformanceNavigationTiming) \
    173173    macro(PictureInPictureWindow) \
    174     macro(SQLError) \
    175     macro(SQLResultSet) \
    176     macro(SQLResultSetRowList) \
    177     macro(SQLTransaction) \
    178174    macro(PaintWorkletGlobalScope) \
    179175    macro(PerformanceEntry) \
     
    201197    macro(RTCEncodedAudioFrame) \
    202198    macro(RTCEncodedVideoFrame) \
     199    macro(RTCError) \
     200    macro(RTCErrorEvent) \
    203201    macro(RTCIceCandidate) \
    204202    macro(RTCIceTransport) \
     
    229227    macro(SFrameTransform) \
    230228    macro(SFrameTransformErrorEvent) \
     229    macro(SQLError) \
     230    macro(SQLResultSet) \
     231    macro(SQLResultSetRowList) \
     232    macro(SQLTransaction) \
    231233    macro(ScreenLuminance) \
    232234    macro(ServiceWorker) \
  • trunk/Source/WebCore/dom/DOMException.h

    r233122 r282199  
    6161    static ASCIILiteral message(ExceptionCode ec) { return description(ec).message; }
    6262
    63 private:
     63protected:
    6464    DOMException(LegacyCode, const String& name, const String& message);
    6565
     66private:
    6667    LegacyCode m_legacyCode;
    6768    String m_name;
  • trunk/Source/WebCore/dom/EventNames.in

    r280958 r282199  
    6161PaymentMethodChangeEvent conditional=PAYMENT_REQUEST
    6262PaymentRequestUpdateEvent conditional=PAYMENT_REQUEST
     63RTCErrorEvent conditional=WEB_RTC
    6364RTCPeerConnectionIceErrorEvent conditional=WEB_RTC
    6465RTCPeerConnectionIceEvent conditional=WEB_RTC
Note: See TracChangeset for help on using the changeset viewer.