haikuwebkit/LayoutTests/plugins/plugin-document-willSendReq...

16 lines
456 B
HTML

<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setWillSendRequestReturnsNull(true);
}
</script>
</head>
<body>
This tests https://bugs.webkit.org/show_bug.cgi?id=46773 by having willSendRequest on the
plugin document return null. If there is no crash, the test passed.
<iframe src="resources/simple_blank.swf"></iframe>
</body>
</html>