Changeset 90618 in vbox for trunk/src/libs/xpcom18a4/python
- Timestamp:
- Aug 11, 2021 7:35:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/python/components.py
r59798 r90618 233 233 xpcom.client._shutdown() 234 234 xpcom.server._shutdown() 235 def _query_interface_(self, iid): # VBox: Needed so that the interface check in the DefaultPolicy initialization will pass; @bugref{10079}. 236 if iid == interfaces.nsIObserver: 237 return 1 238 return None 235 239 236 240 svc = _xpcom.GetServiceManager().getServiceByContractID("@mozilla.org/observer-service;1", interfaces.nsIObserverService)
Note:
See TracChangeset
for help on using the changeset viewer.