summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webrtc/RTCPeerConnection-setLocalDescription-answer.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /testing/web-platform/tests/webrtc/RTCPeerConnection-setLocalDescription-answer.html
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/webrtc/RTCPeerConnection-setLocalDescription-answer.html')
-rw-r--r--testing/web-platform/tests/webrtc/RTCPeerConnection-setLocalDescription-answer.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/web-platform/tests/webrtc/RTCPeerConnection-setLocalDescription-answer.html b/testing/web-platform/tests/webrtc/RTCPeerConnection-setLocalDescription-answer.html
index 4c20789096..1d80eb8295 100644
--- a/testing/web-platform/tests/webrtc/RTCPeerConnection-setLocalDescription-answer.html
+++ b/testing/web-platform/tests/webrtc/RTCPeerConnection-setLocalDescription-answer.html
@@ -75,8 +75,8 @@
assert_session_desc_similar(pc.localDescription, answer);
assert_session_desc_similar(pc.remoteDescription, offer);
- assert_session_desc_similar(pc.currentLocalDescription, answer);
- assert_session_desc_similar(pc.currentRemoteDescription, offer);
+ assert_equals(pc.currentLocalDescription, pc.localDescription);
+ assert_equals(pc.currentRemoteDescription, pc.remoteDescription);
assert_equals(pc.pendingLocalDescription, null);
assert_equals(pc.pendingRemoteDescription, null);
@@ -107,8 +107,8 @@
assert_session_desc_similar(pc.localDescription, answer);
assert_session_desc_similar(pc.remoteDescription, offer);
- assert_session_desc_similar(pc.currentLocalDescription, answer);
- assert_session_desc_similar(pc.currentRemoteDescription, offer);
+ assert_equals(pc.currentLocalDescription, pc.localDescription);
+ assert_equals(pc.currentRemoteDescription, pc.remoteDescription);
assert_equals(pc.pendingLocalDescription, null);
assert_equals(pc.pendingRemoteDescription, null);
@@ -204,7 +204,7 @@
assert_equals(pc2.pendingLocalDescription, null, "pendingLocalDescription should never be set due to sLD(answer)");
assert_not_equals(pc2.pendingRemoteDescription, null, "pendingRemoteDescription should not be set synchronously after a call to sLD");
assert_equals(pc2.pendingRemoteDescription.type, "offer");
- assert_equals(pc2.remoteDescription.sdp, pc2.pendingRemoteDescription.sdp);
+ assert_equals(pc2.remoteDescription, pc2.pendingRemoteDescription);
assert_equals(pc2.currentLocalDescription, null, "currentLocalDescription should not be set synchronously after a call to sLD");
assert_equals(pc2.currentRemoteDescription, null, "currentRemoteDescription should not be set synchronously after a call to sLD");
@@ -219,10 +219,10 @@
assert_equals(pc2.pendingRemoteDescription, null, "pendingRemoteDescription should be updated before the signalingstatechange event");
assert_not_equals(pc2.currentLocalDescription, null, "currentLocalDescription should be updated before the signalingstatechange event");
assert_equals(pc2.currentLocalDescription.type, "answer");
- assert_equals(pc2.currentLocalDescription.sdp, pc2.localDescription.sdp);
+ assert_equals(pc2.currentLocalDescription, pc2.localDescription);
assert_not_equals(pc2.currentRemoteDescription, null, "currentRemoteDescription should be updated before the signalingstatechange event");
assert_equals(pc2.currentRemoteDescription.type, "offer");
- assert_equals(pc2.currentRemoteDescription.sdp, pc2.remoteDescription.sdp);
+ assert_equals(pc2.currentRemoteDescription, pc2.remoteDescription);
await sldPromise;
}, "setLocalDescription(answer) should update internal state with a queued task, in the right order");