* @target web * @partial
(print: (message: string) => void)
| 800 | * @partial |
| 801 | */ |
| 802 | private static _printPlatformInfo(print: (message: string) => void) { |
| 803 | print(`Platform: ${WebPlatform[Environment.webPlatform]}`); |
| 804 | print(`WebPack: ${Environment.isWebPackBundled}`); |
| 805 | print(`Vite: ${Environment.isViteBundled}`); |
| 806 | if (Environment.webPlatform !== WebPlatform.NodeJs) { |
| 807 | print(`Browser: ${navigator.userAgent}`); |
| 808 | print(`Window Size: ${window.outerWidth}x${window.outerHeight}`); |
| 809 | print(`Screen Size: ${window.screen.width}x${window.screen.height}`); |
| 810 | } |
| 811 | } |
| 812 | |
| 813 | /** |
| 814 | * Prepares the given object to be sent to workers. Web Frameworks like Vue might |
no test coverage detected