mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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;
|
|
}
|
|
};
|