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

RESOLVED INACTIVE

Status

()

defect
RESOLVED INACTIVE
11 years ago
a year ago

People

(Reporter: philip.chee, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

11 years ago
+++ 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.

Comment 1

a year ago
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
Last Resolved: a year ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.