246
246
webView.getTestApiForFrame(frame).evaluateCode(
247
247
"window.location = \"https://testsuite/empty.html\";",
252
252
// Test that deleting a frame cancels errors
254
254
var frame = webView.rootFrame.childFrames[0];
256
256
webView.getTestApi().evaluateCode("
257
257
var f = document.getElementsByTagName(\"iframe\")[0];
258
258
f.parentElement.removeChild(f);", true);
262
262
// Test that interrupting a load before it's committed doesn't cancel