Closed Bug 844517 Opened 11 years ago Closed 11 years ago

resource://gre/modules/PlacesUIUtils.jsm not found?

Categories

(Firefox :: Extension Compatibility, defect)

21 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: dgutov, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130223 Firefox/21.0
Build ID: 20130223042647

Steps to reproduce:

After updating to Firefox Aurora 21, my extension stopped working: https://addons.mozilla.org/en/firefox/addon/bmreplace/


Actual results:

It shows [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" in the Error Console when trying to import resource://gre/modules/PlacesUIUtils.jsm

I looked around and found an alternative URL which still works: resource:///modules/PlacesUIUtils.jsm


Expected results:

Unless PlacesUIUtils really isn't supposed to be used by addon authors, some advance deprecation warning would have been nice.

I couldn't find any bugs related to this change. Why was it made at all?
Component: Untriaged → Extension Compatibility
(In reply to Dmitry Gutov from comment #1)
> Unless PlacesUIUtils really isn't supposed to be used by addon authors, some
> advance deprecation warning would have been nice.

You're right. We'll try and still get some info in the "Firefox 21 for developers" page, but we should have noted it there earlier. Sorry!

> I couldn't find any bugs related to this change. Why was it made at all?

This was done in bug 755724, to accommodate the development of the metro browser. Note that for this file, you can use resource://app/modules/, and that will work with Firefox 21 and with earlier versions. Hope that helps!

(marking this as invalid as it's not something that will/can be fixed)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.