Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
index 13da90042be296e9fb14190ea52e6f4fd5b8316b..2624d778851a9ee3a02b50aa6002ffa7e3550283 100644 |
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
@@ -52,7 +52,8 @@ shouldThrow("new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported |
shouldThrow("new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, valid_and_supported_1:1}});"); |
shouldThrow("new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}});"); |
shouldThrow("new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid_and_supported_2:0}]});"); |
-shouldThrow("new webkitRTCPeerConnection(null, {optional:[{invalid:0}]});"); |
+// Optional constraints are ignored even if they are invalid. |
+shouldNotThrow("new webkitRTCPeerConnection(null, {optional:[{invalid:0}]});"); |
shouldThrow("new webkitRTCPeerConnection(null, {valid_and_supported_1:1});"); |
shouldThrow("new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1});"); |
shouldThrow("new webkitRTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{valid_and_supported_1:1}});"); |