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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html

Issue 1729563002: Replace RTCErrorCallback with RTCPeerConnectionErrorCallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
index 38258b1a0c1aab202739a0d98d9485db2f783aaa..ae0eb394476ffd07d5f83db65a18a3735330d03a 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
@@ -15,12 +15,13 @@ var pc = null;
function dummy() {}
-function requestFailed2(reason)
+function requestFailed2(error)
{
testPassed('requestFailed was called.');
- errorReason = reason;
- shouldBe('errorReason', '"TEST_ERROR"');
+ window.error = error;
+ shouldBe('error.name', '"OperationError"');
+ shouldBe('error.toString()', '"OperationError: TEST_ERROR"');
shouldNotThrow("pc.createOffer(dummy, dummy);");
shouldNotThrow("pc.createOffer(dummy, dummy, {});");

Powered by Google App Engine
This is Rietveld 408576698