| Index: LayoutTests/plugins/can-create-without-renderer.html
|
| diff --git a/LayoutTests/plugins/can-create-without-renderer.html b/LayoutTests/plugins/can-create-without-renderer.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6b48d0238c6aa1cd9b8b2b52ac343fd988724658
|
| --- /dev/null
|
| +++ b/LayoutTests/plugins/can-create-without-renderer.html
|
| @@ -0,0 +1,41 @@
|
| +<html>
|
| +<head>
|
| +<style>
|
| + body {
|
| + height: 2000px;
|
| + }
|
| + #plugin {
|
| + position: absolute;
|
| + top: 500px;
|
| + width: 150px;
|
| + height: 150px;
|
| + }
|
| +</style>
|
| +</head>
|
| +
|
| +<body>
|
| +<div id="pluginContainer"></div>
|
| +<div>Each line below should start with 'Pass':</div>
|
| +<div id="result1"></div>
|
| +<script>
|
| +
|
| + if (!window.testRunner) {
|
| + document.write("This test does not work in manual mode.");
|
| + } else {
|
| + testRunner.dumpAsText();
|
| +
|
| + var plugin = document.createElement("object");
|
| + plugin.setAttribute("width", 300);
|
| + plugin.setAttribute("height", 200);
|
| + plugin.setAttribute("type",
|
| + "application/x-webkit-test-webplugin-can-create-without-renderer");
|
| +
|
| + if ((plugin.canCreateWithoutRenderer != undefined) && plugin.canCreateWithoutRenderer)
|
| + result1.innerHTML = "Pass: plugin exists without attachment to renderer.";
|
| + else
|
| + result1.innerHTML = "Fail: plugin does not exist.";
|
| + }
|
| +
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|