Bug 9492 - Fix or remove window.debug.
Summary: Fix or remove window.debug.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P3 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-17 23:58 PDT by Alexey Proskuryakov
Modified: 2006-06-19 09:37 PDT (History)
0 users

See Also:


Attachments
remove window.debug (1.31 KB, patch)
2006-06-18 00:03 PDT, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.