WebCore:
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Jun 2009 19:23:11 +0000 (19:23 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Jun 2009 19:23:11 +0000 (19:23 +0000)
2009-06-26  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig

        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails

        When we disabled content sniffing for file urls we lost knowledge of many file extensions that we
        didn't intend to lose.  Turns out the CoreTypes UTI database doesn't know about every extension Gatekeeper
        knew about.

        By comparing CoreTypes' database to Gatekeepers, this patch adds a hardcoded list of file extension to MIME
        type mappings that are missing in CoreType's database.

        Test: platform/mac/fast/loader/file-url-mimetypes.html

        * platform/network/mac/ResourceHandleMac.mm:
        (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]): Move the MIME Type swizzling code to
          WebCoreURLResponse.

        * platform/network/mac/ResourceResponseMac.mm:
        (WebCore::ResourceResponse::platformLazyInit): _webcore_MIMEType -> MIMEType, as we now have only one place
          where we do all MIMEType correction.

        * platform/network/mac/WebCoreURLResponse.h: Remove _webcore_MIMEType, as it is now folded into the swizzled
          implementation of MIMEType.
        * platform/network/mac/WebCoreURLResponse.mm:
        (createBinaryExtensionsSet):
        (createExtensionToMIMETypeMap):
        (swizzleMIMETypeMethodIfNecessary):
        (webNSURLResponseMIMEType): If it's a file URL and there's no MIME type, see if the extension exists in the
          extension -> MIME type map before turning to the default MIME type.  Also roll in what was previously
          implemented in _webcore_MIMEType.

        * svg/graphics/SVGImage.cpp:
        (WebCore::SVGImage::~SVGImage): Tweak this ASSERT - SVGImages might get destroyed without ever having a client.

WebKit/mac:

2009-06-26  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig

        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails

        Replace all usage of the now obsolete [NSURLResponse _webcore_MIMEType].

        * Plugins/WebBaseNetscapePluginStream.mm:
        (WebNetscapePluginStream::didReceiveResponse):
        * Plugins/WebNetscapePluginView.mm:
        (-[WebNetscapePluginView pluginView:receivedData:]):
        * Plugins/WebPluginController.mm:
        (-[WebPluginController pluginView:receivedResponse:]):
        * WebView/WebDataSource.mm:
        (-[WebDataSource _responseMIMEType]):
        * WebView/WebResource.mm:
        (-[WebResource _initWithData:URL:response:]):

WebKitTools:

2009-06-26  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig

        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails

        Add a dumpResourceResponseMIMETypes() mode so the ResourceLoadDelegate will dump the mime type from
        the NSURLResponse.  Needed for the test for this bug fix.

        * DumpRenderTree/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (dumpResourceResponseMIMETypesCallback):
        (LayoutTestController::staticFunctions):
        * DumpRenderTree/LayoutTestController.h:
        (LayoutTestController::dumpResourceResponseMIMETypes):
        (LayoutTestController::setDumpResourceResponseMIMETypes):

        * DumpRenderTree/mac/ResourceLoadDelegate.mm:
        (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):

LayoutTests:

2009-06-25  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig

        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails

        Add a test file for each of file extensions we think WebKit on Mac should know the MIME type for.

        * platform/mac/fast/loader/file-url-mimetypes-expected.txt: Added.
        * platform/mac/fast/loader/file-url-mimetypes.html: Added.
        * platform/mac/fast/loader/resources: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3g2.3g2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp.3gp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp2.3gp2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3gpp.3gpp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-Z.Z: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ac3.ac3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ai.ai: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-aif.aif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-aifc.aifc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-aiff.aiff: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-asc.asc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-asf.asf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-asx.asx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-au.au: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-avi.avi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bcpio.bcpio: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bin.bin: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bmp.bmp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bz.bz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bz2.bz2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cdf.cdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-class.class: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cpgz.cpgz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cpio.cpio: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cpt.cpt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-crw.crw: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-csh.csh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-css.css: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dcr.dcr: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dif.dif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dir.dir: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dll.dll: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dls.dls: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dmg.dmg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dms.dms: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-doc.doc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-docm.docm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-docx.docx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dotm.dotm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dotx.dotx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dv.dv: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dvi.dvi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dxr.dxr: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-efx.efx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-eps.eps: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-etx.etx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-exe.exe: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ez.ez: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fdf.fdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fla.fla: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp.fp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp2.fp2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp3.fp3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp4.fp4: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp5.fp5: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp6.fp6: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fpx.fpx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gif.gif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gtar.gtar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gz.gz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gzip.gzip: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-hdf.hdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-hqx.hqx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-htm.htm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-html.html: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ice.ice: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ico.ico: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ics.ics: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ief.ief: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-iges.iges: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-igs.igs: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-iso.iso: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-j2k.j2k: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jar.jar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-javascript.javascript: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jhtml.jhtml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jnlp.jnlp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jp2.jp2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpe.jpe: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpeg.jpeg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpf.jpf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpg.jpg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpx.jpx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-js.js: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jscript.jscript: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-kar.kar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-latex.latex: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-lha.lha: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-lzh.lzh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m15.m15: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m2v.m2v: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m3u.m3u: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m4p.m4p: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m75.m75: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mac.mac: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-man.man: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-me.me: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mesh.mesh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mid.mid: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-midi.midi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mif.mif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mov.mov: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-movie.movie: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mp2.mp2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mp3.mp3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mp4.mp4: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpe.mpe: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpeg.mpeg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpg.mpg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpga.mpga: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ms.ms: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-msh.msh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mxu.mxu: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-nc.nc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-oda.oda: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odc.odc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odf.odf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odg.odg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odi.odi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odm.odm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odp.odp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ods.ods: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odt.odt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otc.otc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otf.otf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otg.otg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-oth.oth: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-oti.oti: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otp.otp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ots.ots: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ott.ott: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pbm.pbm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pct.pct: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pcx.pcx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pdb.pdb: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pdf.pdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pgm.pgm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pgn.pgn: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ph3.ph3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ph4.ph4: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-php.php: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-php3.php3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-php4.php4: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-phtml.phtml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pic.pic: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pict.pict: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pl.pl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pls.pls: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pm.pm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-png.png: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pnm.pnm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pnt.pnt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pntg.pntg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-potm.potm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-potx.potx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppm.ppm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsm.ppsm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsx.ppsx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppt.ppt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pptm.pptm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pptx.pptx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ps.ps: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-psd.psd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-py.py: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qif.qif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qt.qt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qti.qti: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qtif.qtif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qtz.qtz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ra.ra: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ram.ram: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ras.ras: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rb.rb: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rbw.rbw: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rgb.rgb: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rm.rm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-roff.roff: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rpm.rpm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rtf.rtf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rtx.rtx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sgi.sgi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sgm.sgm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sgml.sgml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sh.sh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-shar.shar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-shtm.shtm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-shtml.shtml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-silo.silo: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sit.sit: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sitx.sitx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skd.skd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skm.skm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skp.skp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skt.skt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-smf.smf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-smi.smi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-smil.smil: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-snd.snd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-so.so: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-spl.spl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-src.src: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4cpio.sv4cpio: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4crc.sv4crc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-svg.svg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-svgz.svgz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-swf.swf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-t.t: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tar.tar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-targa.targa: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tcl.tcl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tex.tex: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-texi.texi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-texinfo.texinfo: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-text.text: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tga.tga: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tgz.tgz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tif.tif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tiff.tiff: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-torrent.torrent: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tr.tr: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tsv.tsv: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-txt.txt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ustar.ustar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vcard.vcard: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vcd.vcd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vcf.vcf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vfw.vfw: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vrml.vrml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wav.wav: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wave.wave: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wax.wax: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wbmp.wbmp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wbxml.wbxml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-webarchive.webarchive: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wm.wm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wma.wma: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmd.wmd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wml.wml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlc.wmlc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmls.wmls: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlsc.wmlsc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmp.wmp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmv.wmv: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmx.wmx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wrl.wrl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wvx.wvx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xbm.xbm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xdp.xdp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xfd.xfd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xfdf.xfdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xht.xht: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtm.xhtm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtml.xhtml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xls.xls: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsb.xlsb: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsm.xlsm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsx.xlsx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xltm.xltm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xltx.xltx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xml.xml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xpm.xpm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xsl.xsl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xwd.xwd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xyz.xyz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-zip.zip: Added.

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

