| 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 RouteTerminate() { |
| 14 mrTest.StartMediaRouter() |
| 15 .then(result => { |
| 16 const mediaRouterService = result['mrService']; |
| 17 let testParameter = new mrTest.Parameters(); |
| 18 testParameter.route_terminate_while_remoting = true; |
| 19 mediaRouterService.setHandlers( |
| 20 new mrTest.ProviderManager(mediaRouterService, testParameter)); |
| 21 }); |
| 22 chrome.test.notifyPass(); |
| 23 } |
| 24 ]); |
| 25 |
| 26 |
| 27 |
| 28 |
| OLD | NEW |