2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <title>MR Integration Fail startSession Test
</title>
5 <script type=
"text/javascript" src=
"common.js"></script>
8 * Checks if the session has NOT been started successfully.
10 function checkSessionFailedToStart() {
11 if (!startSessionPromise
) {
12 sendResult(false, 'Failed to start session');
14 startSessionPromise
.then(
16 sendResult(false, 'Session should not be started successfully.');
17 }).catch(function(e
) {
18 if (e
.message
.indexOf('Unknown sink') > -1) {
22 'Error message is not correct, it should contain "Unknown sink"');