B2G/gecko/browser/components/shell/test/unit/test_421977.js
/**
 * Checks that setting the background color (in #RRGGBB format) using the Shell
 * component will result in having a GConf key for the background color set to
 * aExpectedGConfColor.
 */
Checks that setting the background color (in #RRGGBB format) using the Shell
component will result in having a GConf key for the background color set to
aExpectedGConfColor.
Checks that setting the background color ( in #RRGGBB format ) using the Shell component will result in having a GConf key for the background color set to aExpectedGConfColor .
function checkShellToGConfColor(aShellColor, aExpectedGConfColor) {
  gShell.desktopBackgroundColor = hexToColor(aShellColor);
  var gconfColor = gGConf.getString(GCONF_BG_COLOR_KEY);
  do_check_eq(gconfColor, aExpectedGConfColor);
}
function checkShellToGConfColor ( aShellColor , aExpectedGConfColor ) { gShell . desktopBackgroundColor = hexToColor ( aShellColor ) ; var gconfColor = gGConf . getString ( GCONF_BG_COLOR_KEY ) ; do_check_eq ( gconfColor , aExpectedGConfColor ) ; }
Checks that setting the background color (in #RRGGBB format) using the Shell
 component will result in having a GConf key for the background color set to
 aExpectedGConfColor.
Checks that setting the background color ( in #RRGGBB format ) using the Shell component will result in having a GConf key for the background color set to aExpectedGConfColor .