var HTMLIframeElement = Laya.HTMLIframeElement;
var iHtml = new HTMLIframeElement();
Laya.stage.addChild(iHtml);
iHtml.href="http://www.baidu.com";
一启动运行就现以下错误
Error processing "variables": TypeError: Cannot read property 'length' of undefined
at trimProperty (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:137:18)
at propertyPreviewToString (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:131:19)
at props.map.prop (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:120:43)
at Array.map (native)
at Object.getObjectPreview (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:120:14)
at ChromeDebugAdapter.createObjectVariable (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:1166:35)
附件:
ATAMTS.rar