Bug 156582 - When FileInputType::setFiles is called with an empty file list, the last set icon is not cleared
Summary: When FileInputType::setFiles is called with an empty file list, the last set ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-14 10:05 PDT by Anders Carlsson
Modified: 2016-04-14 10:34 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.24 KB, patch)
2016-04-14 10:06 PDT, Anders Carlsson
bdakin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2016-04-14 10:05:06 PDT
When FileInputType::setFiles is called with an empty file list, the last set icon is not cleared
Comment 1 Anders Carlsson 2016-04-14 10:06:34 PDT
Created attachment 276400 [details]
Patch
Comment 2 mitz 2016-04-14 10:08:23 PDT
Comment on attachment 276400 [details]
Patch

Please add a regression test.
Comment 3 Anders Carlsson 2016-04-14 10:15:15 PDT
(In reply to comment #2)
> Comment on attachment 276400 [details]
> Patch
> 
> Please add a regression test.

This will only be testable by new API that's not available yet.
Comment 4 Anders Carlsson 2016-04-14 10:34:15 PDT
Committed r199540: <http://trac.webkit.org/changeset/199540>