Bug 1116771 - Fix browser_getUserMedia permission denied error message. r=myk
authorMarco Castelluccio <mar.castelluccio@studenti.unina.it>
Wed, 31 Dec 2014 07:40:00 +0100
changeset 248236 d6389b7835f0d0f93fc0bfcccaa14f6080503f87
parent 248235 78d6f61ef9807c36b5f8f09dbdaca62f47553d08
child 248237 9e39bd09f9ba30a1582653bafedee94990bee4af
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmyk
bugs1116771
milestone37.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 1116771 - Fix browser_getUserMedia permission denied error message. r=myk
webapprt/test/chrome/browser_getUserMedia.js
--- a/webapprt/test/chrome/browser_getUserMedia.js
+++ b/webapprt/test/chrome/browser_getUserMedia.js
@@ -22,17 +22,17 @@ function test() {
 
   Services.ww.registerNotification(winObserver);
 
   let mutObserver = null;
 
   loadWebapp("getUserMedia.webapp", undefined, function onLoad() {
     let msg = gAppBrowser.contentDocument.getElementById("msg");
     mutObserver = new MutationObserver(function(mutations) {
-      is(msg.textContent, "PermissionDeniedError",
+      is(msg.textContent, "PermissionDeniedError: The user did not grant permission for the operation.",
          "getUserMedia permission denied.");
       ok(getUserMediaDialogOpened, "Prompt shown.");
       finish();
     });
     mutObserver.observe(msg, { childList: true });
   });
 
   registerCleanupFunction(function() {