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

Unified Diff: chrome/test/data/webui/net_internals/net_internals_test.js

Issue 7558011: Finish deflaking the net-internals prerender view test and split it in two. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Update comments. Created 9 years, 4 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: chrome/test/data/webui/net_internals/net_internals_test.js
===================================================================
--- chrome/test/data/webui/net_internals/net_internals_test.js (revision 95849)
+++ chrome/test/data/webui/net_internals/net_internals_test.js (working copy)
@@ -21,8 +21,8 @@
// Start of namespace.
var netInternalsTest = (function() {
/**
- * Use a shorter poll interval for tests, since a few tests wait for polled
- * values to change.
+ * A shorter poll interval is used for tests, since a few tests wait for
+ * polled values to change.
* @type {number}
* @const
*/
@@ -161,6 +161,7 @@
BrowserBridge.prototype.receive.apply(g_browser, arguments);
});
+ g_browser.setPollInterval(TESTING_POLL_INTERVAL_MS);
createTestFunction(testName, tests[testName]).apply(null, testArguments);
}

Powered by Google App Engine
This is Rietveld 408576698