Commit 865772d1 authored by wang's avatar wang

ws 测试

parent a6e9d717
...@@ -4784,7 +4784,7 @@ ENV2 = { ...@@ -4784,7 +4784,7 @@ ENV2 = {
} }
ENV = ENV2 // ENV = ENV2
// ENV.windowparams = ENV2.windowparams // ENV.windowparams = ENV2.windowparams
// // ENV.navigatorparams = ENV2.navigatorparams // // ENV.navigatorparams = ENV2.navigatorparams
// let v = parseInt(Math.random()*10 + 100); // let v = parseInt(Math.random()*10 + 100);
...@@ -14418,7 +14418,7 @@ if (ENV.funcs2 && ENV.funcs2.length > 0) { ...@@ -14418,7 +14418,7 @@ if (ENV.funcs2 && ENV.funcs2.length > 0) {
// hasFunc = _random() > 0.5 // hasFunc = _random() > 0.5
if (hasFunc) { if (hasFunc) {
func2Properties[funcName] = { func2Properties[funcName] = {
enumerable: true,`` enumerable: true,
value: funcName === 'OffscreenCanvas' ? OffscreenCanvas : eval(`v_saf(function ${funcName}() { value: funcName === 'OffscreenCanvas' ? OffscreenCanvas : eval(`v_saf(function ${funcName}() {
})`) })`)
} }
...@@ -16333,3 +16333,4 @@ Object.defineProperties(Worker.prototype, { ...@@ -16333,3 +16333,4 @@ Object.defineProperties(Worker.prototype, {
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment