ContentSecurityPolicy.frame_ancestors()

Set valid parent sources that may embed the page in a frame.

Usage

Source

ContentSecurityPolicy.frame_ancestors(*sources)