Index: LayoutTests/fast/frames/iframe-no-name.html |
diff --git a/LayoutTests/fast/frames/iframe-no-name.html b/LayoutTests/fast/frames/iframe-no-name.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c332cc30101ec812a74120793a7750f8f104445e |
--- /dev/null |
+++ b/LayoutTests/fast/frames/iframe-no-name.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<link rel="help" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-iframe-name"> |
+<script src="../../resources/js-test.js"></script> |
+</head> |
+<body> |
+<iframe id="foo"></iframe> |
+<script> |
+description("Checks that the iframe's name is an empty string if unset."); |
+shouldBeEqualToString("frames[0].name", ""); |
+</script> |
+</body> |
+</html> |