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

Side by Side Diff: LayoutTests/fast/dom/HTMLDocument/document-special-properties-expected.txt

Issue 884213006: Make document.location unforgeable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: drop DoNotCheckSecurity Created 5 years, 10 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
« no previous file with comments | « LayoutTests/fast/dom/Document/location-unforgeable.html ('k') | Source/core/dom/Document.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This test covers the various ways of accessing DOM elements through the document object by name, id or index, directly as properties of the document object. Thi s lookup is supposed to include applet, embed, form, image, object and iframe by name, but only applet and object by id. It should give the element itself in th e case of a single match, or an HTMLCollection in the case of multiple matches; except that when exactly one item that is an iframe matches, it will give the wi ndow object for that iframe. 1 This test covers the various ways of accessing DOM elements through the document object by name, id or index, directly as properties of the document object. Thi s lookup is supposed to include applet, embed, form, image, object and iframe by name, but only applet and object by id. It should give the element itself in th e case of a single match, or an HTMLCollection in the case of multiple matches; except that when exactly one item that is an iframe matches, it will give the wi ndow object for that iframe.
2 2
3 Our results match IE. 3 Our results match IE.
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): undefined 10 Image by id (unique): undefined
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 Mixed by name: collection(6) IMG(name) FORM(name) APPLET(name) EMBED(name) OBJEC T(name) IFRAME(name) 66 Mixed by name: collection(6) IMG(name) FORM(name) APPLET(name) EMBED(name) OBJEC T(name) IFRAME(name)
67 Mixed by id (no iframe): collection(2) APPLET(id) OBJECT(id) 67 Mixed by id (no iframe): collection(2) APPLET(id) OBJECT(id)
68 Mixed by name (no iframe): collection(5) IMG(name) FORM(name) APPLET(name) EMBED (name) OBJECT(name) 68 Mixed by name (no iframe): collection(5) IMG(name) FORM(name) APPLET(name) EMBED (name) OBJECT(name)
69 69
70 Numeric 0: undefined 70 Numeric 0: undefined
71 Numeric 12: undefined 71 Numeric 12: undefined
72 Numeric 13: undefined 72 Numeric 13: undefined
73 73
74 Conflicting image: single IMG(name) 74 Conflicting image: single IMG(name)
75 Conflicting image (custom property): single IMG(name) 75 Conflicting image (custom property): single IMG(name)
76 Conflicting iframe: single WINDOW 76 Conflicting iframe: single OTHER
77 77
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Document/location-unforgeable.html ('k') | Source/core/dom/Document.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698