RESOLVED FIXED106356
Dashboard cleanup: Remove globals g_buildersThatFailedToLoad and g_staleBuilders
https://bugs.webkit.org/show_bug.cgi?id=106356
Summary Dashboard cleanup: Remove globals g_buildersThatFailedToLoad and g_staleBuilders
Julie Parent
Reported 2013-01-08 11:32:55 PST
Dashboard cleanup: Remove globals g_buildersThatFailedToLoad and g_staleBuilders
Attachments
Patch (8.44 KB, patch)
2013-01-08 11:37 PST, Julie Parent
no flags
Julie Parent
Comment 1 2013-01-08 11:37:03 PST
Dirk Pranke
Comment 2 2013-01-08 11:54:29 PST
Comment on attachment 181716 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=181716&action=review > Tools/TestResultServer/static-dashboards/loader.js:81 > + resourceLoadingComplete(this._getLoadingErrorMessages()); I probably would've just inlined _getLoadingErrorMessages() here; it looks like this is the only caller, right?
Julie Parent
Comment 3 2013-01-08 11:56:58 PST
Comment on attachment 181716 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=181716&action=review >> Tools/TestResultServer/static-dashboards/loader.js:81 >> + resourceLoadingComplete(this._getLoadingErrorMessages()); > > I probably would've just inlined _getLoadingErrorMessages() here; it looks like this is the only caller, right? Yeah, it is the only caller. It seemed cleaner to me to have it separate, particularly as I was imagining a future world where we might have more robust or numerous errors, and having all of that logic dumped inside of here would clog it up. Happy to make that change if you prefer though.
Dirk Pranke
Comment 4 2013-01-08 12:12:16 PST
it's up to you.
WebKit Review Bot
Comment 5 2013-01-08 12:34:30 PST
Comment on attachment 181716 [details] Patch Clearing flags on attachment: 181716 Committed r139097: <http://trac.webkit.org/changeset/139097>
WebKit Review Bot
Comment 6 2013-01-08 12:34:33 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.