Firefox SDK in Firefox 56 release package?
Hi all,
From FF 44 to FF 52, I see there are the FF SDK embedded in release package (Ex. https://ftp.mozilla.org/pub/firefox/releases/52.4.0esr/firefox-52.4.0esr.win32.sdk.zip). However, from FF 53 to FF 56, I don't find the FF SDK embedded in release package. Could you let me know reason why?
Thanks, Hai.
Усі відповіді (7)
Um, at 226MB, I'm not going to download that and see what it is. Any idea?
If it's related to the "Add-on SDK", no new extensions that use the Add-on SDK are being accepted by the Add-ons site, and they will all stop running in Firefox 57.
I assume that this is the SDK source code that you can use to compile this packet and generate the binaries.
cor-el said
I assume that this is the SDK source code that you can use to compile this packet and generate the binaries.
Yes, that right. It is the SDK source code used to compile this packet and generate the binaries. But I don't see it from FF 53.
If you want to build Firefox:
https://developer.mozilla.org/docs/Mozilla/Developer_guide/Build_Instructions
jscher2000 said
If you want to build Firefox: https://developer.mozilla.org/docs/Mozilla/Developer_guide/Build_Instructions
Thank you for your reply. But I don't want to build Firefox. I want to use the interfaces (header files) in the SDK to get the DOM information from Firefox browser window by C++.
The code sample look like below:
nsresult result; nsCOMPtr<nsIWindowMediator> windowMediator = do_GetService(NS_WINDOWMEDIATOR_CONTRACTID, &result); if (windowMediator) { nsCOMPtr<mozIDOMWindowProxy> browserWindowProxy; windowMediator->GetMostRecentWindow(u"navigator:browser", getter_AddRefs(browserWindowProxy)); nsCOMPtr<nsPIDOMWindowInner> browserWindowInner(do_QueryInterface(browserWindowProxy));
...
}
Once you have identified the relevant header file from Firefox 52, you can check the source repository to see whether it has changed in Firefox 56 or on the trunk:
Current Release: https://dxr.mozilla.org/mozilla-release/source/
This is probably because starting with Firefox 53 no new legacy extensions are accepted on the Addo-ons website