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

Unified Diff: chrome/test/data/extensions/api_test/wallpaper_manager/test.js

Issue 16268017: GTTF: convert some tests in chrome to use EmbeddedTestServer patch nr 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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/wallpaper_manager/test.js
diff --git a/chrome/test/data/extensions/api_test/wallpaper_manager/test.js b/chrome/test/data/extensions/api_test/wallpaper_manager/test.js
index c274617cf4717a8063e26622319434c7d4431a64..fc237ee9793bf46aa92cbe21e5b6603d932f13e5 100644
--- a/chrome/test/data/extensions/api_test/wallpaper_manager/test.js
+++ b/chrome/test/data/extensions/api_test/wallpaper_manager/test.js
@@ -33,7 +33,7 @@ chrome.test.getConfig(function(config) {
}));
},
function setOnlineJpegWallpaper() {
- var url = "http://a.com:PORT/files/extensions/api_test" +
+ var url = "http://a.com:PORT/extensions/api_test" +
"/wallpaper_manager/test.jpg";
url = url.replace(/PORT/, config.testServer.port);
requestImage(url, function(requestStatus, response) {
@@ -64,7 +64,7 @@ chrome.test.getConfig(function(config) {
}));
},
function setCustomPngWallpaper() {
- var url = "http://a.com:PORT/files/extensions/api_test" +
+ var url = "http://a.com:PORT/extensions/api_test" +
"/wallpaper_manager/test.png";
url = url.replace(/PORT/, config.testServer.port);
requestImage(url, function(requestStatus, response) {
@@ -87,7 +87,7 @@ chrome.test.getConfig(function(config) {
});
},
function setCustomJepgBadWallpaper() {
- var url = "http://a.com:PORT/files/extensions/api_test" +
+ var url = "http://a.com:PORT/extensions/api_test" +
"/wallpaper_manager/test_bad.jpg";
url = url.replace(/PORT/, config.testServer.port);
requestImage(url, function(requestStatus, response) {
@@ -102,7 +102,7 @@ chrome.test.getConfig(function(config) {
});
},
function setWallpaperFromFileSystem() {
- var url = "http://a.com:PORT/files/extensions/api_test" +
+ var url = "http://a.com:PORT/extensions/api_test" +
"/wallpaper_manager/test.jpg";
url = url.replace(/PORT/, config.testServer.port);
chrome.wallpaperPrivate.setWallpaperIfExists(url, 'CENTER_CROPPED',
@@ -115,7 +115,7 @@ chrome.test.getConfig(function(config) {
}));
},
function getAndSetThumbnail() {
- var url = "http://a.com:PORT/files/extensions/api_test" +
+ var url = "http://a.com:PORT/extensions/api_test" +
"/wallpaper_manager/test.jpg";
url = url.replace(/PORT/, config.testServer.port);
chrome.wallpaperPrivate.getThumbnail(url, 'ONLINE', pass(function(data) {

Powered by Google App Engine
This is Rietveld 408576698