Index: LayoutTests/fast/dom/custom/type-extension-is-null.html |
diff --git a/LayoutTests/fast/dom/custom/type-extension-is-null.html b/LayoutTests/fast/dom/custom/type-extension-is-null.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c23acbdbab2e32050b06a056e804cc199f7df3b |
--- /dev/null |
+++ b/LayoutTests/fast/dom/custom/type-extension-is-null.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<script src="../../../resources/testharness.js"></script> |
+<script src="../../../resources/testharnessreport.js"></script> |
+<body> |
+<script> |
+test(function() { |
+ var A = document.registerElement('x-foo', {extends: null, prototype: null}); |
+ assert_equals(new A().outerHTML, '<x-foo></x-foo>', |
+ 'type extensions should have an "is" attribute'); |
dominicc (has gone to gerrit)
2014/08/15 07:00:19
The assertion arguments seem to contradict the ass
deepak.sa
2014/08/18 12:50:27
Assertion message updated.
|
+}, 'register a type extension'); |
+</script> |