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

Unified Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-getStats-promise.html

Issue 2395503002: WebRTCStatsMember: Support for bool and sequence of bool (Closed)
Patch Set: Created 4 years, 2 months 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/fast/peerconnection/RTCPeerConnection-getStats-promise.html
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-getStats-promise.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-getStats-promise.html
index 661c72a06a33d425cf4fb502d442992657efe94c..135791a96b73edb661d5438f08e01ea69b1cddb5 100644
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-getStats-promise.html
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-getStats-promise.html
@@ -29,12 +29,14 @@ function assert_expected_report(report) {
assert_true(stats != null);
assert_equals(stats.type, 'mock-stats');
assert_equals(stats.timestamp, 1234.0);
+ assert_equals(stats.bool, true);
assert_equals(stats.int32, 42);
assert_equals(stats.uint32, 42);
assert_equals(stats.int64, 42);
assert_equals(stats.uint64, 42);
assert_equals(stats.double, 42);
assert_equals(stats.string, '42');
+ assert_true(stringify_equals(stats.sequenceBool, [true]));
assert_true(stringify_equals(stats.sequenceInt32, [42]));
assert_true(stringify_equals(stats.sequenceUint32, [42]));
assert_true(stringify_equals(stats.sequenceInt64, [42]));
« no previous file with comments | « content/renderer/media/webrtc/rtc_stats.cc ('k') | third_party/WebKit/Source/modules/peerconnection/RTCStatsReport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698