Source/WebCore:
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Jun 2020 16:20:21 +0000 (16:20 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Jun 2020 16:20:21 +0000 (16:20 +0000)
Reduce includes for CustomHeaderFields
https://bugs.webkit.org/show_bug.cgi?id=212691

Patch by Rob Buis <rbuis@igalia.com> on 2020-06-06
Reviewed by Joseph Pecoraro.

Reduce includes for CustomHeaderFields, I guess these were needed
at some point but not anymore.

* Modules/applepay/ApplePaySession.cpp:
* Modules/applepay/PaymentSession.cpp:
* bindings/js/ScriptController.cpp:
* contentextensions/ContentExtensionsBackend.cpp:
* dom/Document.cpp:
* editing/cocoa/EditorCocoa.mm:
* editing/cocoa/HTMLConverter.mm:
* editing/cocoa/WebContentReaderCocoa.mm:
* editing/markup.cpp:
* history/CachedFrame.cpp:
* html/HTMLDocument.cpp:
* html/HTMLHtmlElement.cpp:
* html/HTMLMediaElement.cpp:
* html/ImageDocument.cpp:
* html/MediaDocument.cpp:
* html/PluginDocument.cpp:
* html/parser/HTMLDocumentParser.cpp:
* html/parser/XSSAuditor.cpp:
* inspector/InspectorInstrumentation.cpp:
* inspector/agents/InspectorApplicationCacheAgent.cpp:
* inspector/agents/InspectorNetworkAgent.cpp:
* inspector/agents/InspectorPageAgent.cpp:
* inspector/agents/page/PageNetworkAgent.cpp:
* loader/ApplicationManifestLoader.cpp:
* loader/FrameLoader.cpp:
* loader/LoadTiming.cpp:
* loader/NetscapePlugInStreamLoader.cpp:
* loader/ResourceLoader.cpp:
* loader/SubresourceLoader.cpp:
* loader/appcache/ApplicationCacheHost.cpp:
* loader/archive/cf/LegacyWebArchive.cpp:
* loader/icon/IconLoader.cpp:
* page/ContextMenuController.cpp:
* page/FrameView.cpp:
* page/Page.cpp:
* page/Performance.cpp:
* page/PerformanceNavigation.cpp:
* page/Quirks.cpp:
* page/UserContentProvider.cpp:
* page/csp/ContentSecurityPolicy.cpp:
* page/mac/PageMac.mm:
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
* svg/graphics/SVGImage.cpp:
* testing/Internals.cpp:

Source/WebKit:
Move URL scheme check to NetworkLoadChecker
https://bugs.webkit.org/show_bug.cgi?id=191924

Patch by Rob Buis <rbuis@igalia.com> on 2020-06-06
Reviewed by Joseph Pecoraro.

Reduce includes for CustomHeaderFields, I guess these were needed
at some point but not anymore.

* Shared/WebsitePoliciesData.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262683 268f45cc-cd09-0410-ab3c-d52691b4dbfc

47 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/applepay/ApplePaySession.cpp
Source/WebCore/Modules/applepay/PaymentSession.cpp
Source/WebCore/bindings/js/ScriptController.cpp
Source/WebCore/contentextensions/ContentExtensionsBackend.cpp
Source/WebCore/dom/Document.cpp
Source/WebCore/editing/cocoa/EditorCocoa.mm
Source/WebCore/editing/cocoa/HTMLConverter.mm
Source/WebCore/editing/cocoa/WebContentReaderCocoa.mm
Source/WebCore/editing/markup.cpp
Source/WebCore/history/CachedFrame.cpp
Source/WebCore/html/HTMLDocument.cpp
Source/WebCore/html/HTMLHtmlElement.cpp
Source/WebCore/html/HTMLMediaElement.cpp
Source/WebCore/html/ImageDocument.cpp
Source/WebCore/html/MediaDocument.cpp
Source/WebCore/html/PluginDocument.cpp
Source/WebCore/html/parser/HTMLDocumentParser.cpp
Source/WebCore/html/parser/XSSAuditor.cpp
Source/WebCore/inspector/InspectorInstrumentation.cpp
Source/WebCore/inspector/agents/InspectorApplicationCacheAgent.cpp
Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp
Source/WebCore/inspector/agents/InspectorPageAgent.cpp
Source/WebCore/inspector/agents/page/PageNetworkAgent.cpp
Source/WebCore/loader/ApplicationManifestLoader.cpp
Source/WebCore/loader/FrameLoader.cpp
Source/WebCore/loader/LoadTiming.cpp
Source/WebCore/loader/NetscapePlugInStreamLoader.cpp
Source/WebCore/loader/ResourceLoader.cpp
Source/WebCore/loader/SubresourceLoader.cpp
Source/WebCore/loader/appcache/ApplicationCacheHost.cpp
Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp
Source/WebCore/loader/icon/IconLoader.cpp
Source/WebCore/page/ContextMenuController.cpp
Source/WebCore/page/FrameView.cpp
Source/WebCore/page/Page.cpp
Source/WebCore/page/Performance.cpp
Source/WebCore/page/PerformanceNavigation.cpp
Source/WebCore/page/Quirks.cpp
Source/WebCore/page/UserContentProvider.cpp
Source/WebCore/page/csp/ContentSecurityPolicy.cpp
Source/WebCore/page/mac/PageMac.mm
Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
Source/WebCore/svg/graphics/SVGImage.cpp
Source/WebCore/testing/Internals.cpp
Source/WebKit/ChangeLog
Source/WebKit/Shared/WebsitePoliciesData.cpp

index 6442c73..578e770 100644 (file)
@@ -1,3 +1,58 @@
+2020-06-06  Rob Buis  <rbuis@igalia.com>
+
+        Reduce includes for CustomHeaderFields
+        https://bugs.webkit.org/show_bug.cgi?id=212691
+
+        Reviewed by Joseph Pecoraro.
+
+        Reduce includes for CustomHeaderFields, I guess these were needed
+        at some point but not anymore.
+
+        * Modules/applepay/ApplePaySession.cpp:
+        * Modules/applepay/PaymentSession.cpp:
+        * bindings/js/ScriptController.cpp:
+        * contentextensions/ContentExtensionsBackend.cpp:
+        * dom/Document.cpp:
+        * editing/cocoa/EditorCocoa.mm:
+        * editing/cocoa/HTMLConverter.mm:
+        * editing/cocoa/WebContentReaderCocoa.mm:
+        * editing/markup.cpp:
+        * history/CachedFrame.cpp:
+        * html/HTMLDocument.cpp:
+        * html/HTMLHtmlElement.cpp:
+        * html/HTMLMediaElement.cpp:
+        * html/ImageDocument.cpp:
+        * html/MediaDocument.cpp:
+        * html/PluginDocument.cpp:
+        * html/parser/HTMLDocumentParser.cpp:
+        * html/parser/XSSAuditor.cpp:
+        * inspector/InspectorInstrumentation.cpp:
+        * inspector/agents/InspectorApplicationCacheAgent.cpp:
+        * inspector/agents/InspectorNetworkAgent.cpp:
+        * inspector/agents/InspectorPageAgent.cpp:
+        * inspector/agents/page/PageNetworkAgent.cpp:
+        * loader/ApplicationManifestLoader.cpp:
+        * loader/FrameLoader.cpp:
+        * loader/LoadTiming.cpp:
+        * loader/NetscapePlugInStreamLoader.cpp:
+        * loader/ResourceLoader.cpp:
+        * loader/SubresourceLoader.cpp:
+        * loader/appcache/ApplicationCacheHost.cpp:
+        * loader/archive/cf/LegacyWebArchive.cpp:
+        * loader/icon/IconLoader.cpp:
+        * page/ContextMenuController.cpp:
+        * page/FrameView.cpp:
+        * page/Page.cpp:
+        * page/Performance.cpp:
+        * page/PerformanceNavigation.cpp:
+        * page/Quirks.cpp:
+        * page/UserContentProvider.cpp:
+        * page/csp/ContentSecurityPolicy.cpp:
+        * page/mac/PageMac.mm:
+        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+        * svg/graphics/SVGImage.cpp:
+        * testing/Internals.cpp:
+
 2020-06-06  Andy Estes  <aestes@apple.com>
 
         [Apple Pay] Add testing and logging for ApplePaySetup
index 7e781a7..b55a770 100644 (file)
@@ -41,7 +41,6 @@
 #include "ApplePayShippingMethodSelectedEvent.h"
 #include "ApplePayShippingMethodUpdate.h"
 #include "ApplePayValidateMerchantEvent.h"
-#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index 1bee562..891b74d 100644 (file)
@@ -28,7 +28,6 @@
 
 #if ENABLE(APPLE_PAY)
 
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Page.h"
index affbd28..f391a8b 100644 (file)
@@ -25,7 +25,6 @@
 #include "CachedScriptFetcher.h"
 #include "CommonVM.h"
 #include "ContentSecurityPolicy.h"
-#include "CustomHeaderFields.h"
 #include "DOMWrapperWorld.h"
 #include "DocumentLoader.h"
 #include "Event.h"
index 52f3192..99103a2 100644 (file)
@@ -34,7 +34,6 @@
 #include "ContentExtension.h"
 #include "ContentExtensionsDebugging.h"
 #include "ContentRuleListResults.h"
-#include "CustomHeaderFields.h"
 #include "DFABytecodeInterpreter.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index aa57196..702fb99 100644 (file)
@@ -53,7 +53,6 @@
 #include "CustomElementReactionQueue.h"
 #include "CustomElementRegistry.h"
 #include "CustomEvent.h"
-#include "CustomHeaderFields.h"
 #include "DOMImplementation.h"
 #include "DOMWindow.h"
 #include "DateComponents.h"
index dce641e..b91eaba 100644 (file)
@@ -31,7 +31,6 @@
 #import "CSSValuePool.h"
 #import "CachedResourceLoader.h"
 #import "ColorMac.h"
-#import "CustomHeaderFields.h"
 #import "DocumentFragment.h"
 #import "DocumentLoader.h"
 #import "Editing.h"
index b4a1ac5..2b1f75f 100644 (file)
@@ -35,7 +35,6 @@
 #import "ColorCocoa.h"
 #import "ColorMac.h"
 #import "ComposedTreeIterator.h"
-#import "CustomHeaderFields.h"
 #import "Document.h"
 #import "DocumentLoader.h"
 #import "Editing.h"
index ab7b011..51ae234 100644 (file)
@@ -30,7 +30,6 @@
 #import "Blob.h"
 #import "BlobURL.h"
 #import "CachedResourceLoader.h"
-#import "CustomHeaderFields.h"
 #import "DOMURL.h"
 #import "Document.h"
 #import "DocumentFragment.h"
index 66c2e44..bffbff8 100644 (file)
@@ -38,7 +38,6 @@
 #include "ChildListMutationScope.h"
 #include "Comment.h"
 #include "ComposedTreeIterator.h"
-#include "CustomHeaderFields.h"
 #include "DocumentFragment.h"
 #include "DocumentLoader.h"
 #include "DocumentType.h"
index d3d665f..d630ba4 100644 (file)
@@ -30,7 +30,6 @@
 #include "CSSAnimationController.h"
 #include "CachedFramePlatformData.h"
 #include "CachedPage.h"
-#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index 9887f5b..7f25c36 100644 (file)
@@ -56,7 +56,6 @@
 #include "CSSPropertyNames.h"
 #include "CommonVM.h"
 #include "CookieJar.h"
-#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DocumentLoader.h"
 #include "DocumentType.h"
index 9c643b5..65174b8 100644 (file)
@@ -25,7 +25,6 @@
 #include "HTMLHtmlElement.h"
 
 #include "ApplicationCacheHost.h"
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "DocumentParser.h"
index 7a980e6..87ceb40 100644 (file)
@@ -41,7 +41,6 @@
 #include "ContentSecurityPolicy.h"
 #include "ContentType.h"
 #include "CookieJar.h"
-#include "CustomHeaderFields.h"
 #include "DeprecatedGlobalSettings.h"
 #include "DiagnosticLoggingClient.h"
 #include "DiagnosticLoggingKeys.h"
index f7b8dd3..99a6a28 100644 (file)
@@ -28,7 +28,6 @@
 #include "CachedImage.h"
 #include "Chrome.h"
 #include "ChromeClient.h"
-#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DocumentLoader.h"
 #include "EventListener.h"
index c81198c..311c110 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "Chrome.h"
 #include "ChromeClient.h"
-#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "EventNames.h"
 #include "Frame.h"
index 3a3f8da..1a7a016 100644 (file)
@@ -25,7 +25,6 @@
 #include "config.h"
 #include "PluginDocument.h"
 
-#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
 #include "FrameLoader.h"
index 567c9dd..f4da388 100644 (file)
@@ -27,7 +27,6 @@
 #include "config.h"
 #include "HTMLDocumentParser.h"
 
-#include "CustomHeaderFields.h"
 #include "CustomElementReactionQueue.h"
 #include "DocumentFragment.h"
 #include "DocumentLoader.h"
index 37ea741..bcb885e 100644 (file)
@@ -28,7 +28,6 @@
 #include "config.h"
 #include "XSSAuditor.h"
 
-#include "CustomHeaderFields.h"
 #include "DecodeEscapeSequences.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index f893344..23daac4 100644 (file)
@@ -34,7 +34,6 @@
 
 #include "CachedResource.h"
 #include "ComputedEffectTiming.h"
-#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DOMWrapperWorld.h"
 #include "DocumentLoader.h"
index e1ba854..9129264 100644 (file)
@@ -27,7 +27,6 @@
 #include "InspectorApplicationCacheAgent.h"
 
 #include "ApplicationCacheHost.h"
-#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
 #include "FrameLoader.h"
index 1787d69..2cf4988 100644 (file)
@@ -39,7 +39,6 @@
 #include "CachedResourceRequestInitiators.h"
 #include "CachedScript.h"
 #include "CertificateInfo.h"
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "DocumentThreadableLoader.h"
index 8327f91..539e810 100644 (file)
@@ -36,7 +36,6 @@
 #include "CachedResourceLoader.h"
 #include "Cookie.h"
 #include "CookieJar.h"
-#include "CustomHeaderFields.h"
 #include "DOMWrapperWorld.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index c4db600..348a448 100644 (file)
@@ -26,7 +26,6 @@
 #include "config.h"
 #include "PageNetworkAgent.h"
 
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
index 5cdde58..331d305 100644 (file)
@@ -32,7 +32,6 @@
 #include "CachedResourceLoader.h"
 #include "CachedResourceRequest.h"
 #include "CachedResourceRequestInitiators.h"
-#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
 
index d13b299..253e37f 100644 (file)
@@ -48,7 +48,6 @@
 #include "ContentFilter.h"
 #include "ContentRuleListResults.h"
 #include "ContentSecurityPolicy.h"
-#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DatabaseManager.h"
 #include "DiagnosticLoggingClient.h"
index 480d356..a740c1f 100644 (file)
@@ -26,7 +26,6 @@
 #include "config.h"
 #include "LoadTiming.h"
 
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
index f39ea29..f9bb10f 100644 (file)
@@ -29,7 +29,6 @@
 #include "config.h"
 #include "NetscapePlugInStreamLoader.h"
 
-#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "FrameLoader.h"
 #include "FrameLoaderClient.h"
index c344ac6..7abcecb 100644 (file)
@@ -33,7 +33,6 @@
 #include "ApplicationCacheHost.h"
 #include "AuthenticationChallenge.h"
 #include "ContentRuleListResults.h"
-#include "CustomHeaderFields.h"
 #include "DataURLDecoder.h"
 #include "DiagnosticLoggingClient.h"
 #include "DiagnosticLoggingKeys.h"
index a91db99..bab2125 100644 (file)
@@ -32,7 +32,6 @@
 #include "CachedRawResource.h"
 #include "CachedResourceLoader.h"
 #include "CrossOriginAccessControl.h"
-#include "CustomHeaderFields.h"
 #include "DiagnosticLoggingClient.h"
 #include "DiagnosticLoggingKeys.h"
 #include "Document.h"
index f99d6d1..8c8a8b4 100644 (file)
@@ -30,7 +30,6 @@
 #include "ApplicationCacheGroup.h"
 #include "ApplicationCacheResource.h"
 #include "ContentSecurityPolicy.h"
-#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "DOMApplicationCache.h"
 #include "EventNames.h"
index 92cf6bc..01ab917 100644 (file)
@@ -30,7 +30,6 @@
 #include "LegacyWebArchive.h"
 
 #include "CachedResource.h"
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Editor.h"
index 2361a4b..91959d6 100644 (file)
@@ -30,7 +30,6 @@
 #include "CachedResourceLoader.h"
 #include "CachedResourceRequest.h"
 #include "CachedResourceRequestInitiators.h"
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
index dc8a628..41f7a7e 100644 (file)
@@ -35,7 +35,6 @@
 #include "ContextMenuClient.h"
 #include "ContextMenuItem.h"
 #include "ContextMenuProvider.h"
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentFragment.h"
 #include "DocumentLoader.h"
index 3c51fb3..93b06c7 100644 (file)
@@ -35,7 +35,6 @@
 #include "CachedResourceLoader.h"
 #include "Chrome.h"
 #include "ChromeClient.h"
-#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DebugPageOverlays.h"
 #include "DeprecatedGlobalSettings.h"
index 2f0f549..8299df8 100644 (file)
@@ -37,7 +37,6 @@
 #include "ContextMenuClient.h"
 #include "ContextMenuController.h"
 #include "CookieJar.h"
-#include "CustomHeaderFields.h"
 #include "DOMRect.h"
 #include "DOMRectList.h"
 #include "DatabaseProvider.h"
index a1443d1..be3afd2 100644 (file)
@@ -33,7 +33,6 @@
 #include "config.h"
 #include "Performance.h"
 
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Event.h"
index c2b529d..3dbdeb8 100644 (file)
@@ -31,7 +31,6 @@
 #include "config.h"
 #include "PerformanceNavigation.h"
 
-#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
 #include "FrameLoader.h"
index 9985c11..5f3bc63 100644 (file)
@@ -26,7 +26,6 @@
 #include "config.h"
 #include "Quirks.h"
 
-#include "CustomHeaderFields.h"
 #include "DOMTokenList.h"
 #include "DOMWindow.h"
 #include "Document.h"
index 19cb80e..9eec9a6 100644 (file)
@@ -26,7 +26,6 @@
 #include "config.h"
 #include "UserContentProvider.h"
 
-#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
index fbfe9fe..664be61 100644 (file)
@@ -34,7 +34,6 @@
 #include "ContentSecurityPolicyHash.h"
 #include "ContentSecurityPolicySource.h"
 #include "ContentSecurityPolicySourceList.h"
-#include "CustomHeaderFields.h"
 #include "DOMStringList.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index 0863ad2..78fec3e 100644 (file)
@@ -29,7 +29,6 @@
 #import "config.h"
 #import "Page.h"
 
-#import "CustomHeaderFields.h"
 #import "DocumentLoader.h"
 #import "Frame.h"
 #import "FrameLoader.h"
index e4abc7d..c40c26f 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "MediaPlayerPrivateAVFoundation.h"
 
-#include "CustomHeaderFields.h"
 #include "DeprecatedGlobalSettings.h"
 #include "DocumentLoader.h"
 #include "FloatConversion.h"
index 97867aa..286330e 100644 (file)
@@ -31,7 +31,6 @@
 #include "CacheStorageProvider.h"
 #include "Chrome.h"
 #include "CommonVM.h"
-#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DocumentLoader.h"
 #include "EditorClient.h"
index ee7f219..701c763 100644 (file)
@@ -54,7 +54,6 @@
 #include "ComposedTreeIterator.h"
 #include "CookieJar.h"
 #include "Cursor.h"
-#include "CustomHeaderFields.h"
 #include "DOMRect.h"
 #include "DOMRectList.h"
 #include "DOMStringList.h"
index c7e3143..ef30be5 100644 (file)
@@ -1,3 +1,15 @@
+2020-06-06  Rob Buis  <rbuis@igalia.com>
+
+        Move URL scheme check to NetworkLoadChecker
+        https://bugs.webkit.org/show_bug.cgi?id=191924
+
+        Reviewed by Joseph Pecoraro.
+
+        Reduce includes for CustomHeaderFields, I guess these were needed
+        at some point but not anymore.
+
+        * Shared/WebsitePoliciesData.cpp:
+
 2020-06-06  David Kilzer  <ddkilzer@apple.com>
 
         Use OptionSet<DragOperation> for mask values
index a8c601d..d47753b 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "ArgumentCoders.h"
 #include "WebProcess.h"
-#include <WebCore/CustomHeaderFields.h>
 #include <WebCore/Frame.h>
 #include <WebCore/Page.h>