Changeset 122205 in webkit
- Timestamp:
- Jul 10, 2012 1:46:08 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r122195 r122205 1 2012-07-10 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r122178. 4 http://trac.webkit.org/changeset/122178 5 https://bugs.webkit.org/show_bug.cgi?id=90857 6 7 browser tests, PrerenderBrowserTest.PrerenderFavicon and other 8 tests, started to fail (Requested by hayato on #webkit). 9 10 * Source/autotools/symbols.filter: 11 1 12 2012-07-09 Matt Falkenhagen <falken@chromium.org> 2 13 -
trunk/LayoutTests/ChangeLog
r122204 r122205 1 2012-07-10 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r122178. 4 http://trac.webkit.org/changeset/122178 5 https://bugs.webkit.org/show_bug.cgi?id=90857 6 7 browser tests, PrerenderBrowserTest.PrerenderFavicon and other 8 tests, started to fail (Requested by hayato on #webkit). 9 10 * fast/dom/icon-url-change-expected.txt: Removed. 11 * fast/dom/icon-url-change.html: Removed. 12 * fast/dom/icon-url-list-expected.txt: Removed. 13 * fast/dom/icon-url-list.html: Removed. 14 * fast/dom/icon-url-property-expected.txt: 15 * fast/dom/icon-url-property.html: 16 * platform/chromium/TestExpectations: 17 1 18 2012-07-10 Adam Barth <abarth@webkit.org> 2 19 -
trunk/LayoutTests/fast/dom/icon-url-property-expected.txt
r122178 r122205 1 main frame - didChangeIcons 1 2 Original iconURL is: http://test.com/oldfavicon.ico 2 Setting new icon URL to: http://test.com/newfavicon.ico 3 New iconURL is: http://test.com/newfavicon.ico 4 PASS - URL list matches expected 3 Setting new icon URL to: http://test.com/newfavion.ico 4 New iconURL is: http://test.com/newfavion.ico -
trunk/LayoutTests/fast/dom/icon-url-property.html
r122178 r122205 30 30 31 31 function runTests() { 32 if (window.testRunner) 32 if (window.testRunner) { 33 33 testRunner.dumpAsText(); 34 34 testRunner.dumpIconChanges(); 35 } 35 36 iconURL = document.getElementsByTagName("head")[0].getElementsByTagName("link")[0].href; 36 37 debugOutput ('Original iconURL is: ' + iconURL); 37 newURL = 'http://test.com/newfavi con.ico';38 newURL = 'http://test.com/newfavion.ico'; 38 39 debugOutput ('Setting new icon URL to: ' + newURL); 39 40 setFavIcon(newURL); … … 41 42 42 43 debugOutput ('New iconURL is: ' + iconURL); 43 44 // check that the URL list in the document is as we expect45 var expectedURLs = "http://test.com/newfavicon.ico";46 var iconURLs = window.internals.iconURLs(document);47 if (expectedURLs == iconURLs[0])48 debugOutput('PASS - URL list matches expected');49 else50 debugOutput('FAIL - URL list does not match expected');51 52 44 } 53 45 -
trunk/LayoutTests/platform/chromium/TestExpectations
r122204 r122205 1876 1876 // BUGWK38038 : fast/url/file-http-base.html = TEXT 1877 1877 1878 BUGWK33812 SKIP : fast/dom/icon-url-property.html = PASS 1879 1878 1880 // New layoutTestController function added at r57993 1879 1881 BUGCR42696 : http/tests/xmlhttprequest/cross-origin-authorization-with-embedder.html = TIMEOUT -
trunk/Source/WebCore/ChangeLog
r122204 r122205 1 2012-07-10 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r122178. 4 http://trac.webkit.org/changeset/122178 5 https://bugs.webkit.org/show_bug.cgi?id=90857 6 7 browser tests, PrerenderBrowserTest.PrerenderFavicon and other 8 tests, started to fail (Requested by hayato on #webkit). 9 10 * WebCore.exp.in: 11 * dom/Document.cpp: 12 (WebCore::Document::iconURLs): 13 (WebCore::Document::addIconURL): 14 (WebCore::Document::setUseSecureKeyboardEntryWhenActive): 15 * dom/Document.h: 16 (Document): 17 * html/HTMLLinkElement.cpp: 18 * html/HTMLLinkElement.h: 19 (HTMLLinkElement): 20 * testing/Internals.cpp: 21 * testing/Internals.h: 22 (Internals): 23 * testing/Internals.idl: 24 1 25 2012-07-10 Adam Barth <abarth@webkit.org> 2 26 -
trunk/Source/WebCore/WebCore.exp.in
r122204 r122205 832 832 __ZN7WebCore8Document36updateLayoutIgnorePendingStylesheetsEv 833 833 __ZN7WebCore8Document4headEv 834 __ZN7WebCore8Document8iconURLsEv835 834 __ZN7WebCore8FormData6createEPKvm 836 835 __ZN7WebCore8FormDataD1Ev -
trunk/Source/WebCore/dom/Document.cpp
r122178 r122205 4866 4866 } 4867 4867 4868 const Vector<IconURL>& Document::iconURLs() 4869 { 4870 static const char* const iconMIMEType = "image/x-icon"; 4871 4872 m_iconURLs.clear(); 4873 4874 // Include any icons where type = link, rel = "shortcut icon". 4875 RefPtr<HTMLCollection> children = head()->children(); 4876 unsigned int length = children->length(); 4877 for (unsigned int i = 0; i < length; ++i) { 4878 Node* child = children->item(i); 4879 if (!child->hasTagName(linkTag)) 4880 continue; 4881 HTMLLinkElement* linkElement = static_cast<HTMLLinkElement*>(child); 4882 if (!equalIgnoringCase(linkElement->type(), iconMIMEType) || linkElement->iconType() != Favicon) 4883 continue; 4884 if (linkElement->href().isEmpty()) 4885 continue; 4886 4887 // Put it at the front to ensure that icons seen later take precedence as required by the spec. 4888 IconURL newURL(linkElement->href(), linkElement->iconSizes(), linkElement->type(), linkElement->iconType()); 4889 m_iconURLs.prepend(newURL); 4890 } 4891 4868 const Vector<IconURL>& Document::iconURLs() const 4869 { 4892 4870 return m_iconURLs; 4893 4871 } … … 4900 4878 // FIXME - <rdar://problem/4727645> - At some point in the future, we might actually honor the "mimeType" 4901 4879 IconURL newURL(KURL(ParsedURLString, url), sizes, mimeType, iconType); 4880 m_iconURLs.append(newURL); 4902 4881 4903 4882 if (Frame* f = frame()) { … … 4912 4891 if (m_useSecureKeyboardEntryWhenActive == usesSecureKeyboard) 4913 4892 return; 4914 4893 4915 4894 m_useSecureKeyboardEntryWhenActive = usesSecureKeyboard; 4916 4895 m_frame->selection()->updateSecureKeyboardEntryIfActive(); -
trunk/Source/WebCore/dom/Document.h
r122178 r122205 940 940 void setHasNodesWithPlaceholderStyle() { m_hasNodesWithPlaceholderStyle = true; } 941 941 942 const Vector<IconURL>& iconURLs() ;942 const Vector<IconURL>& iconURLs() const; 943 943 void addIconURL(const String& url, const String& mimeType, const String& size, IconType); 944 944 -
trunk/Source/WebCore/html/HTMLLinkElement.cpp
r122178 r122205 419 419 } 420 420 421 IconType HTMLLinkElement::iconType() const422 {423 return m_relAttribute.m_iconType;424 }425 426 String HTMLLinkElement::iconSizes() const427 {428 return m_sizes->toString();429 }430 431 421 void HTMLLinkElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) const 432 422 { -
trunk/Source/WebCore/html/HTMLLinkElement.h
r122178 r122205 55 55 56 56 String type() const; 57 58 IconType iconType() const;59 60 // the icon size string as parsed from the HTML attribute61 String iconSizes() const;62 57 63 58 CSSStyleSheet* sheet() const { return m_sheet.get(); } -
trunk/Source/WebCore/testing/Internals.cpp
r122204 r122205 1157 1157 } 1158 1158 1159 PassRefPtr<DOMStringList> Internals::iconURLs(Document* document) const1160 {1161 Vector<IconURL> iconURLs = document->iconURLs();1162 RefPtr<DOMStringList> stringList = DOMStringList::create();1163 1164 Vector<IconURL>::const_iterator iter(iconURLs.begin());1165 for (; iter != iconURLs.end(); ++iter)1166 stringList->append(iter->m_iconURL.string());1167 1168 return stringList.release();1169 }1170 1171 1159 #if ENABLE(FULLSCREEN_API) 1172 1160 void Internals::webkitWillEnterFullScreenForElement(Document* document, Element* element) -
trunk/Source/WebCore/testing/Internals.h
r122204 r122205 186 186 187 187 String counterValue(Element*); 188 PassRefPtr<DOMStringList> iconURLs(Document*) const;189 188 190 189 #if ENABLE(FULLSCREEN_API) -
trunk/Source/WebCore/testing/Internals.idl
r122204 r122205 166 166 167 167 DOMString counterValue(in Element element); 168 DOMString[] iconURLs(in Document document);169 168 170 169 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API -
trunk/Source/WebKit2/ChangeLog
r122195 r122205 1 2012-07-10 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r122178. 4 http://trac.webkit.org/changeset/122178 5 https://bugs.webkit.org/show_bug.cgi?id=90857 6 7 browser tests, PrerenderBrowserTest.PrerenderFavicon and other 8 tests, started to fail (Requested by hayato on #webkit). 9 10 * win/WebKit2.def: 11 1 12 2012-07-09 Matt Falkenhagen <falken@chromium.org> 2 13 -
trunk/Source/WebKit2/win/WebKit2.def
r122204 r122205 276 276 ?registerURLSchemeAsBypassingContentSecurityPolicy@SchemeRegistry@WebCore@@SAXABVString@WTF@@@Z 277 277 ?removeURLSchemeRegisteredAsBypassingContentSecurityPolicy@SchemeRegistry@WebCore@@SAXABVString@WTF@@@Z 278 ?iconURLs@Document@WebCore@@QAEABV?$Vector@UIconURL@WebCore@@$0A@@WTF@@XZ -
trunk/Source/autotools/symbols.filter
r122204 r122205 38 38 _ZN7WebCore5RangeD1Ev; 39 39 _ZN7WebCore8Document36updateLayoutIgnorePendingStylesheetsEv; 40 _ZN7WebCore8Document8iconURLsEv;41 40 _ZN7WebCore9HTMLNames8inputTagE; 42 41 _ZN7WebCore9HTMLNames11textareaTagE;
Note: See TracChangeset
for help on using the changeset viewer.