Index: Source/core/dom/Document.idl |
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl |
index 5b4d664ef087c0b66ec9732b1ae8e55c8f6f363c..29f44df06a75ecaed5313df21c697b1c4a9833d8 100644 |
--- a/Source/core/dom/Document.idl |
+++ b/Source/core/dom/Document.idl |
@@ -80,6 +80,12 @@ interface Document : Node { |
// https://html.spec.whatwg.org/#the-document-object |
// resource metadata management |
+ |
+ // Inheritance of [Unforgeable] attributes is not supported. So we have to |
+ // define the same unforgeable attributes in derived interfaces as well. |
+ // See that HTMLDocument and XMLDocument redefine 'location' attribute. |
+ // Keep all the definitions consistent. |
+ // TODO(yukishiino): Support inheritance of attributes defined on instance. |
[PutForwards=href, Unforgeable] readonly attribute Location? location; |
[RaisesException=Setter] attribute DOMString domain; |
readonly attribute DOMString referrer; |