Skip to content
  • commit-queue@webkit.org's avatar
    <link rel="apple-touch-icon"> tag is not honored on CNN.com, workflowy.com etc · acbaff4b
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=109061
    
    Patch by Ruslan Abdikeev <aruslan@chromium.org> on 2013-03-04
    Reviewed by Adam Barth.
    
    .:
    
    * Source/autotools/symbols.filter:
    
    Source/WebCore:
    
    Test: fast/dom/icon-url-list-apple-touch.html
    
    Added iconTypes parameter to Document::iconURLs().
    Added Document::shortcutIconURLs() with original semantics of iconURLs().
    Fixed IconController.cpp to provide iconTypesMask to iconURLs().
    Renamed iconTypes to iconTypesMask to make the meaning clearer.
    
    * WebCore.exp.in:
    * dom/Document.cpp:
    (WebCore::Document::shortcutIconURLs):
    (WebCore):
    (WebCore::Document::iconURLs):
    * dom/Document.h:
    (Document):
    * loader/icon/IconController.cpp:
    (WebCore::IconController::iconURL):
    (WebCore::IconController::urlsForTypes):
    * testing/Internals.cpp:
    (WebCore::Internals::iconURLs):
    (WebCore::Internals::shortcutIconURLs):
    (WebCore):
    (WebCore::Internals::allIconURLs):
    * testing/Internals.h:
    * testing/Internals.idl:
    
    LayoutTests:
    
    Added test for apple-touch-icon in allIconURLs().
    Changed iconURLs() to shortcutIconURLs().
    
    * fast/dom/icon-url-change.html:
    * fast/dom/icon-url-list-apple-touch-expected.txt: Added.
    * fast/dom/icon-url-list-apple-touch.html: Added.
    * fast/dom/icon-url-list.html:
    * fast/dom/icon-url-property.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    acbaff4b