blob: 79112a39fcb05cd78da39d0505647e2e5d733fcc [file] [log] [blame]
<!DOCTYPE html>
<title>HTMLObjectElement.contentWindow with SVG document</title>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<object data="resources/HTMLObject-contentWindow.svg"></object>
<script>
async_test(function(t) {
var obj = document.querySelector('object');
obj.onload = function () {
t.step(function() {
assert_equals(obj.contentWindow.attrInContentWindow, "validAttr");
});
t.done()
}
}, "Test that content window and attributes should be accessible.");
</script>
</body>