Closed
Bug 1339406
Opened 7 years ago
Closed 7 years ago
Remove Rhino specific functions from jstest harness
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(7 files, 1 obsolete file)
2.70 KB,
patch
|
arai
:
review+
|
Details | Diff | Splinter Review |
1.59 KB,
patch
|
arai
:
review+
|
Details | Diff | Splinter Review |
4.25 KB,
patch
|
arai
:
review+
|
Details | Diff | Splinter Review |
968 bytes,
patch
|
arai
:
review+
|
Details | Diff | Splinter Review |
20.94 KB,
patch
|
arai
:
review+
|
Details | Diff | Splinter Review |
2.46 KB,
patch
|
arai
:
review+
|
Details | Diff | Splinter Review |
33.28 KB,
patch
|
anba
:
review+
|
Details | Diff | Splinter Review |
And additionally check for other possible removals or changes, so I don't need to create a new bug report all the time.
Assignee | ||
Comment 1•7 years ago
|
||
Removes Rhino specific functions from jstest harness. Rhino is basically unmaintained and it doesn't actually use our current jstest tests, so it's okay to remove these functions.
Attachment #8837202 -
Flags: review?(arai.unmht)
Assignee | ||
Comment 2•7 years ago
|
||
Only adds two missing 'var's for local variables.
Attachment #8837204 -
Flags: review?(arai.unmht)
Assignee | ||
Comment 3•7 years ago
|
||
Enables strict mode for the IIFEs in the top-level shell.js and browser.js files.
Attachment #8837206 -
Flags: review?(arai.unmht)
Assignee | ||
Comment 4•7 years ago
|
||
MethodJIT is no longer present and so are its shell options.
Attachment #8837207 -
Flags: review?(arai.unmht)
Assignee | ||
Comment 5•7 years ago
|
||
This removes unused functions from various shell.js files. The largest changes are in ecma_3/Date/shell.js, but that file was more or less an outdated version of ecma/shell.js!
Attachment #8837210 -
Flags: review?(arai.unmht)
Assignee | ||
Comment 6•7 years ago
|
||
It almost looks like the helper variables were supposed to be block-scoped, because they're nested in a block statement.
Attachment #8837211 -
Flags: review?(arai.unmht)
Assignee | ||
Comment 7•7 years ago
|
||
This updates or removes tests specific to TraceMonkey.
Attachment #8837212 -
Flags: review?(arai.unmht)
Updated•7 years ago
|
Attachment #8837202 -
Flags: review?(arai.unmht) → review+
Updated•7 years ago
|
Attachment #8837204 -
Flags: review?(arai.unmht) → review+
Updated•7 years ago
|
Attachment #8837206 -
Flags: review?(arai.unmht) → review+
Updated•7 years ago
|
Attachment #8837207 -
Flags: review?(arai.unmht) → review+
Updated•7 years ago
|
Attachment #8837210 -
Flags: review?(arai.unmht) → review+
Updated•7 years ago
|
Attachment #8837211 -
Flags: review?(arai.unmht) → review+
Comment 8•7 years ago
|
||
Comment on attachment 8837212 [details] [diff] [review] bug1339406-part7-remove-tracemonkey-tests.patch Review of attachment 8837212 [details] [diff] [review]: ----------------------------------------------------------------- Great :D ::: js/src/tests/js1_8_1/jit/math-jit-tests.js @@ +81,3 @@ > print(desc, ": FAILED: expected", typeof(expected), > "(", uneval(expected), ")", > + "", this line can just be removed. @@ +84,3 @@ > "!= actual", > typeof(actual), "(", uneval(actual), ")", > + ""); also this is unnecessary, but feel free to keep it there or ");" part there to reduce the diff.
Attachment #8837212 -
Flags: review?(arai.unmht) → review+
Assignee | ||
Comment 9•7 years ago
|
||
Update part 7 per review comments, carrying r+.
Attachment #8837212 -
Attachment is obsolete: true
Attachment #8837254 -
Flags: review+
Assignee | ||
Comment 10•7 years ago
|
||
(In reply to Tooru Fujisawa [:arai] from comment #8) > also this is unnecessary, but feel free to keep it there or ");" part there > to reduce the diff. I've removed both empty strings, because I don't think it's too crucial to keep the diff minimal for these changes. :-)
Assignee | ||
Comment 11•7 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7270f79226b632faa0f9678517f13ee956ce4708
Keywords: checkin-needed
Comment 12•7 years ago
|
||
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cce05a2b6308 Part 1: Remove Rhino specific functions from jstest harness. r=arai https://hg.mozilla.org/integration/mozilla-inbound/rev/f34ed6a5b9ca Part 2: Add missing 'var' declarations for local variables in jstest harness functions. r=arai https://hg.mozilla.org/integration/mozilla-inbound/rev/fb11e452585a Part 3: Change top-level shell.js and browser.js IIFE to strict mode. r=arai https://hg.mozilla.org/integration/mozilla-inbound/rev/509ba75cce2b Part 4: Remove tests for methodjit shell options. r=arai https://hg.mozilla.org/integration/mozilla-inbound/rev/c5f655086e0c Part 5: Remove unused functions from shell.js files. r=arai https://hg.mozilla.org/integration/mozilla-inbound/rev/8de9955bf062 Part 6: Block-scope helper variables from ecma_6/Math/shell.js. r=arai https://hg.mozilla.org/integration/mozilla-inbound/rev/9a7b08f075ac Part 7: Remove tests for tracemonkey options from jstests. r=arai
Keywords: checkin-needed
Comment 13•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cce05a2b6308 https://hg.mozilla.org/mozilla-central/rev/f34ed6a5b9ca https://hg.mozilla.org/mozilla-central/rev/fb11e452585a https://hg.mozilla.org/mozilla-central/rev/509ba75cce2b https://hg.mozilla.org/mozilla-central/rev/c5f655086e0c https://hg.mozilla.org/mozilla-central/rev/8de9955bf062 https://hg.mozilla.org/mozilla-central/rev/9a7b08f075ac
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•