Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCDataChannelEvent-constructor.html |
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCDataChannelEvent-constructor.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCDataChannelEvent-constructor.html |
deleted file mode 100644 |
index 74804e37ccb64b89585d404f10cf71656c44ea5a..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCDataChannelEvent-constructor.html |
+++ /dev/null |
@@ -1,36 +0,0 @@ |
-<!DOCTYPE html> |
-<meta charset="utf-8"> |
-<title>RTCDataChannelEvent constructor</title> |
-<script src="../../resources/testharness.js"></script> |
-<script src="../../resources/testharnessreport.js"></script> |
-<script> |
-test(function() { |
- assert_equals(RTCDataChannelEvent.length, 2); |
- assert_throws( |
- new TypeError(), |
- function() { new RTCDataChannelEvent('type'); } |
- ); |
-}, 'RTCDataChannelEvent constructor without a required argument.'); |
- |
-test(function() { |
- assert_throws( |
- new TypeError(), |
- function() { new RTCDataChannelEvent('type', { channel: null }); } |
- ); |
-}, 'RTCDataChannelEvent constructor with channel passed as "null".'); |
- |
-test(function() { |
- assert_throws( |
- new TypeError(), |
- function() { new RTCDataChannelEvent('type', { channel: undefined }); } |
- ); |
-}, 'RTCDataChannelEvent constructor with a channel passed as "undefined".'); |
- |
-test(function() { |
- var pc = new RTCPeerConnection(); |
- var c = pc.createDataChannel(''); |
- var e = new RTCDataChannelEvent('type', { channel: c }); |
- assert_true(e instanceof RTCDataChannelEvent); |
- assert_equals(e.channel, c); |
-}, 'RTCDataChannelEvent constructor with full arguments.'); |
-</script> |