Issue metadata
Sign in to add a comment
|
"Errors" dialog label and "Collect errors" label in chrome://extensions are a bit confusing
Reported by
behindth...@gmail.com,
Jul 10 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Steps to reproduce the problem: 1. Create an extension that adds a chrome.runtime.onInstalled listener. The listener should call console.log() 2. Install the extension as an unpacked extension. What is the expected behavior? There should be no errors reported in the Collect Errors dialog on the Extension page. What went wrong? There is an error reported in the Collect Errors dialog on the Extension page. The error message is the text that was passed to console.log() Did this work before? N/A Chrome version: 61.0.3152.0 Channel: canary OS Version: 10.0 Flash Version: The attachment is a sample extension to demonstrate the error.
,
Jul 10 2017
The "errors" dialog was always doing it. Sometimes it's useful, so a practical solution is to rename the label to "errors and messages".
,
Jul 10 2017
,
Jul 11 2017
@sandeepkumars, it appears from that screen cast that you're using Chrome Stable. This issue only occurs on dev builds (I was using Canary). This is because the issue is not with the standard console on the background page, but rather with the Collect Errors dialog that is launched by clicking the Errors link on the Extension page. This feature is only available in dev builds. @woxxom, that's a good suggestion. I didn't realize this might have been by design. If yes, there should be some documentation about it. I was actually unable to find any documentation about this at all.
,
Jul 11 2017
Thank you for providing more feedback. Adding requester "sandeepkumars@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 14 2017
,
Jul 18 2017
Somehow, didn't observe the Collect Errors for the above extension attached on the chrome version: 61.0.3152.0.
,
Jul 18 2017
@a... It looks from your screenshot that you're using Chromium Stable. As I mentioned in #4, I believe that the Collect Errors feature is only available in dev builds.
,
Jul 20 2017
Able to reproduce this issue(as in attached screen shot) on Win-10 using chromium reported version #61.0.3152.0 and latest chromium version #61.0.3161.0. This is a non-regression issue as it is observed from M58 old builds. Note: The extension doesn't get installed in builds older than M58. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Jul 20 2017
@krajshree The reason it doesn't install in builds earlier than v58 is because I mistakenly put in the "minimum_chrome_version": "58" option in the manifest. Here's a sample without it, that should work on all versions.
,
Jul 21 2017
@woxxom's https://bugs.chromium.org/p/chromium/issues/detail?id=740404#c2 is the correct explanation. I'm going to rename this bug to consider renaming the dialog and checkbox label to point out that this refers to messages/logs and errors. @behindthemath, your suggestion about documentation sounds good, where do you think in https://developer.chrome.com/extensions would be a good place to put this? Two issues to summarize: 1. "Errors" dialog label is a bit misleading, it shows logs (console.log) beside any errors. Perhaps rename them to reflect that?: e.g. "Logs and errors". Similarly "Collect errors" checkbox label can be renamed. 2. We should document this somewhere in https://developer.chrome.com/extensions Though I can guess it will be low priority to fix...
,
Jul 23 2017
@lazyboy Thank you for the clarification. How about putting a note on the Debugging Tutorial page (https://developer.chrome.com/extensions/tut_debugging) about this feature? Something along the lines of, "To aid in debugging, you can use a dev build of Chrome, which has a Logs and Errors feature", with some more detail about how it works.
,
Jun 1 2018
Should probably be fixed now. Refer issue 837401 . |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by sandeepkumars@chromium.org
, Jul 10 20172.8 MB
2.8 MB View Download