开发者

Does loading an ActiveX control block page rendering?

开发者 https://www.devze.com 2023-02-11 07:22 出处:网络
I have an ActiveX control on a page I\'m building (believe you me, I wish I didn\'t) using a static <object/> ta开发者_运维问答g in the page source (it\'s generated by the ASPx backend, but it a

I have an ActiveX control on a page I'm building (believe you me, I wish I didn't) using a static <object/> ta开发者_运维问答g in the page source (it's generated by the ASPx backend, but it arrives at the browser as part of the raw page markup).

Does Internet Explorer stop parsing and rendering to load the ActiveX controls as soon as it parses the <object/> tag or does the load happen in a parallel thread?


ActiveX has to be loaded in the UI thread, otherwise most ActiveX won't work because they are STA. Same apply to IE's scripting objects some of them simply lack the proxy/stub for inter-thread marshalling, so DOM manuplation has to be in the UI thread too.

The parsing of the page could happen in the background thread.

0

精彩评论

暂无评论...
验证码 换一张
取 消