Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createOffer-promise.html

Issue 2097563002: Split the mediastream module in Blink into mediastream and peerconnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DEPS file Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>RTCPeerConnection.createOffer</title> 4 <title>RTCPeerConnection.createOffer</title>
5 <script src="../../resources/testharness.js"></script> 5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script> 6 <script src="../../resources/testharnessreport.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <script> 9 <script>
10 // Note: createOffer() calls in the test runner are successful if the 10 // Note: createOffer() calls in the test runner are successful if the
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Test closed connection 71 // Test closed connection
72 closedPC = new webkitRTCPeerConnection(null); 72 closedPC = new webkitRTCPeerConnection(null);
73 closedPC.close(); 73 closedPC.close();
74 promise_test(function() { 74 promise_test(function() {
75 var invalidStateError = new DOMException('', 'InvalidStateError'); 75 var invalidStateError = new DOMException('', 'InvalidStateError');
76 return promise_rejects(this, invalidStateError, closedPC.createOffer({ic eRestart:true})); 76 return promise_rejects(this, invalidStateError, closedPC.createOffer({ic eRestart:true}));
77 }, 'createOffer() with closed peer connection' ); 77 }, 'createOffer() with closed peer connection' );
78 </script> 78 </script>
79 </body> 79 </body>
80 </html> 80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698