Add a kioski friendly page that cycles through dashboards.
Created attachment 262661 [details] Adds cycler.html
Comment on attachment 262661 [details] Adds cycler.html View in context: https://bugs.webkit.org/attachment.cgi?id=262661&action=review r=me with nits. > Websites/perf.webkit.org/public/cycler.html:18 > + if (request.readyState != 4) I personally prefer to use the XMLHttpRequest constants instead of hard-coding values like this as I think it is more readable: if (request.readyState != XMLHttpRequest.DONE) > Websites/perf.webkit.org/public/cycler.html:38 > +function loadNextURL(i) { I would have called it loadURLAt(i). > Websites/perf.webkit.org/public/cycler.html:55 > + setTimeout(loadNextURL.bind(window, i), 30 * 1000); I think it would be nice to move this 30 to a global variable with a meaningful name so it can easily be tweaked later if needed.
Committed r190702: <http://trac.webkit.org/changeset/190702>