Created attachment 40431 [details]
Test pages to demonstrate the regression
TypeError: Result of expression 'window._inspectorCommandLineAPI' [undefined] is not an object.
The console only starts functioning again once script execution is resumed.
It used to work fine even when paused in Safari 4.0.3.
Simple test case attached:
1. Open "main.html", which includes iframe.html that has a script attached to the button's onclick event.
2. Open Web Inspector, enable script debugging and press the "Pause script execution" button or just place a breakpoint inside the iframe.html JS function.
3. Try pressing the button.
4. While JS execution is paused, open the Web Inspector console and enter anything.
Able to reproduce with the supplied test case - thanks!
pfeldman, this seems like one for you ...
Created attachment 40577 [details]
Committing to http://svn.webkit.org/repository/webkit/trunk ...