Boris Zbarsky wrote:
I rather question whether there are actual use cases for this that justify the complexity in an area of code (security checks) where complexity and the attendant potential for bugs is to be avoided at all costs.
Just in case this wasn't clear, consider this implementor feedback that I consider this to be a bad idea. I've spent a while over the last few years eliminating this sort of special-casing in the Gecko code, and I pretty strongly oppose reintroducing it.
-Boris