Index: third_party/WebKit/LayoutTests/svg/as-object/svg-object-contentWindow-query.html |
diff --git a/third_party/WebKit/LayoutTests/svg/as-object/svg-object-contentWindow-query.html b/third_party/WebKit/LayoutTests/svg/as-object/svg-object-contentWindow-query.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d6bb8c7a666932ff413c8770308229ffd0984c43 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/as-object/svg-object-contentWindow-query.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<meta charset="utf-8"> |
+<title>Test</title> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<body onload="onLoad()"> |
+<object id="obj" type="image/svg+xml" data="resources/svg-object-contentWindow.svg"></object> |
+<script> |
+ var t1 = async_test("Test content window"); |
+ function onLoad () { |
+ t1.step(function() { |
+ var contentWindow = document.getElementById('obj').contentWindow; |
+ assert_equals(contentWindow.ContentWindowAndAttribute, true, "content window and attributes should be accessible"); |
Yuki
2016/06/20 04:24:15
I'd suggest:
s/ContentWindowAndAttribute/attrInCon
Shanmuga Pandi
2016/06/21 06:51:38
Done.
|
+ }); |
+ t1.done() |
+ } |
+</script> |
+</body> |