Clicking on the pretty print button throws a TypeError when no source is displayed within the Sources editor. This happens because we try to get the URL of the currently edited source when notifying the user metrics about turning on pretty print, without checking whether there actually is one.
Created attachment 194704 [details] Added an existence check.
Attachment 194704 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/inspector/front-end/ScriptsPanel.js']" exit_code: 1 Source/WebCore/ChangeLog:11: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 194706 [details] Fixed the change log.
Comment on attachment 194706 [details] Fixed the change log. Clearing flags on attachment: 194706 Committed r146749: <http://trac.webkit.org/changeset/146749>
All reviewed patches have been landed. Closing bug.