RESOLVED FIXED66200
Switch results detail view over to new-style object-oriented UI widgets
https://bugs.webkit.org/show_bug.cgi?id=66200
Summary Switch results detail view over to new-style object-oriented UI widgets
Adam Barth
Reported 2011-08-13 19:22:17 PDT
Switch results detail view over to new-style object-oriented UI widgets
Attachments
Patch (14.56 KB, patch)
2011-08-13 19:26 PDT, Adam Barth
dglazkov: review+
Adam Barth
Comment 1 2011-08-13 19:26:19 PDT
Dimitri Glazkov (Google)
Comment 2 2011-08-13 20:32:08 PDT
Comment on attachment 103870 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=103870&action=review Cool! I am happy you like extensible DOM objects :) > Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:62 > +<script src="ui/results.js"></script> I was wondering if we could put scripts in scripts/ directory: scripts/ui/results.js. Similarly styles would go to styles/, and images to images/. > Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui/results.js:101 > + var self = this; // I bet dglazkov knows how to avoid this ickiness. you can add use Function.bind(this) --> function(...) { ... }.bind(this) in decl.
Adam Barth
Comment 3 2011-08-13 21:25:25 PDT
(In reply to comment #2) > (From update of attachment 103870 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=103870&action=review > > > Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:62 > > +<script src="ui/results.js"></script> > > I was wondering if we could put scripts in scripts/ directory: scripts/ui/results.js. > > Similarly styles would go to styles/, and images to images/. I can take care of that when you don't have any outstanding patches (to avoid merge conflicts). I'm slightly sad that we're loading so many separate script files. It's probably not important at all for this project but I wish we could get it down to a single request.
Adam Barth
Comment 4 2011-08-14 00:02:53 PDT
Note You need to log in before you can comment on or make changes to this bug.