| OLD | NEW |
| (Empty) |
| 1 <body> | |
| 2 <p>Test equality of plugin object properties.</p> | |
| 3 <embed id="plugin" type="application/x-webkit-test-netscape"><br> | |
| 4 <iframe srcdoc="<script>parent.plugin.remember(parent.document)</script>"></ifra
me> | |
| 5 <script> | |
| 6 if (window.testRunner) | |
| 7 testRunner.dumpAsText(); | |
| 8 | |
| 9 window.onload = function() { | |
| 10 var plugin = document.getElementById('plugin'); | |
| 11 var div = document.createElement('div'); | |
| 12 div.textContent = "Send two references of a JavaScript object to the plugin
for identity comparison in C++ " | |
| 13 + (plugin.objectsAreSame(document, document) ? "PASS" : "FAIL"); | |
| 14 document.body.appendChild(div); | |
| 15 } | |
| 16 </script> | |
| 17 </body> | |
| OLD | NEW |