New issue
Advanced search Search tips

Issue 854472 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Webview wants to open a devtool

Reported by raxim...@gmail.com, Jun 20 2018

Issue description

Steps to reproduce the problem:
1) create an angular cli project https://cli.angular.io/
2) add capacitor to it
3) run on the device looking for logcat in android studio 3.1.3

What is the expected behavior?

What went wrong?
Why Webview would like to open a devtool?

E/chromium: [ERROR:devtools_http_handler.cc(292)] Cannot start http server for devtools. Stop devtools.

Did this work before? N/A 

Chrome version: 67.0.3396.87  Channel: stable
OS Version: 6.0.1
Flash Version:
 

Comment 1 by raxim...@gmail.com, Jun 20 2018

mobile.log
19.7 KB View Download
Components: Mobile>WebView

Comment 3 by torne@chromium.org, Jun 20 2018

This is just log spam, it's not doing anything it shouldn't be. We should clean it up, but it doesn't have any impact on your application.

Comment 4 by torne@chromium.org, Jun 20 2018

Labels: -Pri-2 Pri-3
Owner: torne@chromium.org
Status: Started (was: Unconfirmed)
Project Member

Comment 5 by bugdroid1@chromium.org, Jun 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f8bf19aa0fab94ddb9df9b27fbddfc17d998f4e7

commit f8bf19aa0fab94ddb9df9b27fbddfc17d998f4e7
Author: Torne (Richard Coles) <torne@google.com>
Date: Wed Jun 27 18:45:14 2018

Allow the devtools socket to have no address.

Don't print an error message if the address is invalid on Android,
because Android uses UNIX domain sockets, which don't have an IP
address.

Bug:  854472 
Change-Id: I169450b658fb22e036e70182dabc4e6193feacad
Reviewed-on: https://chromium-review.googlesource.com/1108754
Commit-Queue: Richard Coles <torne@chromium.org>
Reviewed-by: Pavel Feldman <pfeldman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570852}
[modify] https://crrev.com/f8bf19aa0fab94ddb9df9b27fbddfc17d998f4e7/content/browser/devtools/devtools_http_handler.cc

Comment 6 by torne@chromium.org, Jun 27 2018

Status: Fixed (was: Started)
Future versions of webview won't have this misleading error message.

Sign in to add a comment