diff --git a/suite/common/pref/pref-colors.xul b/suite/common/pref/pref-colors.xul index 1ca331c43d95..7084f420eee4 100644 --- a/suite/common/pref/pref-colors.xul +++ b/suite/common/pref/pref-colors.xul @@ -33,33 +33,6 @@ function setColorWell(menu) { - // Debug tree walking. - dump("\n"); - - dump("parent: "); - dump(menu.id); - dump("\n"); - - dump("child 1: "); - dump(menu.firstChild.id); - dump("\n"); - - dump("child 2: "); - dump(menu.firstChild.nextSibling.id); - dump("\n"); - - dump("child 3: "); - dump(menu.firstChild.nextSibling.nextSibling.id); - dump("\n"); - - dump("child 3's child 1: "); - dump(menu.firstChild.nextSibling.nextSibling.firstChild.id); - dump("\n"); - - - dump("\n"); - dump("\n"); - // Find the colorWell and colorPicker in the hierarchy. var colorWell = menu.firstChild.nextSibling; var colorPicker = menu.firstChild.nextSibling.nextSibling.firstChild; diff --git a/xpfe/components/prefwindow/resources/content/pref-colors.xul b/xpfe/components/prefwindow/resources/content/pref-colors.xul index 1ca331c43d95..7084f420eee4 100644 --- a/xpfe/components/prefwindow/resources/content/pref-colors.xul +++ b/xpfe/components/prefwindow/resources/content/pref-colors.xul @@ -33,33 +33,6 @@ function setColorWell(menu) { - // Debug tree walking. - dump("\n"); - - dump("parent: "); - dump(menu.id); - dump("\n"); - - dump("child 1: "); - dump(menu.firstChild.id); - dump("\n"); - - dump("child 2: "); - dump(menu.firstChild.nextSibling.id); - dump("\n"); - - dump("child 3: "); - dump(menu.firstChild.nextSibling.nextSibling.id); - dump("\n"); - - dump("child 3's child 1: "); - dump(menu.firstChild.nextSibling.nextSibling.firstChild.id); - dump("\n"); - - - dump("\n"); - dump("\n"); - // Find the colorWell and colorPicker in the hierarchy. var colorWell = menu.firstChild.nextSibling; var colorPicker = menu.firstChild.nextSibling.nextSibling.firstChild;