public bool OnError(nsAUTF8String message, nsAUTF8String fileName, uint line, uint pos, uint flags, uint errnum, jsdIValue exc)
 {
     var eventArgs = new JavascriptErrorEventArgs(message.ToString(), fileName.ToString(), line, pos, flags, errnum);
     m_browser.OnJavascriptError(eventArgs);
     return true;
 }
 protected virtual void OnJavascriptError(JavascriptErrorEventArgs e)
 {
     if (_JavascriptError != null)
         _JavascriptError(this, e);
 }