mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 01:47:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<script type="application/javascript" src="pc.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
createHTML({
|
||||
bug: "784519",
|
||||
title: "setRemoteDescription (offer) in 'have-local-offer'"
|
||||
});
|
||||
|
||||
runNetworkTest(function () {
|
||||
var test = new PeerConnectionTest();
|
||||
test.setMediaConstraints([{audio: true}], [{audio: true}]);
|
||||
test.chain.removeAfter("PC_LOCAL_SET_LOCAL_DESCRIPTION");
|
||||
|
||||
test.chain.append([
|
||||
function PC_LOCAL_SET_REMOTE_OFFER(test) {
|
||||
test.pcLocal._pc.setRemoteDescription(test.pcLocal._latest_offer)
|
||||
.then(generateErrorCallback('setRemoteDescription should fail'),
|
||||
err =>
|
||||
is(err.name, "InvalidStateError", "Error is InvalidStateError"));
|
||||
}
|
||||
]);
|
||||
|
||||
test.run();
|
||||
});
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue