RESOLVED FIXED 5037
WebCore should handled MIME types to allow SVG support
https://bugs.webkit.org/show_bug.cgi?id=5037
Summary WebCore should handled MIME types to allow SVG support
Eric Seidel (no email)
Reported 2005-09-18 03:47:12 PDT
WebCore should handled MIME types to allow SVG support Basically MIME type handling in WebKit should be cleaned up. As part of that cleanup, the WebCore supported mime type list should be moved down into WebCore. Patch attached.
Attachments
The webkit portion of the patch. (21.42 KB, patch)
2005-09-18 03:48 PDT, Eric Seidel (no email)
mjs: review-
The WebCore portion of the patch. (1.53 KB, patch)
2005-09-18 03:49 PDT, Eric Seidel (no email)
mjs: review-
Updated WebKit patch (23.80 KB, patch)
2005-09-20 01:03 PDT, Eric Seidel (no email)
mjs: review+
Updated WebCore patch (1.54 KB, patch)
2005-09-20 01:04 PDT, Eric Seidel (no email)
mjs: review+
Eric Seidel (no email)
Comment 1 2005-09-18 03:48:44 PDT
Created attachment 3931 [details] The webkit portion of the patch.
Eric Seidel (no email)
Comment 2 2005-09-18 03:49:49 PDT
Created attachment 3932 [details] The WebCore portion of the patch.
Maciej Stachowiak
Comment 3 2005-09-19 00:24:27 PDT
1) I suggest using NSArray instead of NSSet for the lists of supported MIME types; the associative properties of a set are not required, and so an array is likely to be more efficient. 2) I would support putting the list of supported MIME types in WebCore if it were shared with or used by WebCore in any way - as it is, it just seems to be adding more levels of indirection.
Eric Seidel (no email)
Comment 4 2005-09-20 01:03:31 PDT
Created attachment 3961 [details] Updated WebKit patch
Eric Seidel (no email)
Comment 5 2005-09-20 01:04:31 PDT
Created attachment 3962 [details] Updated WebCore patch
Maciej Stachowiak
Comment 6 2005-09-20 01:18:17 PDT
Comment on attachment 3962 [details] Updated WebCore patch r=me
Note You need to log in before you can comment on or make changes to this bug.