getObjectPrincipal Scriptable Context

Suggestions and feature requests for the Pale Moon browser
Locked
Crazycatz00

getObjectPrincipal Scriptable Context

Post by Crazycatz00 » 2015-02-25, 18:25

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++.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29243
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: getObjectPrincipal Scriptable Context

Post by Moonchild » 2015-02-26, 16:27

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
Image

win7-7
Fanatic
Fanatic
Posts: 179
Joined: 2013-09-16, 15:18
Location: --

Re: getObjectPrincipal Scriptable Context

Post by win7-7 » 2015-03-09, 18:10

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.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29243
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: getObjectPrincipal Scriptable Context

Post by Moonchild » 2015-03-09, 18:13

"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
Image

Locked