Changeset 30762 in webkit
- Timestamp:
- Mar 4, 2008, 1:12:31 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r30761 r30762 1 2008-03-04 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Oliver Hunt and Geoffrey Garen. 4 5 - extended test to cover http://bugs.webkit.org/show_bug.cgi?id=17667 6 <rdar://problem/5779658> REGRESSION (r30587): Document::implicitClose() not called when done loading page (Image does not get scaled to fit) 7 8 * http/tests/misc/missing-style-sheet-expected.txt: 9 * http/tests/misc/missing-style-sheet.html: 10 1 11 2008-03-04 Adele Peterson <adele@apple.com> 2 12 -
trunk/LayoutTests/http/tests/misc/missing-style-sheet-expected.txt
r30587 r30762 1 This test passes if it does not ASSERT that the document's pending style sheet count is less than 0. 1 This test passes if it does not ASSERT that the document's pending style sheet count is less than 0, and the load event fires. 2 PASS: Load event fired. -
trunk/LayoutTests/http/tests/misc/missing-style-sheet.html
r30587 r30762 2 2 if (window.layoutTestController) 3 3 layoutTestController.dumpAsText(); 4 function didLoad() 5 { 6 document.getElementById("loadStatus").innerText = "PASS: Load event fired."; 7 } 8 window.addEventListener("load", didLoad); 4 9 </script> 5 10 6 11 <link href="/adeleandbethrock.css" rel="stylesheet" type="text/css"> 7 12 8 This test passes if it does not ASSERT that the document's pending style sheet count is less than 0. 9 13 This test passes if it does not ASSERT that the document's pending style sheet count is less than 0, and the load event fires. 14 <p id="loadStatus"> 15 FAIL: Load event did not fire. 16 </p> -
trunk/WebCore/ChangeLog
r30761 r30762 1 2008-03-04 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Oliver Hunt and Geoffrey Garen. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=17667 6 <rdar://problem/5779658> REGRESSION (r30587): Document::implicitClose() not called when done loading page (Image does not get scaled to fit) 7 8 * loader/loader.cpp: 9 (WebCore::Loader::didFinishLoading): Changed to call 10 setLoadInProgress(false) even for 4xx errors, because that triggers 11 load completion check. 12 1 13 2008-03-04 Adele Peterson <adele@apple.com> 2 14 -
trunk/WebCore/loader/loader.cpp
r30587 r30762 115 115 docLoader->setLoadInProgress(true); 116 116 object->data(loader->resourceData(), true); 117 docLoader->setLoadInProgress(false);118 117 object->finish(); 119 118 } 119 120 docLoader->setLoadInProgress(false); 120 121 121 122 delete req;
Note:
See TracChangeset
for help on using the changeset viewer.