Open Bug 1314234 Opened 8 years ago Updated 2 years ago

Move INTERNAL_LOAD_FLAGS_INHERIT_PRINCIPAL computation in LoadURI() and kill remove that flag

Categories

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

defect

Tracking

()

People

(Reporter: ckerschb, Unassigned)

References

Details

(Whiteboard: [domsecurity-backlog1])

> Comment from Boris from Bug 1308889 Now that I write this down... is it not the case that LoadURI is the _only_ place that passes INTERNAL_LOAD_FLAGS_INHERIT_PRINCIPAL? Can we push that entire computation that's conditioned on that flag out of InternalLoad to LoadURI, and just have InternalLoad have simple semantics: If aPrincipalToInherit is non-null and the URL wants to inherit a principal, it will inherit it; if either of those is not the case, there will be no inheritance. Then we can kill INTERNAL_LOAD_FLAGS_INHERIT_PRINCIPAL altogether. Followup probably OK for this change, if we want to reduce risk.
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
Depends on: 1308889
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.