Index: third_party/WebKit/LayoutTests/fast/dom/HTMLObjectElement/HTMLObject-contentWindow-query.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLObjectElement/HTMLObject-contentWindow-query.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLObjectElement/HTMLObject-contentWindow-query.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..79112a39fcb05cd78da39d0505647e2e5d733fcc |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLObjectElement/HTMLObject-contentWindow-query.html |
@@ -0,0 +1,17 @@ |
+<!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> |