搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox SDK in Firefox 56 release package?

  • 7 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 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.

所有回覆 (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