Bug 4008 - Error objects report incorrect length
Summary: Error objects report incorrect length
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 412
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Geoffrey Garen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-14 17:21 PDT by Geoffrey Garen
Modified: 2005-07-18 10:57 PDT (History)
0 users

See Also:


Attachments
Patch (1.34 KB, patch)
2005-07-14 17:22 PDT, Geoffrey Garen
darin: review-
Details | Formatted Diff | Diff
Better Patch (1.44 KB, patch)
2005-07-14 17:51 PDT, Geoffrey Garen
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Geoffrey Garen 2005-07-14 17:21:57 PDT
Causes the following test failure:
js1_5/Exceptions/regress-123002.js

The test is also bad. It assumes we're Mozilla SpiderMonkey, so it expects incorrect results.
Comment 1 Geoffrey Garen 2005-07-14 17:22:23 PDT
Created attachment 2970 [details]
Patch

Fixes our code and the test suite.
Comment 2 Geoffrey Garen 2005-07-14 17:51:18 PDT
Created attachment 2971 [details]
Better Patch

Added a comment to explain why we're changing the test
Comment 3 Darin Adler 2005-07-18 08:02:01 PDT
Comment on attachment 2971 [details]
Better Patch

Looks good.