The default bug view has changed. See this FAQ.

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

NEW
Unassigned

Status

()

Core
XPConnect
8 years ago
8 years ago

People

(Reporter: Philip Chee, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 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.
You need to log in before you can comment on or make changes to this bug.