@mertushka/webrtc-node 0.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +143 -0
- package/LICENSE +373 -0
- package/README.md +166 -0
- package/docs/README.md +14 -0
- package/docs/architecture.md +38 -0
- package/docs/conformance.md +53 -0
- package/docs/development.md +161 -0
- package/docs/divergences.md +230 -0
- package/examples/datachannel.js +57 -0
- package/index.d.ts +340 -0
- package/lib/index.js +4139 -0
- package/lib/load-native.js +42 -0
- package/package.json +94 -0
- package/scripts/check-api-surface.js +149 -0
- package/scripts/check-ci-evidence.js +124 -0
- package/scripts/check-native-integration.js +124 -0
- package/scripts/check-package-artifact.js +91 -0
- package/scripts/check-prebuilds.js +31 -0
- package/scripts/check-wpt-results.js +117 -0
- package/scripts/check-wpt-selection.js +72 -0
- package/scripts/ensure-wpt.js +118 -0
- package/scripts/install-native.js +116 -0
- package/scripts/package-prebuild.js +69 -0
- package/scripts/print-wpt-manifest.js +7 -0
- package/scripts/run-docker-linux-ci.ps1 +73 -0
- package/scripts/run-docker-linux-ci.sh +97 -0
- package/scripts/run-wpt-smoke.js +32 -0
- package/scripts/run-wpt-subset.js +1193 -0
- package/scripts/write-ci-evidence.js +118 -0
- package/scripts/write-wpt-report.js +143 -0
- package/src/native/addon.cc +1202 -0
- package/wpt-manifest.json +129 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"libdatachannelCommit": "ca9a141f84393355f4af7a6c7b6645d2f1fc49b8",
|
|
3
|
+
"wptCommit": "03169f171c797d0953b21d7388561b454fde0ad4",
|
|
4
|
+
"expectedSelectedSubtests": 620,
|
|
5
|
+
"expectedPass": [
|
|
6
|
+
"webrtc/RTCPeerConnection-constructor.html",
|
|
7
|
+
"webrtc/RTCError.html?interop-2026",
|
|
8
|
+
"webrtc/RTCError.html?rest",
|
|
9
|
+
"webrtc/RTCDataChannelEvent-constructor.html",
|
|
10
|
+
"webrtc/RTCPeerConnectionIceEvent-constructor.html",
|
|
11
|
+
"webrtc/RTCPeerConnectionIceErrorEvent.html",
|
|
12
|
+
"webrtc/RTCIceCandidate-constructor.html",
|
|
13
|
+
"webrtc/toJSON.html",
|
|
14
|
+
"webrtc/RTCPeerConnection-plan-b-is-not-supported.html",
|
|
15
|
+
"webrtc/historical.html#non-media-legacy-surface-subset",
|
|
16
|
+
"webrtc/RTCPeerConnection-generateCertificate.html",
|
|
17
|
+
"webrtc/RTCCertificate.html#single-native-certificate-subset",
|
|
18
|
+
"webrtc/RTCConfiguration-certificates.html",
|
|
19
|
+
"webrtc/RTCConfiguration-validation.html",
|
|
20
|
+
"webrtc/RTCConfiguration-iceCandidatePoolSize.html",
|
|
21
|
+
"webrtc/RTCConfiguration-iceServers.html?rest",
|
|
22
|
+
"webrtc/RTCConfiguration-iceServers.html?interop-2026",
|
|
23
|
+
"webrtc/RTCConfiguration-bundlePolicy.html#non-media-constructor-and-setConfiguration-subset",
|
|
24
|
+
"webrtc/RTCConfiguration-rtcpMuxPolicy.html#constructor-and-setConfiguration-subset",
|
|
25
|
+
"webrtc/RTCConfiguration-iceTransportPolicy.html?rest#constructor-and-setConfiguration-subset",
|
|
26
|
+
"webrtc/RTCConfiguration-iceTransportPolicy.html?interop-2026",
|
|
27
|
+
"webrtc/RTCSctpTransport-constructor.html",
|
|
28
|
+
"webrtc/RTCSctpTransport-events.html",
|
|
29
|
+
"webrtc/RTCSctpTransport-maxChannels.html?interop-2026",
|
|
30
|
+
"webrtc/RTCSctpTransport-maxChannels.html?rest",
|
|
31
|
+
"webrtc/RTCSctpTransport-maxMessageSize.html",
|
|
32
|
+
"webrtc/RTCIceTransport.html?rest#datachannel-connected-candidate-pair-disconnected-unconnected-and-restart-identity-subset",
|
|
33
|
+
"webrtc/RTCDataChannelInit-maxRetransmits-enforce-range.html",
|
|
34
|
+
"webrtc/RTCDataChannelInit-maxPacketLifeTime-enforce-range.html",
|
|
35
|
+
"webrtc/RTCDataChannel-binaryType.window.js",
|
|
36
|
+
"webrtc/RTCPeerConnection-createDataChannel.html#static-construction-validation-high-id-id-assignment-duplicate-id-and-connected-state-subset",
|
|
37
|
+
"webrtc/RTCPeerConnection-createDataChannel.html?interop-2026#ignored-id-subset",
|
|
38
|
+
"webrtc/RTCDataChannel-id.html",
|
|
39
|
+
"webrtc/RTCDataChannel-send.html#connecting-state-string-binary-blob-open-and-datachannel-handler-send-subset",
|
|
40
|
+
"webrtc/RTCDataChannel-send-blob-order.html",
|
|
41
|
+
"webrtc/RTCDataChannel-send-close-string.window.js",
|
|
42
|
+
"webrtc/RTCDataChannel-send-close-string-negotiated.window.js",
|
|
43
|
+
"webrtc/RTCDataChannel-send-close-array-buffer.window.js",
|
|
44
|
+
"webrtc/RTCDataChannel-send-close-array-buffer-negotiated.window.js",
|
|
45
|
+
"webrtc/RTCDataChannel-send-close-blob.window.js",
|
|
46
|
+
"webrtc/RTCDataChannel-send-close-blob-negotiated.window.js",
|
|
47
|
+
"webrtc/RTCDataChannel-bufferedAmount.html",
|
|
48
|
+
"webrtc/RTCDataChannel-close.html",
|
|
49
|
+
"webrtc/RTCDataChannel-GC.html",
|
|
50
|
+
"webrtc/RTCDataChannel-iceRestart.html",
|
|
51
|
+
"webrtc/promises-call.html",
|
|
52
|
+
"webrtc/RTCPeerConnection-restartIce.https.html#closed-state-noop-subset",
|
|
53
|
+
"webrtc/RTCPeerConnection-createOffer.html#createOffer-dictionary-local-description-and-closed-state-subset",
|
|
54
|
+
"webrtc/RTCPeerConnection-createOffer.html?interop-2026#invalid-state-have-remote-offer",
|
|
55
|
+
"webrtc/RTCPeerConnection-operations.https.html#core-invalidstate-and-chain-visibility-subset",
|
|
56
|
+
"webrtc/RTCPeerConnection-operations.https.html?interop-2026#core-invalidstate-empty-chain-and-chain-visibility-subset",
|
|
57
|
+
"webrtc/RTCPeerConnection-createAnswer.html",
|
|
58
|
+
"webrtc/RTCPeerConnection-setLocalDescription.html#current-pending-local-offer-and-signalingstatechange-subset",
|
|
59
|
+
"webrtc/RTCPeerConnection-setLocalDescription-offer.html#valid-empty-sdp-and-foreign-offer-subset",
|
|
60
|
+
"webrtc/RTCPeerConnection-setLocalDescription-answer.html#valid-empty-sdp-foreign-answer-and-invalid-state-subset",
|
|
61
|
+
"webrtc/RTCPeerConnection-setLocalDescription-pranswer.html",
|
|
62
|
+
"webrtc/RTCPeerConnection-setLocalDescription-rollback.html#local-offer-rollback-state-subset",
|
|
63
|
+
"webrtc/RTCPeerConnection-description-attributes-timing.https.html",
|
|
64
|
+
"webrtc/RTCPeerConnection-setLocalDescription-parameterless.https.html#parameterless-no-media-last-created-and-pending-close-subset",
|
|
65
|
+
"webrtc/RTCPeerConnection-setLocalDescription-parameterless.https.html?interop-2026#session-description-missing-type",
|
|
66
|
+
"webrtc/RTCPeerConnection-setRemoteDescription.html#invalid-type-role-switch-signaling-events-and-close-pending-subset",
|
|
67
|
+
"webrtc/RTCPeerConnection-setRemoteDescription-offer.html#valid-repeated-invalid-sdp-and-implicit-rollback-offer-subset",
|
|
68
|
+
"webrtc/RTCPeerConnection-setRemoteDescription-offer.html?interop-2026#implicit-rollback-signalingstatechange-subset",
|
|
69
|
+
"webrtc/RTCPeerConnection-setRemoteDescription-answer.html",
|
|
70
|
+
"webrtc/RTCPeerConnection-setRemoteDescription-pranswer.html",
|
|
71
|
+
"webrtc/RTCPeerConnection-setRemoteDescription-rollback.html#remote-offer-rollback-state-subset",
|
|
72
|
+
"webrtc/RTCPeerConnection-addIceCandidate.html",
|
|
73
|
+
"webrtc/RTCPeerConnection-addIceCandidate.html?interop-2026#after-close-and-dictionary-recognition-subset",
|
|
74
|
+
"webrtc/RTCPeerConnection-canTrickleIceCandidates.html",
|
|
75
|
+
"webrtc/RTCPeerConnection-iceGatheringState.html#initial-and-no-transport-subset",
|
|
76
|
+
"webrtc/RTCPeerConnection-iceGatheringState.html?interop-2026#datachannel-sctp-ice-transport-gathering-state-subset",
|
|
77
|
+
"webrtc/RTCPeerConnection-explicit-rollback-iceGatheringState.html#datachannel-rollback-and-ice-restart-gathering-subset",
|
|
78
|
+
"webrtc/RTCPeerConnection-iceConnectionState.https.html#initial-close-and-datachannel-connected-and-completed-subset",
|
|
79
|
+
"webrtc/RTCPeerConnection-connectionState.https.html#initial-close-datachannel-and-transport-connected-subset",
|
|
80
|
+
"webrtc/RTCPeerConnection-ondatachannel.html",
|
|
81
|
+
"webrtc/RTCPeerConnection-onnegotiationneeded.html#first-datachannel-and-deduped-datachannel-subset"
|
|
82
|
+
],
|
|
83
|
+
"needsShim": [
|
|
84
|
+
"resources/testharness.js",
|
|
85
|
+
"webrtc/RTCPeerConnection-helper.js",
|
|
86
|
+
"webrtc/RTCDataChannel-helper.js",
|
|
87
|
+
"webrtc/RTCConfiguration-bundlePolicy.html#media-candidate-gathering-cases",
|
|
88
|
+
"webrtc/RTCConfiguration-iceTransportPolicy.html#media-candidate-gathering-and-restart-cases",
|
|
89
|
+
"webrtc/RTCConfiguration-rtcpMuxPolicy.html#media-sdp-rtcp-mux-validation-cases",
|
|
90
|
+
"webrtc/historical.html#RTCRtpTransceiver-legacy-member-check",
|
|
91
|
+
"webrtc/RTCCertificate.html#multiple-native-certificate-sdp-fingerprints",
|
|
92
|
+
"webrtc/RTCIceTransport.html?rest#connected-candidate-pair-gatheringState-complete-typo-shim",
|
|
93
|
+
"webrtc/RTCIceTransport.html#remaining-media-and-legacy-gathering-state-cases",
|
|
94
|
+
"webrtc/RTCPeerConnection-onicecandidateerror.https.html#native-ICE-server-error-events",
|
|
95
|
+
"webrtc/RTCPeerConnection-createDataChannel.html#remaining-native-stream-functional-high-id-and-media-cases",
|
|
96
|
+
"webrtc/RTCPeerConnection-createOffer.html#remaining-browser-media-and-sdp-munging-cases",
|
|
97
|
+
"webrtc/RTCPeerConnection-setLocalDescription.html#remaining-browser-media-and-sdp-munging-cases",
|
|
98
|
+
"webrtc/RTCPeerConnection-setLocalDescription-rollback.html#transceiver-queued-state-ordering",
|
|
99
|
+
"webrtc/RTCPeerConnection-setRemoteDescription.html#remaining-browser-media-and-sdp-munging-cases",
|
|
100
|
+
"webrtc/RTCPeerConnection-setRemoteDescription-offer.html#remaining-media-transceiver-and-invalid-offer-timeout-cases",
|
|
101
|
+
"webrtc/RTCPeerConnection-addIceCandidate-timing.https.html#operations-chain-and-candidate-event-ordering",
|
|
102
|
+
"webrtc/RTCPeerConnection-operations.https.html#transceiver-replaceTrack-setParameters-stats-negotiationneeded-queue-cases",
|
|
103
|
+
"webrtc/RTCPeerConnection-addIceCandidate-connectionSetup.html#media-transceiver-connection-setup",
|
|
104
|
+
"webrtc/RTCPeerConnection-restartIce.https.html#remaining-initial-negotiation-fresh-ufrag-media-and-signaling-edge-cases",
|
|
105
|
+
"webrtc/RTCPeerConnection-iceGatheringState.html#remaining-media-restart-fresh-credential-and-candidate-ordering-cases",
|
|
106
|
+
"webrtc/RTCPeerConnection-iceConnectionState.https.html#remaining-transport-object-and-media-cases",
|
|
107
|
+
"webrtc/RTCPeerConnection-connectionState.https.html#remaining-transport-object-and-media-cases",
|
|
108
|
+
"webrtc/RTCPeerConnection-onsignalingstatechanged.https.html"
|
|
109
|
+
],
|
|
110
|
+
"expectedFail": [
|
|
111
|
+
"webrtc/RTCPeerConnection-setLocalDescription*.html#arbitrary-local-sdp-munging",
|
|
112
|
+
"webrtc/RTCDataChannel-worker*.js",
|
|
113
|
+
"webrtc/RTCDataChannel-worker-GC.html",
|
|
114
|
+
"webrtc/transfer-datachannel.html",
|
|
115
|
+
"webrtc/transfer-datachannel-worker.js",
|
|
116
|
+
"webrtc/RTCPeerConnection-GC.https.html"
|
|
117
|
+
],
|
|
118
|
+
"notApplicable": [
|
|
119
|
+
"webrtc/RTCRtp*.html",
|
|
120
|
+
"webrtc/RTCDTMFSender*.html",
|
|
121
|
+
"webrtc/RTCPeerConnection-addTrack*.html",
|
|
122
|
+
"webrtc/RTCPeerConnection-addTransceiver*.html",
|
|
123
|
+
"webrtc/RTCPeerConnection-ontrack*.html",
|
|
124
|
+
"webrtc/RTCPeerConnection-getStats*.html",
|
|
125
|
+
"webrtc/RTCPeerConnection-transceivers*.html",
|
|
126
|
+
"webrtc/RTCPeerConnection-perfect-negotiation*.html#media",
|
|
127
|
+
"webrtc/idlharness.https.window.js#media-and-browser-only-members"
|
|
128
|
+
]
|
|
129
|
+
}
|