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

Unified Diff: chrome/test/data/webrtc/peerconnection.js

Issue 2533223003: Reland of "WebRtcBrowserTest: Include all stats in getStats." (Closed)
Patch Set: Whitelist the 'missing' stats 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
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_browsertest_base.cc ('k') | content/renderer/media/webrtc/rtc_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webrtc/peerconnection.js
diff --git a/chrome/test/data/webrtc/peerconnection.js b/chrome/test/data/webrtc/peerconnection.js
index e3f822bebdcc1ea4d62d2f01cbd6b1e5dac9eb92..46d57a5c4f6096fb62729b1750f568702c7d085e 100644
--- a/chrome/test/data/webrtc/peerconnection.js
+++ b/chrome/test/data/webrtc/peerconnection.js
@@ -100,6 +100,15 @@ function forceVideoCodec(videoCodec) {
}
/**
+ * Creates a data channel with the specified label.
+ * Returns 'ok-created' to test.
+ */
+function createDataChannel(label) {
+ peerConnection_().createDataChannel(label);
+ returnToTest('ok-created');
+}
+
+/**
* Asks this page to create a local offer.
*
* Returns a string on the format ok-(JSON encoded session description).
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_browsertest_base.cc ('k') | content/renderer/media/webrtc/rtc_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698