(from bug 8131) There is a problem with window.debug - it is only present when the document is loaded for the first time (not after a reload). This is caused by it being added in KJSProxy::initScriptIfNeeded(), which isn't called when reloading. I am not sure where it should be (Interpreter::initGlobalObject? kjs_window.cpp? removed completely?)
Created attachment 8896 [details] remove window.debug Since it didn't work correctly, and no-one complained, maybe it isn't needed :)
Comment on attachment 8896 [details] remove window.debug r=me
Committed revision 14912.