Bug 103962 - fast/js/kde/Array.html fails on Windows
Summary: fast/js/kde/Array.html fails on Windows
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
Keywords: LayoutTestFailure
Depends on:
Reported: 2012-12-03 19:37 PST by Roger Fong
Modified: 2014-02-18 14:33 PST (History)
6 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Roger Fong 2012-12-03 19:37:43 PST
It fails on creating an Array size of Infinity.
I'm not sure when the test started failing (sometime in November 2012).

Oddly, the proper exception is indeed being thrown. The test does not properly catch the exception however.
The previous test in this file new Array(-1) also throws a RangeError but the error is indeed properly caught.

In the working case the error is thrown from JSArray.cpp

In the broken case it is thrown from ArrayConstructor.cpp

I'm skipping the test for now to get the bots greener. This seems like it could be some sort of Windows DRT limitation as well, who knows.
Comment 1 Roger Fong 2012-12-03 19:55:32 PST
Skipped: http://trac.webkit.org/changeset/136469
Comment 2 Brent Fulgham 2014-02-18 14:33:27 PST
It looks like recent JavaScriptCore updates have corrected this.