Bug 9492

Summary: Fix or remove window.debug.
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Minor    
Priority: P3    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
remove window.debug darin: review+

Description Alexey Proskuryakov 2006-06-17 23:58:31 PDT
(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?)
Comment 1 Alexey Proskuryakov 2006-06-18 00:03:39 PDT
Created attachment 8896 [details]
remove window.debug

Since it didn't work correctly, and no-one complained, maybe it isn't needed :)
Comment 2 Darin Adler 2006-06-18 16:43:47 PDT
Comment on attachment 8896 [details]
remove window.debug

r=me
Comment 3 Alexey Proskuryakov 2006-06-19 09:37:34 PDT
Committed revision 14912.