Lines Matching defs:newFrame
141 LocalFrame* newFrame = createWindow(*activeFrame, openerFrame, frameRequest, windowFeatures, NavigationPolicyIgnore, MaybeSendReferrer, created);
142 if (!newFrame)
145 if (newFrame != &openerFrame && newFrame != openerFrame.tree().top())
146 newFrame->loader().forceSandboxFlags(openerFrame.document()->sandboxFlags());
148 newFrame->loader().setOpener(&openerFrame);
150 if (newFrame->domWindow()->isInsecureScriptAccess(callingWindow, completedURL))
151 return newFrame;
154 function(newFrame->domWindow(), functionContext);
158 newFrame->loader().load(request);
160 newFrame->navigationScheduler().scheduleLocationChange(callingWindow.document(), completedURL.string(), referrer, false);
162 return newFrame;
181 LocalFrame* newFrame = createWindow(openerFrame, openerFrame, request, features, policy, shouldSendReferrer, created);
182 if (!newFrame)
185 newFrame->loader().setOpener(&openerFrame);
186 newFrame->document()->setReferrerPolicy(openerFrame.document()->referrerPolicy());
190 newFrame->loader().load(newRequest);