Last Comment Bug 684713 - shell help() shows help for the wrong function (prefix match)
: shell help() shows help for the wrong function (prefix match)
Status: RESOLVED FIXED
: regression, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Mac OS X
: -- normal (vote)
: mozilla9
Assigned To: Steve Fink [:sfink] [:s:]
:
: Jason Orendorff [:jorendorff]
Mentors:
Depends on:
Blocks: 673612
  Show dependency treegraph
 
Reported: 2011-09-05 07:48 PDT by Jesse Ruderman
Modified: 2011-09-14 06:57 PDT (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Match full function name when giving JS shell help messages (1.22 KB, patch)
2011-09-08 11:26 PDT, Steve Fink [:sfink] [:s:]
cdleary: review+
Details | Diff | Splinter Review

Description Jesse Ruderman 2011-09-05 07:48:37 PDT
js> help("gczeal")

gc([obj])                Run the garbage collector
                         When obj is given, GC only the compartment it's in

Workaround: help(), ⌘F
Comment 1 David Mandelin [:dmandelin] 2011-09-06 11:37:50 PDT
Is this a regression?
Comment 2 Jesse Ruderman 2011-09-07 14:48:10 PDT
Regression from bug 673612.
Comment 3 Steve Fink [:sfink] [:s:] 2011-09-08 11:26:49 PDT
Created attachment 559226 [details] [diff] [review]
Match full function name when giving JS shell help messages

Oops!
Comment 4 Steve Fink [:sfink] [:s:] 2011-09-13 21:49:32 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/32004f4bcf6f
Comment 5 Matt Brubeck (:mbrubeck) 2011-09-14 06:57:56 PDT
https://hg.mozilla.org/mozilla-central/rev/32004f4bcf6f

Note You need to log in before you can comment on or make changes to this bug.