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);
Exemple #7
0
 public void GetOSAttribute(nsAUTF8StringBase aOS)
 {
     backXulRuntime.GetOSAttribute(aOS);
 }
Exemple #8
0
 public void GetDistributionIDAttribute(nsAUTF8StringBase aDistributionID)
 {
     backXulRuntime.GetDistributionIDAttribute(aDistributionID);
 }
Exemple #9
0
 public void GetDefaultUpdateChannelAttribute(nsAUTF8StringBase aDefaultUpdateChannel)
 {
     backXulRuntime.GetDefaultUpdateChannelAttribute(aDefaultUpdateChannel);
 }
Exemple #10
0
 public void GetWidgetToolkitAttribute(nsAUTF8StringBase aWidgetToolkit)
 {
     backXulRuntime.GetWidgetToolkitAttribute(aWidgetToolkit);
 }
Exemple #11
0
 public void GetXPCOMABIAttribute(nsAUTF8StringBase aXPCOMABI)
 {
     backXulRuntime.GetXPCOMABIAttribute(aXPCOMABI);
 }
 public void GetDistributionIDAttribute(nsAUTF8StringBase aDistributionID)
 {
     throw new NotImplementedException();
 }
 public void GetDefaultUpdateChannelAttribute(nsAUTF8StringBase aDefaultUpdateChannel)
 {
     throw new NotImplementedException();
 }