Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Callbacks for some host objects are not executing

0
0
Hi again,

Further investigation reveals that the MSHTML+JScript implementation of setTimeout requires that the supplied callback be a function within the DOM's private script collection, so it isn't clear how it ever could have worked with an external function exposed by ClearScript.

This requirement might be a cross-site security measure. Fortunately, as you can see above, it is relatively easy to work around :)

Good luck!

Viewing all articles
Browse latest Browse all 2297