<body onload="test()">
<p>Test equality of plugin object properties.</p>
<div id=div>
<embed id="plugin" type="application/x-webkit-test-netscape">
</div>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
    
window.onload = function() {
    var plugin = document.getElementById('plugin');
    var div = document.createElement('div');
    div.textContent = "Send two references of a JavaScript object to the plugin for identity comparison in C++ " 
        + (plugin.objectsAreSame(document, document) ? "PASS" : "FAIL");
    document.body.appendChild(div);
}
</script>
</body>
