简体   繁体   中英

xul doesn't export this method `JS_BeginRequest@@YAXPAUJSContext@@@Z` after updating to Firefox 46 GeckoFX 45

I am trying to use Firefox 46.0 SDK for GeckoFX45. I was able to find the changed uuid "Guid id" but after updating to Firefox 46 SDK I got this crash in this line :

https://github.com/EbramTawfik/GeckoFX/blob/master/Geckofx-Winforms/GeckoWebBrowser.WinForms.cs#L153

Message : System.AccessViolationException HResult=0x80004003 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Then I was able to generate the c# file for the IDLs:

Using this tool : https://bitbucket.org/geckofx/idlimp/src/default/

And the WebIDLs Using This tool : https://bitbucket.org/geckofx/webidltogeckofxbindings/src/default/

but I am getting this error:

System.EntryPointNotFoundException: 'Unable to find an entry point named '?JS_BeginRequest@@YAXPAUJSContext@@@Z' in DLL 'xul'.'

and I found the reason is that the newer version for xul doesn't export this method JS_BeginRequest@@YAXPAUJSContext@@@Z

So I don't know if there a specific way to rebuild this xul.dll to export these methods? or is the method deprecated in the newer version for xul.dll?! and if it's deprecated what should I use instead of it ?!

You can use XulFx it's based on Firefox 52:

https://bitbucket.org/vmas/xulfx/src/default/

and you can download releases from here :

https://bitbucket.org/vmas/xulfx/downloads/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM