Commit 85ce2d54 authored by Karan Bhatia's avatar Karan Bhatia Committed by Commit Bot

DNR: Remove test code exception for renderer side navigation.

This CL removes special exceptions made for renderer side navigation for the
DeclarativeNetRequestResourceTypeBrowserTest. This is no longer needed as
renderer side navigation is deprecated.

BUG=696822

Change-Id: I8ef1c2cae5efdbeded1a9d715fbd26b3acb884c7
Reviewed-on: https://chromium-review.googlesource.com/1056495Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Commit-Queue: Karan Bhatia <karandeepb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558904}
parent 197a3b25
...@@ -1485,17 +1485,11 @@ class DeclarativeNetRequestResourceTypeBrowserTest ...@@ -1485,17 +1485,11 @@ class DeclarativeNetRequestResourceTypeBrowserTest
{"block_websocket.com", 7, {"websocket"}, {}}, {"block_websocket.com", 7, {"websocket"}, {}},
{"block_image_and_stylesheet.com", 8, {"image", "stylesheet"}, {}}, {"block_image_and_stylesheet.com", 8, {"image", "stylesheet"}, {}},
{"block_subframe_and_xhr.com", 11, {"sub_frame", "xmlhttprequest"}, {}}, {"block_subframe_and_xhr.com", 11, {"sub_frame", "xmlhttprequest"}, {}},
// With renderer side navigation, the main frame origin serves as the {"block_all.com", 9, {}, {}},
// initiator for main frame page loads. Hence to ensure that the main
// frame page load is not blocked, also exclude the "other" resource
// type, which is used for main frame requests currently.
// TODO(crbug.com/696822): Change "other" to "main_frame" once it is
// implemented.
{"block_all.com", 9, {}, {"other"}},
{"block_all_but_xhr_and_script.com", {"block_all_but_xhr_and_script.com",
10, 10,
{}, {},
{"xmlhttprequest", "script", "other"}}, {"xmlhttprequest", "script"}},
}; };
std::vector<TestRule> rules; std::vector<TestRule> rules;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment