public bool OnError(nsAUTF8StringBase message, nsAUTF8StringBase fileName, uint line, uint pos, uint flags, uint errnum, jsdIValue exc)
            {
                if (m_browser.IsDisposed)
                {
                    return(true);
                }
                var eventArgs = new JavascriptErrorEventArgs(message.ToString(), fileName.ToString(), line, pos, flags, errnum);

                m_browser.OnJavascriptError(eventArgs);
                return(true);
            }
 protected static extern void NS_CStringSetIsVoid(nsAUTF8StringBase str, [MarshalAs(UnmanagedType.Bool)] bool isVoid);
 protected static extern bool NS_CStringGetIsVoid(nsAUTF8StringBase str);
 protected static extern int NS_CStringContainerFinish(nsAUTF8StringBase container);
 protected static extern int NS_CStringGetData(nsAUTF8StringBase str, out IntPtr data, IntPtr nullTerm);
 protected static extern int NS_CStringSetData(nsAUTF8StringBase str, byte[] data, int length);
Example #7
0
 public void GetOSAttribute(nsAUTF8StringBase aOS)
 {
     backXulRuntime.GetOSAttribute(aOS);
 }
Example #8
0
 public void GetDistributionIDAttribute(nsAUTF8StringBase aDistributionID)
 {
     backXulRuntime.GetDistributionIDAttribute(aDistributionID);
 }
Example #9
0
 public void GetDefaultUpdateChannelAttribute(nsAUTF8StringBase aDefaultUpdateChannel)
 {
     backXulRuntime.GetDefaultUpdateChannelAttribute(aDefaultUpdateChannel);
 }
Example #10
0
 public void GetWidgetToolkitAttribute(nsAUTF8StringBase aWidgetToolkit)
 {
     backXulRuntime.GetWidgetToolkitAttribute(aWidgetToolkit);
 }
Example #11
0
 public void GetXPCOMABIAttribute(nsAUTF8StringBase aXPCOMABI)
 {
     backXulRuntime.GetXPCOMABIAttribute(aXPCOMABI);
 }
Example #12
0
 public void GetDistributionIDAttribute(nsAUTF8StringBase aDistributionID)
 {
     throw new NotImplementedException();
 }
Example #13
0
 public void GetDefaultUpdateChannelAttribute(nsAUTF8StringBase aDefaultUpdateChannel)
 {
     throw new NotImplementedException();
 }