Note: There are a few cases of duplicates in user autocompletion which are being worked on.

TI: "Assertion failure: bad,"

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: gkw, Unassigned)

Tracking

(Blocks: 2 bugs, {assertion, testcase})

Trunk
x86
Linux
assertion, testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 532495 [details]
stack

(function() {
  new function() {
    throw [];
  }
})()

asserts js debug shell on JM changeset ef1ce31f66b9 with -n at Assertion failure: bad
When analyzing the properties created when 'new' is called on a script, we assumed that there was a reachable return statement in the script.  This may not hold if the script always throws.

http://hg.mozilla.org/projects/jaegermonkey/rev/88112acd3094
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/bug657197.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.