Would it be possible to implement bug #952192, which allows calling Components.utils.getObjectPrincipal from script code?
This is actually the biggest problem preventing recent GreaseMonkey versions from running, and from what I understand this function is already implemented, just not callable outside of C++.
getObjectPrincipal Scriptable Context
Re: getObjectPrincipal Scriptable Context
I looked into the bug and applied it, but it causes build bustage, so backed it back out and I'll have to look into what dependencies are the problem.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss


Re: getObjectPrincipal Scriptable Context
Just out of curiosity I would like to know when this could be applied again and have you figured out what dependencies are problem?
Even though I don't use GreaseMonkey applying this will help other users.
Even though I don't use GreaseMonkey applying this will help other users.
Re: getObjectPrincipal Scriptable Context
"When" would be when I have figured out the dependencies, which I haven't had time for yet.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss



