mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
13 lines
197 B
JavaScript
13 lines
197 B
JavaScript
"use strict";
|
|
|
|
this.onmessage = function (event) {
|
|
switch (event.data) {
|
|
case "report":
|
|
reportError("reported");
|
|
break;
|
|
case "throw":
|
|
throw new Error("thrown");
|
|
break;
|
|
}
|
|
};
|