/src/main/java/org/htmlunit/html/FrameWindow.java
private PageDenied pageDenied_; private final BaseFrameElement frame_;
private final BaseFrameElement frame_; private PageDenied pageDenied_;
import org.htmlunit.StringWebResponse; import org.htmlunit.WebResponse; import org.htmlunit.WebWindow; import org.htmlunit.WebWindowImpl; public class FrameWindow extends WebWindowImpl { public enum PageDenied { NONE, BY_X_FRAME_OPTIONS, BY_CONTENT_SECURIRY_POLICY } <extra_id_0> FrameWindow(final BaseFrameElement frame) { super(frame.getPage().getWebClient()); frame_ = frame; performRegistration(); final WebWindowImpl parent = (WebWindowImpl) frame_.getPage().getEnclosingWindow(); parent.addChildWindow(this);