mac 命令行启动后输入gui,CPU打满100%
xiusin opened this issue · 0 comments
xiusin commented
~ » fibjs 1 ↵
Welcome to fibjs 0.31.0.
Type ".help" for more information.
> var gui = require("gui");
>
> gui.open("https://fibjs.org", {
... "type": "native"
... });
{
"onmessage": null,
"onclosed": null,
"onresize": null,
"onmove": null,
"onload": null,
"visible": true,
"setHtml": [Function setHtml],
"setHtmlSync": [Function setHtmlSync],
"print": [Function print],
"printSync": [Function printSync],
"close": [Function close],
"closeSync": [Function closeSync],
"postMessage": [Function postMessage],
"postMessageSync": [Function postMessageSync],
"on": [Function on],
"addListener": [Function addListener],
"prependListener": [Function prependListener],
"once": [Function once],
"prependOnceListener": [Function prependOnceListener],
"off": [Function off],
"removeListener": [Function removeListener],
"removeAllListeners": [Function removeAllListeners],
"setMaxListeners": [Function setMaxListeners],
"getMaxListeners": [Function getMaxListeners],
"listeners": [Function listeners],
"listenerCount": [Function listenerCount],
"eventNames": [Function eventNames],
"emit": [Function emit],
"toString": [Function toString],
"toJSON": [Function toJSON]
}
> WebView Error: Script error.
at user-script:1:1:524
> %