Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2011-06-22 Nate Chapin <japhet@chromium.org>
Reviewed by Adam Barth. Add symbols required for window.internals. https://bugs.webkit.org/show_bug.cgi?id=62066 * Source/autotools/symbols.filter: 2011-06-22 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Test updates for https://bugs.webkit.org/show_bug.cgi?id=62066. * fast/preloader/scan-body-from-head-import.html: Use window.internals. * fast/preloader/scan-body-from-head-script.html: Use window.internals. * http/tests/loading/cross-origin-XHR-willLoadRequest-expected.txt: * http/tests/loading/cross-origin-XHR-willLoadRequest.html: * http/tests/loading/preload-append-scan-expected.txt: * http/tests/loading/preload-append-scan.php: Use window.internals. * http/tests/misc/favicon-loads-with-icon-loading-override-expected.txt: * http/tests/misc/link-rel-icon-beforeload-expected.txt: * platform/chromium-linux/fast/preloader/scan-body-from-head-script-expected.txt: Removed. 2011-06-22 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Don't let all subresources keep isLoadingInAPISense() from returning false, only requests that affect CachedResourceRequest::requestCount(). Also, add a callback to Internals to determine whether a resource has been preloaded. https://bugs.webkit.org/show_bug.cgi?id=62066 * WebCore.exp.in: * dom/Document.cpp: Add m_loadEventFinished. * dom/Document.h: * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::isLoadingInAPISense): * loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::isPreloaded): * loader/cache/CachedResourceLoader.h: * testing/Internals.cpp: (WebCore::Internals::isPreloaded): * testing/Internals.h: * testing/Internals.idl: 2011-06-22 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Add win symbols for new window.internals functionality. https://bugs.webkit.org/show_bug.cgi?id=62066 * win/WebKit2.def: 2011-06-22 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Add libsoup to libWebCoreInternals build. https://bugs.webkit.org/show_bug.cgi?id=62066 * GNUmakefile.am: Canonical link: https://commits.webkit.org/78813@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@89503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
166 additions
and 38 deletions.
- +9 −0 ChangeLog
- +16 −0 LayoutTests/ChangeLog
- +1 −3 LayoutTests/fast/preloader/scan-body-from-head-import-expected.txt
- +11 −2 LayoutTests/fast/preloader/scan-body-from-head-import.html
- +1 −3 LayoutTests/fast/preloader/scan-body-from-head-script-expected.txt
- +11 −2 LayoutTests/fast/preloader/scan-body-from-head-script.html
- +1 −1 LayoutTests/http/tests/loading/cross-origin-XHR-willLoadRequest-expected.txt
- +5 −0 LayoutTests/http/tests/loading/cross-origin-XHR-willLoadRequest.html
- +1 −3 LayoutTests/http/tests/loading/preload-append-scan-expected.txt
- +13 −2 LayoutTests/http/tests/loading/preload-append-scan.php
- +0 −2 LayoutTests/http/tests/misc/favicon-loads-with-icon-loading-override-expected.txt
- +0 −2 LayoutTests/http/tests/misc/link-rel-icon-beforeload-expected.txt
- +0 −11 LayoutTests/platform/chromium-linux/fast/preloader/scan-body-from-head-script-expected.txt
- +26 −0 Source/WebCore/ChangeLog
- +1 −0 Source/WebCore/WebCore.exp.in
- +2 −0 Source/WebCore/dom/Document.cpp
- +6 −1 Source/WebCore/dom/Document.h
- +2 −4 Source/WebCore/loader/DocumentLoader.cpp
- +22 −0 Source/WebCore/loader/cache/CachedResourceLoader.cpp
- +2 −1 Source/WebCore/loader/cache/CachedResourceLoader.h
- +10 −0 Source/WebCore/testing/Internals.cpp
- +3 −0 Source/WebCore/testing/Internals.h
- +1 −0 Source/WebCore/testing/Internals.idl
- +9 −0 Source/WebKit2/ChangeLog
- +1 −0 Source/WebKit2/win/WebKit2.def
- +1 −0 Source/autotools/symbols.filter
- +9 −0 Tools/ChangeLog
- +2 −1 Tools/GNUmakefile.am
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,11 +1,9 @@ | ||
main frame - didStartProvisionalLoadForFrame | ||
main frame - didCommitLoadForFrame | ||
main frame - didFinishDocumentLoadForFrame | ||
main frame - didHandleOnloadEventsForFrame | ||
main frame - didFinishLoadForFrame | ||
|
||
This test needs to be run in DRT. Preload scanner should see the image resource. | ||
<img src="resources/preload-test.jpg"> | ||
PASS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.