Run HTMLSourceTracker hooks only when XSSAuditor is enabled
HTMLSourceTracker enables XSSAuditor to examine corresponding raw HTML source to check if it contains XSS attempts. HTMLSourceTracker is currently very slow involving full copy of pending input SegmentedString. Before this CL, HTMLSourceTracker was invoked on every HTMLToken regardless of XSSAuditor is enabled. This CL avoids running HTMLSourceTracker when XSSAuditor is not enabled. BUG=520296 Review URL: https://codereview.chromium.org/1322063002 git-svn-id: svn://svn.chromium.org/blink/trunk@201530 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment