Document resource:// URIs and improve Components.utils.import docs

RESOLVED INVALID

Status

Developer Documentation
General
RESOLVED INVALID
10 years ago
5 years ago

People

(Reporter: Eric Butler, Unassigned)

Tracking

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008010104 Minefield/3.0b3pre
Build Identifier: 

Hello,

Please document resource:// URIs. This is useful for the new Components.utils.import method.

http://developer.mozilla.org/en/docs/Components.utils.import

As part of this, I'm wondering how to import a file located within my extension using Components.utils.import.

Thanks!

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
(Reporter)

Comment 1

10 years ago
Egads! someone had already done earlier today! thank you! I apologize for the bug spam.

http://starkravingfinkle.org/blog/2008/01/javascript-code-modules/

I've updated the Components.utils.import page to point here.
http://developer.mozilla.org/en/docs/Using_JavaScript_code_modules
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INVALID
(Assignee)

Updated

5 years ago
Component: Documentation Requests → Documentation
Product: Mozilla Developer Network → Mozilla Developer Network
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
You need to log in before you can comment on or make changes to this bug.