Bug 1542021 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

STRs:
 1. Open https://jsfiddle.net/jib1/fqaeyx1h/62/
 2. Check ☐ Both noise
 3. Inside the iframe, uncheck ☑ Noise
 2. Uncheck ☑ Both noise

Expected result:
  No error

Actual result:
6291 [Exception... "Unexpected error" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: https://fiddle.jshell.net/_display/ :: onOff :: line 68" data: no]

Most likely from:
```
pc.removeTrack(button.sender)
```

Browser console shows:
> NS_ERROR_UNEXPECTED: [PeerConnection.jsm:1358](https://searchfox.org/mozilla-central/rev/9ee63566281365f26e7a4b06c9d4e2219e64c3e8/dom/media/PeerConnection.jsm#1357)
> NS_ERROR_UNEXPECTED: [PeerConnection.jsm:1184](https://searchfox.org/mozilla-central/rev/9ee63566281365f26e7a4b06c9d4e2219e64c3e8/dom/media/PeerConnection.jsm#1183)
STRs:
 1. Open https://jsfiddle.net/jib1/fqaeyx1h/62/
 2. Check ☐ Both noise
 3. Inside the iframe, uncheck ☑ Noise
 2. Uncheck ☑ Both noise

Expected result:
  No error

Actual result:
6291 [Exception... "Unexpected error" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: https://fiddle.jshell.net/_display/ :: onOff :: line 68" data: no]

Most likely from:
```
pc.removeTrack(button.sender);
```

Browser console shows:
> NS_ERROR_UNEXPECTED: [PeerConnection.jsm:1358](https://searchfox.org/mozilla-central/rev/9ee63566281365f26e7a4b06c9d4e2219e64c3e8/dom/media/PeerConnection.jsm#1357)
> NS_ERROR_UNEXPECTED: [PeerConnection.jsm:1184](https://searchfox.org/mozilla-central/rev/9ee63566281365f26e7a4b06c9d4e2219e64c3e8/dom/media/PeerConnection.jsm#1183)

Back to Bug 1542021 Comment 0