Bug 909037 - Fix test errors in browser_dataman_basics.js follow-up, r=test-fix, a=test-fix DONTBUILD
authorFrank Wein <mcsmurf@mcsmurf.de>
Sat, 24 Aug 2013 23:03:46 +0200
changeset 14507 50fa92310b7aed462dd0a5756f3e773315c5232d
parent 14506 1d45434d829b1955529b11217c47d8cd5073771c
child 14508 e1a3449c40483759137276b67241986c49dde211
push id1036
push usermcsmurf@mcsmurf.de
push dateSat, 24 Aug 2013 21:04:34 +0000
treeherdercomm-aurora@50fa92310b7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-fix, test-fix
bugs909037
Bug 909037 - Fix test errors in browser_dataman_basics.js follow-up, r=test-fix, a=test-fix DONTBUILD CLOSED TREE
suite/common/dataman/tests/browser_dataman_basics.js
--- a/suite/common/dataman/tests/browser_dataman_basics.js
+++ b/suite/common/dataman/tests/browser_dataman_basics.js
@@ -354,26 +354,26 @@ function test_permissions_panel(aWin) {
     switch (perm.type) {
       case "allowXULXBL":
         is(perm.getAttribute("label"), "Use XUL/XBL Markup",
            "Correct label for type: " + perm.type);
         is(perm.capability, 1,
            "Correct capability for: " + perm.host);
         perm.useDefault(true);
         is(perm.capability, 2,
-           "Set back to correct default " + perm.type);
+           "Set back to correct default");
         break;
       case "cookie":
         is(perm.getAttribute("label"), "Set Cookies",
            "Correct label for type: " + perm.type);
         is(perm.capability, perm.host == "cookie.getpersonas.com" ? 8 : 2,
            "Correct capability for: " + perm.host);
         perm.useDefault(true);
         is(perm.capability, 1,
-           "Set back to correct default" + perm.type);
+           "Set back to correct default");
         break;
       case "geo":
         is(perm.getAttribute("label"), "Share Location",
            "Correct label for type: " + perm.type);
         is(perm.capability, 1,
            "Correct capability for: " + perm.host);
         perm.useDefault(true);
         is(perm.capability, 2,
@@ -407,17 +407,17 @@ function test_permissions_panel(aWin) {
            "Set back to correct default");
         break;
       case "offline-app":
         is(perm.getAttribute("label"), "Offline Web Applications",
            "Correct label for type: " + perm.type);
         is(perm.capability, 1,
            "Correct capability for: " + perm.host);
         perm.useDefault(true);
-        is(perm.capability, 1,
+        is(perm.capability, 2,
            "Set back to correct default");
         break;
       case "password":
         is(perm.getAttribute("label"), "Save Passwords",
            "Correct label for type: " + perm.type);
         is(perm.capability, 2,
            "Correct capability for: " + perm.host);
         perm.useDefault(true);