Open Bug 1436186 Opened 3 years ago Updated 1 year ago

DocGroup::GetKey isn't precise enough


(Core :: DOM: Core & HTML, defect, P3)





(Reporter: nika, Unassigned)


(Depends on 1 open bug, Blocks 1 open bug)


Currently it just uses nsIPrincipal::GetBaseDomain, when (I believe) it should also take the protocol and port into account.
Nika, could you please set a priority for this? (Without priority it shows up in triaging, and you'll get bugged by people like me. Sorry.)
Flags: needinfo?(nika)
This currently has no real impact, but it might in the future.
Flags: needinfo?(nika)
Priority: -- → P3
Component: DOM → DOM: Core & HTML

I think Principal should get a GetSite() method that follows and then we use that here. (Note that it usually would not take port into account which is correct as document.domain can unfortunately cross that boundary.)

The other thing here is that we should probably take origin attributes into account as well.

Type: enhancement → defect
Depends on: 1601594, 1628783
Blocks: 1630868
You need to log in before you can comment on or make changes to this bug.