ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox SDK in Firefox 56 release package?

  • 7 ردود
  • 1 has this problem
  • 8 views
  • آخر ردّ كتبه cor-el

more options

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.

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.

All Replies (7)

more options

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.

more options

I assume that this is the SDK source code that you can use to compile this packet and generate the binaries.

more options

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.

more options
more options

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));

       ...

}

more options

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/

Trunk: https://dxr.mozilla.org/mozilla-central/source/

more options

This is probably because starting with Firefox 53 no new legacy extensions are accepted on the Addo-ons website