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

Unified Diff: chrome/test/data/extensions/api_test/networking/test.js

Issue 231173005: Revert of Added event to networkingPrivate extension that portal detection is completed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « chrome/common/extensions/api/networking_private.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/networking/test.js
diff --git a/chrome/test/data/extensions/api_test/networking/test.js b/chrome/test/data/extensions/api_test/networking/test.js
index 0abb9e5f81c541a8846cf3e3f1432ca1c9fe4426..500bc063987da4e03dcdd0ac5fe2d2eaeda08186 100644
--- a/chrome/test/data/extensions/api_test/networking/test.js
+++ b/chrome/test/data/extensions/api_test/networking/test.js
@@ -55,20 +55,6 @@
self.listenForChanges);
done();
};
- },
- watchForCaptivePortalState: function(expectedNetworkPath,
- expectedState,
- done) {
- var self = this;
- this.onPortalDetectionCompleted = function(networkPath, state) {
- assertEq(expectedNetworkPath, networkPath);
- assertEq(expectedState, state);
- chrome.networkingPrivate.onPortalDetectionCompleted.removeListener(
- self.onPortalDetectionCompleted);
- done();
- };
- chrome.networkingPrivate.onPortalDetectionCompleted.addListener(
- self.onPortalDetectionCompleted);
}
};
@@ -411,13 +397,7 @@
assertEq(expectedStatus, status);
}));
});
- },
- function captivePortalNotification() {
- var done = chrome.test.callbackAdded();
- var listener =
- new privateHelpers.watchForCaptivePortalState('wifi', 'Online', done);
- chrome.test.sendMessage('notifyPortalDetectorObservers');
- },
+ }
];
var testToRun = window.location.search.substring(1);
« no previous file with comments | « chrome/common/extensions/api/networking_private.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698