Bug 1335543 - Calls the bail function r=jwwang
authorJay Harris <jharris@mozilla.com>
Wed, 01 Feb 2017 10:30:03 +1300
changeset 341092 76265c3faf1e6d6c51ad49f26c86d13ed7ec018b
parent 341091 2b5a94ac86a6bfbb4b17e1d02d41f202affeebc6
child 341093 ec252adeb5c3445683f98a08205b3b717dad92d5
push id86634
push usercbook@mozilla.com
push dateTue, 07 Feb 2017 13:14:58 +0000
treeherdermozilla-inbound@9dbd2d9b334e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwwang
bugs1335543
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1335543 - Calls the bail function r=jwwang MozReview-Commit-ID: KzUJRCi7tsW
dom/media/test/eme.js
--- a/dom/media/test/eme.js
+++ b/dom/media/test/eme.js
@@ -126,17 +126,17 @@ function UpdateSessionFunc(test, token, 
       if (key) {
         Log(token, "found key " + key + " for key id " + idHex);
         outKeys.push({
           "kty":"oct",
           "kid":id64,
           "k":HexToBase64(key)
         });
       } else {
-        bail(token + " couldn't find key for key id " + idHex);
+        bail(token + " couldn't find key for key id " + idHex)("No such key");
       }
     }
 
     var update = JSON.stringify({
       "keys" : outKeys,
       "type" : msg.type
     });
     Log(token, "sending update message to CDM: " + update);