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 d2f11f31a8b769de40dbd70883c33cdec8170f0b..a482aef1a93968b3cab9fb7e7f5852256d15acf6 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 4ff37e6653f8a681cc208787761a0ca823b1eb8c..ef4191ccddb5e9d3b35692b323f7c76fe7f12ee6 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 6d0a45b7cd585e1ecae26f92e20d6eb64ca68fee..7895557474c1c5e7afc57fcc8d1bce954d0f69a4 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",