OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Plugin hides OBJECT's properties</title> | 3 <title>Plugin hides OBJECT's properties</title> |
4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
5 function test() | 5 function test() |
6 { | 6 { |
7 if (window.layoutTestController) | 7 if (window.layoutTestController) |
8 layoutTestController.dumpAsText(); | 8 layoutTestController.dumpAsText(); |
9 | 9 |
10 var result = document.getElementById('obj').children == undefined ? "FAILED"
: "PASSED"; | 10 var result = document.getElementById('obj').children == undefined ? "FAILED"
: "PASSED"; |
11 document.getElementById("result").innerText = result; | 11 document.getElementById("result").innerText = result; |
12 } | 12 } |
13 </script> | 13 </script> |
14 </head> | 14 </head> |
15 <body onload="test()"> | 15 <body onload="test()"> |
16 <p> | 16 <p> |
17 This test checks for a regression where scriptable plugins hide properties of | 17 This test checks for a regression where scriptable plugins hide properties of |
18 the OBJECT element. | 18 the OBJECT element. |
19 If the test passes, you will see a "PASSED" message below. | 19 If the test passes, you will see a "PASSED" message below. |
20 </p> | 20 </p> |
21 <p id="result"></p> | 21 <p id="result"></p> |
22 <object id="obj" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"><!-- quick
time --> | 22 <object id="obj" type="video/quicktime"><!-- quicktime --> |
23 </object> | 23 </object> |
24 </body> | 24 </body> |
OLD | NEW |