[Webkit-unassigned] [Bug 86128] New: Error stack should not be read only
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 10 12:30:16 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86128
Summary: Error stack should not be read only
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: arv at chromium.org
CC: oliver at apple.com, barraclough at apple.com
Blocks: 85057
Both SpiderMonkey and V8 allows the stack property of error objects to be written to.
try {
throw new Error;
} catch (ex) {
ex.stack = 42;
console.assert(e.stack === 42);
}
JSC fails because it treats stack as a read only property.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list