Closed Bug 843634 Opened 9 years ago Closed 4 years ago
Debug reftests hitting "(NS
_ERROR _FACTORY _NOT _REGISTERED) [ns IDoc Shell History .use Global History]" in b2g
Mark, I'm flagging you since you added the disableglobalhistory attribute in bug 755116. I know that's unrelated, but could you help me get this into the hands of someone who can help look into this (if that person isn't you)? Much appreciated!
I don't know the full context of this error, but it looks the global history service isn't available in the context in which this error occurs. Setting useGlobalHistory = true winds its way to http://mxr.mozilla.org/mozilla-central/source/docshell/base/nsDocShell.cpp#3836, and it's attempt to use the NS_GLOBALHISTORY2_CONTRACTID is probably failing as it doesn't exist. A work around would be to either disable *all* history (ie, including session history) by adding a "disablehistory" attribute, or keep the session history and just disable the global history by adding a "disableglobalhistory" attribute. However, I'm not sure which of them make sense in this context - IOW, I'm not sure if history is expected to be available in this use-case. If it *should* be possible to use global history here, you probably need to track down why that NS_GLOBALHISTORY2_CONTRACTID service isn't available (or at least verify my assumption that attempting to fetch that service does indeed return NS_ERROR_FACTORY_NOT_REGISTERED) Please let me know if be any further help.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.