[Webkit-unassigned] [Bug 74834] Update dropzone implementation per spec update

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 19 10:25:17 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=74834


Tony Chang <tony at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #119858|review?, commit-queue?      |review+, commit-queue-
               Flag|                            |




--- Comment #4 from Tony Chang <tony at chromium.org>  2011-12-19 10:25:17 PST ---
(From update of attachment 119858)
View in context: https://bugs.webkit.org/attachment.cgi?id=119858&action=review

> Source/WebCore/dom/Clipboard.cpp:213
> +    if (keyword.length() > 5 && keyword.startsWith("file:"))

Nit: startsWith will check the length for you so you can remove the length() > 5 check.

> Source/WebCore/dom/Clipboard.cpp:216
> +    if (keyword.length() > 7 && keyword.startsWith("string:"))

Remove the length() > 7 check.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list