RESOLVED FIXED 89396
Show TOT revision in garden-o-matic, and make the revisions into links
https://bugs.webkit.org/show_bug.cgi?id=89396
Summary Show TOT revision in garden-o-matic, and make the revisions into links
Simon Fraser (smfr)
Reported 2012-06-18 15:50:13 PDT
Show TOT revision in garden-o-matic, and make the revisions into links
Attachments
Patch (3.76 KB, patch)
2012-06-18 15:51 PDT, Simon Fraser (smfr)
no flags
Patch (20.24 KB, patch)
2012-06-18 17:42 PDT, Simon Fraser (smfr)
abarth: review+
Simon Fraser (smfr)
Comment 1 2012-06-18 15:51:41 PDT
Adam Barth
Comment 2 2012-06-18 15:54:42 PDT
Comment on attachment 148192 [details] Patch Please don't use string concatentation to build DOM.
Adam Barth
Comment 3 2012-06-18 15:55:18 PDT
Comment on attachment 148192 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=148192&action=review > Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:87 > - this._what.textContent = message; > + this._what.innerHTML = message; We don't use innerHTML in garden-o-matic because it leads to XSS.
Dirk Pranke
Comment 4 2012-06-18 16:34:03 PDT
See, I knew I shouldn't be reviewing js-side changes :(.
Simon Fraser (smfr)
Comment 5 2012-06-18 17:42:43 PDT
Adam Barth
Comment 6 2012-06-18 17:46:24 PDT
Comment on attachment 148213 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=148213&action=review Thanks. Sorry about the overhead of the (lame) HTML-based unit tests. > Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:85 > + function markupForRevision(revision) > + { > + return '<a href=' + trac.changesetURL(revision) + '>' + revision + '</a>'; > + } This function seems unused now. > Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:91 > + // this._what.removeAllChildren(); Please remove commented out code.
Simon Fraser (smfr)
Comment 7 2012-06-18 18:03:22 PDT
Note You need to log in before you can comment on or make changes to this bug.