| OLD | NEW |
| (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 |
| OLD | NEW |