| 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).
|
|
|