|
| | ContentSecurityPolicy (ScriptExecutionContext &) |
| |
| | ContentSecurityPolicy (const SecurityOrigin &, const Frame *=nullptr) |
| |
| | ~ContentSecurityPolicy () |
| |
| void | copyStateFrom (const ContentSecurityPolicy *) |
| |
| void | copyUpgradeInsecureRequestStateFrom (const ContentSecurityPolicy &) |
| |
| void | didCreateWindowShell (JSDOMWindowShell &) const |
| |
| ContentSecurityPolicyResponseHeaders | responseHeaders () const |
| |
| void | didReceiveHeaders (const ContentSecurityPolicyResponseHeaders &, ReportParsingErrors=ReportParsingErrors::Yes) |
| |
| void | didReceiveHeader (const String &, ContentSecurityPolicyHeaderType, ContentSecurityPolicy::PolicyFrom) |
| |
| bool | allowScriptWithNonce (const String &nonce, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowStyleWithNonce (const String &nonce, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowJavaScriptURLs (const String &contextURL, const WTF::OrdinalNumber &contextLine, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowInlineEventHandlers (const String &contextURL, const WTF::OrdinalNumber &contextLine, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowInlineScript (const String &contextURL, const WTF::OrdinalNumber &contextLine, const String &scriptContent, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowInlineStyle (const String &contextURL, const WTF::OrdinalNumber &contextLine, const String &styleContent, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowEval (JSC::ExecState *, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowPluginType (const String &type, const String &typeAttribute, const URL &, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowFrameAncestors (const Frame &, const URL &, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowScriptFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowImageFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowStyleFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowFontFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowMediaFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowChildFrameFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowChildContextFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowConnectToSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowFormAction (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowObjectFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowBaseURI (const URL &, bool overrideContentSecurityPolicy=false) const |
| |
| void | setOverrideAllowInlineStyle (bool) |
| |
| void | gatherReportURIs (DOMStringList &) const |
| |
| bool | allowRunningOrDisplayingInsecureContent (const URL &) |
| |
| void | reportInvalidPluginTypes (const String &) const |
| |
| void | reportDirectiveAsSourceExpression (const String &directiveName, const String &sourceExpression) const |
| |
| void | reportInvalidPathCharacter (const String &directiveName, const String &value, const char) const |
| |
| void | reportInvalidSourceExpression (const String &directiveName, const String &source) const |
| |
| bool | urlMatchesSelf (const URL &) const |
| |
| bool | allowContentSecurityPolicySourceStarToMatchAnyProtocol () const |
| |
| void | reportDuplicateDirective (const String &) const |
| |
| void | reportInvalidDirectiveValueCharacter (const String &directiveName, const String &value) const |
| |
| void | reportInvalidSandboxFlags (const String &) const |
| |
| void | reportInvalidDirectiveInReportOnlyMode (const String &) const |
| |
| void | reportInvalidDirectiveInHTTPEquivMeta (const String &) const |
| |
| void | reportMissingReportURI (const String &) const |
| |
| void | reportUnsupportedDirective (const String &) const |
| |
| void | enforceSandboxFlags (SandboxFlags sandboxFlags) |
| |
| void | addHashAlgorithmsForInlineScripts (OptionSet< ContentSecurityPolicyHashAlgorithm > hashAlgorithmsForInlineScripts) |
| |
| void | addHashAlgorithmsForInlineStylesheets (OptionSet< ContentSecurityPolicyHashAlgorithm > hashAlgorithmsForInlineStylesheets) |
| |
| bool | protocolMatchesSelf (const URL &) const |
| |
| void | setUpgradeInsecureRequests (bool) |
| |
| bool | upgradeInsecureRequests () const |
| |
| void | upgradeInsecureRequestIfNeeded (ResourceRequest &, InsecureRequestType) const |
| |
| void | upgradeInsecureRequestIfNeeded (URL &, InsecureRequestType) const |
| |
| HashSet< RefPtr< SecurityOrigin > > && | takeNavigationRequestsToUpgrade () |
| |
| void | inheritInsecureNavigationRequestsToUpgradeFromOpener (const ContentSecurityPolicy &) |
| |
| void | setInsecureNavigationRequestsToUpgrade (HashSet< RefPtr< SecurityOrigin >> &&) |
| |
| | ContentSecurityPolicy (ScriptExecutionContext &) |
| |
| | ContentSecurityPolicy (const SecurityOrigin &, const Frame *=nullptr) |
| |
| | ~ContentSecurityPolicy () |
| |
| void | copyStateFrom (const ContentSecurityPolicy *) |
| |
| void | copyUpgradeInsecureRequestStateFrom (const ContentSecurityPolicy &) |
| |
| void | didCreateWindowShell (JSDOMWindowShell &) const |
| |
| ContentSecurityPolicyResponseHeaders | responseHeaders () const |
| |
| void | didReceiveHeaders (const ContentSecurityPolicyResponseHeaders &, ReportParsingErrors=ReportParsingErrors::Yes) |
| |
| void | didReceiveHeader (const String &, ContentSecurityPolicyHeaderType, ContentSecurityPolicy::PolicyFrom) |
| |
| bool | allowScriptWithNonce (const String &nonce, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowStyleWithNonce (const String &nonce, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowJavaScriptURLs (const String &contextURL, const WTF::OrdinalNumber &contextLine, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowInlineEventHandlers (const String &contextURL, const WTF::OrdinalNumber &contextLine, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowInlineScript (const String &contextURL, const WTF::OrdinalNumber &contextLine, const String &scriptContent, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowInlineStyle (const String &contextURL, const WTF::OrdinalNumber &contextLine, const String &styleContent, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowEval (JSC::ExecState *, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowPluginType (const String &type, const String &typeAttribute, const URL &, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowFrameAncestors (const Frame &, const URL &, bool overrideContentSecurityPolicy=false) const |
| |
| bool | allowScriptFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowImageFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowStyleFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowFontFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowMediaFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowChildFrameFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowChildContextFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowConnectToSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowFormAction (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowObjectFromSource (const URL &, RedirectResponseReceived=RedirectResponseReceived::No) const |
| |
| bool | allowBaseURI (const URL &, bool overrideContentSecurityPolicy=false) const |
| |
| void | setOverrideAllowInlineStyle (bool) |
| |
| void | gatherReportURIs (DOMStringList &) const |
| |
| bool | allowRunningOrDisplayingInsecureContent (const URL &) |
| |
| void | reportInvalidPluginTypes (const String &) const |
| |
| void | reportDirectiveAsSourceExpression (const String &directiveName, const String &sourceExpression) const |
| |
| void | reportInvalidPathCharacter (const String &directiveName, const String &value, const char) const |
| |
| void | reportInvalidSourceExpression (const String &directiveName, const String &source) const |
| |
| bool | urlMatchesSelf (const URL &) const |
| |
| bool | allowContentSecurityPolicySourceStarToMatchAnyProtocol () const |
| |
| void | reportDuplicateDirective (const String &) const |
| |
| void | reportInvalidDirectiveValueCharacter (const String &directiveName, const String &value) const |
| |
| void | reportInvalidSandboxFlags (const String &) const |
| |
| void | reportInvalidDirectiveInReportOnlyMode (const String &) const |
| |
| void | reportInvalidDirectiveInHTTPEquivMeta (const String &) const |
| |
| void | reportMissingReportURI (const String &) const |
| |
| void | reportUnsupportedDirective (const String &) const |
| |
| void | enforceSandboxFlags (SandboxFlags sandboxFlags) |
| |
| void | addHashAlgorithmsForInlineScripts (OptionSet< ContentSecurityPolicyHashAlgorithm > hashAlgorithmsForInlineScripts) |
| |
| void | addHashAlgorithmsForInlineStylesheets (OptionSet< ContentSecurityPolicyHashAlgorithm > hashAlgorithmsForInlineStylesheets) |
| |
| bool | protocolMatchesSelf (const URL &) const |
| |
| void | setUpgradeInsecureRequests (bool) |
| |
| bool | upgradeInsecureRequests () const |
| |
| void | upgradeInsecureRequestIfNeeded (ResourceRequest &, InsecureRequestType) const |
| |
| void | upgradeInsecureRequestIfNeeded (URL &, InsecureRequestType) const |
| |
| HashSet< RefPtr< SecurityOrigin > > && | takeNavigationRequestsToUpgrade () |
| |
| void | inheritInsecureNavigationRequestsToUpgradeFromOpener (const ContentSecurityPolicy &) |
| |
| void | setInsecureNavigationRequestsToUpgrade (HashSet< RefPtr< SecurityOrigin >> &&) |
| |
| template<typename Predicate , typename... Args> |
| std::enable_if<!std::is_convertible< Predicate, ContentSecurityPolicy::ViolatedDirectiveCallback >::value, bool >::type | allPoliciesWithDispositionAllow (Disposition disposition, Predicate &&predicate, Args &&... args) const |
| |
| template<typename Predicate , typename... Args> |
| bool | allPoliciesWithDispositionAllow (Disposition disposition, ViolatedDirectiveCallback &&callback, Predicate &&predicate, Args &&... args) const |
| |
| template<typename Predicate , typename... Args> |
| bool | allPoliciesAllow (ViolatedDirectiveCallback &&callback, Predicate &&predicate, Args &&... args) const |
| |