[Webkit-unassigned] [Bug 19027] New: Exceptions aren't caught in some cases
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 13 04:05:58 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=19027
Summary: Exceptions aren't caught in some cases
Product: WebKit
Version: 526+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Keywords: SquirrelFish, SquirrelFishBlocker
Severity: Blocker
Priority: P1
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: oliver at apple.com
This hideous URL results in bogus behaviour:
javascript:try {(valueThrower={valueOf:function(){throw "throw from valueOf"}},
function () { executedRHS = false; var result = 'PASS'; try { result =
++valueThrower; alert('FAIL: Did not throw exception') } catch (e) { if (result
!= 'PASS' && executedRHS) { alert('FAIL: "'+expr+'" threw exception, but
modified assignment target and executed RHS'); } else if (result != 'PASS') {
alert('FAIL: "'+expr+'" threw exception, but modified assignment target'); }
else if (executedRHS) { alert('FAIL: "'+expr+'" threw exception, but executed
right hand half of expression') } else { alert('PASS: handled correctly') } }
})()}catch(e){alert("Shouldn't receive: "+e);}
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list