Add the text/xsl MIME type as one that can be displayed.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2004 23:58:15 +0000 (23:58 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2004 23:58:15 +0000 (23:58 +0000)
        Reviewed by john

        * WebView.subproj/WebDataSource.m:
        (+[WebDataSource _repTypesAllowImageTypeOmission:]):
        * WebView.subproj/WebFrameView.m:
        (+[WebFrameView _viewTypesAllowImageTypeOmission:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7188 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView.subproj/WebDataSource.m
WebKit/WebView.subproj/WebFrameView.m

index d2f11f3..a482aef 100644 (file)
@@ -1,3 +1,14 @@
+2004-08-03  David Hyatt  <hyatt@apple.com>
+
+       Add the text/xsl MIME type as one that can be displayed.
+       
+        Reviewed by john
+
+        * WebView.subproj/WebDataSource.m:
+        (+[WebDataSource _repTypesAllowImageTypeOmission:]):
+        * WebView.subproj/WebFrameView.m:
+        (+[WebFrameView _viewTypesAllowImageTypeOmission:]):
+
 2004-08-03  Maciej Stachowiak  <mjs@apple.com>
 
         Reviewed by Ken.
index 4ff37e6..ef4191c 100644 (file)
         repTypes = [[NSMutableDictionary alloc] initWithObjectsAndKeys:
             [WebHTMLRepresentation class], @"text/html",
            [WebHTMLRepresentation class], @"text/xml",
+           [WebHTMLRepresentation class], @"text/xsl",
            [WebHTMLRepresentation class], @"application/xml",
            [WebHTMLRepresentation class], @"application/xhtml+xml",
             [WebHTMLRepresentation class], @"application/x-webarchive",
index 6d0a45b..7895557 100644 (file)
@@ -290,6 +290,7 @@ static NSMutableDictionary *viewTypes;
         viewTypes = [[NSMutableDictionary alloc] initWithObjectsAndKeys:
             [WebHTMLView class], @"text/html",
            [WebHTMLView class], @"text/xml",
+           [WebHTMLView class], @"text/xsl",
            [WebHTMLView class], @"application/xml",
            [WebHTMLView class], @"application/xhtml+xml",
             [WebHTMLView class], @"application/x-webarchive",