Index: LayoutTests/fast/dom/Window/window-special-properties-expected.txt |
diff --git a/LayoutTests/fast/dom/Window/window-special-properties-expected.txt b/LayoutTests/fast/dom/Window/window-special-properties-expected.txt |
index b0ff6a83edf169284f46c8a495d6b071b2ec175c..4bfbd7a88411ed44b6d9ffe9a4888367311dd6bc 100644 |
--- a/LayoutTests/fast/dom/Window/window-special-properties-expected.txt |
+++ b/LayoutTests/fast/dom/Window/window-special-properties-expected.txt |
@@ -1,4 +1,4 @@ |
-This test covers the various ways of accessing DOM elements through the window object by name, id or index, directly as properties of the window object. This lookup is supposed to include applet, embed, form, image and object by name, and all elements by id. It should give the element itself in the case of a single match, or an HTMLCollection in the case of multiple matches; except that when iframes are involved, it will give the window object for the first iframe match. |
+This test covers the various ways of accessing DOM elements through the window object by name, id or index, directly as properties of the window object. This lookup is supposed to include embed, form, image and object by name, and all elements by id. It should give the element itself in the case of a single match, or an HTMLCollection in the case of multiple matches; except that when iframes are involved, it will give the window object for the first iframe match. |
Our results match WinIE in all respects but one. We allow child frame names to take precedence over built-in and custom properties of the window object. This is the Mozilla behavior and is required to make some sites work because they use frame names that collide with built-in properties in Mozilla but not IE - specifically "toobar". See Radar 3870317. |
@@ -18,13 +18,6 @@ Form by id (unique): single FORM(id) |
Form by id (multiple): collection(2) FORM(id) FORM(id) |
Form by id/name mixed: collection(4) FORM(id) FORM(name) FORM(name) FORM(id) |
-Nonexistent applet name: undefined |
-Applet by name (unique): single APPLET(name) |
-Applet by name (multiple): collection(2) APPLET(name) APPLET(name) |
-Applet by id (unique): single APPLET(id) |
-Applet by id (multiple): collection(2) APPLET(id) APPLET(id) |
-Applet by id/name mixed: collection(4) APPLET(id) APPLET(name) APPLET(name) APPLET(id) |
- |
Nonexistent object name: undefined |
Object by name (unique): single OBJECT(name) |
Object by name (multiple): collection(2) OBJECT(name) OBJECT(name) |
@@ -53,10 +46,10 @@ Span by id (unique): single SPAN(id) |
Span by id (multiple): collection(2) SPAN(id) SPAN(id) |
Span by id/name mixed: collection(2) SPAN(id) SPAN(id) |
-Mixed by id: collection(7) IMG(id) FORM(id) APPLET(id) EMBED(id) OBJECT(id) IFRAME(id) SPAN(id) |
+Mixed by id: collection(6) IMG(id) FORM(id) EMBED(id) OBJECT(id) IFRAME(id) SPAN(id) |
Mixed by name: single WINDOW |
-Mixed by id (no iframe): collection(6) IMG(id) FORM(id) APPLET(id) EMBED(id) OBJECT(id) SPAN(id) |
-Mixed by name (no iframe): collection(5) IMG(name) FORM(name) APPLET(name) EMBED(name) OBJECT(name) |
+Mixed by id (no iframe): collection(5) IMG(id) FORM(id) EMBED(id) OBJECT(id) SPAN(id) |
+Mixed by name (no iframe): collection(4) IMG(name) FORM(name) EMBED(name) OBJECT(name) |
Numeric 0: single WINDOW |
Numeric 12: single WINDOW |