WPT
wpt / webrtc / RTCPeerConnection-setLocalDescription-answer.html
Spec: WebRTC ↗
Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 7/7 | 7/7 | 6/7 | 0/7 | 0/7 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| setLocalDescription() with valid answer should succeed | PASS | PASS | PASS | FAIL | FAIL | — |
| setLocalDescription() with type answer and null sdp should use lastAnswer generated from createAnswer | PASS | PASS | PASS | FAIL | FAIL | — |
| setLocalDescription() with answer not created by own createAnswer() should reject with InvalidModificationError | PASS | PASS | FAIL | FAIL | FAIL | — |
| Calling setLocalDescription(answer) from stable state should reject with InvalidStateError | PASS | PASS | PASS | FAIL | FAIL | — |
| Calling setLocalDescription(answer) from have-local-offer state should reject with InvalidStateError | PASS | PASS | PASS | FAIL | FAIL | — |
| Setting previously generated answer after a call to createOffer should work | PASS | PASS | PASS | FAIL | FAIL | — |
| setLocalDescription(answer) should update internal state with a queued task, in the right order | PASS | PASS | PASS | FAIL | FAIL | — |