Closed Bug 569651 Opened 14 years ago Closed 14 years ago

JM: 32-bit Windows assert with Function, unary+, switch

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dmandelin, Assigned: dmandelin)

References

Details

Spun off from bug 549143 comment 41:

> +Function("switch(\"\"){case 1:case 8:}")
> 
> asserts 32-bit js debug shell on Windows 7.
> 
> With fatval repo e2b5d7222117:
> 
> $ ./js-dbg-32-fv-nt.exe
> js> +Function("switch(\"\"){case 1:case 8:}")
> Assertion failure: JSBOXEDWORD_IS_STRING(w), at
> c:\jsfunfuzz-dbg-32-fv-41918-e2b5d7222117\compilepath\jspubtd.h:702
Assertion failure: JSBOXEDWORD_IS_STRING(w), at c:\sources\fatval\js\src\jspubtd.h:702

The boxedwords are going away, so I will recheck after that happens.
As expected, this WFM given the boxedwords change, but I added the test case anyway, since test cases are good.

http://hg.mozilla.org/users/lwagner_mozilla.com/fatval/rev/a8a577c76a60
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.