summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/threadErrors_worker1.js
blob: c0ddade82c0fb827fb38c8a9b58b7852f67fa7e6 (plain)
1
2
3
4
5
6
7
8
/**
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */
// Syntax error
onmessage = function(event) {
  for (var i = 0; i < 10) { }
}