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

Unified Diff: content/test/data/loader/async_resource_handler.html

Issue 2598353002: The second argument of add/removeEventListener should be an object, null, or undefined
Patch Set: Fix tests Created 3 years, 11 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: content/test/data/loader/async_resource_handler.html
diff --git a/content/test/data/loader/async_resource_handler.html b/content/test/data/loader/async_resource_handler.html
index 64b8c4d301293ee218ae3aaf8b7b56b5b54cf131..0b92be2c4c51a5057dc32d9874b7da7e795b8e29 100644
--- a/content/test/data/loader/async_resource_handler.html
+++ b/content/test/data/loader/async_resource_handler.html
@@ -35,7 +35,7 @@ function progressListener(e) {
ranProgressHandler = true;
}
-function completedUpload(e) {
+function onCompletedUpload(e) {
completedUpload = true;
}
@@ -68,7 +68,7 @@ function WaitForAsyncXHR(url, payloadSize) {
asyncXHR.addEventListener('error', onError);
asyncXHR.upload.addEventListener('progress', progressListener);
- asyncXHR.upload.addEventListener('load', completedUpload);
+ asyncXHR.upload.addEventListener('load', onCompletedUpload);
asyncXHR.open('POST', url, true);

Powered by Google App Engine
This is Rietveld 408576698