Thursday, 15 March 2012

c# - Awesomium javascript-related crash/freeze -



c# - Awesomium javascript-related crash/freeze -

i'm wondering if has encountered problems awesomium relating webview goes unresponsive lite bluish screen if there problem js in loaded script.

i'm developing in c# , awesomium 1.7 rc3. if underlying javascript can't executed due syntax error example, entire page render blank. outside of awesomium, renders html , displays page. i'm handling crashed event, it's not beingness called. app, nor webview crashing. i've tried using both windowed webview instance , webcontrol instance, issue remains.

i've searched thoroughly experiencing similar problem, seems i'm one. ideas appreciated.

same problem me !! don't understand

edit : seems loadhtml function limited in size, page breaks !

i load minimum on loadhtml , execute more script in documntready event, executejavascript function.

it seems work me larger data.

ex :

helper.projecttimeline.webcontrol.documentready += (object s, urleventargs ee) => { helper.projecttimeline.webcontrol.executejavascript("window.source = " + dynamicjson.serialize(source)); helper.projecttimeline.webcontrol.executejavascript("start();"); };

c# javascript winforms awesomium

No comments:

Post a Comment