mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-15 09:30:20 +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;
|
|
}
|
|
};
|