B2G/gecko/browser/components/shell/test/unit/test_421977.js
/**
 * Checks that setting the GConf background key to aGConfColor will
 * result in the Shell component returning a background color equals
 * to aExpectedShellColor in #RRGGBB format.
 */
Checks that setting the GConf background key to aGConfColor will
result in the Shell component returning a background color equals
to aExpectedShellColor in #RRGGBB format.
Checks that setting the GConf background key to aGConfColor will result in the Shell component returning a background color equals to aExpectedShellColor in #RRGGBB format .
function checkGConfToShellColor(aGConfColor, aExpectedShellColor) {
  gGConf.setString(GCONF_BG_COLOR_KEY, aGConfColor);
  var shellColor = colorToHex(gShell.desktopBackgroundColor);
  do_check_eq(shellColor, aExpectedShellColor);
}
function checkGConfToShellColor ( aGConfColor , aExpectedShellColor ) { gGConf . setString ( GCONF_BG_COLOR_KEY , aGConfColor ) ; var shellColor = colorToHex ( gShell . desktopBackgroundColor ) ; do_check_eq ( shellColor , aExpectedShellColor ) ; }
Checks that setting the GConf background key to aGConfColor will
 result in the Shell component returning a background color equals
 to aExpectedShellColor in #RRGGBB format.
Checks that setting the GConf background key to aGConfColor will result in the Shell component returning a background color equals to aExpectedShellColor in #RRGGBB format .