mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add NetworkService support for chrome and chrome-devtools schemes (see issue #2622).
Known behavior changes: - Unsupported chrome hosts no longer redirect to chrome://version. To test: All tests pass with NetworkService disabled. WebUITest.* and V8Test.* tests pass with NetworkService enabled.
This commit is contained in:
@@ -123,16 +123,6 @@ class WebUITestHandler : public TestHandler {
|
||||
|
||||
// Test hosts with special behaviors.
|
||||
|
||||
// Non-existing URLs should redirect to chrome://version/.
|
||||
TEST(WebUITest, doesnotexist) {
|
||||
UrlList url_list;
|
||||
url_list.push_back("chrome://doesnotexist/");
|
||||
CefRefPtr<WebUITestHandler> handler = new WebUITestHandler(url_list);
|
||||
handler->set_expected_url("chrome://version/");
|
||||
handler->ExecuteTest();
|
||||
ReleaseAndWaitForDestructor(handler);
|
||||
}
|
||||
|
||||
// about:* URIs should redirect to chrome://*.
|
||||
TEST(WebUITest, about) {
|
||||
UrlList url_list;
|
||||
|
Reference in New Issue
Block a user