Changeset 83625 in webkit
- Timestamp:
- Apr 12, 2011 12:56:04 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r83624 r83625 1 2011-04-12 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Cisco Meeting Center will not download or launch from Safari 6 https://bugs.webkit.org/show_bug.cgi?id=58366 7 <rdar://problem/8987139> 8 9 It's OK if a plug-in has less (or more) MIME type descriptions than actual MIME types. 10 11 * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm: 12 (WebKit::getPluginInfoFromCarbonResources): 13 1 14 2011-04-12 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm
r82290 r83625 274 274 return false; 275 275 276 size_t numMimeTypes = mimeTypesAndExtensions.size() / 2;277 278 276 // Now get the MIME type descriptions string list. This string list needs to be the same length as the number of MIME types. 279 277 Vector<String> mimeTypeDescriptions; … … 281 279 return false; 282 280 283 if (mimeTypeDescriptions.size() != numMimeTypes)284 return false;285 286 281 // Add all MIME types. 287 282 for (size_t i = 0; i < mimeTypesAndExtensions.size() / 2; ++i) { … … 289 284 290 285 const String& mimeType = mimeTypesAndExtensions[i * 2]; 291 const String& description = mimeTypeDescriptions[i]; 286 String description; 287 if (i < mimeTypeDescriptions.size()) 288 description = mimeTypeDescriptions[i]; 292 289 293 290 mimeClassInfo.type = mimeType.lower();
Note: See TracChangeset
for help on using the changeset viewer.