summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/worker_setTimeoutWith0.js
blob: 91de9c5a739ba1b811c03c0dd7a630da052a0d99 (plain)
1
2
3
4
/* eslint-disable no-implied-eval */
var x = 0;
setTimeout("x++; '\x00'; x++;");
setTimeout("postMessage(x);");