Status: Untriaged
Owner: [EMAIL PROTECTED]
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 5349 by [EMAIL PROTECTED]: Debugger does not handle syntax  
error in onload correctly
http://code.google.com/p/chromium/issues/detail?id=5349

What steps will reproduce the problem?

1. Open a page with the following content

<html>
<head>
<title>onload Syntax Error</title>
</head>
<body onload='+++'>
<div onclick='alert("Hello, world!")'>XXX</div>
</body>
</html>

2. Open the JavaScript debugger

3. Reload the page (note that the mouse cursor remains an arrow with the
hour glass)

4. Click on 'XXX'

5. Nothing happens

6. Close the JavaScript debugger

7. alert message box is shown

The expectation is to have the syntax error exception shown in the
JavaScript debugger when reloading the page.

The current assumption is that the V8 debugger does not handle exceptions
thrown when there is no JavaScript frames on the stack.

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to chromium-bugs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to