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

Side by Side Diff: chrome/test/data/extensions/api_test/media_remoting/toggle_renderer.js

Issue 2724173002: Media Remoting: Add browser tests. (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « chrome/test/data/extensions/api_test/media_remoting/toggle_renderer.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 'use strict';
6
7 let video = document.getElementById("video");
8 video.onended = function () {
9 chrome.test.succeed();
10 }
11
12 chrome.test.runTests([
13 function startRemoting() {
14 mrTest.StartMediaRouter()
15 .then(result => {
16 const mediaRouterService = result['mrService'];
17 mediaRouterService.setHandlers(
18 new mrTest.ProviderManager(mediaRouterService,
19 new mrTest.Parameters()));
20 });
21 chrome.test.notifyPass();
22 }
23 ]);
24
25
26
27
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/api_test/media_remoting/toggle_renderer.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698