Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox SDK in Firefox 56 release package?

  • 7 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 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