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

Unified Diff: remoting/webapp/unittests/test_eventSource.js

Issue 376803005: JavaScript unit test framework for Chrome remote desktop - Part II (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « remoting/webapp/html/template_unittest.html ('k') | third_party/qunit/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/unittests/test_eventSource.js
diff --git a/remoting/webapp/unittests/test_eventSource.js b/remoting/webapp/unittests/test_eventSource.js
index cb18887f5ba806e198d5053d063e69275fbf8b2e..f148ab628879790e8ab342e996a894c0ad8fe6e8 100644
--- a/remoting/webapp/unittests/test_eventSource.js
+++ b/remoting/webapp/unittests/test_eventSource.js
@@ -76,7 +76,6 @@ module('base.EventSource.removeEventListener', {
test('should not invoke the listener in subsequent calls to |raiseEvent|',
function() {
- var numCalled = 0;
listener = sinon.spy();
source.addEventListener('foo', listener);
@@ -90,7 +89,6 @@ test('should not invoke the listener in subsequent calls to |raiseEvent|',
test('should work even if the listener is removed during |raiseEvent|',
function() {
- var numCalled = 0;
var sink = {};
sink.listener = sinon.spy(function() {
source.removeEventListener('foo', sink.listener);
« no previous file with comments | « remoting/webapp/html/template_unittest.html ('k') | third_party/qunit/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698