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

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

Issue 2785493003: Disable SDCH by Default (Closed)
Patch Set: Clean up IOS compilation errors and remove from IOS OTR profile. Created 3 years, 9 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/sdch_view.js
diff --git a/chrome/test/data/webui/net_internals/sdch_view.js b/chrome/test/data/webui/net_internals/sdch_view.js
index d79b8a0e064843b9844ba7b131803cac88986fcd..53ee8479a048eec6760b7226b1eb54c8500940dc 100644
--- a/chrome/test/data/webui/net_internals/sdch_view.js
+++ b/chrome/test/data/webui/net_internals/sdch_view.js
@@ -174,48 +174,4 @@ LoadPageWithDecodeErrorTask.prototype = {
}
};
-/**
- * Load a page, which results in downloading a SDCH dictionary. Make sure its
- * data is displayed.
- */
-TEST_F('NetInternalsTest', 'netInternalsSdchViewFetchDictionary', function() {
- var taskQueue = new NetInternalsTest.TaskQueue(true);
- taskQueue.addTask(
- new NetInternalsTest.GetTestServerURLTask(
- BASE_PATH + encodeURI('/sdch/page.html')));
- taskQueue.addTask(new LoadSdchDictionaryTask());
- taskQueue.run();
-});
-
-/**
- * Load a page, get the dictionary for it, and get decoding error to see
- * the blacklist in action.
- */
-TEST_F('NetInternalsTest', 'netInternalsSdchViewBlacklistMeta', function() {
- var taskQueue = new NetInternalsTest.TaskQueue(true);
- taskQueue.addTask(
- new NetInternalsTest.GetTestServerURLTask(
- BASE_PATH + encodeURI('/sdch/page.html')));
- taskQueue.addTask(new LoadSdchDictionaryTask());
- taskQueue.addTask(
- new NetInternalsTest.GetTestServerURLTask(
- BASE_PATH + encodeURI('/sdch/non-html')));
- taskQueue.addTask(
- new LoadPageWithDecodeErrorTask('META_REFRESH_UNSUPPORTED'));
- taskQueue.run();
-});
-
-/**
- * Load a page, which is said to be SDCH-encoded, though we don't expect it.
- */
-TEST_F('NetInternalsTest', 'netInternalsSdchViewBlacklistNonSdch', function() {
- var taskQueue = new NetInternalsTest.TaskQueue(true);
- taskQueue.addTask(
- new NetInternalsTest.GetTestServerURLTask(
- BASE_PATH + encodeURI('/sdch/non-sdch.html')));
- taskQueue.addTask(
- new LoadPageWithDecodeErrorTask('PASSING_THROUGH_NON_SDCH'));
- taskQueue.run();
-});
-
})(); // Anonymous namespace
« no previous file with comments | « chrome/test/data/webui/net_internals/log_util.js ('k') | ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698