summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testDebugModeDisables.js
blob: 9c04cbf26450884b68a7db0299532794e5e013f3 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test|

load(libdir + "asm.js");

// Turn on debugging for the current global.
var g = newGlobal({newCompartment: true});
var dbg = new g.Debugger(this);

assertAsmTypeFail("'use asm'; function f() {} return f");