Bug 54286 - Web Inspector: console should autocomplete properties of functions.
Summary: Web Inspector: console should autocomplete properties of functions.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 08:01 PST by Pavel Feldman
Modified: 2011-03-10 12:53 PST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2011-02-11 08:01:43 PST
Today we autocomplete properties on objects only. Should suggest ones for functions as well.

Patch to follow.
Comment 1 Joseph Pecoraro 2011-03-10 10:44:34 PST
Patch never followed? Doh. Or is this already done?

  js> x = { alpha: function(){} }
  js> x.al|   => does autocomplete to alpha
Comment 2 Pavel Feldman 2011-03-10 12:22:50 PST
Done while migrating completions to eval last week.
Comment 3 Pavel Feldman 2011-03-10 12:23:27 PST
(and it was about x.alpha.toStr|)
Comment 4 Joseph Pecoraro 2011-03-10 12:53:15 PST
Gotcha. Thanks!