[Webkit-unassigned] [Bug 24988] The Webkit plugin mime type matching code should allow the wildcards

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 2 17:38:35 PDT 2009


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


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29209|review?                     |review-
               Flag|                            |




------- Comment #11 from darin at apple.com  2009-04-02 17:38 PDT -------
(From update of attachment 29209)
> -        if ([[[plugin performSelector:enumeratorSelector] allObjects] containsObject:key]) {
> +        if ([[[plugin performSelector:enumeratorSelector] allObjects] containsObject:key] ||
> +            [[[plugin performSelector:enumeratorSelector] allObjects] containsObject:@"*"]) {

This is inefficient. We don't want to call allObjects twice. We should put the
result of allObjects into a local variable and then use it twice.


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



More information about the webkit-unassigned mailing list