Open Bug 1550825 Opened 6 years ago Updated 3 years ago

Move initial referrer policy init into nsHtml5Parser::Initialize

Categories

(Core :: DOM: HTML Parser, task, P3)

task

Tracking

()

Tracking Status
firefox68 --- affected

People

(Reporter: bzbarsky, Unassigned)

Details

Right now, nsHTMLDocument has this hacky code getting the sink from the html5 parser, casting it to nsHtml5TreeOpExecutor, then setting referrer policy on that. We should just pass a Maybe<ReferrerPolicy> to nsHtml5Module::Initialize instead and let the parser handle the executor bits.

Type: defect → task

nsHtml5Module::Initialize is going to go away soon. We should put this in nsHtml5Parser::Initialize.

Summary: Move initial referrer policy init into nsHtml5Module::Initialize → Move initial referrer policy init into nsHtml5Parser::Initialize
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.