OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:contextURL
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/frame/csp/
ContentSecurityPolicy.h
109
bool allowJavaScriptURLs(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ReportingStatus = SendReport) const;
110
bool allowInlineEventHandlers(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ReportingStatus = SendReport) const;
111
bool allowInlineScript(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ReportingStatus = SendReport) const;
112
bool allowInlineStyle(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ReportingStatus = SendReport) const;
CSPDirectiveList.h
35
bool allowJavaScriptURLs(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus) const;
36
bool allowInlineEventHandlers(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus) const;
37
bool allowInlineScript(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus) const;
38
bool allowInlineStyle(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus) const;
84
void reportViolationWithLocation(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, const String&
contextURL
, const WTF::OrdinalNumber& contextLine) const;
98
bool checkInlineAndReportViolation(SourceListDirective*, const String& consoleMessage, const String&
contextURL
, const WTF::OrdinalNumber& contextLine, bool isScript) const;
CSPDirectiveList.cpp
60
void CSPDirectiveList::reportViolationWithLocation(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, const String&
contextURL
, const WTF::OrdinalNumber& contextLine) const
63
m_policy->logToConsole(ConsoleMessage::create(SecurityMessageSource, ErrorMessageLevel, message,
contextURL
, contextLine.oneBasedInt()));
163
bool CSPDirectiveList::checkInlineAndReportViolation(SourceListDirective* directive, const String& consoleMessage, const String&
contextURL
, const WTF::OrdinalNumber& contextLine, bool isScript) const
178
reportViolationWithLocation(directive->text(), isScript ? ContentSecurityPolicy::ScriptSrc : ContentSecurityPolicy::StyleSrc, consoleMessage + "\"" + directive->text() + "\"." + suffix + "\n", KURL(),
contextURL
, contextLine);
234
bool CSPDirectiveList::allowJavaScriptURLs(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus reportingStatus) const
238
return checkInlineAndReportViolation(operativeDirective(m_scriptSrc.get()), consoleMessage,
contextURL
, contextLine, true);
243
bool CSPDirectiveList::allowInlineEventHandlers(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus reportingStatus) const
247
return checkInlineAndReportViolation(operativeDirective(m_scriptSrc.get()), consoleMessage,
contextURL
, contextLine, true);
251
bool CSPDirectiveList::allowInlineScript(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus reportingStatus) const
255
checkInlineAndReportViolation(operativeDirective(m_scriptSrc.get()), consoleMessage,
contextURL
, contextLine, true)
[
all
...]
ContentSecurityPolicy.cpp
299
bool isAllowedByAllWithContext(const CSPDirectiveListVector& policies, const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus reportingStatus)
302
if (!(policies[i].get()->*allowed)(
contextURL
, contextLine, reportingStatus))
387
bool ContentSecurityPolicy::allowJavaScriptURLs(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus reportingStatus) const
389
return isAllowedByAllWithContext<&CSPDirectiveList::allowJavaScriptURLs>(m_policies,
contextURL
, contextLine, reportingStatus);
392
bool ContentSecurityPolicy::allowInlineEventHandlers(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus reportingStatus) const
394
return isAllowedByAllWithContext<&CSPDirectiveList::allowInlineEventHandlers>(m_policies,
contextURL
, contextLine, reportingStatus);
397
bool ContentSecurityPolicy::allowInlineScript(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus reportingStatus) const
399
return isAllowedByAllWithContext<&CSPDirectiveList::allowInlineScript>(m_policies,
contextURL
, contextLine, reportingStatus);
402
bool ContentSecurityPolicy::allowInlineStyle(const String&
contextURL
, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus reportingStatus) const
406
return isAllowedByAllWithContext<&CSPDirectiveList::allowInlineStyle>(m_policies,
contextURL
, contextLine, reportingStatus)
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
ExecutionContext.h
84
KURL
contextURL
() const { return virtualURL(); }
Document.h
[
all
...]
Document.cpp
[
all
...]
Completed in 151 milliseconds