Closed Bug 1000254 Opened 11 years ago Closed 7 years ago

options() always returns the empty string

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jorendorff, Assigned: jorendorff)

References

Details

Attachments

(2 files)

No description provided.
That this bug went unnoticed for 6 months or so demonstrates that optionsClear() and optionsPush() in js/src/tests/shell.js are not being seriously used...
Assignee: general → jorendorff
The JS_ReportError changes are just en passant simplification.
Attachment #8411288 - Flags: review?(jwalden+bmo)
Removes ineffectual jit() calls from a bunch of tests. Why not. Not touched in this patch: a handful of tests disabled 4 years ago in bug 540512. :-P
Attachment #8411289 - Flags: review?(jwalden+bmo)
Attachment #8411288 - Flags: review?(jwalden+bmo) → review+
Keywords: leave-open
Comment on attachment 8411289 [details] [diff] [review] Part 2 - Remove some unused options-related junk from tests/{shell,browser}.js Review of attachment 8411289 [details] [diff] [review]: ----------------------------------------------------------------- Again, sorry for the delay... ::: js/src/tests/browser.js @@ +125,5 @@ > if (typeof jstestsRestoreFunction === "function") { > jstestsRestoreFunction(); > } > > + optionsReset(); Doesn't your change to shell.js remove this function, so requiring this call to be removed? @@ +188,5 @@ > // return value of options() is a comma delimited list > // of the previously set values > + var names = [for (name of options.names) > + if (SpecialPowers.Cu[name]) > + name]; I believe our harness still works for testing in other browsers, and an array comprehension here would break that. Please do this like |options.names.filter(function(name) { return SpecialPowers.Cu[name]; })|. @@ +407,5 @@ > print(PASSED); > jstestsTestPassesUnlessItThrows = false; > } > > + optionsReset(); Again, didn't you kill this off?
Attachment #8411289 - Flags: review?(jwalden+bmo) → review+
Hey, just wanted to check in on this really quickly. This'd be a nice one for us and it looks like there's already a patch. Much chance of it getting checked in? Thanks!
The leave-open keyword is there and there is no activity for 6 months. :jorendorff, maybe it's time to close this bug?
Flags: needinfo?(jorendorff)
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jorendorff)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: