Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html |
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html |
index 260f377c5e704a06923c532bf3ab220adcd06100..21e7dc602725f9fc3b1d8748114e6c073499a167 100644 |
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html |
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html |
@@ -19,15 +19,6 @@ |
finishJSTest(); |
} |
-function dc_onmessage_sharedarraybuffer_view() { |
- if (window.SharedArrayBuffer) { |
- shouldThrow("dc.send(new Uint8Array(new SharedArrayBuffer(16)));"); |
- } |
- |
- dc.onclose = dc_onclose; |
- dc.close(); |
-} |
- |
function dc_onmessage_dataview(e) { |
testPassed("dc_onmessage_dataview was called"); |
data = e.data; |
@@ -36,7 +27,8 @@ |
shouldBe("array[0]", "1"); |
shouldBe("array[9]", "10"); |
- dc_onmessage_sharedarraybuffer_view(); |
+ dc.onclose = dc_onclose; |
+ dc.close(); |
} |
function dc_onmessage_arraybuffer(e) { |