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

Unified Diff: chrome/test/data/extensions/api_test/media_galleries/read_access/test.js

Issue 1803883002: Reland: Media Galleries Partial Deprecation: Remove image metadata & libexif. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a remnant on MacOSX official build Created 4 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
Index: chrome/test/data/extensions/api_test/media_galleries/read_access/test.js
diff --git a/chrome/test/data/extensions/api_test/media_galleries/read_access/test.js b/chrome/test/data/extensions/api_test/media_galleries/read_access/test.js
index 561677ab829b07c0740fce8162f5d9ce1388fa80..9e5909d0093b7f3e9050e4dc11fd2d2acd38fea4 100644
--- a/chrome/test/data/extensions/api_test/media_galleries/read_access/test.js
+++ b/chrome/test/data/extensions/api_test/media_galleries/read_access/test.js
@@ -42,28 +42,6 @@ function ReadFileToBytesTest() {
TestFirstFilesystem(verifyFilesystem);
}
-function GetMetadataTest() {
- function verifyFilesystem(filesystem) {
- filesystem.root.getFile("test.jpg", {create: false}, verifyFileEntry,
- chrome.test.fail);
- }
-
- function verifyFileEntry(fileEntry) {
- fileEntry.file(verifyFile, chrome.test.fail)
- }
-
- function verifyFile(file) {
- mediaGalleries.getMetadata(file, {}, verifyMetadata);
- }
-
- function verifyMetadata(metadata) {
- chrome.test.assertEq("image/jpeg", metadata.mimeType);
- chrome.test.succeed();
- }
-
- TestFirstFilesystem(verifyFilesystem);
-}
-
function GetMediaFileSystemMetadataTest() {
function verifyFilesystem(filesystem) {
var metadata = mediaGalleries.getMediaFileSystemMetadata(filesystem);
@@ -83,7 +61,6 @@ chrome.test.getConfig(function(config) {
chrome.test.runTests([
ReadDirectoryTest,
ReadFileToBytesTest,
- GetMetadataTest,
GetMediaFileSystemMetadataTest,
]);
})
« no previous file with comments | « chrome/test/data/extensions/api_test/media_galleries/media_metadata/test.js ('k') | chrome/tools/build/chromeos/FILES.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698