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

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

Issue 1458753003: Drop [TreatNullAs=NullString] for Document.cookie (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/cookies/js-set-null-expected.txt ('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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // resource metadata management 84 // resource metadata management
85 85
86 // Inheritance of [Unforgeable] attributes is not supported. So we have to 86 // Inheritance of [Unforgeable] attributes is not supported. So we have to
87 // define the same unforgeable attributes in derived interfaces as well. 87 // define the same unforgeable attributes in derived interfaces as well.
88 // See that HTMLDocument and XMLDocument redefine 'location' attribute. 88 // See that HTMLDocument and XMLDocument redefine 'location' attribute.
89 // Keep all the definitions consistent. 89 // Keep all the definitions consistent.
90 // TODO(yukishiino): Support inheritance of attributes defined on instance. 90 // TODO(yukishiino): Support inheritance of attributes defined on instance.
91 [PutForwards=href, Unforgeable] readonly attribute Location? location; 91 [PutForwards=href, Unforgeable] readonly attribute Location? location;
92 [RaisesException=Setter] attribute DOMString domain; 92 [RaisesException=Setter] attribute DOMString domain;
93 readonly attribute DOMString referrer; 93 readonly attribute DOMString referrer;
94 // FIXME: cookie should not have [TreatNullAs=NullString]. 94 [RaisesException] attribute DOMString cookie;
95 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie;
96 readonly attribute DOMString lastModified; 95 readonly attribute DOMString lastModified;
97 readonly attribute DocumentReadyState readyState; 96 readonly attribute DocumentReadyState readyState;
98 97
99 // DOM tree accessors 98 // DOM tree accessors
100 [CustomElementCallbacks] attribute DOMString title; 99 [CustomElementCallbacks] attribute DOMString title;
101 [CustomElementCallbacks] attribute DOMString dir; 100 [CustomElementCallbacks] attribute DOMString dir;
102 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings, TypeCheck ing=Interface] attribute HTMLElement? body; 101 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings, TypeCheck ing=Interface] attribute HTMLElement? body;
103 readonly attribute HTMLHeadElement? head; 102 readonly attribute HTMLHeadElement? head;
104 [SameObject] readonly attribute HTMLCollection images; 103 [SameObject] readonly attribute HTMLCollection images;
105 [SameObject] readonly attribute HTMLCollection embeds; 104 [SameObject] readonly attribute HTMLCollection embeds;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 attribute EventHandler onsearch; 214 attribute EventHandler onsearch;
216 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 215 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
217 attribute EventHandler onselectionchange; 216 attribute EventHandler onselectionchange;
218 attribute EventHandler onselectstart; 217 attribute EventHandler onselectstart;
219 attribute EventHandler onwheel; 218 attribute EventHandler onwheel;
220 }; 219 };
221 220
222 Document implements GlobalEventHandlers; 221 Document implements GlobalEventHandlers;
223 Document implements ParentNode; 222 Document implements ParentNode;
224 Document implements NonElementParentNode; 223 Document implements NonElementParentNode;
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/cookies/js-set-null-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698