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

Unified Diff: Source/core/html/HTMLDocument.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/html/HTMLDocument.idl
diff --git a/Source/core/html/HTMLDocument.idl b/Source/core/html/HTMLDocument.idl
index daa8c685cb9e25a059ffeaa53127b91c63f57583..1b73bc81db7ae852ea5116c288e412b0bab7c450 100644
--- a/Source/core/html/HTMLDocument.idl
+++ b/Source/core/html/HTMLDocument.idl
@@ -24,14 +24,6 @@
// https://html.spec.whatwg.org/#the-window-object
interface HTMLDocument : 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;
-
// https://html.spec.whatwg.org/#Document-partial
// FIXME: *Color should have [TreatNullAs=EmptyString].

Powered by Google App Engine
This is Rietveld 408576698