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