CrossOriginOpenerPolicy.same_origin_allow_popups()

Set the header to 'same-origin-allow-popups'.

Usage

Source

CrossOriginOpenerPolicy.same_origin_allow_popups()

Similar to same-origin, but allows opening documents with COOP unsafe-none in the same browsing context group for Window.open() integrations.

Returns

The CrossOriginOpenerPolicy instance for method chaining.