Open Bug 1446916 Opened 6 years ago Updated 2 years ago

Create subclass of LoadInfo explicit for load of TYPE_DOCUMENT

Categories

(Core :: DOM: Security, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: ckerschb, Unassigned)

References

Details

(Whiteboard: [domsecurity-backlog1])

As suggested within [1], we should do the following:

a) make the loadinfo constructor for loads of TYPE_DOCUMENT protected within the loadinfo, and
b) create a subclass  DocumentLoadInfo subclass of LoadInfo which just has a constructor that calls the protected constructor.
c) have nsdocshell call the DocumentLoadInfo constructor instead of the loadinfo constructor directly.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1439713#c19
Depends on: 1439713
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.