| Index: chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| diff --git a/chrome/browser/resources/settings/settings_ui/settings_ui.js b/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| index 162a0f0b758530cb8dbbc0ce42d635127fdd8061..f4eef891c3fb357f16f964d2680f60f4890b2b26 100644
|
| --- a/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| +++ b/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| @@ -32,6 +32,27 @@ Polymer({
|
| return !!(sessionStorage.appealClosed_ || localStorage.appealClosed_);
|
| },
|
| },
|
| +
|
| + /** @private */
|
| + appealBugUrl_: {
|
| + type: String,
|
| + value: function() {
|
| + var url =
|
| + 'https://bugs.chromium.org/p/chromium/issues/entry?' +
|
| + 'labels=Proj-MaterialDesign-WebUI,Pri-2,Type-Bug&' +
|
| + 'components=UI%3ESettings&description=';
|
| + var description =
|
| + 'What steps will reproduce the problem?\n' +
|
| + '(1) \n(2) \n(3) \n\nWhat is the expected result?\n\n\n' +
|
| + 'What happens instead?\n\n\nPlease provide any additional ' +
|
| + 'information below. Attach a screenshot if possible.\n\n';
|
| + var version = navigator.userAgent.match(/Chrom(?:e|ium)\/([\d.]+)/);
|
| + if (version)
|
| + description += 'Version: ' + version[1];
|
| + url += encodeURIComponent(description);
|
| + return url;
|
| + },
|
| + },
|
| },
|
|
|
| listeners: {
|
|
|