Closed Bug 469844 Opened 16 years ago Closed 6 years ago

Components.utils.lookupMethod is not accessible from content XBL unlike Components.lookupMethod

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: philip.chee, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #467659 +++

I'm opening a new bug with a more succinct summary of the problem since the original bug had some rather confusing comments until the exact problem was identified.

Since Components.lookupMethod is deprecated I thought I'd convert Flashlblock to use Components.utils.lookupMethod instead. Unfortunately I get the following error in the Error Console:

Error: Permission denied for <http://www.bakketun.net> to get property XPCComponents.utils
Source file: chrome://flashblock/content/flashblock.xml
Line: 17

This means that Components.utils.lookupMethod does not behave like Components.lookupMethod in this edge case. We are unable to migrate off a deprecated method until this bug is fixed.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.