Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  historical.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/testing/web-platform/tests/webrtc/historical.html


<!doctype html>
<meta charset=utf-8>
<meta name="variant" content="?interop-2026">
<meta name="variant" content="?rest">
<title>Historical WebRTC features</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="RTCConfiguration-helper.js"></script>
<div id="log"></div>
<script>
const rest = !new URLSearchParams(location.search).has("interop-2026");
const interop2026 = !new URLSearchParams(location.search).has("rest");
if (interop2026) {
[
  'reliable',
].forEach((member) => {
  test(() => {
    assert_false(member in RTCDataChannel.prototype);
  }, `RTCDataChannel member ${member} should not exist`);
});
}
if (rest) {
[
  'maxRetransmitTime',
].forEach((member) => {
  test(() => {
    assert_false(member in RTCDataChannel.prototype);
  }, `RTCDataChannel member ${member} should not exist`);
});
}

if (interop2026) {
[
  "createDTMFSender",
  "onremovestream",
  "removeStream",
].forEach(function(name) {
  test(function() {
    assert_false(name in RTCPeerConnection.prototype);
  }, "RTCPeerConnection member " + name + " should not exist");
});
}
if (rest) {
[
  "addStream",
  "getLocalStreams",
  "getRemoteStreams",
  "getStreamById",
  "onaddstream",
  "updateIce",
].forEach(function(name) {
  test(function() {
    assert_false(name in RTCPeerConnection.prototype);
  }, "RTCPeerConnection member " + name + " should not exist");
});

[
  "setDirection",
].forEach(function(name) {
  test(function() {
    assert_false(name in RTCRtpTransceiver.prototype);
  }, "RTCRtpTransceiver member " + name + " should not exist");
});

[
  "DataChannel",
  "mozRTCIceCandidate",
  "mozRTCPeerConnection",
  "mozRTCSessionDescription",
].forEach(function(name) {
  test(function() {
    assert_false(name in window);
  }, name + " interface should not exist");
});
}
if (interop2026) {
[
  "webkitRTCPeerConnection",
].forEach(function(name) {
  test(function() {
    assert_false(name in window);
  }, name + " interface should not exist");
});
}
if (rest) {
// Blink and Gecko fall back to url, but it's not in the spec.
config_test(makePc => {
  assert_throws_js(TypeError, () =>
    makePc({ iceServers: [{
      url: 'stun:stun1.example.net'
    }] }));
}, 'with url field should throw TypeError');

// "negotiate" was removed from the RTCRtcpMuxPolicy enum.
test(() => {
  assert_throws_js(TypeError, () =>
    new RTCPeerConnection({ rtcpMuxPolicy: 'negotiate' }));
}, 'RTCPeerConnection with rtcpMuxPolicy "negotiate" should throw TypeError');

test(() => {
  const pc = new RTCPeerConnection();
  assert_throws_js(TypeError, () =>
    pc.setConfiguration({ rtcpMuxPolicy: 'negotiate' }));
}, 'setConfiguration with rtcpMuxPolicy "negotiate" should throw TypeError');
}
</script>

Messung V0.5 in Prozent
C=91 H=94 G=92

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002