Name Description Size Coverage
addTurnsSelfsignedCert.js 879 -
blacksilence.js 3989 -
dataChannel.js Returns the contents of a blob as text @param {Blob} blob The blob to retrieve the contents from 9955 -
head.js Reads the current values of preferences affecting fake and loopback devices and sets the WANT_FAKE_AUDIO and WANT_FAKE_VIDEO gloabals appropriately. 44027 -
helpers_from_wpt -
iceTestUtils.js 14155 -
identity -
mediaStreamPlayback.js The time we wait depends primarily on the canplaythrough event firing Note: this needs to be at least 30s because the B2G emulator in VMs is really slow. 7556 -
mochitest.toml 2946 -
mochitest_datachannel.toml 1727 -
mochitest_getusermedia.toml 4340 -
mochitest_peerconnection.toml 14567 -
network.js A stub function for preparing the network if needed 429 -
NetworkPreparationChromeScript.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1306 -
nonTrickleIce.js 3550 -
parser_rtp.js Parses an RTP packet @param buffer an ArrayBuffer that contains the packet @return { type: "rtp", header: {...}, payload: a DataView } 5016 -
pc.js This class handles tests for peer connections. @class @param {object} [options={}] Optional options for the peer connection test @param {object} [options.commands=commandsPeerConnection] Commands to run for the test @param {bool} [options.is_local=true] true if this test should run the tests for the "local" side. @param {bool} [options.is_remote=true] true if this test should run the tests for the "remote" side. @param {object} [options.config_local=undefined] Configuration for the local peer connection instance @param {object} [options.config_remote=undefined] Configuration for the remote peer connection instance. If not defined the configuration from the local instance will be used 76084 -
peerconnection_audio_forced_sample_rate.js 1311 -
sdpUtils.js 13418 -
simulcast.js Helper functions to munge SDP and split the sending track into separate tracks on the receiving end. This can be done in a number of ways, the one used here uses the fact that the MID and RID header extensions which are used for packet routing share the same wire format. The receiver interprets the rids from the sender as mids which allows receiving the different spatial resolutions on separate m-lines and tracks. 7515 -
stats.js 57374 -
templates.js Default list of commands to execute for a PeerConnection test. 17060 -
test_1488832.html 662 -
test_1717318.html PC construct with no global object (bug 1717318) 761 -
test_a_noOp.html Test for Bug 1264772 961 -
test_dataChannel_basicAudio.html 512 -
test_dataChannel_basicAudioVideo.html 577 -
test_dataChannel_basicAudioVideoCombined.html 573 -
test_dataChannel_basicAudioVideoNoBundle.html 630 -
test_dataChannel_basicDataOnly.html 449 -
test_dataChannel_basicVideo.html 512 -
test_dataChannel_bug1013809.html 648 -
test_dataChannel_dataOnlyBufferedAmountLow.html 543 -
test_dataChannel_dcsctp_interop.html 11707 -
test_dataChannel_dtlsVersions.html 948 -
test_dataChannel_hostnameObfuscation.html 1702 -
test_dataChannel_id.html 2686 -
test_dataChannel_noOffer.html 755 -
test_dataChannel_stats.html 2047 -
test_defaultAudioConstraints.html 2861 -
test_enumerateDevices.html 5286 -
test_enumerateDevices_getUserMediaFake.html 2211 -
test_enumerateDevices_iframe.html 711 -
test_enumerateDevices_iframe_pre_gum.html 517 -
test_enumerateDevices_legacy.html 516 -
test_enumerateDevices_legacy_allowlist.html 546 -
test_enumerateDevices_navigation.html 1624 -
test_fingerprinting_resistance.html 3658 -
test_forceSampleRate.html Test the pref media.cubeb.force_sample_rate 637 -
test_getUserMedia_active_autoplay.html 1874 -
test_getUserMedia_addtrack_removetrack_events.html 2712 -
test_getUserMedia_addTrackRemoveTrack.html 7223 -
test_getUserMedia_audioCapture.html Test AudioCapture 4943 -
test_getUserMedia_audioConstraints.html 3256 -
test_getUserMedia_audioConstraints_concurrentIframes.html 6471 -
test_getUserMedia_audioConstraints_concurrentStreams.html 4896 -
test_getUserMedia_basicAudio.html 740 -
test_getUserMedia_basicAudio_loopback.html 3989 -
test_getUserMedia_basicScreenshare.html 11383 -
test_getUserMedia_basicTabshare.html 2081 -
test_getUserMedia_basicVideo.html 749 -
test_getUserMedia_basicVideo_playAfterLoadedmetadata.html 1252 -
test_getUserMedia_basicVideoAudio.html 794 -
test_getUserMedia_basicWindowshare.html 1019 -
test_getUserMedia_bug1223696.html 1584 -
test_getUserMedia_constraints.html 6992 -
test_getUserMedia_cubebDisabled.html 1308 -
test_getUserMedia_cubebDisabledFakeStreams.html 1341 -
test_getUserMedia_GC_MediaStream.html 1706 -
test_getUserMedia_getTrackById.html 1624 -
test_getUserMedia_gumWithinGum.html 1293 -
test_getUserMedia_loadedmetadata.html 1161 -
test_getUserMedia_mediaElementCapture_audio.html 4510 -
test_getUserMedia_mediaElementCapture_tracks.html 6831 -
test_getUserMedia_mediaElementCapture_video.html 3087 -
test_getUserMedia_mediaStreamClone.html 11024 -
test_getUserMedia_mediaStreamConstructors.html 7900 -
test_getUserMedia_mediaStreamTrackClone.html 7594 -
test_getUserMedia_peerIdentity.html 1712 -
test_getUserMedia_permission.html 3463 -
test_getUserMedia_permission_iframe.html 599 -
test_getUserMedia_playAudioTwice.html 714 -
test_getUserMedia_playVideoAudioTwice.html 727 -
test_getUserMedia_playVideoTwice.html 723 -
test_getUserMedia_scarySources.html 1796 -
test_getUserMedia_spinEventLoop.html 773 -
test_getUserMedia_trackCloneCleanup.html 981 -
test_getUserMedia_trackEnded.html 2530 -
test_groupId.html 1830 -
test_multi_mics.html 1670 -
test_ondevicechange.html 6779 -
test_ondevicechange_resistfingerprinting.html 3203 -
test_peerConnection_addAudioTrackToExistingVideoStream.html 2131 -
test_peerConnection_addDataChannel.html 838 -
test_peerConnection_addDataChannelNoBundle.html 1300 -
test_peerConnection_addSecondAudioStream.html 1697 -
test_peerConnection_addSecondAudioStreamNoBundle.html 2104 -
test_peerConnection_addSecondVideoStream.html 1792 -
test_peerConnection_addSecondVideoStreamNoBundle.html 2091 -
test_peerConnection_addtrack_removetrack_events.html 2565 -
test_peerConnection_answererAddSecondAudioStream.html 805 -
test_peerConnection_audioChannels.html 3700 -
test_peerConnection_audioCodecs.html 2531 -
test_peerConnection_audioContributingSources.html 5609 -
test_peerConnection_audioRenegotiationInactiveAnswer.html 1954 -
test_peerConnection_audioSynchronizationSources.html 3492 -
test_peerConnection_audioSynchronizationSourcesUnidirectional.html 1875 -
test_peerConnection_basicAudio.html 596 -
test_peerConnection_basicAudio_forced_higher_rate.html 504 -
test_peerConnection_basicAudio_forced_lower_rate.html 504 -
test_peerConnection_basicAudioDynamicPtMissingRtpmap.html 1106 -
test_peerConnection_basicAudioNATRelay.html 2070 -
test_peerConnection_basicAudioNATRelayTCP.html 1768 -
test_peerConnection_basicAudioNATRelayTCPWithStun300.html 2356 -
test_peerConnection_basicAudioNATRelayTLS.html 1693 -
test_peerConnection_basicAudioNATRelayWithStun300.html 2379 -
test_peerConnection_basicAudioNATSrflx.html 1962 -
test_peerConnection_basicAudioNoisyUDPBlock.html 1725 -
test_peerConnection_basicAudioPcmaPcmuOnly.html 1166 -
test_peerConnection_basicAudioRelayPolicy.html 3284 -
test_peerConnection_basicAudioRequireEOC.html 1103 -
test_peerConnection_basicAudioVerifyRtpHeaderExtensions.html 2174 -
test_peerConnection_basicAudioVideo.html 543 -
test_peerConnection_basicAudioVideoCombined.html 539 -
test_peerConnection_basicAudioVideoNoBundle.html 590 -
test_peerConnection_basicAudioVideoNoBundleNoRtcpMux.html 1252 -
test_peerConnection_basicAudioVideoNoRtcpMux.html 1204 -
test_peerConnection_basicAudioVideoTransceivers.html 747 -
test_peerConnection_basicAudioVideoVerifyExtmap.html 3781 -
test_peerConnection_basicAudioVideoVerifyExtmapSendonly.html 3753 -
test_peerConnection_basicAudioVideoVerifyTooLongMidFails.html 1538 -
test_peerConnection_basicAV1Video.html 640 -
test_peerConnection_basicH264Video.html 705 -
test_peerConnection_basicScreenshare.html 3214 -
test_peerConnection_basicVideo.html 472 -
test_peerConnection_basicVideoVerifyRtpHeaderExtensions.html 3140 -
test_peerConnection_basicWindowshare.html 528 -
test_peerConnection_bug822674.html 600 -
test_peerConnection_bug825703.html 4997 -
test_peerConnection_bug827843.html 1482 -
test_peerConnection_bug834153.html 965 -
test_peerConnection_bug1013809.html 645 -
test_peerConnection_bug1042791.html 992 -
test_peerConnection_bug1227781.html 693 -
test_peerConnection_bug1512281.html 1310 -
test_peerConnection_bug1773067.html 733 -
test_peerConnection_callbacks.html 2859 -
test_peerConnection_capturedVideo.html 2243 -
test_peerConnection_captureStream_canvas_2d.html 2610 -
test_peerConnection_captureStream_canvas_2d_noSSRC.html 2676 -
test_peerConnection_captureStream_canvas_webgl.html 4298 -
test_peerConnection_certificates.html 5727 -
test_peerConnection_checkPacketDumpHook.html 4445 -
test_peerConnection_close.html 5461 -
test_peerConnection_closeDuringIce.html 2891 -
test_peerConnection_codecNegotiationFailure.html 3398 -
test_peerConnection_constructedStream.html 2162 -
test_peerConnection_disabledVideoPreNegotiation.html 1482 -
test_peerConnection_encodingsNegotiation.html 2668 -
test_peerConnection_errorCallbacks.html 1650 -
test_peerConnection_extmapRenegotiation.html 14063 -
test_peerConnection_forwarding_basicAudioVideoCombined.html 1599 -
test_peerConnection_gatherWithSetConfiguration.html 21224 -
test_peerConnection_gatherWithStun300.html 13502 -
test_peerConnection_gatherWithStun300IPv6.html 14097 -
test_peerConnection_getParameters.html 16935 -
test_peerConnection_glean.html 75657 -
test_peerConnection_iceCandidateSelection.html 11871 -
test_peerConnection_iceFailure.html 2919 -
test_peerConnection_insertDTMF.html 2026 -
test_peerConnection_localhostPolicy.html 2710 -
test_peerConnection_localReofferRollback.html 1409 -
test_peerConnection_localRollback.html 1473 -
test_peerConnection_maxFsConstraint.html 3694 -
test_peerConnection_multiple_captureStream_canvas_2d.html 3861 -
test_peerConnection_nonDefaultRate.html 5751 -
test_peerConnection_noTrickleAnswer.html 601 -
test_peerConnection_noTrickleOffer.html 599 -
test_peerConnection_noTrickleOfferAnswer.html 650 -
test_peerConnection_offerRequiresReceiveAudio.html 503 -
test_peerConnection_offerRequiresReceiveVideo.html 503 -
test_peerConnection_offerRequiresReceiveVideoAudio.html 549 -
test_peerConnection_portRestrictions.html 2299 -
test_peerConnection_promiseSendOnly.html 2307 -
test_peerConnection_recordReceiveTrack.html 3190 -
test_peerConnection_relayOnly.html 2144 -
test_peerConnection_remoteReofferRollback.html 1479 -
test_peerConnection_remoteRollback.html 1543 -
test_peerConnection_removeAudioTrack.html 2057 -
test_peerConnection_removeThenAddAudioTrack.html 3426 -
test_peerConnection_removeThenAddAudioTrackNoBundle.html 2986 -
test_peerConnection_removeThenAddVideoTrack.html 3661 -
test_peerConnection_removeThenAddVideoTrackNoBundle.html 3365 -
test_peerConnection_removeVideoTrack.html 2208 -
test_peerConnection_renderAfterRenegotiation.html 3300 -
test_peerConnection_replaceNullTrackThenRenegotiateAudio.html 2035 -
test_peerConnection_replaceNullTrackThenRenegotiateVideo.html 2453 -
test_peerConnection_replaceTrack.html 7365 -
test_peerConnection_replaceTrack_camera.html 1557 -
test_peerConnection_replaceTrack_disabled.html 1811 -
test_peerConnection_replaceTrack_microphone.html 1499 -
test_peerConnection_replaceVideoThenRenegotiate.html 2816 -
test_peerConnection_restartIce.html 1086 -
test_peerConnection_restartIceBadAnswer.html 1866 -
test_peerConnection_restartIceLocalAndRemoteRollback.html 2141 -
test_peerConnection_restartIceLocalAndRemoteRollbackNoSubsequentRestart.html 2359 -
test_peerConnection_restartIceLocalRollback.html 2114 -
test_peerConnection_restartIceLocalRollbackNoSubsequentRestart.html 1900 -
test_peerConnection_restartIceNoBundle.html 1155 -
test_peerConnection_restartIceNoBundleNoRtcpMux.html 1206 -
test_peerConnection_restartIceNoRtcpMux.html 1212 -
test_peerConnection_restrictBandwidthTargetBitrate.html 769 -
test_peerConnection_restrictBandwidthWithTias.html 812 -
test_peerConnection_RTCIceTransport.html 8117 -
test_peerConnection_rtcp_rsize.html 2795 -
test_peerConnection_scaleResolution.html 4004 -
test_peerConnection_scaleResolution_oldSetParameters.html 4611 -
test_peerConnection_sender_and_receiver_stats.html 2759 -
test_peerConnection_setLocalAnswerInHaveLocalOffer.html 858 -
test_peerConnection_setLocalAnswerInStable.html 839 -
test_peerConnection_setLocalOfferInHaveRemoteOffer.html 787 -
test_peerConnection_setParameters.html 18663 -
test_peerConnection_setParameters_maxFramerate.html 1784 -
test_peerConnection_setParameters_maxFramerate_oldSetParameters.html 1715 -
test_peerConnection_setParameters_oldSetParameters.html 3064 -
test_peerConnection_setParameters_scaleResolutionDownBy.html 3055 -
test_peerConnection_setParameters_scaleResolutionDownBy_oldSetParameters.html 2986 -
test_peerConnection_setParametersCompatMode.html 6437 -
test_peerConnection_setRemoteAnswerInHaveRemoteOffer.html 906 -
test_peerConnection_setRemoteAnswerInStable.html 882 -
test_peerConnection_setRemoteOfferInHaveLocalOffer.html 1082 -
test_peerConnection_sillyCodecPriorities.html 3174 -
test_peerConnection_simulcastAnswer.html 4893 -
test_peerConnection_simulcastAnswer_lowResFirst.html 4599 -
test_peerConnection_simulcastAnswer_lowResFirst_oldSetParameters.html 4548 -
test_peerConnection_simulcastAnswer_oldSetParameters.html 4521 -
test_peerConnection_simulcastOddResolution.html 8090 -
test_peerConnection_simulcastOddResolution_oldSetParameters.html 7196 -
test_peerConnection_simulcastOffer.html 7315 -
test_peerConnection_simulcastOffer_lowResFirst.html 4385 -
test_peerConnection_simulcastOffer_lowResFirst_oldSetParameters.html 4420 -
test_peerConnection_simulcastOffer_oldSetParameters.html 4387 -
test_peerConnection_simulcastOffer_screenshare.html 6916 -
test_peerConnection_stats.html 1266 -
test_peerConnection_stats_jitter.html 1647 -
test_peerConnection_stats_oneway.html 2035 -
test_peerConnection_stats_relayProtocol.html 2391 -
test_peerConnection_stereoFmtpPref.html 2137 -
test_peerConnection_syncSetDescription.html 1955 -
test_peerConnection_telephoneEventFirst.html 1470 -
test_peerConnection_threeUnbundledConnections.html 5059 -
test_peerConnection_throwInCallbacks.html 2326 -
test_peerConnection_toJSON.html 1297 -
test_peerConnection_trackDisabling.html 4212 -
test_peerConnection_trackDisabling_clones.html 6414 -
test_peerConnection_trackless_sender_stats.html 2058 -
test_peerConnection_twoAudioStreams.html 524 -
test_peerConnection_twoAudioTracksInOneStream.html 1061 -
test_peerConnection_twoAudioVideoStreams.html 613 -
test_peerConnection_twoAudioVideoStreamsCombined.html 2301 -
test_peerConnection_twoAudioVideoStreamsCombinedNoBundle.html 3934 -
test_peerConnection_twoVideoStreams.html 524 -
test_peerConnection_twoVideoTracksInOneStream.html 1065 -
test_peerConnection_verifyAudioAfterRenegotiation.html 4076 -
test_peerConnection_verifyDescriptions.html 6470 -
test_peerConnection_verifyNonEmptyFmtp.html 1416 -
test_peerConnection_verifyVideoAfterRenegotiation.html 3615 -
test_peerConnection_videoCodecs.html 6658 -
test_peerConnection_videoRenegotiationInactiveAnswer.html 3012 -
test_peerConnection_webAudio.html 1287 -
test_rvfc_timestamp_alignment.html 4745 -
test_selftest.html 776 -
test_setSinkId-echoCancellation.html 3643 -
test_setSinkId-stream-source.html Test setSinkId() on an Audio element with MediaStream source 5253 -
test_setSinkId.html 2745 -
test_setSinkId_default_addTrack.html 1419 -
test_setSinkId_preMutedElement.html 3280 -
test_unfocused_pref.html 1576 -
testLegacyEnumerateDevices.js This is a modified copy of test_enumerateDevices.html testing the enumerateDevices() legacy version and deviceId constraint. 5474 -
turnConfig.js An example of how to specify two TURN server configs: Note: If turn URL uses FQDN rather then an IP address the TURN relay verification step in checkStatsIceConnectionType might fail. var turnServers = { local: { iceServers: [{"username":"mozilla","credential":"mozilla","url":"turn:10.0.0.1"}] }, remote: { iceServers: [{"username":"firefox","credential":"firefox","url":"turn:10.0.0.2"}] } }; 665 -