Closed Bug 1550609 Opened 6 years ago Closed 5 years ago

Don't allow browsing contexts to be created in chrome

Categories

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

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: qdot, Unassigned)

References

Details

In Bug 1540839, a check was added in BrowsingContext::GetIPCInitializer to make sure we never create browsing contexts in chrome. However, this caused as few different tests to fail. Once those tests are fixed (as part of this bug, we should remove the pref check from the GetIPCInitializer MOZ_ASSERT so it always runs.

Type: defect → enhancement

Hi Kmag,

Am I reading correctly that this is already done here: https://searchfox.org/mozilla-central/source/docshell/base/BrowsingContext.cpp#1864 As part 3 of Bug 1553804

Thanks.

Flags: needinfo?(kmaglione+bmo)

Yes, although the description of this bug is somewhat confusing.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(kmaglione+bmo)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.