Closed Bug 1882669 Opened 4 months ago Closed 4 months ago

Building without MOZ_PLACES or MOZ_ANDROID_HISTORY fails

Categories

(Toolkit :: Places, defect)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR:

  • Remove imply_option("MOZ_PLACES", True) from browser/moz.configure
  • build

The failure looks like:

docshell/base/nsDocShell.cpp:12275:53: error: no member named 'Service' in 'mozilla::IHistory'
 12275 |   nsCOMPtr<IHistory> history = components::History::Service();
       |                                ~~~~~~~~~~~~~~~~~~~~~^

It's fine, as it's not the kind of thing that one should stumble upon... except when they are setting up a new toolkit-based application.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/b6d962cdaea6
Enforce that one of MOZ_ANDROID_HISTORY or MOZ_PLACES must be set. r=mak
Pushed by smolnar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4b5cfec92393
Fix debug build bustages. CLOSED TREE
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: