[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
darin
darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:19:30 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 6457071111ff7c3f843dd56e64329eb4bb664a61
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Dec 17 01:30:12 2003 +0000
Reviewed by Richard.
- finished fix to 3109132: can't open movie file via open panel
* WebView.subproj/WebView.m: (+[WebView _supportedFileExtensions]):
Include all the extensions for each MIME type, not jus the preferred one.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 5985605..6b63d88 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,12 @@
+2003-12-16 Darin Adler <darin at apple.com>
+
+ Reviewed by Richard.
+
+ - finished fix to 3109132: can't open movie file via open panel
+
+ * WebView.subproj/WebView.m: (+[WebView _supportedFileExtensions]):
+ Include all the extensions for each MIME type, not jus the preferred one.
+
2003-12-16 Ken Kocienda <kocienda at apple.com>
Reviewed by Darin
diff --git a/WebKit/WebView.subproj/WebView.m b/WebKit/WebView.subproj/WebView.m
index c6178d8..bcd49e5 100644
--- a/WebKit/WebView.subproj/WebView.m
+++ b/WebKit/WebView.subproj/WebView.m
@@ -156,10 +156,11 @@ NSString *_WebMainFrameURLKey = @"mainFrameURL";
NSArray *MIMETypes = [self _supportedMIMETypes];
NSEnumerator *enumerator = [MIMETypes objectEnumerator];
NSString *MIMEType;
+ NSURLFileTypeMappings *mappings = [NSURLFileTypeMappings sharedMappings];
while ((MIMEType = [enumerator nextObject]) != nil) {
- NSString *extension = [self suggestedFileExtensionForMIMEType:MIMEType];
- if (extension) {
- [extensions addObject:extension];
+ NSArray *extensionsForType = [mappings extensionsForMIMEType:MIMEType];
+ if (extensionsForType) {
+ [extensions addObjectsFromArray:extensionsForType];
}
}
NSArray *uniqueExtensions = [extensions allObjects];
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list