[Bug 1426581] Re: with greasemonkey in firefox 36, "Error: Exposing privileged or cross-origin callable is prohibited"
** Changed in: unity-firefox-extension (Ubuntu) Status: In Progress => Won't Fix ** Changed in: firefox (Ubuntu) Status: In Progress => Won't Fix ** Changed in: webapps-sprint Status: In Progress => Won't Fix ** Changed in: webapps-sprint Milestone: sprint-11 => sprint-14 -- 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/webapps-sprint/+bug/1426581/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
** Changed in: webapps-sprint Milestone: sprint-10 = sprint-11 -- 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/webapps-sprint/+bug/1426581/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
** Changed in: webapps-sprint Milestone: sprint-9 = sprint-10 -- 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/webapps-sprint/+bug/1426581/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
** Changed in: webapps-sprint Milestone: sprint-8 = sprint-9 ** Changed in: webapps-sprint Status: Triaged = In Progress ** Changed in: firefox (Ubuntu) Status: Confirmed = In Progress ** Changed in: unity-firefox-extension (Ubuntu) Status: Triaged = In Progress -- 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/webapps-sprint/+bug/1426581/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
** Changed in: unity-firefox-extension (Ubuntu) Assignee: Alexandre Abreu (abreu-alexandre) = (unassigned) -- 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/webapps-sprint/+bug/1426581/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
At this stage, the feature is deprecated and we should start moving it out of the archive ** Changed in: unity-firefox-extension (Ubuntu) Assignee: (unassigned) = David Barth (dbarth) ** Also affects: webapps-sprint Importance: Undecided Status: New ** Changed in: webapps-sprint Milestone: None = sprint-8 ** Changed in: webapps-sprint Assignee: (unassigned) = David Barth (dbarth) ** Changed in: webapps-sprint Status: New = Triaged ** Changed in: webapps-sprint Importance: Undecided = Medium -- 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/webapps-sprint/+bug/1426581/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
** Changed in: unity-firefox-extension (Ubuntu) Status: New = Triaged ** Changed in: unity-firefox-extension (Ubuntu) Importance: Undecided = Medium ** Changed in: unity-firefox-extension (Ubuntu) Assignee: (unassigned) = Alexandre Abreu (abreu-alexandre) -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
In fact, the failure with my greasemonkey script turned out to also be an adverse interaction with the unity add-on. Disabling that has allowed my script to work again. So this seems to be a bug in unity- firefox-extension. ** Also affects: unity-firefox-extension (Ubuntu) Importance: Undecided Status: New -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
We might want to raise the importance, as it also affects webapp integration in Firefox. external.getUnityObject(1) raise the same error. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
That's because the webapps integration uses the old unsafe method of exposing privileged objects to content. We discussed a couple of weeks ago about just removing this functionality from the webapps addon, given that it no longer works, the addon needs re-writing for e10s and webapps are opened in a dedicated container app now -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
** Changed in: firefox (Ubuntu) Importance: Undecided = Medium ** Changed in: firefox (Ubuntu) Importance: Medium = Low -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: firefox (Ubuntu) Status: New = Confirmed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
On Fri, Feb 27, 2015 at 11:46:15PM -, Chris Coulson wrote: The broken script should be using Components.utils.cloneInto() to expose objects from privileged scopes to web content (see https://developer.mozilla.org/en-US/docs/Components.utils.cloneInto) That makes sense, but still leaves the problem that the error message doesn't give me accurate information about where the object is that's being incorrectly shared across scopes. How can I figure this out so I can fix the script? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1426581] Re: with greasemonkey in firefox 36, Error: Exposing privileged or cross-origin callable is prohibited
This is because of https://lists.mozilla.org/pipermail/dev- platform/2014-June/005290.html, and more specifically https://bugzilla.mozilla.org/show_bug.cgi?id=1082450. The broken script should be using Components.utils.cloneInto() to expose objects from privileged scopes to web content (see https://developer.mozilla.org/en-US/docs/Components.utils.cloneInto) ** Bug watch added: Mozilla Bugzilla #1082450 https://bugzilla.mozilla.org/show_bug.cgi?id=1082450 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs