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

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

Issue 8775067: Clear DNS cache and passive log collected on incognito close. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove call to IOThread::message_loop() Created 9 years 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/dns_view.js
===================================================================
--- chrome/test/data/webui/net_internals/dns_view.js (revision 112998)
+++ chrome/test/data/webui/net_internals/dns_view.js (working copy)
@@ -255,4 +255,15 @@
taskQueue.run(true);
});
+netInternalsTest.test('netInternalsDnsViewIncognitoClears', function() {
+ netInternalsTest.switchToView('dns');
+ var taskQueue = new netInternalsTest.TaskQueue(true);
+ taskQueue.addTask(netInternalsTest.getCreateIncognitoBrowserTask());
+ taskQueue.addTask(new AddCacheEntryTask(
+ 'somewhere.com', '1.2.3.4', 0, true));
+ taskQueue.addTask(netInternalsTest.getCloseIncognitoBrowserTask());
+ taskQueue.addTask(new WaitForEntryDestructionTask('somewhere.com'));
+ taskQueue.run(true);
+});
+
})(); // Anonymous namespace
« no previous file with comments | « chrome/browser/ui/webui/net_internals_ui_browsertest.cc ('k') | chrome/test/data/webui/net_internals/net_internals_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698