-
commit-queue@webkit.org authored
Reviewed by Adam Barth. Implement onload events for <link rel=prefetch> https://bugs.webkit.org/show_bug.cgi?id=50187 * fast/dom/HTMLLinkElement/link-and-subresource-test-expected.txt: Added. * fast/dom/HTMLLinkElement/link-and-subresource-test.html: Added. * fast/dom/HTMLLinkElement/prefetch-expected.txt: * fast/dom/HTMLLinkElement/prefetch-onload-expected.txt: Added. * fast/dom/HTMLLinkElement/prefetch-onload.html: Added. * fast/dom/HTMLLinkElement/prefetch.html: * http/tests/misc/prefetch-purpose.html: * platform/gtk/Skipped: * platform/mac/Skipped: * platform/qt/Skipped: * platform/win/Skipped: 2010-12-04 Gavin Peters <gavinp@chromium.org> Reviewed by Adam Barth. Implement onload events for <link rel=prefetch> https://bugs.webkit.org/show_bug.cgi?id=50187 Tests: fast/dom/HTMLLinkElement/link-and-subresource-test.html fast/dom/HTMLLinkElement/prefetch-onload.html * html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::HTMLLinkElement): (WebCore::HTMLLinkElement::~HTMLLinkElement): (WebCore::HTMLLinkElement::parseMappedAttribute): (WebCore::HTMLLinkElement::process): (WebCore::HTMLLinkElement::onloadTimerFired): (WebCore::HTMLLinkElement::notifyFinished): * html/HTMLLinkElement.h: * loader/cache/CachedResource.cpp: (WebCore::CachedResource::data): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7e9f6dbe