284 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/mac/fast/loader/file-url-mimetypes-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/file-url-mimetypes.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3g2.3g2 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp.3gp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp2.3gp2 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3gpp.3gpp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-Z.Z [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ac3.ac3 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ai.ai [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-aif.aif [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-aifc.aifc [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-aiff.aiff [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-asc.asc [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-asf.asf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-asx.asx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-au.au [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-avi.avi [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bcpio.bcpio [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bin.bin [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bmp.bmp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bz.bz [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bz2.bz2 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cdf.cdf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-class.class [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cpgz.cpgz [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cpio.cpio [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cpt.cpt [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-crw.crw [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-csh.csh [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-css.css [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dcr.dcr [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dif.dif [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dir.dir [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dll.dll [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dls.dls [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dmg.dmg [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dms.dms [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-doc.doc [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-docm.docm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-docx.docx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dotm.dotm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dotx.dotx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dv.dv [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dvi.dvi [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dxr.dxr [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-efx.efx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-eps.eps [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-etx.etx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-exe.exe [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ez.ez [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fdf.fdf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fla.fla [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp.fp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp2.fp2 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp3.fp3 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp4.fp4 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp5.fp5 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp6.fp6 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fpx.fpx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gif.gif [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gtar.gtar [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gz.gz [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gzip.gzip [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-hdf.hdf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-hqx.hqx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-htm.htm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-html.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ice.ice [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ico.ico [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ics.ics [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ief.ief [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-iges.iges [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-igs.igs [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-iso.iso [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-j2k.j2k [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jar.jar [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-javascript.javascript [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jhtml.jhtml [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jnlp.jnlp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jp2.jp2 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpe.jpe [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpeg.jpeg [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpf.jpf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpg.jpg [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpx.jpx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-js.js [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jscript.jscript [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-kar.kar [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-latex.latex [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-lha.lha [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-lzh.lzh [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m15.m15 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m2v.m2v [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m3u.m3u [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m4p.m4p [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m75.m75 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mac.mac [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-man.man [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-me.me [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mesh.mesh [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mid.mid [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-midi.midi [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mif.mif [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mov.mov [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-movie.movie [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mp2.mp2 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mp3.mp3 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mp4.mp4 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpe.mpe [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpeg.mpeg [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpg.mpg [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpga.mpga [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ms.ms [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-msh.msh [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mxu.mxu [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-nc.nc [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-oda.oda [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odc.odc [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odf.odf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odg.odg [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odi.odi [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odm.odm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odp.odp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ods.ods [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odt.odt [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otc.otc [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otf.otf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otg.otg [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-oth.oth [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-oti.oti [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otp.otp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ots.ots [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ott.ott [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pbm.pbm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pct.pct [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pcx.pcx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pdb.pdb [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pdf.pdf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pgm.pgm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pgn.pgn [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ph3.ph3 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ph4.ph4 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-php.php [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-php3.php3 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-php4.php4 [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-phtml.phtml [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pic.pic [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pict.pict [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pl.pl [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pls.pls [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pm.pm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-png.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pnm.pnm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pnt.pnt [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pntg.pntg [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-potm.potm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-potx.potx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppm.ppm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsm.ppsm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsx.ppsx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppt.ppt [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pptm.pptm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pptx.pptx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ps.ps [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-psd.psd [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-py.py [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qif.qif [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qt.qt [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qti.qti [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qtif.qtif [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qtz.qtz [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ra.ra [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ram.ram [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ras.ras [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rb.rb [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rbw.rbw [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rgb.rgb [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rm.rm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-roff.roff [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rpm.rpm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rtf.rtf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rtx.rtx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sgi.sgi [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sgm.sgm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sgml.sgml [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sh.sh [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-shar.shar [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-shtm.shtm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-shtml.shtml [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-silo.silo [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sit.sit [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sitx.sitx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skd.skd [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skm.skm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skp.skp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skt.skt [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-smf.smf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-smi.smi [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-smil.smil [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-snd.snd [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-so.so [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-spl.spl [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-src.src [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4cpio.sv4cpio [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4crc.sv4crc [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-svg.svg [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-svgz.svgz [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-swf.swf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-t.t [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tar.tar [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-targa.targa [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tcl.tcl [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tex.tex [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-texi.texi [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-texinfo.texinfo [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-text.text [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tga.tga [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tgz.tgz [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tif.tif [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tiff.tiff [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-torrent.torrent [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tr.tr [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tsv.tsv [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-txt.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ustar.ustar [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vcard.vcard [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vcd.vcd [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vcf.vcf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vfw.vfw [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vrml.vrml [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wav.wav [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wave.wave [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wax.wax [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wbmp.wbmp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wbxml.wbxml [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-webarchive.webarchive [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wm.wm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wma.wma [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmd.wmd [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wml.wml [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlc.wmlc [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmls.wmls [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlsc.wmlsc [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmp.wmp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmv.wmv [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmx.wmx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wrl.wrl [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wvx.wvx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xbm.xbm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xdp.xdp [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xfd.xfd [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xfdf.xfdf [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xht.xht [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtm.xhtm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtml.xhtml [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xls.xls [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsb.xlsb [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsm.xlsm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsx.xlsx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xltm.xltm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xltx.xltx [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xml.xml [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xpm.xpm [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xsl.xsl [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xwd.xwd [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xyz.xyz [new file with mode: 0644]
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-zip.zip [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/network/mac/ResourceHandleMac.mm
WebCore/platform/network/mac/ResourceResponseMac.mm
WebCore/platform/network/mac/WebCoreURLResponse.h
WebCore/platform/network/mac/WebCoreURLResponse.mm
WebCore/svg/graphics/SVGImage.cpp
WebKit/mac/ChangeLog
WebKit/mac/Plugins/WebBaseNetscapePluginStream.mm
WebKit/mac/Plugins/WebNetscapePluginView.mm
WebKit/mac/Plugins/WebPluginController.mm
WebKit/mac/WebView/WebDataSource.mm
WebKit/mac/WebView/WebResource.mm
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/LayoutTestController.cpp
WebKitTools/DumpRenderTree/LayoutTestController.h
WebKitTools/DumpRenderTree/mac/ResourceLoadDelegate.mm

index f306132..ed195d5 100644 (file)
@@ -1,3 +1,281 @@
+2009-06-25  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Sam Weinig
+
+        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails
+
+        Add a test file for each of file extensions we think WebKit on Mac should know the MIME type for.
+
+        * platform/mac/fast/loader/file-url-mimetypes-expected.txt: Added.
+        * platform/mac/fast/loader/file-url-mimetypes.html: Added.
+        * platform/mac/fast/loader/resources: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3g2.3g2: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp.3gp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp2.3gp2: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3gpp.3gpp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-Z.Z: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ac3.ac3: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ai.ai: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-aif.aif: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-aifc.aifc: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-aiff.aiff: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-asc.asc: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-asf.asf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-asx.asx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-au.au: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-avi.avi: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bcpio.bcpio: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bin.bin: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bmp.bmp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bz.bz: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bz2.bz2: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cdf.cdf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-class.class: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cpgz.cpgz: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cpio.cpio: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cpt.cpt: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-crw.crw: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-csh.csh: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-css.css: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dcr.dcr: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dif.dif: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dir.dir: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dll.dll: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dls.dls: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dmg.dmg: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dms.dms: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-doc.doc: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-docm.docm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-docx.docx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dotm.dotm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dotx.dotx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dv.dv: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dvi.dvi: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dxr.dxr: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-efx.efx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-eps.eps: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-etx.etx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-exe.exe: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ez.ez: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fdf.fdf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fla.fla: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp.fp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp2.fp2: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp3.fp3: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp4.fp4: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp5.fp5: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp6.fp6: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fpx.fpx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gif.gif: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gtar.gtar: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gz.gz: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gzip.gzip: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-hdf.hdf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-hqx.hqx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-htm.htm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-html.html: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ice.ice: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ico.ico: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ics.ics: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ief.ief: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-iges.iges: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-igs.igs: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-iso.iso: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-j2k.j2k: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jar.jar: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-javascript.javascript: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jhtml.jhtml: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jnlp.jnlp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jp2.jp2: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpe.jpe: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpeg.jpeg: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpf.jpf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpg.jpg: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpx.jpx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-js.js: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jscript.jscript: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-kar.kar: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-latex.latex: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-lha.lha: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-lzh.lzh: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m15.m15: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m2v.m2v: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m3u.m3u: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m4p.m4p: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m75.m75: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mac.mac: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-man.man: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-me.me: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mesh.mesh: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mid.mid: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-midi.midi: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mif.mif: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mov.mov: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-movie.movie: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mp2.mp2: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mp3.mp3: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mp4.mp4: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpe.mpe: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpeg.mpeg: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpg.mpg: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpga.mpga: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ms.ms: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-msh.msh: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mxu.mxu: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-nc.nc: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-oda.oda: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odc.odc: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odf.odf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odg.odg: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odi.odi: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odm.odm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odp.odp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ods.ods: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odt.odt: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otc.otc: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otf.otf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otg.otg: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-oth.oth: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-oti.oti: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otp.otp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ots.ots: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ott.ott: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pbm.pbm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pct.pct: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pcx.pcx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pdb.pdb: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pdf.pdf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pgm.pgm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pgn.pgn: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ph3.ph3: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ph4.ph4: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-php.php: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-php3.php3: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-php4.php4: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-phtml.phtml: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pic.pic: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pict.pict: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pl.pl: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pls.pls: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pm.pm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-png.png: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pnm.pnm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pnt.pnt: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pntg.pntg: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-potm.potm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-potx.potx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppm.ppm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsm.ppsm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsx.ppsx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppt.ppt: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pptm.pptm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pptx.pptx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ps.ps: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-psd.psd: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-py.py: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qif.qif: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qt.qt: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qti.qti: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qtif.qtif: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qtz.qtz: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ra.ra: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ram.ram: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ras.ras: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rb.rb: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rbw.rbw: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rgb.rgb: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rm.rm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-roff.roff: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rpm.rpm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rtf.rtf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rtx.rtx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sgi.sgi: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sgm.sgm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sgml.sgml: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sh.sh: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-shar.shar: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-shtm.shtm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-shtml.shtml: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-silo.silo: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sit.sit: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sitx.sitx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skd.skd: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skm.skm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skp.skp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skt.skt: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-smf.smf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-smi.smi: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-smil.smil: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-snd.snd: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-so.so: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-spl.spl: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-src.src: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4cpio.sv4cpio: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4crc.sv4crc: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-svg.svg: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-svgz.svgz: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-swf.swf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-t.t: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tar.tar: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-targa.targa: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tcl.tcl: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tex.tex: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-texi.texi: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-texinfo.texinfo: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-text.text: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tga.tga: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tgz.tgz: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tif.tif: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tiff.tiff: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-torrent.torrent: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tr.tr: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tsv.tsv: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-txt.txt: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ustar.ustar: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vcard.vcard: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vcd.vcd: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vcf.vcf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vfw.vfw: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vrml.vrml: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wav.wav: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wave.wave: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wax.wax: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wbmp.wbmp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wbxml.wbxml: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-webarchive.webarchive: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wm.wm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wma.wma: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmd.wmd: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wml.wml: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlc.wmlc: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmls.wmls: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlsc.wmlsc: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmp.wmp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmv.wmv: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmx.wmx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wrl.wrl: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wvx.wvx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xbm.xbm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xdp.xdp: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xfd.xfd: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xfdf.xfdf: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xht.xht: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtm.xhtm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtml.xhtml: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xls.xls: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsb.xlsb: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsm.xlsm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsx.xlsx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xltm.xltm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xltx.xltx: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xml.xml: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xpm.xpm: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xsl.xsl: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xwd.xwd: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xyz.xyz: Added.
+        * platform/mac/fast/loader/resources/mimeTypeExamples/example-zip.zip: Added.
+
 2009-06-25  Pierre d'Herbemont  <pdherbemont@apple.com>
 
         Reviewed by Simon Fraser.
diff --git a/LayoutTests/platform/mac/fast/loader/file-url-mimetypes-expected.txt b/LayoutTests/platform/mac/fast/loader/file-url-mimetypes-expected.txt
new file mode 100644 (file)
index 0000000..375a268
--- /dev/null
@@ -0,0 +1,267 @@
+example-3g2.3g2 has MIME type video/3gpp2
+example-3gp.3gp has MIME type video/3gpp
+example-3gp2.3gp2 has MIME type video/3gpp2
+example-3gpp.3gpp has MIME type video/3gpp
+example-Z.Z has MIME type application/x-compress
+example-ac3.ac3 has MIME type audio/ac3
+example-ai.ai has MIME type application/postscript
+example-aif.aif has MIME type audio/aiff
+example-aifc.aifc has MIME type audio/aiff
+example-aiff.aiff has MIME type audio/aiff
+example-asc.asc has MIME type text/plain
+example-asf.asf has MIME type video/x-ms-asf
+example-asx.asx has MIME type video/x-ms-asx
+example-au.au has MIME type audio/basic
+example-avi.avi has MIME type video/avi
+example-bcpio.bcpio has MIME type application/x-bcpio
+example-bin.bin has MIME type application/macbinary
+example-bmp.bmp has MIME type image/bmp
+example-bz.bz has MIME type application/x-bzip2
+example-bz2.bz2 has MIME type application/x-bzip2
+example-cdf.cdf has MIME type application/x-netcdf
+example-class.class has MIME type application/octet-stream
+example-cpgz.cpgz has MIME type application/x-gzip
+example-cpio.cpio has MIME type application/x-cpio
+example-cpt.cpt has MIME type application/mac-compactpro
+example-crw.crw has MIME type image/x-canon-crw
+example-csh.csh has MIME type application/x-csh
+example-css.css has MIME type text/css
+example-dcr.dcr has MIME type application/x-director
+example-dif.dif has MIME type video/x-dv
+example-dir.dir has MIME type application/x-director
+example-dll.dll has MIME type application/x-msdownload
+example-dls.dls has MIME type audio/dls
+example-dmg.dmg has MIME type application/x-diskcopy
+example-dms.dms has MIME type application/octet-stream
+example-doc.doc has MIME type application/msword
+example-docm.docm has MIME type application/vnd.ms-word.document.macroenabled.12
+example-docx.docx has MIME type application/vnd.openxmlformats-officedocument.wordprocessingml.document
+example-dotm.dotm has MIME type application/vnd.ms-word.template.macroenabled.12
+example-dotx.dotx has MIME type application/vnd.openxmlformats-officedocument.wordprocessingml.template
+example-dv.dv has MIME type video/x-dv
+example-dvi.dvi has MIME type application/x-dvi
+example-dxr.dxr has MIME type application/x-director
+example-efx.efx has MIME type image/efax
+example-eps.eps has MIME type application/postscript
+example-etx.etx has MIME type text/x-setext
+example-exe.exe has MIME type application/x-msdownload
+example-ez.ez has MIME type application/andrew-inset
+example-fdf.fdf has MIME type application/vnd.fdf
+example-fla.fla has MIME type application/octet-stream
+example-fp.fp has MIME type application/x-filemaker
+example-fp2.fp2 has MIME type application/x-filemaker
+example-fp3.fp3 has MIME type application/x-filemaker
+example-fp4.fp4 has MIME type application/x-filemaker
+example-fp5.fp5 has MIME type application/x-filemaker
+example-fp6.fp6 has MIME type application/x-filemaker
+example-fpx.fpx has MIME type image/fpx
+example-gif.gif has MIME type image/gif
+example-gtar.gtar has MIME type application/x-gtar
+example-gz.gz has MIME type application/x-gzip
+example-gzip.gzip has MIME type application/x-gzip
+example-hdf.hdf has MIME type application/x-hdf
+example-hqx.hqx has MIME type application/mac-binhex40
+example-htm.htm has MIME type text/html
+example-html.html has MIME type text/html
+example-ice.ice has MIME type x-conference/x-cooltalk
+example-ico.ico has MIME type image/x-icon
+example-ics.ics has MIME type text/calendar
+example-ief.ief has MIME type image/ief
+example-iges.iges has MIME type model/iges
+example-igs.igs has MIME type model/iges
+example-iso.iso has MIME type application/octet-stream
+example-j2k.j2k has MIME type image/jp2
+example-jar.jar has MIME type application/java-archive
+example-javascript.javascript has MIME type text/javascript
+example-jhtml.jhtml has MIME type text/html
+example-jnlp.jnlp has MIME type application/x-java-jnlp-file
+example-jp2.jp2 has MIME type image/jp2
+example-jpe.jpe has MIME type image/jpeg
+example-jpeg.jpeg has MIME type image/jpeg
+example-jpf.jpf has MIME type image/jp2
+example-jpg.jpg has MIME type image/jpeg
+example-jpx.jpx has MIME type image/jp2
+example-js.js has MIME type application/x-javascript
+example-jscript.jscript has MIME type text/javascript
+example-kar.kar has MIME type audio/midi
+example-latex.latex has MIME type application/x-latex
+example-lha.lha has MIME type application/octet-stream
+example-lzh.lzh has MIME type application/octet-stream
+example-m15.m15 has MIME type video/mpeg
+example-m2v.m2v has MIME type video/mpeg2
+example-m3u.m3u has MIME type audio/x-mpegurl
+example-m4p.m4p has MIME type audio/x-m4p
+example-m75.m75 has MIME type video/mpeg
+example-mac.mac has MIME type image/x-macpaint
+example-man.man has MIME type application/x-troff-man
+example-me.me has MIME type application/x-troff-me
+example-mesh.mesh has MIME type model/mesh
+example-mid.mid has MIME type audio/midi
+example-midi.midi has MIME type audio/midi
+example-mif.mif has MIME type application/vnd.mif
+example-mov.mov has MIME type video/quicktime
+example-movie.movie has MIME type video/x-sgi-movie
+example-mp2.mp2 has MIME type audio/mpeg
+example-mp3.mp3 has MIME type audio/mpeg
+example-mp4.mp4 has MIME type video/mp4
+example-mpe.mpe has MIME type video/mpeg
+example-mpeg.mpeg has MIME type video/mpeg
+example-mpg.mpg has MIME type video/mpeg
+example-mpga.mpga has MIME type audio/mpeg
+example-ms.ms has MIME type application/x-troff-ms
+example-msh.msh has MIME type model/mesh
+example-mxu.mxu has MIME type video/vnd.mpegurl
+example-nc.nc has MIME type application/x-netcdf
+example-oda.oda has MIME type application/oda
+example-odc.odc has MIME type application/vnd.oasis.opendocument.chart
+example-odf.odf has MIME type application/vnd.oasis.opendocument.formula
+example-odg.odg has MIME type application/vnd.oasis.opendocument.graphics
+example-odi.odi has MIME type application/vnd.oasis.opendocument.image
+example-odm.odm has MIME type application/vnd.oasis.opendocument.text-master
+example-odp.odp has MIME type application/vnd.oasis.opendocument.presentation
+example-ods.ods has MIME type application/vnd.oasis.opendocument.spreadsheet
+example-odt.odt has MIME type application/vnd.oasis.opendocument.text
+example-otc.otc has MIME type application/vnd.oasis.opendocument.chart-template
+example-otf.otf has MIME type application/octet-stream
+example-otg.otg has MIME type application/vnd.oasis.opendocument.graphics-template
+example-oth.oth has MIME type application/vnd.oasis.opendocument.text-web
+example-oti.oti has MIME type application/vnd.oasis.opendocument.image-template
+example-otp.otp has MIME type application/vnd.oasis.opendocument.presentation-template
+example-ots.ots has MIME type application/vnd.oasis.opendocument.spreadsheet-template
+example-ott.ott has MIME type application/vnd.oasis.opendocument.text-template
+example-pbm.pbm has MIME type image/x-portable-bitmap
+example-pct.pct has MIME type image/pict
+example-pcx.pcx has MIME type image/x-pcx
+example-pdb.pdb has MIME type chemical/x-pdb
+example-pdf.pdf has MIME type application/pdf
+example-pgm.pgm has MIME type image/x-portable-graymap
+example-pgn.pgn has MIME type application/x-chess-pgn
+example-ph3.ph3 has MIME type text/php
+example-ph4.ph4 has MIME type text/php
+example-php.php has MIME type text/php
+example-php3.php3 has MIME type text/php
+example-php4.php4 has MIME type text/php
+example-phtml.phtml has MIME type text/php
+example-pic.pic has MIME type application/octet-stream
+example-pict.pict has MIME type image/pict
+example-pl.pl has MIME type text/x-perl-script
+example-pls.pls has MIME type audio/scpls
+example-pm.pm has MIME type text/x-perl-script
+example-png.png has MIME type image/png
+example-pnm.pnm has MIME type image/x-portable-anymap
+example-pnt.pnt has MIME type image/x-macpaint
+example-pntg.pntg has MIME type image/x-macpaint
+example-potm.potm has MIME type application/vnd.ms-powerpoint.template.macroenabled.12
+example-potx.potx has MIME type application/vnd.openxmlformats-officedocument.presentationml.template
+example-ppm.ppm has MIME type image/x-portable-pixmap
+example-ppsm.ppsm has MIME type application/vnd.ms-powerpoint.slideshow.macroenabled.12
+example-ppsx.ppsx has MIME type application/vnd.openxmlformats-officedocument.presentationml.slideshow
+example-ppt.ppt has MIME type application/vnd.ms-powerpoint
+example-pptm.pptm has MIME type application/vnd.ms-powerpoint.presentation.macroenabled.12
+example-pptx.pptx has MIME type application/vnd.openxmlformats-officedocument.presentationml.presentation
+example-ps.ps has MIME type application/postscript
+example-psd.psd has MIME type image/vnd.adobe.photoshop
+example-py.py has MIME type text/x-python-script
+example-qif.qif has MIME type image/x-quicktime
+example-qt.qt has MIME type video/quicktime
+example-qti.qti has MIME type image/x-quicktime
+example-qtif.qtif has MIME type image/x-quicktime
+example-qtz.qtz has MIME type application/x-quartzcomposer
+example-ra.ra has MIME type audio/vnd.rn-realaudio
+example-ram.ram has MIME type audio/vnd.rn-realaudio
+example-ras.ras has MIME type image/x-cmu-raster
+example-rb.rb has MIME type text/x-ruby-script
+example-rbw.rbw has MIME type text/x-ruby-script
+example-rgb.rgb has MIME type image/x-rgb
+example-rm.rm has MIME type application/vnd.rn-realmedia
+example-roff.roff has MIME type application/x-troff
+example-rpm.rpm has MIME type audio/x-pn-realaudio-plugin
+example-rtf.rtf has MIME type text/rtf
+example-rtx.rtx has MIME type text/richtext
+example-sgi.sgi has MIME type image/sgi
+example-sgm.sgm has MIME type text/sgml
+example-sgml.sgml has MIME type text/sgml
+example-sh.sh has MIME type application/x-sh
+example-shar.shar has MIME type application/x-shar
+example-shtm.shtm has MIME type text/html
+example-shtml.shtml has MIME type text/html
+example-silo.silo has MIME type model/mesh
+example-sit.sit has MIME type application/x-stuffit
+example-sitx.sitx has MIME type application/x-stuffit
+example-skd.skd has MIME type application/x-koan
+example-skm.skm has MIME type application/x-koan
+example-skp.skp has MIME type application/x-koan
+example-skt.skt has MIME type application/x-koan
+example-smf.smf has MIME type audio/midi
+example-smi.smi has MIME type application/x-diskcopy
+example-smil.smil has MIME type application/smil
+example-snd.snd has MIME type audio/basic
+example-so.so has MIME type application/octet-stream
+example-spl.spl has MIME type application/x-futuresplash
+example-src.src has MIME type application/x-wais-source
+example-sv4cpio.sv4cpio has MIME type application/x-sv4cpio
+example-sv4crc.sv4crc has MIME type application/x-sv4crc
+example-svg.svg has MIME type image/svg+xml
+example-svgz.svgz has MIME type image/svg+xml
+example-swf.swf has MIME type application/x-shockwave-flash
+example-t.t has MIME type application/x-troff
+example-tar.tar has MIME type application/x-tar
+example-targa.targa has MIME type image/x-targa
+example-tcl.tcl has MIME type application/x-tcl
+example-tex.tex has MIME type application/x-tex
+example-texi.texi has MIME type application/x-texinfo
+example-texinfo.texinfo has MIME type application/x-texinfo
+example-text.text has MIME type text/plain
+example-tga.tga has MIME type image/targa
+example-tgz.tgz has MIME type application/x-gzip
+example-tif.tif has MIME type image/tiff
+example-tiff.tiff has MIME type image/tiff
+example-torrent.torrent has MIME type application/x-bittorrent
+example-tr.tr has MIME type application/x-troff
+example-tsv.tsv has MIME type text/tab-separated-values
+example-txt.txt has MIME type text/plain
+example-ustar.ustar has MIME type application/x-ustar
+example-vcard.vcard has MIME type text/directory
+example-vcd.vcd has MIME type application/x-cdlink
+example-vcf.vcf has MIME type text/directory
+example-vfw.vfw has MIME type video/avi
+example-vrml.vrml has MIME type model/vrml
+example-wav.wav has MIME type audio/wav
+example-wave.wave has MIME type audio/wav
+example-wax.wax has MIME type video/x-ms-wax
+example-wbmp.wbmp has MIME type image/vnd.wap.wbmp
+example-wbxml.wbxml has MIME type application/vnd.wap.wbxml
+example-webarchive.webarchive has MIME type application/x-webarchive
+example-wm.wm has MIME type video/x-ms-wm
+example-wma.wma has MIME type video/x-ms-wma
+example-wmd.wmd has MIME type application/x-ms-wmd
+example-wml.wml has MIME type text/vnd.wap.wml
+example-wmlc.wmlc has MIME type application/vnd.wap.wmlc
+example-wmls.wmls has MIME type text/vnd.wap.wmlscript
+example-wmlsc.wmlsc has MIME type application/vnd.wap.wmlscriptc
+example-wmp.wmp has MIME type video/x-ms-wmp
+example-wmv.wmv has MIME type video/x-ms-wmv
+example-wmx.wmx has MIME type video/x-ms-wmx
+example-wrl.wrl has MIME type model/vrml
+example-wvx.wvx has MIME type video/x-ms-wvx
+example-xbm.xbm has MIME type image/x-xbitmap
+example-xdp.xdp has MIME type application/vnd.adobe.xdp+xml
+example-xfd.xfd has MIME type application/vnd.adobe.xfd+xml
+example-xfdf.xfdf has MIME type application/vnd.adobe.xfdf
+example-xht.xht has MIME type application/xhtml+xml
+example-xhtm.xhtm has MIME type application/xhtml+xml
+example-xhtml.xhtml has MIME type application/xhtml+xml
+example-xls.xls has MIME type application/vnd.ms-excel
+example-xlsb.xlsb has MIME type application/vnd.ms-excel.sheet.binary.macroenabled.12
+example-xlsm.xlsm has MIME type application/vnd.ms-excel.sheet.macroenabled.12
+example-xlsx.xlsx has MIME type application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
+example-xltm.xltm has MIME type application/vnd.ms-excel.template.macroenabled.12
+example-xltx.xltx has MIME type application/vnd.openxmlformats-officedocument.spreadsheetml.template
+example-xml.xml has MIME type application/xml
+example-xpm.xpm has MIME type image/x-xpixmap
+example-xsl.xsl has MIME type application/xml
+example-xwd.xwd has MIME type image/x-xwindowdump
+example-xyz.xyz has MIME type chemical/x-xyz
+example-zip.zip has MIME type application/zip
+Using an image element to load resources, this test makes sure that every MIME type the loader should know about based solely on file extension in file:// urls is correct.
+
diff --git a/LayoutTests/platform/mac/fast/loader/file-url-mimetypes.html b/LayoutTests/platform/mac/fast/loader/file-url-mimetypes.html
new file mode 100644 (file)
index 0000000..c1f3331
--- /dev/null
@@ -0,0 +1,308 @@
+<html>
+<head>
+<script>
+
+if (window.layoutTestController) {
+    layoutTestController.dumpAsText();
+    layoutTestController.dumpResourceResponseMIMETypes();
+    layoutTestController.waitUntilDone();
+}
+
+var testImage;
+var currentIndex = 0;
+var testURL = new Array("resources/mimeTypeExamples/example-3g2.3g2", 
+                        "resources/mimeTypeExamples/example-3gp.3gp", 
+                        "resources/mimeTypeExamples/example-3gp2.3gp2", 
+                        "resources/mimeTypeExamples/example-3gpp.3gpp", 
+                        "resources/mimeTypeExamples/example-Z.Z",
+                        "resources/mimeTypeExamples/example-ac3.ac3", 
+                        "resources/mimeTypeExamples/example-ai.ai", 
+                        "resources/mimeTypeExamples/example-aif.aif", 
+                        "resources/mimeTypeExamples/example-aifc.aifc", 
+                        "resources/mimeTypeExamples/example-aiff.aiff", 
+                        "resources/mimeTypeExamples/example-asc.asc", 
+                        "resources/mimeTypeExamples/example-asf.asf", 
+                        "resources/mimeTypeExamples/example-asx.asx", 
+                        "resources/mimeTypeExamples/example-au.au", 
+                        "resources/mimeTypeExamples/example-avi.avi", 
+                        "resources/mimeTypeExamples/example-bcpio.bcpio", 
+                        "resources/mimeTypeExamples/example-bin.bin", 
+                        "resources/mimeTypeExamples/example-bmp.bmp", 
+                        "resources/mimeTypeExamples/example-bz.bz", 
+                        "resources/mimeTypeExamples/example-bz2.bz2", 
+                        "resources/mimeTypeExamples/example-cdf.cdf", 
+                        "resources/mimeTypeExamples/example-class.class", 
+                        "resources/mimeTypeExamples/example-cpgz.cpgz", 
+                        "resources/mimeTypeExamples/example-cpio.cpio", 
+                        "resources/mimeTypeExamples/example-cpt.cpt", 
+                        "resources/mimeTypeExamples/example-crw.crw", 
+                        "resources/mimeTypeExamples/example-csh.csh", 
+                        "resources/mimeTypeExamples/example-css.css", 
+                        "resources/mimeTypeExamples/example-dcr.dcr", 
+                        "resources/mimeTypeExamples/example-dif.dif", 
+                        "resources/mimeTypeExamples/example-dir.dir", 
+                        "resources/mimeTypeExamples/example-dll.dll", 
+                        "resources/mimeTypeExamples/example-dls.dls", 
+                        "resources/mimeTypeExamples/example-dmg.dmg", 
+                        "resources/mimeTypeExamples/example-dms.dms", 
+                        "resources/mimeTypeExamples/example-doc.doc", 
+                        "resources/mimeTypeExamples/example-docm.docm", 
+                        "resources/mimeTypeExamples/example-docx.docx", 
+                        "resources/mimeTypeExamples/example-dotm.dotm", 
+                        "resources/mimeTypeExamples/example-dotx.dotx", 
+                        "resources/mimeTypeExamples/example-dv.dv", 
+                        "resources/mimeTypeExamples/example-dvi.dvi", 
+                        "resources/mimeTypeExamples/example-dxr.dxr", 
+                        "resources/mimeTypeExamples/example-efx.efx", 
+                        "resources/mimeTypeExamples/example-eps.eps", 
+                        "resources/mimeTypeExamples/example-etx.etx", 
+                        "resources/mimeTypeExamples/example-exe.exe", 
+                        "resources/mimeTypeExamples/example-ez.ez", 
+                        "resources/mimeTypeExamples/example-fdf.fdf", 
+                        "resources/mimeTypeExamples/example-fla.fla", 
+                        "resources/mimeTypeExamples/example-fp.fp", 
+                        "resources/mimeTypeExamples/example-fp2.fp2", 
+                        "resources/mimeTypeExamples/example-fp3.fp3", 
+                        "resources/mimeTypeExamples/example-fp4.fp4", 
+                        "resources/mimeTypeExamples/example-fp5.fp5", 
+                        "resources/mimeTypeExamples/example-fp6.fp6", 
+                        "resources/mimeTypeExamples/example-fpx.fpx", 
+                        "resources/mimeTypeExamples/example-gif.gif", 
+                        "resources/mimeTypeExamples/example-gtar.gtar", 
+                        "resources/mimeTypeExamples/example-gz.gz", 
+                        "resources/mimeTypeExamples/example-gzip.gzip", 
+                        "resources/mimeTypeExamples/example-hdf.hdf", 
+                        "resources/mimeTypeExamples/example-hqx.hqx", 
+                        "resources/mimeTypeExamples/example-htm.htm", 
+                        "resources/mimeTypeExamples/example-html.html", 
+                        "resources/mimeTypeExamples/example-ice.ice", 
+                        "resources/mimeTypeExamples/example-ico.ico",
+                        "resources/mimeTypeExamples/example-ics.ics", 
+                        "resources/mimeTypeExamples/example-ief.ief", 
+                        "resources/mimeTypeExamples/example-iges.iges", 
+                        "resources/mimeTypeExamples/example-igs.igs", 
+                        "resources/mimeTypeExamples/example-iso.iso", 
+                        "resources/mimeTypeExamples/example-j2k.j2k", 
+                        "resources/mimeTypeExamples/example-jar.jar", 
+                        "resources/mimeTypeExamples/example-javascript.javascript", 
+                        "resources/mimeTypeExamples/example-jhtml.jhtml", 
+                        "resources/mimeTypeExamples/example-jnlp.jnlp", 
+                        "resources/mimeTypeExamples/example-jp2.jp2", 
+                        "resources/mimeTypeExamples/example-jpe.jpe", 
+                        "resources/mimeTypeExamples/example-jpeg.jpeg", 
+                        "resources/mimeTypeExamples/example-jpf.jpf", 
+                        "resources/mimeTypeExamples/example-jpg.jpg", 
+                        "resources/mimeTypeExamples/example-jpx.jpx", 
+                        "resources/mimeTypeExamples/example-js.js", 
+                        "resources/mimeTypeExamples/example-jscript.jscript", 
+                        "resources/mimeTypeExamples/example-kar.kar", 
+                        "resources/mimeTypeExamples/example-latex.latex", 
+                        "resources/mimeTypeExamples/example-lha.lha", 
+                        "resources/mimeTypeExamples/example-lzh.lzh", 
+                        "resources/mimeTypeExamples/example-m15.m15", 
+                        "resources/mimeTypeExamples/example-m2v.m2v", 
+                        "resources/mimeTypeExamples/example-m3u.m3u", 
+                        "resources/mimeTypeExamples/example-m4p.m4p", 
+                        "resources/mimeTypeExamples/example-m75.m75", 
+                        "resources/mimeTypeExamples/example-mac.mac", 
+                        "resources/mimeTypeExamples/example-man.man", 
+                        "resources/mimeTypeExamples/example-me.me", 
+                        "resources/mimeTypeExamples/example-mesh.mesh", 
+                        "resources/mimeTypeExamples/example-mid.mid", 
+                        "resources/mimeTypeExamples/example-midi.midi", 
+                        "resources/mimeTypeExamples/example-mif.mif", 
+                        "resources/mimeTypeExamples/example-mov.mov", 
+                        "resources/mimeTypeExamples/example-movie.movie", 
+                        "resources/mimeTypeExamples/example-mp2.mp2", 
+                        "resources/mimeTypeExamples/example-mp3.mp3", 
+                        "resources/mimeTypeExamples/example-mp4.mp4", 
+                        "resources/mimeTypeExamples/example-mpe.mpe", 
+                        "resources/mimeTypeExamples/example-mpeg.mpeg", 
+                        "resources/mimeTypeExamples/example-mpg.mpg", 
+                        "resources/mimeTypeExamples/example-mpga.mpga", 
+                        "resources/mimeTypeExamples/example-ms.ms", 
+                        "resources/mimeTypeExamples/example-msh.msh", 
+                        "resources/mimeTypeExamples/example-mxu.mxu", 
+                        "resources/mimeTypeExamples/example-nc.nc", 
+                        "resources/mimeTypeExamples/example-oda.oda", 
+                        "resources/mimeTypeExamples/example-odc.odc", 
+                        "resources/mimeTypeExamples/example-odf.odf", 
+                        "resources/mimeTypeExamples/example-odg.odg", 
+                        "resources/mimeTypeExamples/example-odi.odi", 
+                        "resources/mimeTypeExamples/example-odm.odm", 
+                        "resources/mimeTypeExamples/example-odp.odp", 
+                        "resources/mimeTypeExamples/example-ods.ods", 
+                        "resources/mimeTypeExamples/example-odt.odt", 
+                        "resources/mimeTypeExamples/example-otc.otc", 
+                        "resources/mimeTypeExamples/example-otf.otf", 
+                        "resources/mimeTypeExamples/example-otg.otg", 
+                        "resources/mimeTypeExamples/example-oth.oth", 
+                        "resources/mimeTypeExamples/example-oti.oti", 
+                        "resources/mimeTypeExamples/example-otp.otp", 
+                        "resources/mimeTypeExamples/example-ots.ots", 
+                        "resources/mimeTypeExamples/example-ott.ott", 
+                        "resources/mimeTypeExamples/example-pbm.pbm", 
+                        "resources/mimeTypeExamples/example-pct.pct", 
+                        "resources/mimeTypeExamples/example-pcx.pcx", 
+                        "resources/mimeTypeExamples/example-pdb.pdb", 
+                        "resources/mimeTypeExamples/example-pdf.pdf", 
+                        "resources/mimeTypeExamples/example-pgm.pgm", 
+                        "resources/mimeTypeExamples/example-pgn.pgn", 
+                        "resources/mimeTypeExamples/example-ph3.ph3", 
+                        "resources/mimeTypeExamples/example-ph4.ph4", 
+                        "resources/mimeTypeExamples/example-php.php", 
+                        "resources/mimeTypeExamples/example-php3.php3", 
+                        "resources/mimeTypeExamples/example-php4.php4", 
+                        "resources/mimeTypeExamples/example-phtml.phtml", 
+                        "resources/mimeTypeExamples/example-pic.pic", 
+                        "resources/mimeTypeExamples/example-pict.pict", 
+                        "resources/mimeTypeExamples/example-pl.pl", 
+                        "resources/mimeTypeExamples/example-pls.pls", 
+                        "resources/mimeTypeExamples/example-pm.pm", 
+                        "resources/mimeTypeExamples/example-png.png", 
+                        "resources/mimeTypeExamples/example-pnm.pnm", 
+                        "resources/mimeTypeExamples/example-pnt.pnt", 
+                        "resources/mimeTypeExamples/example-pntg.pntg", 
+                        "resources/mimeTypeExamples/example-potm.potm", 
+                        "resources/mimeTypeExamples/example-potx.potx", 
+                        "resources/mimeTypeExamples/example-ppm.ppm", 
+                        "resources/mimeTypeExamples/example-ppsm.ppsm", 
+                        "resources/mimeTypeExamples/example-ppsx.ppsx", 
+                        "resources/mimeTypeExamples/example-ppt.ppt", 
+                        "resources/mimeTypeExamples/example-pptm.pptm", 
+                        "resources/mimeTypeExamples/example-pptx.pptx", 
+                        "resources/mimeTypeExamples/example-ps.ps", 
+                        "resources/mimeTypeExamples/example-psd.psd", 
+                        "resources/mimeTypeExamples/example-py.py", 
+                        "resources/mimeTypeExamples/example-qif.qif", 
+                        "resources/mimeTypeExamples/example-qt.qt", 
+                        "resources/mimeTypeExamples/example-qti.qti", 
+                        "resources/mimeTypeExamples/example-qtif.qtif", 
+                        "resources/mimeTypeExamples/example-qtz.qtz", 
+                        "resources/mimeTypeExamples/example-ra.ra", 
+                        "resources/mimeTypeExamples/example-ram.ram", 
+                        "resources/mimeTypeExamples/example-ras.ras", 
+                        "resources/mimeTypeExamples/example-rb.rb", 
+                        "resources/mimeTypeExamples/example-rbw.rbw", 
+                        "resources/mimeTypeExamples/example-rgb.rgb", 
+                        "resources/mimeTypeExamples/example-rm.rm", 
+                        "resources/mimeTypeExamples/example-roff.roff", 
+                        "resources/mimeTypeExamples/example-rpm.rpm", 
+                        "resources/mimeTypeExamples/example-rtf.rtf", 
+                        "resources/mimeTypeExamples/example-rtx.rtx", 
+                        "resources/mimeTypeExamples/example-sgi.sgi", 
+                        "resources/mimeTypeExamples/example-sgm.sgm", 
+                        "resources/mimeTypeExamples/example-sgml.sgml", 
+                        "resources/mimeTypeExamples/example-sh.sh", 
+                        "resources/mimeTypeExamples/example-shar.shar", 
+                        "resources/mimeTypeExamples/example-shtm.shtm", 
+                        "resources/mimeTypeExamples/example-shtml.shtml", 
+                        "resources/mimeTypeExamples/example-silo.silo", 
+                        "resources/mimeTypeExamples/example-sit.sit", 
+                        "resources/mimeTypeExamples/example-sitx.sitx", 
+                        "resources/mimeTypeExamples/example-skd.skd", 
+                        "resources/mimeTypeExamples/example-skm.skm", 
+                        "resources/mimeTypeExamples/example-skp.skp", 
+                        "resources/mimeTypeExamples/example-skt.skt", 
+                        "resources/mimeTypeExamples/example-smf.smf", 
+                        "resources/mimeTypeExamples/example-smi.smi", 
+                        "resources/mimeTypeExamples/example-smil.smil", 
+                        "resources/mimeTypeExamples/example-snd.snd", 
+                        "resources/mimeTypeExamples/example-so.so", 
+                        "resources/mimeTypeExamples/example-spl.spl", 
+                        "resources/mimeTypeExamples/example-src.src", 
+                        "resources/mimeTypeExamples/example-sv4cpio.sv4cpio", 
+                        "resources/mimeTypeExamples/example-sv4crc.sv4crc", 
+                        "resources/mimeTypeExamples/example-svg.svg", 
+                        "resources/mimeTypeExamples/example-svgz.svgz", 
+                        "resources/mimeTypeExamples/example-swf.swf", 
+                        "resources/mimeTypeExamples/example-t.t", 
+                        "resources/mimeTypeExamples/example-tar.tar", 
+                        "resources/mimeTypeExamples/example-targa.targa", 
+                        "resources/mimeTypeExamples/example-tcl.tcl", 
+                        "resources/mimeTypeExamples/example-tex.tex", 
+                        "resources/mimeTypeExamples/example-texi.texi", 
+                        "resources/mimeTypeExamples/example-texinfo.texinfo", 
+                        "resources/mimeTypeExamples/example-text.text", 
+                        "resources/mimeTypeExamples/example-tga.tga", 
+                        "resources/mimeTypeExamples/example-tgz.tgz", 
+                        "resources/mimeTypeExamples/example-tif.tif", 
+                        "resources/mimeTypeExamples/example-tiff.tiff", 
+                        "resources/mimeTypeExamples/example-torrent.torrent", 
+                        "resources/mimeTypeExamples/example-tr.tr", 
+                        "resources/mimeTypeExamples/example-tsv.tsv", 
+                        "resources/mimeTypeExamples/example-txt.txt", 
+                        "resources/mimeTypeExamples/example-ustar.ustar", 
+                        "resources/mimeTypeExamples/example-vcard.vcard", 
+                        "resources/mimeTypeExamples/example-vcd.vcd", 
+                        "resources/mimeTypeExamples/example-vcf.vcf", 
+                        "resources/mimeTypeExamples/example-vfw.vfw", 
+                        "resources/mimeTypeExamples/example-vrml.vrml", 
+                        "resources/mimeTypeExamples/example-wav.wav", 
+                        "resources/mimeTypeExamples/example-wave.wave", 
+                        "resources/mimeTypeExamples/example-wax.wax", 
+                        "resources/mimeTypeExamples/example-wbmp.wbmp", 
+                        "resources/mimeTypeExamples/example-wbxml.wbxml", 
+                        "resources/mimeTypeExamples/example-webarchive.webarchive", 
+                        "resources/mimeTypeExamples/example-wm.wm", 
+                        "resources/mimeTypeExamples/example-wma.wma", 
+                        "resources/mimeTypeExamples/example-wmd.wmd", 
+                        "resources/mimeTypeExamples/example-wml.wml", 
+                        "resources/mimeTypeExamples/example-wmlc.wmlc", 
+                        "resources/mimeTypeExamples/example-wmls.wmls", 
+                        "resources/mimeTypeExamples/example-wmlsc.wmlsc", 
+                        "resources/mimeTypeExamples/example-wmp.wmp", 
+                        "resources/mimeTypeExamples/example-wmv.wmv", 
+                        "resources/mimeTypeExamples/example-wmx.wmx", 
+                        "resources/mimeTypeExamples/example-wrl.wrl", 
+                        "resources/mimeTypeExamples/example-wvx.wvx", 
+                        "resources/mimeTypeExamples/example-xbm.xbm", 
+                        "resources/mimeTypeExamples/example-xdp.xdp", 
+                        "resources/mimeTypeExamples/example-xfd.xfd", 
+                        "resources/mimeTypeExamples/example-xfdf.xfdf", 
+                        "resources/mimeTypeExamples/example-xht.xht", 
+                        "resources/mimeTypeExamples/example-xhtm.xhtm", 
+                        "resources/mimeTypeExamples/example-xhtml.xhtml", 
+                        "resources/mimeTypeExamples/example-xls.xls", 
+                        "resources/mimeTypeExamples/example-xlsb.xlsb", 
+                        "resources/mimeTypeExamples/example-xlsm.xlsm", 
+                        "resources/mimeTypeExamples/example-xlsx.xlsx", 
+                        "resources/mimeTypeExamples/example-xltm.xltm", 
+                        "resources/mimeTypeExamples/example-xltx.xltx", 
+                        "resources/mimeTypeExamples/example-xml.xml", 
+                        "resources/mimeTypeExamples/example-xpm.xpm", 
+                        "resources/mimeTypeExamples/example-xsl.xsl", 
+                        "resources/mimeTypeExamples/example-xwd.xwd", 
+                        "resources/mimeTypeExamples/example-xyz.xyz", 
+                        "resources/mimeTypeExamples/example-zip.zip");
+
+
+function startTest()
+{
+    testImage = document.getElementById("testImage");
+    testImage.src = testURL[0];
+}
+
+function imageLoaded()
+{
+    if (++currentIndex == testURL.length) {
+        finish();
+        return;
+    }
+    
+    testImage.src = testURL[currentIndex];
+}
+
+function finish()
+{
+    if (window.layoutTestController)
+        layoutTestController.notifyDone();
+}
+
+</script>
+</head>
+<body onload="startTest();">
+Using an image element to load resources, this test makes sure that every MIME type the loader should know about based solely on file extension in file:// urls is correct.<br>
+<img id="testImage" onload="imageLoaded();" onerror="imageLoaded();">
+</body>
+</html>
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3g2.3g2 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3g2.3g2
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp.3gp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp.3gp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp2.3gp2 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp2.3gp2
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3gpp.3gpp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-3gpp.3gpp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-Z.Z b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-Z.Z
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ac3.ac3 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ac3.ac3
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ai.ai b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ai.ai
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-aif.aif b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-aif.aif
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-aifc.aifc b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-aifc.aifc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-aiff.aiff b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-aiff.aiff
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-asc.asc b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-asc.asc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-asf.asf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-asf.asf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-asx.asx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-asx.asx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-au.au b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-au.au
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-avi.avi b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-avi.avi
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bcpio.bcpio b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bcpio.bcpio
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bin.bin b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bin.bin
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bmp.bmp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bmp.bmp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bz.bz b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bz.bz
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bz2.bz2 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-bz2.bz2
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cdf.cdf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cdf.cdf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-class.class b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-class.class
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cpgz.cpgz b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cpgz.cpgz
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cpio.cpio b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cpio.cpio
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cpt.cpt b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-cpt.cpt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-crw.crw b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-crw.crw
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-csh.csh b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-csh.csh
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-css.css b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-css.css
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dcr.dcr b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dcr.dcr
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dif.dif b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dif.dif
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dir.dir b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dir.dir
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dll.dll b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dll.dll
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dls.dls b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dls.dls
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dmg.dmg b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dmg.dmg
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dms.dms b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dms.dms
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-doc.doc b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-doc.doc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-docm.docm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-docm.docm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-docx.docx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-docx.docx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dotm.dotm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dotm.dotm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dotx.dotx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dotx.dotx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dv.dv b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dv.dv
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dvi.dvi b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dvi.dvi
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dxr.dxr b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-dxr.dxr
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-efx.efx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-efx.efx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-eps.eps b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-eps.eps
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-etx.etx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-etx.etx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-exe.exe b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-exe.exe
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ez.ez b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ez.ez
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fdf.fdf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fdf.fdf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fla.fla b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fla.fla
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp.fp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp.fp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp2.fp2 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp2.fp2
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp3.fp3 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp3.fp3
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp4.fp4 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp4.fp4
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp5.fp5 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp5.fp5
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp6.fp6 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fp6.fp6
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fpx.fpx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-fpx.fpx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gif.gif b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gif.gif
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gtar.gtar b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gtar.gtar
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gz.gz b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gz.gz
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gzip.gzip b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-gzip.gzip
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-hdf.hdf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-hdf.hdf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-hqx.hqx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-hqx.hqx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-htm.htm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-htm.htm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-html.html b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-html.html
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ice.ice b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ice.ice
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ico.ico b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ico.ico
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ics.ics b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ics.ics
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ief.ief b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ief.ief
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-iges.iges b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-iges.iges
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-igs.igs b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-igs.igs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-iso.iso b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-iso.iso
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-j2k.j2k b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-j2k.j2k
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jar.jar b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jar.jar
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-javascript.javascript b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-javascript.javascript
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jhtml.jhtml b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jhtml.jhtml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jnlp.jnlp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jnlp.jnlp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jp2.jp2 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jp2.jp2
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpe.jpe b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpe.jpe
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpeg.jpeg b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpeg.jpeg
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpf.jpf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpf.jpf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpg.jpg b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpg.jpg
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpx.jpx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jpx.jpx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-js.js b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-js.js
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jscript.jscript b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-jscript.jscript
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-kar.kar b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-kar.kar
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-latex.latex b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-latex.latex
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-lha.lha b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-lha.lha
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-lzh.lzh b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-lzh.lzh
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m15.m15 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m15.m15
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m2v.m2v b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m2v.m2v
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m3u.m3u b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m3u.m3u
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m4p.m4p b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m4p.m4p
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m75.m75 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-m75.m75
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mac.mac b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mac.mac
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-man.man b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-man.man
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-me.me b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-me.me
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mesh.mesh b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mesh.mesh
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mid.mid b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mid.mid
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-midi.midi b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-midi.midi
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mif.mif b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mif.mif
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mov.mov b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mov.mov
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-movie.movie b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-movie.movie
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mp2.mp2 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mp2.mp2
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mp3.mp3 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mp3.mp3
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mp4.mp4 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mp4.mp4
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpe.mpe b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpe.mpe
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpeg.mpeg b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpeg.mpeg
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpg.mpg b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpg.mpg
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpga.mpga b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mpga.mpga
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ms.ms b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ms.ms
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-msh.msh b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-msh.msh
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mxu.mxu b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-mxu.mxu
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-nc.nc b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-nc.nc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-oda.oda b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-oda.oda
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odc.odc b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odc.odc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odf.odf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odf.odf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odg.odg b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odg.odg
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odi.odi b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odi.odi
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odm.odm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odm.odm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odp.odp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odp.odp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ods.ods b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ods.ods
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odt.odt b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-odt.odt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otc.otc b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otc.otc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otf.otf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otf.otf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otg.otg b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otg.otg
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-oth.oth b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-oth.oth
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-oti.oti b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-oti.oti
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otp.otp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-otp.otp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ots.ots b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ots.ots
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ott.ott b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ott.ott
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pbm.pbm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pbm.pbm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pct.pct b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pct.pct
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pcx.pcx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pcx.pcx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pdb.pdb b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pdb.pdb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pdf.pdf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pdf.pdf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pgm.pgm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pgm.pgm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pgn.pgn b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pgn.pgn
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ph3.ph3 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ph3.ph3
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ph4.ph4 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ph4.ph4
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-php.php b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-php.php
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-php3.php3 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-php3.php3
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-php4.php4 b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-php4.php4
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-phtml.phtml b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-phtml.phtml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pic.pic b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pic.pic
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pict.pict b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pict.pict
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pl.pl b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pl.pl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pls.pls b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pls.pls
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pm.pm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pm.pm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-png.png b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-png.png
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pnm.pnm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pnm.pnm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pnt.pnt b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pnt.pnt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pntg.pntg b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pntg.pntg
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-potm.potm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-potm.potm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-potx.potx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-potx.potx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppm.ppm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppm.ppm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsm.ppsm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsm.ppsm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsx.ppsx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsx.ppsx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppt.ppt b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ppt.ppt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pptm.pptm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pptm.pptm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pptx.pptx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-pptx.pptx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ps.ps b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ps.ps
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-psd.psd b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-psd.psd
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-py.py b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-py.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qif.qif b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qif.qif
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qt.qt b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qt.qt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qti.qti b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qti.qti
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qtif.qtif b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qtif.qtif
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qtz.qtz b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-qtz.qtz
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ra.ra b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ra.ra
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ram.ram b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ram.ram
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ras.ras b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ras.ras
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rb.rb b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rb.rb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rbw.rbw b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rbw.rbw
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rgb.rgb b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rgb.rgb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rm.rm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rm.rm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-roff.roff b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-roff.roff
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rpm.rpm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rpm.rpm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rtf.rtf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rtf.rtf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rtx.rtx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rtx.rtx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sgi.sgi b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sgi.sgi
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sgm.sgm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sgm.sgm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sgml.sgml b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sgml.sgml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sh.sh b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sh.sh
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-shar.shar b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-shar.shar
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-shtm.shtm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-shtm.shtm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-shtml.shtml b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-shtml.shtml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-silo.silo b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-silo.silo
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sit.sit b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sit.sit
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sitx.sitx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sitx.sitx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skd.skd b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skd.skd
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skm.skm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skm.skm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skp.skp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skp.skp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skt.skt b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-skt.skt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-smf.smf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-smf.smf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-smi.smi b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-smi.smi
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-smil.smil b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-smil.smil
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-snd.snd b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-snd.snd
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-so.so b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-so.so
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-spl.spl b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-spl.spl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-src.src b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-src.src
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4cpio.sv4cpio b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4cpio.sv4cpio
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4crc.sv4crc b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4crc.sv4crc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-svg.svg b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-svg.svg
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-svgz.svgz b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-svgz.svgz
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-swf.swf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-swf.swf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-t.t b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-t.t
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tar.tar b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tar.tar
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-targa.targa b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-targa.targa
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tcl.tcl b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tcl.tcl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tex.tex b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tex.tex
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-texi.texi b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-texi.texi
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-texinfo.texinfo b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-texinfo.texinfo
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-text.text b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-text.text
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tga.tga b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tga.tga
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tgz.tgz b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tgz.tgz
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tif.tif b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tif.tif
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tiff.tiff b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tiff.tiff
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-torrent.torrent b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-torrent.torrent
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tr.tr b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tr.tr
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tsv.tsv b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-tsv.tsv
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-txt.txt b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-txt.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ustar.ustar b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-ustar.ustar
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vcard.vcard b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vcard.vcard
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vcd.vcd b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vcd.vcd
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vcf.vcf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vcf.vcf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vfw.vfw b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vfw.vfw
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vrml.vrml b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-vrml.vrml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wav.wav b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wav.wav
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wave.wave b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wave.wave
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wax.wax b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wax.wax
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wbmp.wbmp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wbmp.wbmp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wbxml.wbxml b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wbxml.wbxml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-webarchive.webarchive b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-webarchive.webarchive
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wm.wm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wm.wm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wma.wma b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wma.wma
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmd.wmd b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmd.wmd
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wml.wml b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wml.wml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlc.wmlc b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlc.wmlc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmls.wmls b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmls.wmls
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlsc.wmlsc b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlsc.wmlsc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmp.wmp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmp.wmp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmv.wmv b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmv.wmv
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmx.wmx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wmx.wmx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wrl.wrl b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wrl.wrl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wvx.wvx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-wvx.wvx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xbm.xbm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xbm.xbm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xdp.xdp b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xdp.xdp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xfd.xfd b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xfd.xfd
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xfdf.xfdf b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xfdf.xfdf
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xht.xht b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xht.xht
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtm.xhtm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtm.xhtm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtml.xhtml b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtml.xhtml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xls.xls b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xls.xls
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsb.xlsb b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsb.xlsb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsm.xlsm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsm.xlsm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsx.xlsx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsx.xlsx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xltm.xltm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xltm.xltm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xltx.xltx b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xltx.xltx
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xml.xml b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xml.xml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xpm.xpm b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xpm.xpm
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xsl.xsl b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xsl.xsl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xwd.xwd b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xwd.xwd
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xyz.xyz b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-xyz.xyz
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-zip.zip b/LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-zip.zip
new file mode 100644 (file)
index 0000000..e69de29
index b381fa1..1678f32 100644 (file)
@@ -1,3 +1,39 @@
+2009-06-26  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Sam Weinig
+
+        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails
+
+        When we disabled content sniffing for file urls we lost knowledge of many file extensions that we
+        didn't intend to lose.  Turns out the CoreTypes UTI database doesn't know about every extension Gatekeeper
+        knew about.
+
+        By comparing CoreTypes' database to Gatekeepers, this patch adds a hardcoded list of file extension to MIME
+        type mappings that are missing in CoreType's database.
+
+        Test: platform/mac/fast/loader/file-url-mimetypes.html
+
+        * platform/network/mac/ResourceHandleMac.mm:
+        (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]): Move the MIME Type swizzling code to
+          WebCoreURLResponse.
+
+        * platform/network/mac/ResourceResponseMac.mm:
+        (WebCore::ResourceResponse::platformLazyInit): _webcore_MIMEType -> MIMEType, as we now have only one place
+          where we do all MIMEType correction.
+
+        * platform/network/mac/WebCoreURLResponse.h: Remove _webcore_MIMEType, as it is now folded into the swizzled
+          implementation of MIMEType.
+        * platform/network/mac/WebCoreURLResponse.mm:
+        (createBinaryExtensionsSet):
+        (createExtensionToMIMETypeMap):
+        (swizzleMIMETypeMethodIfNecessary):
+        (webNSURLResponseMIMEType): If it's a file URL and there's no MIME type, see if the extension exists in the 
+          extension -> MIME type map before turning to the default MIME type.  Also roll in what was previously
+          implemented in _webcore_MIMEType.
+
+        * svg/graphics/SVGImage.cpp:
+        (WebCore::SVGImage::~SVGImage): Tweak this ASSERT - SVGImages might get destroyed without ever having a client.
+
 2009-06-25  Pierre d'Herbemont  <pdherbemont@apple.com>
 
         Reviewed by Simon Fraser.
index 3af1b97..e9c4c95 100644 (file)
 #import "WebCoreURLResponse.h"
 #import <wtf/UnusedParam.h>
 
-#ifndef BUILDING_ON_TIGER
-#import <objc/objc-class.h>
-#endif
-
 #ifdef BUILDING_ON_TIGER
 typedef int NSInteger;
 #endif
@@ -93,9 +89,6 @@ using namespace WebCore;
 
 static NSString *WebCoreSynchronousLoaderRunLoopMode = @"WebCoreSynchronousLoaderRunLoopMode";
 
-static IMP oldNSURLResponseMIMETypeIMP = 0;
-static NSString *webNSURLResponseMIMEType(id, SEL);
-
 #endif
 
 namespace WebCore {
@@ -633,11 +626,7 @@ void ResourceHandle::receivedCancellation(const AuthenticationChallenge& challen
     CallbackGuard guard;
 
 #ifndef BUILDING_ON_TIGER
-    if (!oldNSURLResponseMIMETypeIMP) {
-        Method nsURLResponseMIMETypeMethod = class_getInstanceMethod(objc_getClass("NSURLResponse"), @selector(MIMEType));
-        ASSERT(nsURLResponseMIMETypeMethod);
-        oldNSURLResponseMIMETypeIMP = method_setImplementation(nsURLResponseMIMETypeMethod, (IMP)webNSURLResponseMIMEType);
-    }
+    swizzleMIMETypeMethodIfNecessary();
 #endif
 
     if ([m_handle->request().nsURLRequest() _propertyForKey:@"ForceHTMLMIMEType"])
@@ -653,7 +642,7 @@ void ResourceHandle::receivedCancellation(const AuthenticationChallenge& challen
         DEFINE_STATIC_LOCAL(const String, wmlExt, (".wml"));
         if (path.endsWith(wmlExt, false)) {
             static NSString* defaultMIMETypeString = [(NSString*) defaultMIMEType() retain];
-            if ([[r _webcore_MIMEType] isEqualToString:defaultMIMETypeString])
+            if ([[r MIMEType] isEqualToString:defaultMIMETypeString])
                 [r _setMIMEType:@"text/vnd.wap.wml"];
         }
     }
@@ -1008,14 +997,4 @@ void ResourceHandle::receivedCancellation(const AuthenticationChallenge& challen
 
 @end
 
-static NSString *webNSURLResponseMIMEType(id self, SEL _cmd)
-{
-    ASSERT(oldNSURLResponseMIMETypeIMP);
-    if (NSString *result = oldNSURLResponseMIMETypeIMP(self, _cmd))
-        return result;
-
-    static NSString *defaultMIMETypeString = [(NSString *)defaultMIMEType() retain];
-    return defaultMIMETypeString;
-}
-
 #endif
index 60a4dc6..5ba6ebf 100644 (file)
@@ -69,7 +69,7 @@ void ResourceResponse::platformLazyInit()
     }
     
     m_url = [m_nsResponse.get() URL];
-    m_mimeType = [m_nsResponse.get() _webcore_MIMEType];
+    m_mimeType = [m_nsResponse.get() MIMEType];
     m_expectedContentLength = [m_nsResponse.get() expectedContentLength];
     m_textEncodingName = [m_nsResponse.get() textEncodingName];
     m_suggestedFilename = [m_nsResponse.get() suggestedFilename];
index a06ab70..1ced04b 100644 (file)
@@ -26,9 +26,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-// FIXME: This is a workaround for <rdar://problem/5321972> REGRESSION: Plain text document from HTTP server detected
-// as application/octet-stream
-
-@interface NSURLResponse (WebCoreURLResponse)
-- (NSString *)_webcore_MIMEType;
-@end
+#ifndef BUILDING_ON_TIGER
+void swizzleMIMETypeMethodIfNecessary();
+#endif
index 7d9c686..1fd49e5 100644 (file)
  */
 
 #import "config.h"
-
 #import "WebCoreURLResponse.h"
 
-#ifndef BUILDING_ON_TIGER
+#import "MIMETypeRegistry.h"
+#import <objc/objc-class.h>
+#import <wtf/Assertions.h>
+
+// <rdar://problem/5321972> Plain text document from HTTP server detected as application/octet-stream
+// When we sniff a resource as application/octet-stream but the http response headers had "text/plain",
+// we have a hard decision to make about which of the two generic MIME types to go with.
+// When the URL's extension is a known binary type, we'll go with application/octet-stream.
+// Otherwise, we'll trust the server.
 static NSSet *createBinaryExtensionsSet()
 {
     return [[NSSet alloc] initWithObjects:
@@ -188,35 +195,184 @@ static NSSet *createBinaryExtensionsSet()
         nil
     ];
 }
-#endif
-
-@implementation NSURLResponse (WebCoreURLResponse)
 
-- (NSString *)_webcore_MIMEType
+// <rdar://problem/7007389> CoreTypes UTI map is missing 100+ file extensions that GateKeeper knew about
+// When we disabled content sniffing for file URLs we caused problems with these 100+ extensions that CoreTypes
+// doesn't know about.
+// If CoreTypes is ever brought up to speed we can remove this table and associated code.
+static NSDictionary *createExtensionToMIMETypeMap()
 {
-    NSString *MIMEType = [self MIMEType];
-#ifdef BUILDING_ON_LEOPARD
-    // Workaround for <rdar://problem/5539824>
-    if ([MIMEType isEqualToString:@"text/xml"])
-        return @"application/xml";
-#endif
-    return MIMEType;
+    return [[NSDictionary alloc] initWithObjectsAndKeys:
+        @"application/postscript", @"ai",
+        @"text/plain", @"asc",
+        @"application/x-bcpio", @"bcpio",
+        @"image/bmp", @"bmp",
+        @"application/x-netcdf", @"cdf",
+        @"application/octet-stream", @"class",
+        @"application/x-gzip", @"cpgz",
+        @"application/x-cpio", @"cpio",
+        @"application/mac-compactpro", @"cpt",
+        @"application/x-csh", @"csh",
+        @"text/css", @"css",
+        @"application/x-director", @"dcr",
+        @"application/x-director", @"dir",
+        @"application/x-diskcopy", @"dmg",
+        @"application/octet-stream", @"dms",
+        @"application/x-dvi", @"dvi",
+        @"application/x-director", @"dxr",
+        @"application/postscript", @"eps",
+        @"text/x-setext", @"etx",
+        @"application/andrew-inset", @"ez",
+        @"application/vnd.fdf", @"fdf",
+        @"application/octet-stream", @"fla",
+        @"application/x-filemaker", @"fp",
+        @"application/x-filemaker", @"fp2",
+        @"application/x-filemaker", @"fp3",
+        @"application/x-filemaker", @"fp4",
+        @"application/x-filemaker", @"fp5",
+        @"application/x-filemaker", @"fp6",
+        @"application/x-hdf", @"hdf",
+        @"x-conference/x-cooltalk", @"ice",
+        @"image/x-icon", @"ico",
+        @"text/calendar", @"ics",
+        @"image/ief", @"ief",
+        @"model/iges", @"iges",
+        @"model/iges", @"igs",
+        @"application/octet-stream", @"iso",
+        @"text/html", @"jhtml",
+        @"application/x-latex", @"latex",
+        @"application/octet-stream", @"lha",
+        @"application/octet-stream", @"lzh",
+        @"audio/x-mpegurl", @"m3u",
+        @"audio/x-m4p", @"m4p",
+        @"image/x-macpaint", @"mac",
+        @"application/x-troff-man", @"man",
+        @"application/x-troff-me", @"me",
+        @"model/mesh", @"mesh",
+        @"application/vnd.mif", @"mif",
+        @"video/x-sgi-movie", @"movie",
+        @"audio/mpeg", @"mp2",
+        @"audio/mpeg", @"mpga",
+        @"application/x-troff-ms", @"ms",
+        @"model/mesh", @"msh",
+        @"video/vnd.mpegurl", @"mxu",
+        @"application/x-netcdf", @"nc",
+        @"application/oda", @"oda",
+        @"image/x-portable-bitmap", @"pbm",
+        @"image/x-pcx", @"pcx",
+        @"chemical/x-pdb", @"pdb",
+        @"image/x-portable-graymap", @"pgm",
+        @"application/x-chess-pgn", @"pgn",
+        @"audio/scpls", @"pls",
+        @"image/x-portable-anymap", @"pnm",
+        @"image/x-macpaint", @"pnt",
+        @"image/x-macpaint", @"pntg",
+        @"image/x-portable-pixmap", @"ppm",
+        @"image/x-cmu-raster", @"ras",
+        @"image/x-rgb", @"rgb",
+        @"application/x-troff", @"roff",
+        @"audio/x-pn-realaudio-plugin", @"rpm",
+        @"text/richtext", @"rtx",
+        @"text/sgml", @"sgm",
+        @"text/sgml", @"sgml",
+        @"application/x-sh", @"sh",
+        @"application/x-shar", @"shar",
+        @"model/mesh", @"silo",
+        @"application/x-koan", @"skd",
+        @"application/x-koan", @"skm",
+        @"application/x-koan", @"skp",
+        @"application/x-koan", @"skt",
+        @"application/x-diskcopy", @"smi",
+        @"application/octet-stream", @"so",
+        @"application/x-futuresplash", @"spl",
+        @"application/x-wais-source", @"src",
+        @"application/x-sv4cpio", @"sv4cpio",
+        @"application/x-sv4crc", @"sv4crc",
+        @"application/x-shockwave-flash", @"swf",
+        @"application/x-troff", @"t",
+        @"image/x-targa", @"targa",
+        @"application/x-tcl", @"tcl",
+        @"application/x-tex", @"tex",
+        @"application/x-texinfo", @"texi",
+        @"application/x-texinfo", @"texinfo",
+        @"application/x-gzip", @"tgz",
+        @"application/x-bittorrent", @"torrent",
+        @"application/x-troff", @"tr",
+        @"text/tab-separated-values", @"tsv",
+        @"application/x-ustar", @"ustar",
+        @"application/x-cdlink", @"vcd",
+        @"model/vrml", @"vrml",
+        @"image/vnd.wap.wbmp", @"wbmp",
+        @"application/vnd.wap.wbxml", @"wbxml",
+        @"application/x-webarchive", @"webarchive",
+        @"application/x-ms-wmd", @"wmd",
+        @"text/vnd.wap.wml", @"wml",
+        @"application/vnd.wap.wmlc", @"wmlc",
+        @"text/vnd.wap.wmlscript", @"wmls",
+        @"application/vnd.wap.wmlscriptc", @"wmlsc",
+        @"model/vrml", @"wrl",
+        @"application/vnd.adobe.xdp+xml", @"xdp",
+        @"application/vnd.adobe.xfd+xml", @"xfd",
+        @"application/vnd.adobe.xfdf", @"xfdf",
+        @"image/x-xpixmap", @"xpm",
+        @"text/xml", @"xsl",
+        @"image/x-xwindowdump", @"xwd",
+        @"chemical/x-xyz", @"xyz",
+        @"application/x-compress", @"z",
+        nil
+    ];
 }
 
-@end
+static IMP oldNSURLResponseMIMETypeIMP = 0;
+static NSString *webNSURLResponseMIMEType(id, SEL);
 
-@implementation NSHTTPURLResponse (WebCoreURLResponse)
+void swizzleMIMETypeMethodIfNecessary()
+{
+    if (!oldNSURLResponseMIMETypeIMP) {
+        Method nsURLResponseMIMETypeMethod = class_getInstanceMethod(objc_getClass("NSURLResponse"), @selector(MIMEType));
+        ASSERT(nsURLResponseMIMETypeMethod);
+        oldNSURLResponseMIMETypeIMP = method_setImplementation(nsURLResponseMIMETypeMethod, (IMP)webNSURLResponseMIMEType);
+    }
+}
 
-- (NSString *)_webcore_MIMEType
+static NSString *webNSURLResponseMIMEType(id self, SEL _cmd)
 {
-    NSString *MIMEType = [self MIMEType];
+    ASSERT(oldNSURLResponseMIMETypeIMP);
+    NSString *result = oldNSURLResponseMIMETypeIMP(self, _cmd);
+
+    if (!result) {
+        // <rdar://problem/7007389> CoreTypes UTI map is missing 100+ file extensions that GateKeeper knew about
+        // When this radar is resolved, we can remove this file:// url specific code.
+        NSURL *url = [self URL];
+        if ([url isFileURL]) {
+            if (NSString *extension = [[url path] pathExtension]) {
+                static NSDictionary *extensionMap = createExtensionToMIMETypeMap();
+                result = [extensionMap objectForKey:[extension lowercaseString]];
+            }
+        }
+    }
+    
+    if (!result) {
+        static NSString *defaultMIMETypeString = [(NSString *)WebCore::defaultMIMEType() retain];
+        result = defaultMIMETypeString;
+    }
+
 #ifndef BUILDING_ON_TIGER
-    if ([MIMEType isEqualToString:@"application/octet-stream"] && [[[self allHeaderFields] objectForKey:@"Content-Type"] hasPrefix:@"text/plain"]) {
+    // <rdar://problem/5321972> Plain text document from HTTP server detected as application/octet-stream
+    // Make the best guess when deciding between "generic binary" and "generic text" using a table of known binary MIME types.
+    if ([result isEqualToString:@"application/octet-stream"] && [self respondsToSelector:@selector(allHeaderFields)] && [[[self allHeaderFields] objectForKey:@"Content-Type"] hasPrefix:@"text/plain"]) {
         static NSSet *binaryExtensions = createBinaryExtensionsSet();
-        return [binaryExtensions containsObject:[[[self suggestedFilename] pathExtension] lowercaseString]] ? MIMEType : @"text/plain";
+        if (![binaryExtensions containsObject:[[[self suggestedFilename] pathExtension] lowercaseString]])
+            result = @"text/plain";
     }
+
+#endif
+
+#ifdef BUILDING_ON_LEOPARD
+    // Workaround for <rdar://problem/5539824>
+    if ([result isEqualToString:@"text/xml"])
+        result = @"application/xml";
 #endif
-    return MIMEType;
-}
 
-@end
+    return result;
+}
index 2157144..227b570 100644 (file)
@@ -95,7 +95,7 @@ SVGImage::~SVGImage()
     }
 
     // Verify that page teardown destroyed the Chrome
-    ASSERT(!m_chromeClient->image());
+    ASSERT(!m_chromeClient || !m_chromeClient->image());
 }
 
 void SVGImage::setContainerSize(const IntSize& containerSize)
index f11213a..60c6d44 100644 (file)
@@ -1,3 +1,22 @@
+2009-06-26  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Sam Weinig
+
+        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails
+
+        Replace all usage of the now obsolete [NSURLResponse _webcore_MIMEType].
+
+        * Plugins/WebBaseNetscapePluginStream.mm:
+        (WebNetscapePluginStream::didReceiveResponse):
+        * Plugins/WebNetscapePluginView.mm:
+        (-[WebNetscapePluginView pluginView:receivedData:]):
+        * Plugins/WebPluginController.mm:
+        (-[WebPluginController pluginView:receivedResponse:]):
+        * WebView/WebDataSource.mm:
+        (-[WebDataSource _responseMIMEType]):
+        * WebView/WebResource.mm:
+        (-[WebResource _initWithData:URL:response:]):
+
 2009-06-26  Alexey Proskuryakov  <ap@webkit.org>
 
         Reviewed by Sam Weinig.
index 96f7644..4b6bc99 100644 (file)
@@ -348,7 +348,7 @@ void WebNetscapePluginStream::didReceiveResponse(NetscapePlugInStreamLoader*, co
         // startStreamResponseURL:... will null-terminate.
     }
     
-    startStream([r URL], expectedContentLength, WKGetNSURLResponseLastModifiedDate(r), [r _webcore_MIMEType], theHeaders);
+    startStream([r URL], expectedContentLength, WKGetNSURLResponseLastModifiedDate(r), [r MIMEType], theHeaders);
 }
 
 void WebNetscapePluginStream::startStreamWithResponse(NSURLResponse *response)
index f329527..ac0d8a6 100644 (file)
@@ -1465,7 +1465,7 @@ static inline void getNPRect(const NSRect& nr, NPRect& npr)
                                                             contentURL:[response URL]
                                                          pluginPageURL:nil
                                                             pluginName:nil // FIXME: Get this from somewhere
-                                                              MIMEType:[response _webcore_MIMEType]];
+                                                              MIMEType:[response MIMEType]];
             [[self dataSource] _documentLoader]->cancelMainResourceLoad(error);
             [error release];
             return;
index 62b410e..fcbd743 100644 (file)
@@ -419,7 +419,7 @@ static void cancelOutstandingCheck(const void *item, void *context)
                                                         contentURL:[response URL]
                                                      pluginPageURL:nil
                                                         pluginName:nil // FIXME: Get this from somewhere
-                                                          MIMEType:[response _webcore_MIMEType]];
+                                                          MIMEType:[response MIMEType]];
         [_dataSource _documentLoader]->cancelMainResourceLoad(error);
         [error release];
     }        
index d686ba8..5b902b2 100644 (file)
@@ -189,7 +189,7 @@ static inline void addTypesFromClass(NSMutableDictionary *allTypes, Class objCCl
 
 - (NSString *)_responseMIMEType
 {
-    return [[self response] _webcore_MIMEType];
+    return [[self response] MIMEType];
 }
 
 - (BOOL)_transferApplicationCache:(NSString*)destinationBundleIdentifier
index 7f41866..735e213 100644 (file)
@@ -366,7 +366,7 @@ static NSString * const WebResourceResponseKey =          @"WebResourceResponse"
     // Copying it will also cause a performance regression.
     return [self _initWithData:data
                            URL:URL
-                      MIMEType:[response _webcore_MIMEType]
+                      MIMEType:[response MIMEType]
               textEncodingName:[response textEncodingName]
                      frameName:nil
                       response:response
index 1dfda54..461753e 100644 (file)
@@ -1,3 +1,23 @@
+2009-06-26  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Sam Weinig
+
+        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails
+
+        Add a dumpResourceResponseMIMETypes() mode so the ResourceLoadDelegate will dump the mime type from
+        the NSURLResponse.  Needed for the test for this bug fix.
+
+        * DumpRenderTree/LayoutTestController.cpp:
+        (LayoutTestController::LayoutTestController):
+        (dumpResourceResponseMIMETypesCallback):
+        (LayoutTestController::staticFunctions):
+        * DumpRenderTree/LayoutTestController.h:
+        (LayoutTestController::dumpResourceResponseMIMETypes):
+        (LayoutTestController::setDumpResourceResponseMIMETypes):
+
+        * DumpRenderTree/mac/ResourceLoadDelegate.mm:
+        (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
+
 2009-06-26  David Kilzer  <ddkilzer@apple.com>
 
         Update build-dumprendertree to use buildXCodeProject()
index 010af78..12c0888 100644 (file)
@@ -50,6 +50,7 @@ LayoutTestController::LayoutTestController(const std::string& testPathOrURL, con
     , m_dumpTitleChanges(false)
     , m_dumpEditingCallbacks(false)
     , m_dumpResourceLoadCallbacks(false)
+    , m_dumpResourceResponseMIMETypes(false)
     , m_dumpFrameLoadCallbacks(false)
     , m_callCloseOnWebViews(true)
     , m_canOpenWindows(false)
@@ -131,6 +132,13 @@ static JSValueRef dumpResourceLoadCallbacksCallback(JSContextRef context, JSObje
     return JSValueMakeUndefined(context);
 }
 
+static JSValueRef dumpResourceResponseMIMETypesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+{
+    LayoutTestController* controller = static_cast<LayoutTestController*>(JSObjectGetPrivate(thisObject));
+    controller->setDumpResourceResponseMIMETypes(true);
+    return JSValueMakeUndefined(context);
+}
+
 static JSValueRef dumpSelectionRectCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
 {
     LayoutTestController* controller = static_cast<LayoutTestController*>(JSObjectGetPrivate(thisObject));
@@ -873,6 +881,7 @@ JSStaticFunction* LayoutTestController::staticFunctions()
         { "dumpDatabaseCallbacks", dumpDatabaseCallbacksCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
         { "dumpEditingCallbacks", dumpEditingCallbacksCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
         { "dumpResourceLoadCallbacks", dumpResourceLoadCallbacksCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
+        { "dumpResourceResponseMIMETypes", dumpResourceResponseMIMETypesCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
         { "dumpSelectionRect", dumpSelectionRectCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
         { "dumpSourceAsWebArchive", dumpSourceAsWebArchiveCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
         { "dumpStatusCallbacks", dumpStatusCallbacksCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
index 2e417bc..b880f71 100644 (file)
@@ -121,6 +121,9 @@ public:
 
     bool dumpResourceLoadCallbacks() const { return m_dumpResourceLoadCallbacks; }
     void setDumpResourceLoadCallbacks(bool dumpResourceLoadCallbacks) { m_dumpResourceLoadCallbacks = dumpResourceLoadCallbacks; }
+    
+    bool dumpResourceResponseMIMETypes() const { return m_dumpResourceResponseMIMETypes; }
+    void setDumpResourceResponseMIMETypes(bool dumpResourceResponseMIMETypes) { m_dumpResourceResponseMIMETypes = dumpResourceResponseMIMETypes; }
 
     bool dumpFrameLoadCallbacks() const { return m_dumpFrameLoadCallbacks; }
     void setDumpFrameLoadCallbacks(bool dumpFrameLoadCallbacks) { m_dumpFrameLoadCallbacks = dumpFrameLoadCallbacks; }
@@ -176,6 +179,7 @@ private:
     bool m_dumpTitleChanges;
     bool m_dumpEditingCallbacks;
     bool m_dumpResourceLoadCallbacks;
+    bool m_dumpResourceResponseMIMETypes;
     bool m_dumpFrameLoadCallbacks;
     bool m_callCloseOnWebViews;
     bool m_canOpenWindows;
index 2b7a8f3..938ce02 100644 (file)
         NSString *string = [NSString stringWithFormat:@"%@ - didReceiveResponse %@", identifier, [response _drt_descriptionSuitableForTestResult]];
         printf("%s\n", [string UTF8String]);
     }
+    if (!done && gLayoutTestController->dumpResourceResponseMIMETypes())
+        printf("%s has MIME type %s\n", [[[[response URL] relativePath] lastPathComponent] UTF8String], [[response MIMEType] UTF8String]);
 }
 
 -(void)webView: (WebView *)wv resource:identifier didReceiveContentLength: (NSInteger)length fromDataSource:(WebDataSource *)dataSource