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

Side by Side Diff: LayoutTests/fast/dom/Window/window-special-properties-expected.txt

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test covers the various ways of accessing DOM elements through the window o bject by name, id or index, directly as properties of the window object. This lo okup is supposed to include applet, embed, form, image and object by name, and a ll elements by id. It should give the element itself in the case of a single mat ch, or an HTMLCollection in the case of multiple matches; except that when ifram es are involved, it will give the window object for the first iframe match. 1 This test covers the various ways of accessing DOM elements through the window o bject by name, id or index, directly as properties of the window object. This lo okup is supposed to include embed, form, image and object by name, and all eleme nts by id. It should give the element itself in the case of a single match, or a n HTMLCollection in the case of multiple matches; except that when iframes are i nvolved, it will give the window object for the first iframe match.
2 2
3 Our results match WinIE in all respects but one. We allow child frame names to t ake 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 f rame names that collide with built-in properties in Mozilla but not IE - specifi cally "toobar". See Radar 3870317. 3 Our results match WinIE in all respects but one. We allow child frame names to t ake 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 f rame names that collide with built-in properties in Mozilla but not IE - specifi cally "toobar". See Radar 3870317.
4 4
5 Results: 5 Results:
6 6
7 Nonexistent image name: undefined 7 Nonexistent image name: undefined
8 Image by name (unique): single IMG(name) 8 Image by name (unique): single IMG(name)
9 Image by name (multiple): collection(2) IMG(name) IMG(name) 9 Image by name (multiple): collection(2) IMG(name) IMG(name)
10 Image by id (unique): single IMG(id) 10 Image by id (unique): single IMG(id)
11 Image by id (multiple): collection(2) IMG(id) IMG(id) 11 Image by id (multiple): collection(2) IMG(id) IMG(id)
12 Image by id/name mixed: collection(4) IMG(id) IMG(name) IMG(name) IMG(id) 12 Image by id/name mixed: collection(4) IMG(id) IMG(name) IMG(name) IMG(id)
13 13
14 Nonexistent form name: undefined 14 Nonexistent form name: undefined
15 Form by name (unique): single FORM(name) 15 Form by name (unique): single FORM(name)
16 Form by name (multiple): collection(2) FORM(name) FORM(name) 16 Form by name (multiple): collection(2) FORM(name) FORM(name)
17 Form by id (unique): single FORM(id) 17 Form by id (unique): single FORM(id)
18 Form by id (multiple): collection(2) FORM(id) FORM(id) 18 Form by id (multiple): collection(2) FORM(id) FORM(id)
19 Form by id/name mixed: collection(4) FORM(id) FORM(name) FORM(name) FORM(id) 19 Form by id/name mixed: collection(4) FORM(id) FORM(name) FORM(name) FORM(id)
20 20
21 Nonexistent applet name: undefined
22 Applet by name (unique): single APPLET(name)
23 Applet by name (multiple): collection(2) APPLET(name) APPLET(name)
24 Applet by id (unique): single APPLET(id)
25 Applet by id (multiple): collection(2) APPLET(id) APPLET(id)
26 Applet by id/name mixed: collection(4) APPLET(id) APPLET(name) APPLET(name) APPL ET(id)
27
28 Nonexistent object name: undefined 21 Nonexistent object name: undefined
29 Object by name (unique): single OBJECT(name) 22 Object by name (unique): single OBJECT(name)
30 Object by name (multiple): collection(2) OBJECT(name) OBJECT(name) 23 Object by name (multiple): collection(2) OBJECT(name) OBJECT(name)
31 Object by id (unique): single OBJECT(id) 24 Object by id (unique): single OBJECT(id)
32 Object by id (multiple): collection(2) OBJECT(id) OBJECT(id) 25 Object by id (multiple): collection(2) OBJECT(id) OBJECT(id)
33 Object by id/name mixed: collection(4) OBJECT(id) OBJECT(name) OBJECT(name) OBJE CT(id) 26 Object by id/name mixed: collection(4) OBJECT(id) OBJECT(name) OBJECT(name) OBJE CT(id)
34 27
35 Nonexistent embed name: undefined 28 Nonexistent embed name: undefined
36 Embed by name (unique): single EMBED(name) 29 Embed by name (unique): single EMBED(name)
37 Embed by name (multiple): collection(2) EMBED(name) EMBED(name) 30 Embed by name (multiple): collection(2) EMBED(name) EMBED(name)
38 Embed by id (unique): single EMBED(id) 31 Embed by id (unique): single EMBED(id)
39 Embed by id (multiple): collection(2) EMBED(id) EMBED(id) 32 Embed by id (multiple): collection(2) EMBED(id) EMBED(id)
40 Embed by id/name mixed: collection(4) EMBED(id) EMBED(name) EMBED(name) EMBED(id ) 33 Embed by id/name mixed: collection(4) EMBED(id) EMBED(name) EMBED(name) EMBED(id )
41 34
42 Nonexistent iframe name: undefined 35 Nonexistent iframe name: undefined
43 Iframe by name (unique): single WINDOW 36 Iframe by name (unique): single WINDOW
44 Iframe by name (multiple): single WINDOW 37 Iframe by name (multiple): single WINDOW
45 Iframe by id (unique): single IFRAME(id) 38 Iframe by id (unique): single IFRAME(id)
46 Iframe by id (multiple): collection(2) IFRAME(id) IFRAME(id) 39 Iframe by id (multiple): collection(2) IFRAME(id) IFRAME(id)
47 Iframe by id/name mixed: single WINDOW 40 Iframe by id/name mixed: single WINDOW
48 41
49 Nonexistent span name: undefined 42 Nonexistent span name: undefined
50 Span by name (unique): undefined 43 Span by name (unique): undefined
51 Span by name (multiple): undefined 44 Span by name (multiple): undefined
52 Span by id (unique): single SPAN(id) 45 Span by id (unique): single SPAN(id)
53 Span by id (multiple): collection(2) SPAN(id) SPAN(id) 46 Span by id (multiple): collection(2) SPAN(id) SPAN(id)
54 Span by id/name mixed: collection(2) SPAN(id) SPAN(id) 47 Span by id/name mixed: collection(2) SPAN(id) SPAN(id)
55 48
56 Mixed by id: collection(7) IMG(id) FORM(id) APPLET(id) EMBED(id) OBJECT(id) IFRA ME(id) SPAN(id) 49 Mixed by id: collection(6) IMG(id) FORM(id) EMBED(id) OBJECT(id) IFRAME(id) SPAN (id)
57 Mixed by name: single WINDOW 50 Mixed by name: single WINDOW
58 Mixed by id (no iframe): collection(6) IMG(id) FORM(id) APPLET(id) EMBED(id) OBJ ECT(id) SPAN(id) 51 Mixed by id (no iframe): collection(5) IMG(id) FORM(id) EMBED(id) OBJECT(id) SPA N(id)
59 Mixed by name (no iframe): collection(5) IMG(name) FORM(name) APPLET(name) EMBED (name) OBJECT(name) 52 Mixed by name (no iframe): collection(4) IMG(name) FORM(name) EMBED(name) OBJECT (name)
60 53
61 Numeric 0: single WINDOW 54 Numeric 0: single WINDOW
62 Numeric 12: single WINDOW 55 Numeric 12: single WINDOW
63 Numeric 13: undefined 56 Numeric 13: undefined
64 57
65 Conflicting image name: single OTHER 58 Conflicting image name: single OTHER
66 Conflicting image name (custom property): single OTHER 59 Conflicting image name (custom property): single OTHER
67 Conflicting iframe: single OTHER 60 Conflicting iframe: single OTHER
68 61
69 Input by id (unique): single INPUT(id) 62 Input by id (unique): single INPUT(id)
70 Conflicting input id (navigator): single OTHER 63 Conflicting input id (navigator): single OTHER
71 Conflicting input id (location): single OTHER 64 Conflicting input id (location): single OTHER
72 65
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Window/window-special-properties.html ('k') | LayoutTests/fast/dom/dom-constructors.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698