Aadding Navigation Throttles to devtools
Extends the devtools Page domain with commands to generate and
manage Navigation Throttles. This functionality will be useful
for WebDriver style test frameworks and is needed for Headless
Chrome.
If enabled by Page.setControlNavigations a Page.navigationRequested
event will be fired if the main frame or a child frame attempts to
navigate, or it receives a server side redirect. The navigation will
be deferred until a corresponding Page.processNavigation command is sent
in response.
BUG=546953
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2132673002
Cr-Commit-Position: refs/heads/master@{#405866}
13 files changed