Closed Bug 1201461 Opened 10 years ago Closed 9 years ago

asm.js compilation should not change strict mode semantics

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1268955
Tracking Status
firefox43 --- affected

People

(Reporter: anba, Unassigned)

Details

Test case: --- function strictAsm() { "use strict"; function asm(stdlib, foreign, heap) { "use asm"; function zero() { return 0; } return {zero: zero}; } return asm({}, {}, new ArrayBuffer(0x10000)).zero.caller; } strictAsm(); --- Expected: Throws TypeError Actual: No TypeError thrown
Flags: needinfo?(bbouvier)
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(bbouvier)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.