Index: chrome/test/data/extensions/api_test/wallpaper/test.js |
diff --git a/chrome/test/data/extensions/api_test/wallpaper/test.js b/chrome/test/data/extensions/api_test/wallpaper/test.js |
index bc1a845841b98f4a274f4573806f8abf5dc31e51..827ceab3c6730c52bb6962d0436d6f53f1633af6 100644 |
--- a/chrome/test/data/extensions/api_test/wallpaper/test.js |
+++ b/chrome/test/data/extensions/api_test/wallpaper/test.js |
@@ -25,9 +25,9 @@ chrome.test.getConfig(function(config) { |
wallpaperRequest.onloadend = function(e) { |
if (wallpaperRequest.status === 200) { |
chrome.wallpaper.setWallpaper( |
- {'wallpaperData': wallpaperRequest.response, |
+ {'data': wallpaperRequest.response, |
'layout': 'CENTER_CROPPED', |
- 'name': 'test'}, |
+ 'filename': 'test'}, |
// Set wallpaper directly with an arraybuffer should pass. |
pass() |
); |
@@ -56,7 +56,7 @@ chrome.test.getConfig(function(config) { |
chrome.wallpaper.setWallpaper( |
{'url': url, |
'layout': 'CENTER_CROPPED', |
- 'name': 'test'}, |
+ 'filename': 'test'}, |
// A valid url should set wallpaper correctly. |
pass() |
); |
@@ -68,7 +68,7 @@ chrome.test.getConfig(function(config) { |
chrome.wallpaper.setWallpaper( |
{'url': url, |
'layout': 'CENTER_CROPPED', |
- 'name': 'test'}, |
+ 'filename': 'test'}, |
// Expect a failure. |
fail(optExpectedError)); |
} |