This `getWindowTitleForNavigator()` is based on Suite's `updateTitlebar` implementation: https://mxr.mozilla.org/comm-central/source/suite/browser/tabbrowser.xml#879.
Blame shows that check is really old. I'd like to forward your question to the SM maintainer guys.