Bug 9869 - [Drosera] JS Console fails to evaluate input when paused in global scope
Summary: [Drosera] JS Console fails to evaluate input when paused in global scope
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-12 03:19 PDT by Mark Rowe (bdash)
Modified: 2008-05-17 09:55 PDT (History)
0 users

See Also:


Attachments
Patch (1.26 KB, patch)
2006-07-12 03:22 PDT, Mark Rowe (bdash)
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rowe (bdash) 2006-07-12 03:19:55 PDT
Hitting enter in the JS console while paused in the global scope results in a literal newline being inserted.  This is because mainWindow.currentCallFrame.index inside sendScript throws an exception due to mainWindow.currentCallFrame being null.
Comment 1 Mark Rowe (bdash) 2006-07-12 03:22:55 PDT
Created attachment 9394 [details]
Patch
Comment 2 Geoffrey Garen 2006-07-12 03:28:26 PDT
Comment on attachment 9394 [details]
Patch

r=me
Comment 3 David Kilzer (:ddkilzer) 2006-07-12 06:27:01 PDT
Committed revision 15389.

Comment 4 Timothy Hatcher 2008-05-17 09:55:53 PDT
Closing since Drosera has been replaced by the new Web Inspector debugger. Moving to the New Bugs component so the Drosera component can be closed and removed.