Closed
Bug 1000254
Opened 11 years ago
Closed 7 years ago
options() always returns the empty string
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jorendorff, Assigned: jorendorff)
References
Details
Attachments
(2 files)
2.05 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
166.96 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
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 | ||
Updated•11 years ago
|
Assignee: general → jorendorff
Assignee | ||
Comment 2•11 years ago
|
||
The JS_ReportError changes are just en passant simplification.
Attachment #8411288 -
Flags: review?(jwalden+bmo)
Assignee | ||
Comment 3•11 years ago
|
||
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)
Updated•11 years ago
|
Attachment #8411288 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: leave-open
Assignee | ||
Comment 4•11 years ago
|
||
Comment 6•11 years ago
|
||
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+
Comment 7•11 years ago
|
||
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!
Comment 9•7 years ago
|
||
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)
Assignee | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jorendorff)
Resolution: --- → FIXED
Updated•7 years ago
|
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•