Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: LayoutTests/fast/frames/iframe-no-name.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698