I personally don't see anything wrong with asking this type of question. Certainly it fits within the technical scope, as you mentioned.
However, as the two comments to the question suggest, it's a constant debate here on Meta whether a question becomes off-topic simply because there are an extremely small number of people who will be able to answer it. Clive notes that "only an authoritative person at Mozilla can answer that with any certainty [so] I doubt it's appropriate for SO." The same logic has been used to reject questions about the design of specific languages—the thinking goes, essentially, that only the people who designed the language would be able to answer it, so it's off-topic.
I am suspect of this entire chain of reasoning. There are lots of questions that get asked every day on Stack Overflow that only a vanishingly small number of people in the world actually know the answer to. Questions on highly specialized technologies, obsolete technologies, extremely complex/technical questions, and so on are all acceptable, regardless of the size of their target audience. It may be that many of these questions never do get an answer, and that certainly is unfortunate, but it doesn't make the question inherently off-topic. A crystal ball should not be required to determine topicality. It just means you might not get an answer, and you have to consider whether it's really worth spending the time to ask and waiting around for an answer that may never come. You may be better off investing the time in implementing a workaround, pursuing an alternative, or committing to a redesign.
That said, some of these highly-specialized questions do get an answer. I've trotted this example out before, but it remains compelling. Questions that have been previously dismissed as off-topic because only someone involved in the design of the C# language would be able to answer them have actually been answered by one of our members who was involved in (some) aspects of the design of the C# language! Granted, you can't expect this to happen in all cases, but this is one of the virtues of Stack Overflow—a place where experts gather to share their knowledge. If you could only ask questions where you could guarantee that lots of people knew the answer, this would be just another "debug my code for me" web forum, and I certainly don't want that.
So, if it were me, I'd go ahead and ask it. But be prepared for some blow-back, and possibly some close votes. Maybe even a closure war. Shrug. There's nothing we could say on Meta anyway that would prevent this from happening. Even if we were to reach an impossible consensus on the topicality of the question, that wouldn't stop others from disagreeing and voting to close it anyway. The best we can really do is help you to formulate the question in an acceptable manner. Along those lines, the best recommendation I can give you is to keep the question narrowly focused and contextualized—in the context of a specific project or problem that you're having. Resist the temptation to make it broad in hopes that it will be useful/applicable to more people. It won't; it'll just make it seem unfocused and thus persistent itchiness on close-vote trigger fingers.
Anyway, it sounds to me like XPCOM is being removed entirely from the Gecko project. But the true answer to your question might ultimately come down to a quibble over the definition of the word "deprecation", and how deprecation is specifically to be implemented. I suspect that's why there is a tendency to conclude that this question would be off-topic, which is why I recommended that you carefully contextualize it. Then, answers about how you could work around the problem become relevant.