RESOLVED FIXED 56030
Leaks Viewer: Would like to be able to look at all leaks files from a particular build at once, rather than one at a time
https://bugs.webkit.org/show_bug.cgi?id=56030
Summary Leaks Viewer: Would like to be able to look at all leaks files from a particu...
Adam Roben (:aroben)
Reported 2011-03-09 10:58:54 PST
The Leaks Viewer can currently only look at one leak file at a time. But it would be very useful to be able to look at the combined view of all leaks files from a particular build at once.
Attachments
Make it possible to view all leaks from a build at once in Leaks Viewer (26.12 KB, patch)
2011-03-11 10:03 PST, Adam Roben (:aroben)
ddkilzer: review+
Adam Roben (:aroben)
Comment 1 2011-03-10 14:26:56 PST
I have a patch for this that seems to be working. It would be nice if we displayed how many leaks files we have left to load, though. And for some reason Leaks Viewer only reports 10341 leaks for <http://build.webkit.org/builders/SnowLeopard%20Intel%20Leaks/builds/15471>, even though run-webkit-tests says there are 10342.
Adam Roben (:aroben)
Comment 2 2011-03-11 10:03:24 PST
Created attachment 85486 [details] Make it possible to view all leaks from a build at once in Leaks Viewer
David Kilzer (:ddkilzer)
Comment 3 2011-03-11 10:43:09 PST
Comment on attachment 85486 [details] Make it possible to view all leaks from a build at once in Leaks Viewer View in context: https://bugs.webkit.org/attachment.cgi?id=85486&action=review r=me > Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html:58 > + <script src=LeaksLoader.js></script> > + <script src=LeaksParser.js></script> > <script src=LeaksViewer.js></script> > + <script src=Utilities.js></script> Nit: You should really use double-quotes around the value of the src attributes. > Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html:65 > + <span id=loading-indicator-label>Loading&hellip;</span> Nit: And around the id attribute.
Adam Roben (:aroben)
Comment 4 2011-03-11 10:44:44 PST
Comment on attachment 85486 [details] Make it possible to view all leaks from a build at once in Leaks Viewer View in context: https://bugs.webkit.org/attachment.cgi?id=85486&action=review >> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html:58 >> + <script src=Utilities.js></script> > > Nit: You should really use double-quotes around the value of the src attributes. Is that a stylistic preference? Or is there a practical problem?
David Kilzer (:ddkilzer)
Comment 5 2011-03-11 10:45:31 PST
(In reply to comment #4) > (From update of attachment 85486 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=85486&action=review > > >> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html:58 > >> + <script src=Utilities.js></script> > > > > Nit: You should really use double-quotes around the value of the src attributes. > > Is that a stylistic preference? Or is there a practical problem? I thought it was a best practice. Looks strange to me without quotes. Does HTML5 not "require" this?
Adam Roben (:aroben)
Comment 6 2011-03-11 10:52:01 PST
(In reply to comment #5) > (In reply to comment #4) > > (From update of attachment 85486 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=85486&action=review > > > > >> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html:58 > > >> + <script src=Utilities.js></script> > > > > > > Nit: You should really use double-quotes around the value of the src attributes. > > > > Is that a stylistic preference? Or is there a practical problem? > > I thought it was a best practice. Looks strange to me without quotes. Does HTML5 not "require" this? It does not require it. (You can test on validator.nu.)
Adam Roben (:aroben)
Comment 7 2011-03-11 11:00:02 PST
Simon Fraser (smfr)
Comment 8 2011-03-11 11:39:11 PST
I tried this and it failed with "TypeError: Cannot post cyclic structures."
Adam Roben (:aroben)
Comment 9 2011-03-11 11:55:11 PST
(In reply to comment #8) > I tried this and it failed with "TypeError: Cannot post cyclic structures." That is bug 56090. (Leaks Viewer still doesn't work with Safari 5, it turns out.)
Note You need to log in before you can comment on or make changes to this bug.