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

Unified Diff: Source/core/dom/XMLDocument.idl

Issue 1193793003: bindings: Makes almost all attributes accessor-type properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.idl ('k') | Source/core/html/HTMLDocument.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/XMLDocument.idl
diff --git a/Source/core/dom/XMLDocument.idl b/Source/core/dom/XMLDocument.idl
index df60667a5633e399ad96862969645bb23c1bd432..db3ce53a1094c35e500417ffe359fbfed827a3ca 100644
--- a/Source/core/dom/XMLDocument.idl
+++ b/Source/core/dom/XMLDocument.idl
@@ -26,4 +26,11 @@
// https://dom.spec.whatwg.org/#xmldocument
interface XMLDocument : Document {
+ // Inheritance of [Unforgeable] attributes is not supported. So we have to
+ // define the same unforgeable attributes in derived interfaces as well.
+ // See that Document already defined 'location' attribute and this interface
+ // redefine it.
+ // Keep all the definitions consistent.
+ // TODO(yukishiino): Support inheritance of attributes defined on instance.
+ [PutForwards=href, Unforgeable] readonly attribute Location? location;
};
« no previous file with comments | « Source/core/dom/Document.idl ('k') | Source/core/html/HTMLDocument.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698