A jsm file is a javascript module file as used by mozilla. The contained code is plain old javascript, but the jsm file extension indicates that the file defines a module.
Questions tagged [jsm]
19 questions
0
votes
1 answer
Exception while pulling the message from service bus
I want to pull a message from service bus. The messages are nothing but the XML.
I want to use the PEEK_LOCK option for achieving the objective.
For now, there is no message in the queue. My code run through a schedule every 30 seconds. If there…
user6705109
0
votes
1 answer
Location of Mozilla Core Javascript Modules
Where are the JavaScript core modules listed on this Mozilla page?
I looked through the docs forever and ran all types of searches for *.jsm and a few specific jsm files, but I couldn't find any.
Are these separate files located somewhere or are…

snowman4839
- 183
- 3
- 10
0
votes
2 answers
What are the scopes and/or persistence of JavaScript Code Modules?
Experimenting with a bootstrapped extension, I'm trying to understand the scopes and/or persistence of jsm modules by setting a property, called baseUri, on a module object from bootstrap.js and reading it again from javascript in my options.xul…

Codifier
- 354
- 1
- 14
0
votes
0 answers
get a resource uri from jsm
I'd like to get the resource: uri for a .jsm file dynamically. The path is dynamic so I would like to refer to relative resources with the same path.
So I can load A.jsm via resource://path-to-modules/modules/A.jsm and…

erikvold
- 15,988
- 11
- 54
- 98