Summary: | Web Inspector: [TextPrompt] TAB should complete suggestions up to their common prefix in Console | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexander Pavlov (apavlov) <apavlov> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Alexander Pavlov (apavlov) <apavlov> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Alexander Pavlov (apavlov)
2012-02-09 07:19:26 PST
Created attachment 126302 [details]
Patch
Comment on attachment 126302 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126302&action=review > Source/WebCore/inspector/front-end/TextPrompt.js:445 > + } Please extract this method. > Source/WebCore/inspector/front-end/TextPrompt.js:516 > + if (!this.autoCompleteElement || !this._commonPrefix || !this._userEnteredText || this._userEnteredText.length >= this._commonPrefix.length) We'd better check that user entered text is prefix of common prefix. Committed r107402: <http://trac.webkit.org/changeset/107402> |