WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
105982
Adding favicon.ico to the garden-o-matic.
https://bugs.webkit.org/show_bug.cgi?id=105982
Summary
Adding favicon.ico to the garden-o-matic.
Tim 'mithro' Ansell
Reported
2013-01-02 18:41:43 PST
Adding favicon.ico to the garden-o-matic.
Attachments
Patch
(2.72 KB, patch)
2013-01-02 18:42 PST
,
Tim 'mithro' Ansell
no flags
Details
Formatted Diff
Diff
Screenshot of the favicon.ico working
(4.77 KB, image/png)
2013-01-02 18:45 PST
,
Tim 'mithro' Ansell
no flags
Details
Patch
(2.72 KB, patch)
2013-01-02 20:16 PST
,
Tim 'mithro' Ansell
no flags
Details
Formatted Diff
Diff
Patch
(2.43 KB, patch)
2013-01-02 21:30 PST
,
Tim 'mithro' Ansell
no flags
Details
Formatted Diff
Diff
Patch
(2.14 KB, patch)
2013-01-02 22:05 PST
,
Tim 'mithro' Ansell
no flags
Details
Formatted Diff
Diff
Patch
(2.26 KB, patch)
2013-01-03 01:01 PST
,
Tim 'mithro' Ansell
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Tim 'mithro' Ansell
Comment 1
2013-01-02 18:42:55 PST
Created
attachment 181130
[details]
Patch
Tim 'mithro' Ansell
Comment 2
2013-01-02 18:45:17 PST
Created
attachment 181132
[details]
Screenshot of the favicon.ico working
WebKit Review Bot
Comment 3
2013-01-02 19:31:05 PST
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
Tim 'mithro' Ansell
Comment 4
2013-01-02 20:16:57 PST
Created
attachment 181140
[details]
Patch
Adam Barth
Comment 5
2013-01-02 20:35:05 PST
Why not just use a real file?
Tim 'mithro' Ansell
Comment 6
2013-01-02 21:02:38 PST
I guess I could use a real file, if you can give me the location to put the file (that is gardener specific)?
Adam Barth
Comment 7
2013-01-02 21:07:21 PST
Take a look at where the party time graphic is stored.
Tim 'mithro' Ansell
Comment 8
2013-01-02 21:30:06 PST
Created
attachment 181145
[details]
Patch
Tim 'mithro' Ansell
Comment 9
2013-01-02 21:33:02 PST
Moved to using an on-disk file.
Adam Barth
Comment 10
2013-01-02 21:52:32 PST
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
Tim 'mithro' Ansell
Comment 11
2013-01-02 22:05:06 PST
Created
attachment 181150
[details]
Patch
Tim 'mithro' Ansell
Comment 12
2013-01-02 22:06:13 PST
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.
Adam Barth
Comment 13
2013-01-02 23:29:52 PST
Comment on
attachment 181150
[details]
Patch It won't.
Tim 'mithro' Ansell
Comment 14
2013-01-03 01:01:49 PST
Created
attachment 181155
[details]
Patch
Tim 'mithro' Ansell
Comment 15
2013-01-03 01:06:23 PST
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">
Adam Barth
Comment 16
2013-01-03 09:42:00 PST
Comment on
attachment 181155
[details]
Patch Thanks for iterating on the patch.
WebKit Review Bot
Comment 17
2013-01-03 10:06:57 PST
Comment on
attachment 181155
[details]
Patch Clearing flags on attachment: 181155 Committed
r138713
: <
http://trac.webkit.org/changeset/138713
>
WebKit Review Bot
Comment 18
2013-01-03 10:07:02 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.
Top of Page
Format For Printing
XML
Clone This Bug