Index: LayoutTests/fast/dom/content-element-select-null.html |
diff --git a/LayoutTests/fast/dom/content-element-select-null.html b/LayoutTests/fast/dom/content-element-select-null.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1287e1dc236687501fbba432a6c7fcb06e5e62cf |
--- /dev/null |
+++ b/LayoutTests/fast/dom/content-element-select-null.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE HTML> |
+<html> |
philipj_slow
2015/07/20 12:14:38
It's OK to omit the <html> tag:
https://www.chromi
shiva.jm
2015/07/21 05:02:05
Done.
|
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script> |
+ |
+test(function() { |
+ var element = document.createElement('content'); |
+ assert_equals(element.select, ''); |
+ element.select = 'null' |
philipj_slow
2015/07/20 12:14:38
This should set null, not the string 'null', in or
shiva.jm
2015/07/21 05:02:05
Done.
|
+ assert_equals(element.select, 'null'); |
+ element.select = '' |
philipj_slow
2015/07/20 12:14:38
Testing the empty string isn't needed, I think. Th
shiva.jm
2015/07/21 05:02:05
Done.
|
+ assert_equals(element.select, ''); |
+ element.select = 'undefined' |
philipj_slow
2015/07/20 12:14:38
Similarly, this should not be the string 'undefine
shiva.jm
2015/07/21 05:02:05
Done.
|
+ assert_equals(element.select, 'undefined'); |
+}, ' content element test for select attribute, null and undefined arguments.'); |
+ |
+</script> |
+</html> |