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

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

Issue 2705043002: Added use counters for document.origin and document.location.origin (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Location.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 /* 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 22 matching lines...) Expand all
33 typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement; 33 typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
34 34
35 // https://dom.spec.whatwg.org/#interface-document 35 // https://dom.spec.whatwg.org/#interface-document
36 36
37 // FIXME: Document should have a constructor. crbug.com/238234 37 // FIXME: Document should have a constructor. crbug.com/238234
38 interface Document : Node { 38 interface Document : Node {
39 [SameObject] readonly attribute DOMImplementation implementation; 39 [SameObject] readonly attribute DOMImplementation implementation;
40 readonly attribute DOMString URL; 40 readonly attribute DOMString URL;
41 // FIXME: documentURI should not be nullable. 41 // FIXME: documentURI should not be nullable.
42 [ImplementedAs=url] readonly attribute DOMString? documentURI; 42 [ImplementedAs=url] readonly attribute DOMString? documentURI;
43 readonly attribute DOMString origin; 43 [MeasureAs=DocumentOrigin] readonly attribute DOMString origin;
44 [RuntimeEnabled=suborigins] readonly attribute DOMString suborigin; 44 [RuntimeEnabled=suborigins] readonly attribute DOMString suborigin;
45 readonly attribute DOMString compatMode; 45 readonly attribute DOMString compatMode;
46 46
47 readonly attribute DOMString characterSet; 47 readonly attribute DOMString characterSet;
48 [ImplementedAs=characterSet] readonly attribute DOMString charset; // legacy alias of .characterSet 48 [ImplementedAs=characterSet] readonly attribute DOMString charset; // legacy alias of .characterSet
49 [ImplementedAs=characterSet] readonly attribute DOMString inputEncoding; // legacy alias of .characterSet 49 [ImplementedAs=characterSet] readonly attribute DOMString inputEncoding; // legacy alias of .characterSet
50 readonly attribute DOMString contentType; 50 readonly attribute DOMString contentType;
51 51
52 readonly attribute DocumentType? doctype; 52 readonly attribute DocumentType? doctype;
53 readonly attribute Element? documentElement; 53 readonly attribute Element? documentElement;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 209 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
210 attribute EventHandler onselectionchange; 210 attribute EventHandler onselectionchange;
211 attribute EventHandler onselectstart; 211 attribute EventHandler onselectstart;
212 attribute EventHandler onwheel; 212 attribute EventHandler onwheel;
213 }; 213 };
214 214
215 Document implements GlobalEventHandlers; 215 Document implements GlobalEventHandlers;
216 Document implements ParentNode; 216 Document implements ParentNode;
217 Document implements NonElementParentNode; 217 Document implements NonElementParentNode;
218 Document implements DocumentOrShadowRoot; 218 Document implements DocumentOrShadowRoot;
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Location.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698