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

Side by Side Diff: extensions/browser/guest_view/mime_handler_view/mime_handler_view_browsertest.cc

Issue 1092163004: Ignore non-ASCII headers in the mimeHandlerPrivate API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/base_paths.h" 5 #include "base/base_paths.h"
6 #include "base/files/file_util.h" 6 #include "base/files/file_util.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/extensions/extension_apitest.h" 8 #include "chrome/browser/extensions/extension_apitest.h"
9 #include "chrome/test/base/ui_test_utils.h" 9 #include "chrome/test/base/ui_test_utils.h"
10 #include "content/public/test/browser_test_utils.h" 10 #include "content/public/test/browser_test_utils.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 RunTest("test_embedded.html"); 60 RunTest("test_embedded.html");
61 } 61 }
62 62
63 IN_PROC_BROWSER_TEST_F(MimeHandlerViewTest, Iframe) { 63 IN_PROC_BROWSER_TEST_F(MimeHandlerViewTest, Iframe) {
64 RunTest("test_iframe.html"); 64 RunTest("test_iframe.html");
65 } 65 }
66 66
67 IN_PROC_BROWSER_TEST_F(MimeHandlerViewTest, Abort) { 67 IN_PROC_BROWSER_TEST_F(MimeHandlerViewTest, Abort) {
68 RunTest("testAbort.csv"); 68 RunTest("testAbort.csv");
69 } 69 }
70
71 IN_PROC_BROWSER_TEST_F(MimeHandlerViewTest, NonAsciiHeaders) {
72 RunTest("testNonAsciiHeaders.csv");
73 }
OLDNEW
« no previous file with comments | « extensions/browser/api/mime_handler_private/mime_handler_private.cc ('k') | extensions/common/api/mime_handler.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698