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

New Post: Callbacks for some host objects are not executing

0
0
Hi frolovm,

We don't have a BHO test harness, so we're testing with a simple WPF app that uses the WebBrowser XAML control, which exposes the same underlying COM objects.

We can confirm that passing an external script function to setTimeout appears to succeed but the function is never invoked. However, we can't confirm that it works with ClearScript 5.4.3 either. In fact, with stock 5.4.3 the setTimeout call throws an exception, and with your changes here it appears to behave exactly like 5.4.4.

You say that you had it working with 5.4.3. Had you by any chance applied any additional changes?

Interestingly, this works on both 5.4.4 and your modified 5.4.3:
window.onTimer = function() { /* ... */ };
setTimeout('onTimer()');
Thanks!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images