RESOLVED INVALID 5414
'SyntaxError: Invalid return statement' in JS console whenever Safari window activated/used
https://bugs.webkit.org/show_bug.cgi?id=5414
Summary 'SyntaxError: Invalid return statement' in JS console whenever Safari window ...
Daniel Udey
Reported 2005-10-18 11:43:05 PDT
In the WebKit nightly builds (both on the latest CVS nightly and the build from Oct 1), my Javascript console fills up with 'SyntaxError: Invalid return statement' errors pretty much instantly. Whenever I Cmd-~ back to the Safari window, I get a list of them, if I tab out and back I get more, if I mouse around over elements I get more, if I load a new page I get more, and so on. All of the errors are reported to be on 'line 1', except the first error that is thrown after a page is loaded, which is on 'line 300'. This is making it somewhat difficult to debug Javascript issues.
Attachments
Demonstration movie of the bug on about:blank (147.12 KB, application/octet-stream)
2005-10-18 11:55 PDT, Daniel Udey
no flags
Daniel Udey
Comment 1 2005-10-18 11:55:40 PDT
Created attachment 4403 [details] Demonstration movie of the bug on about:blank Here is a small video of this occurring on my system using the latest WebKit CVS from http://nightly.webkit.org/builds/ - In the movie, I clear the Javascript console, Cmd-~ to the main window and back, clear the console, and Cmd-~ again.
Daniel Udey
Comment 2 2005-10-18 12:07:30 PDT
This bug is due to an incompatibility between the latest WebKit CVS builds and the WebDev Additions plugin for Safari. Closing and forwarding to them for consideration.
Note You need to log in before you can comment on or make changes to this bug.