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, {});"); |