Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/tests/notification.js

Issue 4848713646211072: Issue 537 - Consider changes made for marking first few downloads (Closed)
Patch Set: Created Nov. 11, 2014, 6:01 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/notification.js
===================================================================
--- a/chrome/content/tests/notification.js
+++ b/chrome/content/tests/notification.js
@@ -264,7 +264,7 @@
testRunner.runScheduledTasks(1);
equal(parameters,
- "addonName=adblockpluschrome&addonVersion=1.4.1&application=chrome&applicationVersion=27.0&platform=chromium&platformVersion=12.0&lastVersion=3",
+ "addonName=adblockpluschrome&addonVersion=1.4.1&application=chrome&applicationVersion=27.0&platform=chromium&platformVersion=12.0&lastVersion=3&downloadCount=0",
"The correct parameters are sent to the server");
});
@@ -341,7 +341,7 @@
let responseText = JSON.stringify({
notifications: [severityNotification]
});
- Notification._onDownloadSuccess(null, responseText, function() {}, function() {});
+ Notification._onDownloadSuccess({}, responseText, function() {}, function() {});
});
test("URL-specific notification", function()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld