Closed Bug 1480643 Opened 7 years ago Closed 7 years ago

Remove nsIWebBrowserSetup

Categories

(Toolkit :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: qdot, Assigned: qdot)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Only used by TabChild in C++, we can fold this into nsWebBrowser.
We should just be able to make a AllowDNSPrefetch function on nsIWebBrowser and call that instead of SetProperty. There are no other usages of the nsIWebBrowserSetup enums, so they can be removed entirely with the interface.
We only use one branch of the property set method in nsIWebBrowserSetup, in one place. Expose this setting in the C++ API and remove the XPCOM interface. This patch also exposes the nsWebBrowser.h header to the codebase, meaning we can possibly start removing some uses of nsIWebBrowser elsewhere. MozReview-Commit-ID: G3gnRWJUx6M
Comment on attachment 8997549 [details] Bug 1480643 - Remove nsIWebBrowserSetup; r=nika :Nika Layzell has approved the revision. https://phabricator.services.mozilla.com/D2736
Attachment #8997549 - Flags: review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: