with greasemonkey in firefox 36, "Error: Exposing privileged or cross-origin callable is prohibited"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webapps-sprint |
Won't Fix
|
Medium
|
David Barth | ||
firefox (Ubuntu) |
Won't Fix
|
Low
|
Unassigned | ||
unity-firefox-extension (Ubuntu) |
Won't Fix
|
Medium
|
David Barth |
Bug Description
I use a variety of greasemonkey scripts in firefox. After accepting today's update to firefox 36 from firefox 34, one of these scripts is now failing with the following message on the browser console:
Error: Exposing privileged or cross-origin callable is prohibited
This appears to halt the script.
There is no other information given as to the cause of this error, and the line number given is out of range for the source url.
Googling for this error message turns up some results, but none that reference greasemonkey, and with nothing that would indicate how to fix the problem.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: firefox 36.0+build2-
ProcVersionSign
Uname: Linux 3.18.0-8-generic x86_64
AddonCompatChec
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: vorlon 7801 F...m pulseaudio
/dev/snd/
BuildID: 20150224111710
Channel: Unavailable
CurrentDesktop: Unity
Date: Fri Feb 27 14:42:42 2015
ForcedLayersAccel: False
IncompatibleExt
Chinese Simplified (zh-CN) Language Pack - <email address hidden>
Català Language Pack - <email address hidden>
Default - {972ce4c6-
InstallationDate: Installed on 2010-09-24 (1617 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
IpRoute:
default via 192.168.15.1 dev wlan2 proto static metric 1024
169.254.0.0/16 dev vnet0 scope link metric 1000
192.168.15.0/24 dev wlan2 proto kernel scope link src 192.168.15.66
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
207.224.24.209 via 192.168.15.1 dev wlan2 proto dhcp metric 10
MostRecentCrashID: bp-977de9ee-
Plugins:
Shockwave Flash - /usr/lib/
iTunes Application Detector - /usr/lib/
Google Talk Plugin Video Renderer - /opt/google/
Google Talk Plugin - /opt/google/
PrefSources:
prefs.js
[Profile]
Profiles: Profile0 (Default) - LastVersion=
RelatedPackageV
rhythmbox-mozilla 3.1-1ubuntu2
google-talkplugin 5.3.1.0-1
RunningIncompat
SourcePackage: firefox
UpgradeStatus: Upgraded to vivid on 2014-12-06 (83 days ago)
WifiSyslog:
dmi.bios.date: 10/25/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ET97WW (2.57 )
dmi.board.
dmi.board.name: 2306CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 2306CTO
dmi.product.
dmi.sys.vendor: LENOVO
Changed in firefox (Ubuntu): | |
importance: | Undecided → Medium |
importance: | Medium → Low |
Changed in unity-firefox-extension (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
Changed in unity-firefox-extension (Ubuntu): | |
assignee: | Alexandre Abreu (abreu-alexandre) → nobody |
Changed in webapps-sprint: | |
milestone: | sprint-8 → sprint-9 |
status: | Triaged → In Progress |
Changed in firefox (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity-firefox-extension (Ubuntu): | |
status: | Triaged → In Progress |
Changed in webapps-sprint: | |
milestone: | sprint-9 → sprint-10 |
Changed in webapps-sprint: | |
milestone: | sprint-10 → sprint-11 |
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 |
milestone: | sprint-11 → sprint-14 |
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)