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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/RTCDataChannelEvent-constructor.html

Issue 2509983007: Upstream RTCDataChannelEvent and RTCPeerConnectionIceEvent ctor tests (Closed)
Patch Set: update MANIFEST.json Created 4 years, 1 month 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/imported/wpt/webrtc/RTCDataChannelEvent-constructor.html
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCDataChannelEvent-constructor.html b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/RTCDataChannelEvent-constructor.html
similarity index 78%
rename from third_party/WebKit/LayoutTests/fast/peerconnection/RTCDataChannelEvent-constructor.html
rename to third_party/WebKit/LayoutTests/imported/wpt/webrtc/RTCDataChannelEvent-constructor.html
index 74804e37ccb64b89585d404f10cf71656c44ea5a..997f65c43801a9e32759469b7bf7edb0809438ce 100644
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCDataChannelEvent-constructor.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/RTCDataChannelEvent-constructor.html
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>RTCDataChannelEvent constructor</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
assert_equals(RTCDataChannelEvent.length, 2);
@@ -17,14 +17,14 @@ test(function() {
new TypeError(),
function() { new RTCDataChannelEvent('type', { channel: null }); }
);
-}, 'RTCDataChannelEvent constructor with channel passed as "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".');
+}, 'RTCDataChannelEvent constructor with a channel passed as undefined.');
test(function() {
var pc = new RTCPeerConnection();

Powered by Google App Engine
This is Rietveld 408576698