Bug 152402

Summary: Web Inspector: improve pre-filled bugzilla link on Uncaught Exception reporter sheet
Product: WebKit Reporter: Blaze Burg <bburg>
Component: Web InspectorAssignee: Blaze Burg <bburg>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed Fix joepeck: review+, bburg: commit-queue-

Blaze Burg
Reported 2015-12-17 15:38:44 PST
- Include the inspected page URL - Include a better bug template
Attachments
Proposed Fix (3.48 KB, patch)
2015-12-17 16:01 PST, Blaze Burg
joepeck: review+
bburg: commit-queue-
Blaze Burg
Comment 1 2015-12-17 16:01:39 PST
Created attachment 267592 [details] Proposed Fix
Blaze Burg
Comment 2 2015-12-17 16:04:05 PST
New pre-filled bugzilla description looks like: ------- Auto-generated details: Inspected URL: https://www.mozilla.org/en-US/firefox/new/ Loading completed: true Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/602.1.15+ (KHTML, like Gecko) Uncaught exceptions: - TypeError: InspectorFrontendHost.zoomFactor is not a function. (In 'InspectorFrontendHost.zoomFactor()', 'InspectorFrontendHost.zoomFactor' is an instance of Object) (at Main.js:1907:55) ------- * STEPS TO REPRODUCE 1. What were you doing? Include setup or other preparations to reproduce the exception. 2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps. * NOTES Document any additional information that might be useful in resolving the problem, such as screen shots or other included attachments.
Joseph Pecoraro
Comment 3 2015-12-17 16:29:44 PST
Comment on attachment 267592 [details] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=267592&action=review r=me > Source/WebInspectorUI/UserInterface/Debug/UncaughtExceptionReporter.js:150 > +Loading completed: ${loadCompleted ? "true" : "false"} This can just be ${!!loadCompleted}. The boolean will stringily as expected. > Source/WebInspectorUI/UserInterface/Debug/UncaughtExceptionReporter.js:151 > +Frontend User Agent: ${window.navigator.userAgent} I'm not sure the user agent gives much value.
Timothy Hatcher
Comment 4 2015-12-17 19:21:48 PST
Comment on attachment 267592 [details] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=267592&action=review >> Source/WebInspectorUI/UserInterface/Debug/UncaughtExceptionReporter.js:151 >> +Frontend User Agent: ${window.navigator.userAgent} > > I'm not sure the user agent gives much value. It lets us know the Safari/WebKit version. Though window.navigator.appVersion is likely better as it leave out some of the cruft.
Radar WebKit Bug Importer
Comment 5 2015-12-27 14:55:00 PST
Blaze Burg
Comment 6 2015-12-27 19:01:28 PST
Note You need to log in before you can comment on or make changes to this bug.