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

Side by Side Diff: Source/core/dom/Document.idl

Issue 1162933003: Remove [TreatNullAs=NullString] from Document.domain (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/http/tests/security/document-domain-invalid.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec. 75 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec.
76 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; 76 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding;
77 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; 77 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion;
78 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; 78 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone;
79 79
80 // HTML 80 // HTML
81 // https://html.spec.whatwg.org/#the-document-object 81 // https://html.spec.whatwg.org/#the-document-object
82 82
83 // resource metadata management 83 // resource metadata management
84 [PutForwards=href, Unforgeable] readonly attribute Location? location; 84 [PutForwards=href, Unforgeable] readonly attribute Location? location;
85 // FIXME: domain should not have [TreatNullAs=NullString]. 85 [RaisesException=Setter] attribute DOMString domain;
86 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMString domain;
87 readonly attribute DOMString referrer; 86 readonly attribute DOMString referrer;
88 // FIXME: cookie should not have [TreatNullAs=NullString]. 87 // FIXME: cookie should not have [TreatNullAs=NullString].
89 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; 88 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie;
90 readonly attribute DOMString lastModified; 89 readonly attribute DOMString lastModified;
91 // FIXME: readyState should use the enum DocumentReadyState. 90 // FIXME: readyState should use the enum DocumentReadyState.
92 // FIXME: readyState should not have [TreatReturnedNullStringAs=Undefined]. 91 // FIXME: readyState should not have [TreatReturnedNullStringAs=Undefined].
93 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e; 92 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e;
94 93
95 // DOM tree accessors 94 // DOM tree accessors
96 // FIXME: title and dir should not have [TreatNullAs=NullString]. 95 // FIXME: title and dir should not have [TreatNullAs=NullString].
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 attribute EventHandler onsearch; 217 attribute EventHandler onsearch;
219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 218 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
220 attribute EventHandler onselectionchange; 219 attribute EventHandler onselectionchange;
221 attribute EventHandler onselectstart; 220 attribute EventHandler onselectstart;
222 attribute EventHandler onwheel; 221 attribute EventHandler onwheel;
223 }; 222 };
224 223
225 Document implements GlobalEventHandlers; 224 Document implements GlobalEventHandlers;
226 Document implements ParentNode; 225 Document implements ParentNode;
227 Document implements NonElementParentNode; 226 Document implements NonElementParentNode;
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/document-domain-invalid.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698