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

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

Issue 1257613003: bindings: Supports inheritance of [Unforgeable] attributes as accessor-type properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Made inherit_unforgeable_attributes more robust. 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
Index: Source/core/dom/XMLDocument.idl
diff --git a/Source/core/dom/XMLDocument.idl b/Source/core/dom/XMLDocument.idl
index db3ce53a1094c35e500417ffe359fbfed827a3ca..df60667a5633e399ad96862969645bb23c1bd432 100644
--- a/Source/core/dom/XMLDocument.idl
+++ b/Source/core/dom/XMLDocument.idl
@@ -26,11 +26,4 @@
// 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;
};

Powered by Google App Engine
This is Rietveld 408576698