RESOLVED FIXED 143306
Streamline icon-related code, mostly unused
https://bugs.webkit.org/show_bug.cgi?id=143306
Summary Streamline icon-related code, mostly unused
Darin Adler
Reported 2015-04-01 08:42:03 PDT
Streamline icon-related code, mostly unused
Attachments
Patch (59.68 KB, patch)
2015-04-02 08:47 PDT, Darin Adler
no flags
Patch (56.32 KB, patch)
2015-04-02 09:45 PDT, Darin Adler
no flags
Archive of layout-test-results from ews102 for mac-mavericks (527.59 KB, application/zip)
2015-04-02 10:28 PDT, Build Bot
no flags
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (584.90 KB, application/zip)
2015-04-02 10:58 PDT, Build Bot
no flags
Patch (60.21 KB, patch)
2015-04-02 19:43 PDT, Darin Adler
koivisto: review+
Darin Adler
Comment 1 2015-04-02 08:47:51 PDT
Darin Adler
Comment 2 2015-04-02 09:45:08 PDT
Build Bot
Comment 3 2015-04-02 10:28:42 PDT
Comment on attachment 249986 [details] Patch Attachment 249986 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6456446019436544 New failing tests: fast/dom/icon-url-list.html fast/dom/icon-url-list-apple-touch.html
Build Bot
Comment 4 2015-04-02 10:28:46 PDT
Created attachment 249990 [details] Archive of layout-test-results from ews102 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 5 2015-04-02 10:58:11 PDT
Comment on attachment 249986 [details] Patch Attachment 249986 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5134296171937792 New failing tests: fast/dom/icon-url-list.html fast/dom/icon-url-list-apple-touch.html
Build Bot
Comment 6 2015-04-02 10:58:13 PDT
Created attachment 249996 [details] Archive of layout-test-results from ews106 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Darin Adler
Comment 7 2015-04-02 12:41:19 PDT
Comment on attachment 249986 [details] Patch Oops, looks like I uploaded a partial patch *without* the changes to LayoutTests. That’s why tests are failing.
Darin Adler
Comment 8 2015-04-02 19:43:33 PDT
Darin Adler
Comment 9 2015-04-03 07:14:57 PDT
Ready to review now. All the tests are passing now.
Antti Koivisto
Comment 10 2015-04-03 08:17:36 PDT
Comment on attachment 250031 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=250031&action=review > Source/WebCore/ChangeLog:20 > + time, with some small exceptoins, icon logic is in the web browsers, not in WebKit. typo "exceptoins" > Source/WebCore/dom/IconURL.h:38 > enum IconType { enum class would be nice > Source/WebCore/html/LinkRelAttribute.h:41 > + bool isStyleSheet { false }; I have been wondering if we should use { false } or { }. So far I have stayed with the former though it is redundant.
Antti Koivisto
Comment 11 2015-04-03 08:24:55 PDT
Comment on attachment 250031 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=250031&action=review > Source/WebCore/loader/icon/IconController.cpp:55 > +enum LinkElementSelector { AllLinkElements, LinkElementsWithMIMETypes }; enum class SelectLinkElements { All, WithMIMEType }?
Darin Adler
Comment 12 2015-04-03 13:12:59 PDT
Comment on attachment 250031 [details] Patch OK. I’ll make some changes tonight before I land this.
Darin Adler
Comment 13 2015-04-04 17:56:15 PDT
Comment on attachment 250031 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=250031&action=review >> Source/WebCore/dom/IconURL.h:38 >> enum IconType { > > enum class would be nice This was a little inconvenient to do quickly. I’m going to wait on that for a later patch.
Darin Adler
Comment 14 2015-04-04 18:02:40 PDT
Gyuyoung Kim
Comment 15 2015-04-04 19:43:24 PDT
(In reply to comment #14) > Committed r182351: <http://trac.webkit.org/changeset/182351> It looks all ports build have broken since r182351. I upload a fix to Bug 143408.
Note You need to log in before you can comment on or make changes to this bug.