Closed
Bug 577948
Opened 15 years ago
Closed 12 years ago
Rename "filename" option of sandbox.evaluate() to something that makes it obvious it's a string URL
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: asqueella, Unassigned)
Details
Since files in Mozilla platform can be referred to using many kinds of objects (nsIFiles, OS-specific path, URL, nsIURI, ...) we should be careful to use the correct terms when naming variables (esp. those included in APIs).
Having options.filename in sandbox.evaluate() (and other code which eventually calls it) hold a string URL makes it easier to make mistakes when writing and thinking about code.
Comment 1•15 years ago
|
||
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.
To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
Updated•15 years ago
|
Priority: -- → P3
Target Milestone: --- → 1.0
Comment 2•14 years ago
|
||
(automatic reprioritization of 1.0 bugs)
Priority: P3 → P2
Target Milestone: 1.0 → 1.1
(Pushing all open bugs to the --- milestone for the new triage system)
Target Milestone: 1.1 → ---
Comment 4•12 years ago
|
||
I believe this bug is not longer valid. Our `sandbox` module doesn't have any `options` object for `evaluate`.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?
Resolution: --- → INVALID
Updated•11 years ago
|
Flags: needinfo?
You need to log in
before you can comment on or make changes to this bug.
Description
•