Bug 35129

Summary: [Chromium] autofill should not be shown for read only text fields
Product: WebKit Reporter: Jay Campan <jcampan>
Component: WebKit APIAssignee: Jay Campan <jcampan>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, levin, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Bug fix patch
eric: review-
Adding a manual test.
levin: review-, levin: commit-queue-
Fixed bad line endings none

Description Jay Campan 2010-02-18 13:31:56 PST
When a read only input text field is clicked twice, the autofill popup is shown.
It should not.
Comment 1 Jay Campan 2010-02-18 13:39:14 PST
Created attachment 49039 [details]
Bug fix patch
Comment 2 Eric Seidel (no email) 2010-02-22 14:09:07 PST
Comment on attachment 49039 [details]
Bug fix patch

We can write a manual test for this, no?  Should go in WebCore/manual-tests/
Comment 3 Jay Campan 2010-02-24 09:57:10 PST
Created attachment 49403 [details]
Adding a manual test.

Added a manual test in WebCore/manual-tests/chromium.
Comment 4 WebKit Review Bot 2010-02-24 10:18:06 PST
Attachment 49403 [details] did not pass style-queue:

Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
WebCore/manual-tests/chromium/no-autofill-on-readonly.html:1:  One or more unexpected \r (^M) found; better to use only a \n  [whitespace/carriage_return] [1]
Suppressing further [whitespace/carriage_return] reports for this file.
Total errors found: 32 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 David Levin 2010-02-24 10:38:47 PST
Comment on attachment 49403 [details]
Adding a manual test.

r=me except for the style issue and since you aren't a committer r- to fix that up.
Comment 6 Jay Campan 2010-02-24 10:47:56 PST
Created attachment 49411 [details]
Fixed bad line endings
Comment 7 WebKit Commit Bot 2010-02-24 21:24:15 PST
Comment on attachment 49411 [details]
Fixed bad line endings

Clearing flags on attachment: 49411

Committed r55219: <http://trac.webkit.org/changeset/55219>
Comment 8 WebKit Commit Bot 2010-02-24 21:24:19 PST
All reviewed patches have been landed.  Closing bug.