bug-1987516-2.js (227B)
1 // |jit-test| --enable-symbols-as-weakmap-keys 2 try { 3 evalInWorker('new WeakRef(Symbol.hasInstance)'); 4 } catch (e) { 5 // evalInWorker not supported with --no-threads 6 assertEq(e.toString().includes("--no-threads"), true); 7 }