Components.util.import case-sensitivity depends on how the addon is loaded....

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: Michael.Balazs, Unassigned)

Tracking

7 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0) Gecko/20100101 Firefox/7.0
Build ID: 20110922153450

Steps to reproduce:

Had a Components.util['import'] statement with a capitalization issue in the name. 

Case 1: Loaded an extension via proxy file (https://developer.mozilla.org/en/Setting_up_extension_development_environment#Firefox_extension_proxy_file) 

Case 2: Loaded the same extension via an XPI file   


Actual results:

Case 1: All loaded fine independent of the case issue. 

Case 2: File not found error. 


Expected results:

Both cases should have the same outcome.
You need to log in before you can comment on or make changes to this bug.