OK, I still don't know why this is broken, but I did figure out that
even though the line numbers are wrong, they would change if I edited
the greasemonkey script; so bisecting line numbers, I get to this
function:
var requestPrototype = (function() {
for(var topLevel in window) {
if(!window[topLevel]) continue;
// need an example for a request object
for(var property in window[topLevel]) {
try {
if(window[topLevel][property] == "getRegionScoreDetails") {
return Object.getPrototypeOf(window[topLevel]);
}
} catch(e) { // might throw SecurityError or others (noticed on
top.opener, which might be cross-origin)
continue;
}
}
}
})();
The exception is seen to happen on the line
for(var property in window[topLevel]) {
There's clearly code here intended to trap the security exception, but
it looks like that exception is being raised in the wrong place. Might
this be a firefox bug?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1426581
Title:
with greasemonkey in firefox 36, "Error: Exposing privileged or cross-
origin callable is prohibited"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1426581/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs