summaryrefslogtreecommitdiffstats
path: root/toolkit/components/workerloader/tests/moduleG-throws-later.js
blob: 8a24bc7e4694c77557cbdaeb594e25221d0c11df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

// Skip a few lines
// 5
// 6
// 7
// 8
// 9
exports.doThrow = function doThrow() {
  Array.prototype.sort.apply("foo"); // This will raise a native TypeError
};