[fuchsia] Add support for remote_debugging_port in CreateContextParams.
* Implement Frame.GetRemoteDebuggingPort.
* Move all remote debugging handling in the Context process to
WebEngineRemoteDebugging.
* Change the debug DevTools behavior to not fallback on attempting to
listen on IPv6 localhost in case of failure on IPv4 localhost.
* Refactor the GetDevToolsListFromPort() test utility out of
WebEngineDebugIntegrationTest to be shared with
WebEngineIntegrationTest.
* Fix a potential issue when the DevTools service fails to start and
the debug DevTools listeners were not notified. In ContextImpl, the
OnDevToolsPortReady() callback was only called when the DevTools
service opened. It is now systematically called during browser
process start-up and |devtools_port_received_| keeps track of that
call in ContextImpl, rather than assuming a 0 value for
|devtools_port_| means the service start was never requested.
Bug: 973268
Change-Id: I58d15c0656ebe1adfe6c254e4aefc0c7bfd54176
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670441
Reviewed-by: Dirk Pranke <[email protected]>
Reviewed-by: Sergey Ulanov <[email protected]>
Commit-Queue: Fabrice de Gans-Riberi <[email protected]>
Cr-Commit-Position: refs/heads/master@{#676208}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index fda251c5..e005b27 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -1007,7 +1007,7 @@
r'.*_ios\.(cc|h)$',
r'^net[\\/].*\.(cc|h)$',
r'.*[\\/]tools[\\/].*\.(cc|h)$',
- r'^fuchsia/engine/web_engine_debug_integration_test\.cc$',
+ r'^fuchsia/engine/test_devtools_list_fetcher\.cc$',
),
),
(