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

Unified Diff: LayoutTests/fast/dom/HTMLDocument/document-special-properties.html

Issue 75273004: Add 'exposed' objects and embeds to a document's named properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove extraneous empty line in expected output Created 7 years 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLDocument/document-special-properties-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLDocument/document-special-properties.html
diff --git a/LayoutTests/fast/dom/HTMLDocument/document-special-properties.html b/LayoutTests/fast/dom/HTMLDocument/document-special-properties.html
index 3040ba1e0755697c67085e461949591242d26c17..11d6b9be22745b8e0340fff32592cb412fe24a72 100644
--- a/LayoutTests/fast/dom/HTMLDocument/document-special-properties.html
+++ b/LayoutTests/fast/dom/HTMLDocument/document-special-properties.html
@@ -72,6 +72,8 @@ if (window.testRunner)
<embed name="embed5" width="0" height="0"></embed>
<embed id="embed5" width="0" height="0"></embed>
<object name="embed6"><embed name="embed6"></embed></object>
+<object name="embed7_0"><embed name="embed7"></embed></object>
+<object name="object8_0" width="0" height="0"><param><embed name="embed8" width="0" height="0"></object></param></object>
<object name="object1" width="0" height="0"></object>
<object name="object2" width="0" height="0"></object>
@@ -83,6 +85,8 @@ if (window.testRunner)
<object name="object5" width="0" height="0"></object>
<object name="object5" width="0" height="0"></object>
<object id="object5" width="0" height="0"></object>
+<object name="object6" width="0" height="0"><object name="object6" width="0" height="0"></object></object>
+<object name="object7_0" width="0" height="0"><object name="object7" width="0" height="0"></object></object>
<iframe name="iframe1" width="0" height="0"></iframe>
<iframe name="iframe2" width="0" height="0"></iframe>
@@ -226,6 +230,8 @@ testProperty("Object by name (multiple)", "object2");
testProperty("Object by id (unique)", "object3");
testProperty("Object by id (multiple)", "object4");
testProperty("Object by id/name mixed", "object5");
+testProperty("Object by name nested in object with the same name", "object6");
+testProperty("Object by name nested in object with a different name", "object7");
print("<br>");
testProperty("Nonexistent embed name", "embed0");
@@ -235,6 +241,8 @@ testProperty("Embed by id (unique)", "embed3");
testProperty("Embed by id (multiple)", "embed4");
testProperty("Embed by id/name mixed", "embed5");
testProperty("Embed by name nested in object with the same name", "embed6");
+testProperty("Embed by name nested in object with a different name", "embed7");
+testProperty("Embed by name nested in param of an object with a different name", "embed8");
print("<br>");
testProperty("Nonexistent iframe name", "iframe0");
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLDocument/document-special-properties-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698