rem: var nodes = document.getElementsByClassName(accentClass); for (var i = 0; i < nodes.length; i++) { debug.print(label + " node for accent-color = " + nodes[i].nodeName); nodes[i].style.backgroundColor = this.accentColor; 
add: var frames = new Array(document, parent.frames[1].document ); var nodes; debug.print(label + "frames " + frames.length); for (var i = 0; i < frames.length; i++) { debug.print(label + "frame " + i + " = " + frames[i]); nodes = frames[i].getElementsByClassName(accentClass); for (var j = 0; j < nodes.length; j++) { debug.print(label + "node for accent-color = " + nodes[j].nodeName); nodes[j].style.backgroundColor = this.accentColor; } 
context:     this.enforce = function() {        var label = "PolicyClass.enforce: ";        debug.print(label + "titleNode = " + this.titleNode)        debug.print(label + "title = " + this.title)        if (null != this.titleNode            && null != this.title            && "" != this.title)        {            // enforce title            Element.update(this.titleNode, '');            this.titleNode.appendChild(document.createTextNode(this.title));        }        if (null != this.accentColor && "" != this.accentColor) {            // enforce accentColor, on accent class only            var nodes = document.getElementsByClassName(accentClass);            for (var i = 0; i < nodes.length; i++) {                debug.print(label + " node for accent-color = "                            + nodes[i].nodeName);                nodes[i].style.backgroundColor = this.accentColor;            }        }    }
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/d247a1b6dacb7417d1b16dd5d23f8786e47c143b/query.js/buggy/query.js