| Index: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-object-element/historical.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-object-element/historical.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-object-element/historical.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0fba470303db829e3df95ee8a2287002b031cbc0
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-object-element/historical.html
|
| @@ -0,0 +1,15 @@
|
| +<!doctype html>
|
| +<title>Historical object element features should not be supported</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<div id=log></div>
|
| +<object id=object></object>
|
| +<script>
|
| +test(function() {
|
| + var elm = document.getElementById('object');
|
| + assert_equals(typeof elm, 'object', 'typeof');
|
| + assert_throws(new TypeError(), function() {
|
| + elm();
|
| + });
|
| +}, 'object legacycaller should not be supported');
|
| +</script>
|
|
|