From chrome://extensions/ Errors panel dpon't open when you click on the button (video inside)
Reported by
cado...@gmail.com,
Apr 24 2018
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0 Steps to reproduce the problem: 1. Go in chrome://extensions/ 2. Choose an extension with error (or just build a fake one) 3. Click on the button to open the devtools http://screencast-o-matic.com/watch/cFfZY9bXDU What is the expected behavior? Devtools open What went wrong? Devtools don't open and the console throw an error: "Unchecked runtime.lastError while running developerPrivate.openDevTools: No such renderer." Did this work before? N/A Chrome version: 66.0.3359.117 (Build officiel) (32 bits) Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 28.0 r0 Look at the screencast here that show you the error live: http://screencast-o-matic.com/watch/cFfZY9bXDU
,
Apr 25 2018
cado007@ Thanks for the issue. Request you to provide a sample extension where this issue can be reproduced which will help in further triaging of the issue. Thanks..
,
Apr 25 2018
Yes @susan.boorgula@chromium.org, , just use this attached extension in Dev mode. 1- Install the extension in dev mode 2- Click on the button extension and the errors will appear in hrome://extensions 3- Click on the button to open the devtools and nothing happen except errors in the console. Regard !
,
Apr 25 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 25 2018
That error occurred in the popup window, which doesn't exist anymore after the popup was closed. The same bug is present in Material Design chrome://extensions. As for a possible solution, I guess Chrome should either deactivate "View in devtools" action button when this error is selected or display a message somewhere that explains why it's impossible to open devtools for this error.
,
Apr 26 2018
"Chrome should either deactivate "View in devtools" action button when this error is selected or display a message somewhere that explains why it's impossible to open devtools for this error." @woxxom@gmail.com I agree with you, it was very confusing and it happen also like you said in with the polymer design.
,
Apr 26 2018
Able to reproduce this issue on reported version 66.0.3359.117 and latest canary 68.0.3406.0 with extension given in comment#3. i.e; On clicking on view in developer tools nothing happens. Observing Inconsistent behaviour as error is seen only on some builds. As issue is reproducible on latest builds marking as Untriaged. Thanks!
,
May 11 2018
Able to repro. Devlin, can you please take a look.
,
May 22 2018
Looking at the code, this does seem pretty busted. We check if the renderer is present at the time that we dispatch the event to the chrome://extensions page with the error details (including the id for the renderer), but we never monitor the renderer to make sure it sticks around. Possible paths forward: 1. Have the developerPrivate API actually monitor frame creation, deletion, and navigation for any errors that are associated with extensions, and dispatch events to the front end accordingly, having it then update whether the error is inspectable. This is the most technically correct approach, but is hard, and a very non-trivial amount of code to add. 2. Introduce a canInspect method on the developerPrivate API, and call that when the error is expanded. This would get us 75% of the way there and is much simpler to implement, but there are still broken cases (the 25%). Specifically, if the user has the same error open too long, the renderer may go away, and there may also be visible flashing of the button when querying if the view is inspectable. Additionally, the navigation case is tricky to catch here (because if the renderer navigated to the same URL, it would be transparent at this time). 3. Remove the "Open in devtools" button. Assume that the error console has done its job by recording the error, stack trace, URL, etc, and let the developer take it from there. Honestly, I'm kind of leaning towards 3. I don't know if this is a very valuable aspect of the error console, and I think it may be more effort than it's worth to get this part right. dpapad@, do you have any thoughts? (A pseudo-option 4 is to remove it for M68, when error console is going stable, and potentially add it back for a later release. For us to do that, we'd have to agree that it is worth pursuing path 1 or 2 at a future date.)
,
May 22 2018
This seems to be a duplicate IIUC. Merging the two bugs so we can continue the discussion in a single thread. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by krajshree@chromium.org
, Apr 25 2018