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

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

Issue 1378123003: Adding SSL ETS Tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ets
Patch Set: Rebase. Created 5 years, 2 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/test/data/webui/net_internals/prerender_view.js ('k') | chrome/test/nacl/nacl_browsertest_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f1878ac67946ef694f6e767211559c304ad10838..d79b8a0e064843b9844ba7b131803cac88986fcd 100644
--- a/chrome/test/data/webui/net_internals/sdch_view.js
+++ b/chrome/test/data/webui/net_internals/sdch_view.js
@@ -12,7 +12,7 @@ GEN_INCLUDE(['net_internals_test.js']);
// content from the different origin. Otherwise favicon requests for the main
// page domain would spoil SDCH blacklists counters making test behavior hardly
// predicatble.
-var BASE_PATH = 'files/sdch/base-page.html?iframe_url=';
+var BASE_PATH = '/sdch/base-page.html?iframe_url=';
/**
* Checks the display on the SDCH tab against the information it should be
@@ -100,7 +100,7 @@ LoadSdchDictionaryTask.prototype = {
expectEquals(1, testDict.length);
var dict = testDict[0];
expectEquals('/', dict.path);
- expectTrue(dict.url.indexOf('/files/sdch/dict') !== -1);
+ expectTrue(dict.url.indexOf('/sdch/dict') !== -1);
var tableId = SdchView.DICTIONARIES_TBODY_ID;
var domain = NetInternalsTest.getTbodyText(tableId, 0, 0);
@@ -182,7 +182,7 @@ TEST_F('NetInternalsTest', 'netInternalsSdchViewFetchDictionary', function() {
var taskQueue = new NetInternalsTest.TaskQueue(true);
taskQueue.addTask(
new NetInternalsTest.GetTestServerURLTask(
- BASE_PATH + encodeURI('/files/sdch/page.html')));
+ BASE_PATH + encodeURI('/sdch/page.html')));
taskQueue.addTask(new LoadSdchDictionaryTask());
taskQueue.run();
});
@@ -195,11 +195,11 @@ TEST_F('NetInternalsTest', 'netInternalsSdchViewBlacklistMeta', function() {
var taskQueue = new NetInternalsTest.TaskQueue(true);
taskQueue.addTask(
new NetInternalsTest.GetTestServerURLTask(
- BASE_PATH + encodeURI('/files/sdch/page.html')));
+ BASE_PATH + encodeURI('/sdch/page.html')));
taskQueue.addTask(new LoadSdchDictionaryTask());
taskQueue.addTask(
new NetInternalsTest.GetTestServerURLTask(
- BASE_PATH + encodeURI('/files/sdch/non-html')));
+ BASE_PATH + encodeURI('/sdch/non-html')));
taskQueue.addTask(
new LoadPageWithDecodeErrorTask('META_REFRESH_UNSUPPORTED'));
taskQueue.run();
@@ -212,7 +212,7 @@ TEST_F('NetInternalsTest', 'netInternalsSdchViewBlacklistNonSdch', function() {
var taskQueue = new NetInternalsTest.TaskQueue(true);
taskQueue.addTask(
new NetInternalsTest.GetTestServerURLTask(
- BASE_PATH + encodeURI('/files/sdch/non-sdch.html')));
+ BASE_PATH + encodeURI('/sdch/non-sdch.html')));
taskQueue.addTask(
new LoadPageWithDecodeErrorTask('PASSING_THROUGH_NON_SDCH'));
taskQueue.run();
« no previous file with comments | « chrome/test/data/webui/net_internals/prerender_view.js ('k') | chrome/test/nacl/nacl_browsertest_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698