RESOLVED FIXED 18182
Javascript console does not show parsing error if opened before page load.
https://bugs.webkit.org/show_bug.cgi?id=18182
Summary Javascript console does not show parsing error if opened before page load.
Max Barel
Reported 2008-03-28 09:41:37 PDT
If the web inspector is open before a page is loaded, the console does not display Javascript parsing errors. Closing the inspector window and then reopening it workaround and displays errors. This is both on Safari 3.1 and Webkit nightly, 10.5.2
Attachments
Adam Roben (:aroben)
Comment 1 2008-03-28 10:00:51 PDT
Confirmed on Safari 3.1 on Windows XP.
Adam Roben (:aroben)
Comment 2 2008-03-28 10:03:38 PDT
To test: 1. Open a new window 2. Open the Web Inspector 3. Go to data:text/html,<script>}</script> Results: There is a red bubble next to the main resource with the number "1" in it. This is correct and expected. The problem is that beneath the Console icon/text should be the text "1 error", and when you click on the Console you should see the error message "SyntaxError: Parse error"
Max Barel
Comment 3 2008-11-05 12:22:44 PST
Not sure I'm entitled, as the reporter, to do that, but this issue is resolved for long now. So I update it as fixed
Note You need to log in before you can comment on or make changes to this bug.