rem: const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener;    const START = nsIWebProgressListener.STATE_START; 
add: const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener; const START = nsIWebProgressListener.STATE_START; 
context: function client_statechange (webProgress, request, stateFlags, status){    const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener;    const START = nsIWebProgressListener.STATE_START;    const STOP = nsIWebProgressListener.STATE_STOP;    var frame;    if (stateFlags & START)    {        frame = getFrameForDOMWindow(webProgress.DOMWindow);        if (!frame)        {            dd("can't find frame for window")            webProgress.removeProgressListener (this);            return;        }    }    else if (stateFlags == 786448)    {        frame = getFrameForDOMWindow(webProgress.DOMWindow);        if (!frame)        {            dd("can't find frame for window")            webProgress.removeProgressListener (this);            return;        }        frame.contentDocument.body.appendChild(frame.source.messages);    }}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/ec1f57a2df47ea77b6ce245c6e2bd99b25d52195/static.js/clean/xul/content/static.js