Skip to content

Commit

Permalink
More test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd committed Mar 27, 2019
1 parent f4ddd81 commit 8bcad3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
4 changes: 2 additions & 2 deletions test/chromium-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
{ type: 'video/webm', extensions: 'webm' },
{ type: 'application/wasm', extensions: 'wasm' },
{ type: 'application/xhtml+xml', extensions: 'xhtml,xht,xhtm' },
{ type: 'audio/x-flac', extensions: 'flac' }, // humphd: changed to x-flac
{ type: 'audio/x-flac', extensions: 'flac' }, // humphd: changed to x-flac (per db.json)
{ type: 'audio/mp3', extensions: 'mp3' },
{ type: 'audio/ogg', extensions: 'ogg,oga' }, // humphd: removed opus extension
{ type: 'audio/wav', extensions: 'wav' },
Expand All @@ -26,7 +26,7 @@ module.exports = {
{ type: 'application/font-woff', extensions: 'woff' },
{ type: 'application/gzip', extensions: 'gz,tgz' },
{ type: 'application/javascript', extensions: 'js' },
{ type: 'application/json', extensions: 'json' }, // Per http://www.ietf.org/rfc/rfc4627.txt.
{ type: 'application/json', extensions: 'json' },
{ type: 'application/pdf', extensions: 'pdf' },
{ type: 'application/zip', extensions: 'zip' },
{ type: 'image/bmp', extensions: 'bmp' },
Expand Down
15 changes: 0 additions & 15 deletions test/webkit-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module.exports = {
browser: 'WebKit',
mimeTypes: [
// based on https://github.com/WebKit/webkit/blob/8e95493b2c7ce6ceb07b3d61f256741714482d07/Source/WebCore/platform/MIMETypeRegistry.cpp

{ type: 'image/gif', extensions: 'gif' },
{ type: 'image/jpeg', extensions: 'jpg' },
{ type: 'image/bmp', extensions: 'bmp' },
Expand All @@ -29,26 +28,12 @@ module.exports = {
{ type: 'font/otf', extensions: 'otf' },
{ type: 'font/ttf', extensions: 'ttf' },

// Ogg
{ type: 'application/ogg', extensions: 'ogx' },
{ type: 'audio/ogg', extensions: 'ogg,oga' },
{ type: 'video/ogg', extensions: 'ogv' },

// WebM
{ type: 'video/webm', extensions: 'webm' },

// MPEG
// { type: 'audio/mpeg', extensions: 'm1a,m2a,m1s,mpa' },
// { type: 'video/mpeg', extensions: 'mpg,m15,m1s,m1v,m75,mpa,mpeg,mpm,mpv' },

// MPEG-4
// { type: 'video/x-m4v', extensions: 'm4v' },
// { type: 'audio/x-m4a', extensions: 'm4a' },
// { type: 'audio/x-m4b', extensions: 'm4b' },
// { type: 'audio/x-m4p', extensions: 'm4p' },
// { type: 'audio/mp4', extensions: 'm4a' },

// MP3
{ type: 'audio/mp3', extensions: 'mp3' }
]
};

0 comments on commit 8bcad3a

Please sign in to comment.