Chromium Code Reviews| Index: chrome/test/data/webui/ntp4.js |
| diff --git a/chrome/test/data/webui/ntp4.js b/chrome/test/data/webui/ntp4.js |
| index a4a020802584e0f437a281a5dad65bf64fadedf7..02cf5747f50e02925de7e048d4fac5011002d302 100644 |
| --- a/chrome/test/data/webui/ntp4.js |
| +++ b/chrome/test/data/webui/ntp4.js |
| @@ -36,7 +36,7 @@ TEST_F('NTP4WebUITest', 'FLAKY_NTPHasThumbnails', function() { |
| assertEquals(8, mostVisited.length, 'There should be 8 most visited tiles.'); |
| var apps = document.querySelectorAll('.app'); |
| - if (window.templateData.showApps) |
| + if (window.loadTimeData['showApps']) |
|
Dan Beam
2012/04/25 23:13:12
er, what? shouldn't this be loadTimeData.getBoolea
Evan Stade
2012/04/26 00:44:56
correct question is why am I not using getBoolean.
|
| assertGE(apps.length, 1, 'There should be at least one app.'); |
| else |
| assertEquals(0, apps.length, 'There should be no apps.'); |
| @@ -44,7 +44,7 @@ TEST_F('NTP4WebUITest', 'FLAKY_NTPHasThumbnails', function() { |
| TEST_F('NTP4WebUITest', 'NTPHasNavDots', function() { |
| var navDots = document.querySelectorAll('.dot'); |
| - if (window.templateData.showApps) |
| + if (window.loadtimeData['showApps']) |
| assertGE(navDots.length, 2, 'There should be at least two navdots.'); |
| else |
| assertEquals(1, navDots.length, 'There should be exactly one navdot.'); |