Closed Bug 878309 Opened 13 years ago Closed 6 years ago

options("werror") shouldn't affect asm.js diagnostics

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jruderman, Unassigned)

Details

ams.js always "warns" so it doesn't make sense for werror to stop it from working. js> (function() { "use asm"; function g(){ return 3; } return g; })()() warning: successfully compiled asm.js code 3 js> options("werror") js> (function() { "use asm"; function g(){ return 3; } return g; })()() successfully compiled asm.js code
We discovered this while fuzzing using jsfunfuzz, but have worked around it so while the fix isn't pressing, it will be nice if this could be resolved.
I discovered this manually. jsfunfuzz doesn't use options("werror").
(In reply to Jesse Ruderman from comment #2) > I discovered this manually. jsfunfuzz doesn't use options("werror"). Oh, seems like I confused this with another bug then. :-/
For a long time we've thought warnings should be a first-class API feature, not something vaguely overloaded via the error reporting syntax. This might be sufficient motivation to implement that, seems to me.
Assignee: general → nobody
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---

Fixed by removal in bug 1275508.

Status: REOPENED → RESOLVED
Closed: 8 years ago → 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.