Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / media_router / resources / fail_create_route.html
blobeb36860a2283c892662a2e9a80257f975d01503b
1 <!DOCTYPE HTML>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>MR Integration Basic Test</title>
5 <link href="https://www.google.com/cast?__testprovider__=true" rel="default-presentation">
6 <script type="text/javascript" src="common.js"></script>
7 <script>
8 /**
9 * Checks if the session has NOT been started successfully.
11 function checkSessionFailedToStart() {
12 if (!startSessionPromise) {
13 sendResult(false, 'Failed to start session');
14 } else {
15 startSessionPromise.then(
16 function (currentSession) {
17 sendResult(false, 'Session should not be started successfully.');
18 }).catch(function(e) {
19 if (e.message.indexOf('Unknown sink') > -1) {
20 sendResult(true, '');
22 sendResult(false,
23 'Error message is not correct, it should contain "Unknown sink"');
27 </script>
28 </head>
29 <body>
30 </body>
31 </html>