DescriptionPrevent new Browser windows from violating the IncognitoModeAvailability policy.
This policy may disable incognito mode, or set it to enforced (i.e. disable
non-incognito windows). This change introduces a CHECK that prevents any code
paths from opening a disabled window type; such code paths should still be
fixed, but this CHECK prevents working around the policy.
BUG=244246
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204011
Patch Set 1 #Patch Set 2 : fix browser_tests #
Total comments: 2
Patch Set 3 : moved comment #Patch Set 4 : rebase after fixing the known offenders #Patch Set 5 : rebase #Messages
Total messages: 10 (0 generated)
|