Adding favicon.ico to the garden-o-matic.
Created attachment 181130 [details] Patch
Created attachment 181132 [details] Screenshot of the favicon.ico working
Comment on attachment 181130 [details] Patch Attachment 181130 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/15628766 New failing tests: inspector-protocol/debugger-terminate-dedicated-worker-while-paused.html
Created attachment 181140 [details] Patch
Why not just use a real file?
I guess I could use a real file, if you can give me the location to put the file (that is gardener specific)?
Take a look at where the party time graphic is stored.
Created attachment 181145 [details] Patch
Moved to using an on-disk file.
Comment on attachment 181145 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=181145&action=review > Tools/Scripts/webkitpy/tool/servers/gardeningserver.py:34 > +import base64 > import logging > import json > import os > import sys > +import tempfile > import urllib > +import zlib These imports are no longer needed. > Tools/Scripts/webkitpy/tool/servers/gardeningserver.py:123 > + self._serve_file('garden-o-matic.ico') Why not call it favicon.ico or have the web app use the name garden-o-matic.ico. It seems odd to change the name here. In fact, you don't need code at all. You can just add "ico" to STATIC_FILE_EXTENSIONS
Created attachment 181150 [details] Patch
Comment on attachment 181145 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=181145&action=review >> Tools/Scripts/webkitpy/tool/servers/gardeningserver.py:123 >> + self._serve_file('garden-o-matic.ico') > > Why not call it favicon.ico or have the web app use the name garden-o-matic.ico. It seems odd to change the name here. > > In fact, you don't need code at all. You can just add "ico" to STATIC_FILE_EXTENSIONS I was worried that would make this icon used for everything, not just the garden-o-matic.
Comment on attachment 181150 [details] Patch It won't.
Created attachment 181155 [details] Patch
As requested. The other option was to put a meta tag like below; <link rel="icon" href="http://www.example.com/garden-o-matric.ico" type="image/x-icon">
Comment on attachment 181155 [details] Patch Thanks for iterating on the patch.
Comment on attachment 181155 [details] Patch Clearing flags on attachment: 181155 Committed r138713: <http://trac.webkit.org/changeset/138713>
All reviewed patches have been landed. Closing bug.