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

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: add missing files 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..043be76507c3d2a9d13b733c37980b89b3e64d04 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html
@@ -19,8 +19,8 @@ function requestFailed2(reason)
{
testPassed('requestFailed was called.');
- errorReason = reason;
- shouldBe('errorReason', '"TEST_ERROR"');
+ window.error = reason;
+ shouldBe('error.name', '"OperationError"');
philipj_slow 2016/02/24 08:14:03 Also check error.message, or perhaps error.toStrin
Guido Urdaneta 2016/02/24 12:42:09 Done.
shouldNotThrow("pc.createOffer(dummy, dummy);");
shouldNotThrow("pc.createOffer(dummy, dummy, {});");

Powered by Google App Engine
This is Rietveld 408576698