blob: 9d50dc67cd27fb1263c831c8fc091c81ad5064d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
"use strict";
this.onmessage = function (event) {
switch (event.data) {
case "report":
reportError("reported");
break;
case "throw":
throw new Error("thrown");
break;
}
};
|