Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2855)

Unified Diff: trunk/src/chrome/test/data/extensions/api_test/media_galleries/media_metadata/test.js

Issue 217233005: Revert 260917 "Media Galleries API Metadata: Image metadata" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/chrome/sync_integration_tests.isolate ('k') | trunk/src/chrome/test/functional/stress.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/test/data/extensions/api_test/media_galleries/media_metadata/test.js
===================================================================
--- trunk/src/chrome/test/data/extensions/api_test/media_galleries/media_metadata/test.js (revision 260930)
+++ trunk/src/chrome/test/data/extensions/api_test/media_galleries/media_metadata/test.js (working copy)
@@ -32,27 +32,6 @@
RunMetadataTest("test.jpg", {metadataType: 'mimeTypeOnly'}, verifyMetadata);
}
-function ImageTagsTest() {
- function verifyMetadata(metadata) {
- chrome.test.assertEq("image/jpeg", metadata.mimeType);
- chrome.test.assertEq(5616, metadata.width);
- chrome.test.assertEq(3744, metadata.height);
- chrome.test.assertEq(0, metadata.rotation);
- chrome.test.assertEq(300.0, metadata.xResolution);
- chrome.test.assertEq(300.0, metadata.yResolution);
- chrome.test.assertEq("Canon", metadata.cameraMake);
- chrome.test.assertEq("Canon EOS 5D Mark II", metadata.cameraModel);
- chrome.test.assertEq(0.01, metadata.exposureTimeSeconds);
- chrome.test.assertFalse(metadata.flashFired);
- chrome.test.assertEq(3.2, metadata.fNumber);
- chrome.test.assertEq(100, metadata.focalLengthMm);
- chrome.test.assertEq(1600, metadata.isoEquivalent);
- chrome.test.succeed();
- }
-
- RunMetadataTest("test.jpg", {}, verifyMetadata);
-}
-
function MP3MIMETypeOnlyTest() {
function verifyMetadata(metadata) {
chrome.test.assertEq("audio/mpeg", metadata.mimeType);
@@ -94,8 +73,7 @@
// Should still be able to sniff MP3 MIME type without proprietary codecs.
var testsToRun = [
- ImageMIMETypeOnlyTest,
- ImageTagsTest
+ ImageMIMETypeOnlyTest
];
if (useProprietaryCodecs) {
« no previous file with comments | « trunk/src/chrome/sync_integration_tests.isolate ('k') | trunk/src/chrome/test/functional/stress.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698