Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html

Issue 1428383002: Make ResourceFetcher::m_documentResources use WeakPtr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
index deef1bc6349265837486785fd3e4958d2ad7e025..461151b607930da6d09357e4ae01ea9b117a815c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
@@ -26,11 +26,6 @@ function secondImageLoaded()
console.log("Done2.");
}
-function forceCachedResourceLoaderGC() {
- if (window.internals)
- window.internals.garbageCollectDocumentResources();
-}
-
function test()
{
var imageRequest;
@@ -72,9 +67,6 @@ function test()
function step6()
{
- // Force CachedResourceLoader garbage collector run.
- InspectorTest.evaluateInPage("forceCachedResourceLoaderGC()");
-
// Re-request content now that CachedResource should have been destroyed.
delete imageRequest._content;
imageRequest.requestContent(step7);

Powered by Google App Engine
This is Rietveld 408576698