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

Side by Side Diff: Source/core/loader/FrameLoader.cpp

Issue 995783002: Gracefully handle mixed content checking on detached resource fetches. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months 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 unified diff | Download patch
« no previous file with comments | « Source/core/loader/FrameLoader.h ('k') | Source/core/loader/PingLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com>
6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> 7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com>
8 * Copyright (C) 2011 Google Inc. All rights reserved. 8 * Copyright (C) 2011 Google Inc. All rights reserved.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #include "core/html/parser/HTMLParserIdioms.h" 61 #include "core/html/parser/HTMLParserIdioms.h"
62 #include "core/inspector/ConsoleMessage.h" 62 #include "core/inspector/ConsoleMessage.h"
63 #include "core/inspector/InspectorController.h" 63 #include "core/inspector/InspectorController.h"
64 #include "core/inspector/InspectorInstrumentation.h" 64 #include "core/inspector/InspectorInstrumentation.h"
65 #include "core/loader/DocumentLoadTiming.h" 65 #include "core/loader/DocumentLoadTiming.h"
66 #include "core/loader/DocumentLoader.h" 66 #include "core/loader/DocumentLoader.h"
67 #include "core/loader/FormState.h" 67 #include "core/loader/FormState.h"
68 #include "core/loader/FormSubmission.h" 68 #include "core/loader/FormSubmission.h"
69 #include "core/loader/FrameLoadRequest.h" 69 #include "core/loader/FrameLoadRequest.h"
70 #include "core/loader/FrameLoaderClient.h" 70 #include "core/loader/FrameLoaderClient.h"
71 #include "core/loader/MixedContentChecker.h"
71 #include "core/loader/ProgressTracker.h" 72 #include "core/loader/ProgressTracker.h"
72 #include "core/loader/appcache/ApplicationCacheHost.h" 73 #include "core/loader/appcache/ApplicationCacheHost.h"
73 #include "core/page/Chrome.h" 74 #include "core/page/Chrome.h"
74 #include "core/page/ChromeClient.h" 75 #include "core/page/ChromeClient.h"
75 #include "core/page/CreateWindow.h" 76 #include "core/page/CreateWindow.h"
76 #include "core/page/EventHandler.h" 77 #include "core/page/EventHandler.h"
77 #include "core/page/FrameTree.h" 78 #include "core/page/FrameTree.h"
78 #include "core/page/Page.h" 79 #include "core/page/Page.h"
79 #include "core/page/WindowFeatures.h" 80 #include "core/page/WindowFeatures.h"
80 #include "core/page/scrolling/ScrollingCoordinator.h" 81 #include "core/page/scrolling/ScrollingCoordinator.h"
(...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 1424
1424 // FIXME: We need a way to propagate insecure requests policy flags to 1425 // FIXME: We need a way to propagate insecure requests policy flags to
1425 // out-of-process frames. For now, we'll always use default behavior. 1426 // out-of-process frames. For now, we'll always use default behavior.
1426 if (!parentFrame->isLocalFrame()) 1427 if (!parentFrame->isLocalFrame())
1427 return nullptr; 1428 return nullptr;
1428 1429
1429 return toLocalFrame(parentFrame)->document()->insecureNavigationsToUpgrade() ; 1430 return toLocalFrame(parentFrame)->document()->insecureNavigationsToUpgrade() ;
1430 } 1431 }
1431 1432
1432 } // namespace blink 1433 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.h ('k') | Source/core/loader/PingLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698