Index: third_party/WebKit/Source/core/html/HTMLLinkElement.idl |
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.idl b/third_party/WebKit/Source/core/html/HTMLLinkElement.idl |
index e66a9382d7894841ddf41ac74e183ecba4701f1e..d56c6a6683db471a5745055903d2ed09e5eebda1 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.idl |
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.idl |
@@ -32,7 +32,7 @@ interface HTMLLinkElement : HTMLElement { |
[CEReactions, Reflect] attribute DOMString media; |
[CEReactions, Reflect] attribute DOMString hreflang; |
[CEReactions, Reflect] attribute DOMString type; |
- [Reflect] attribute DOMString as; |
+ [Reflect, ReflectOnly=("","script","style","image","video", "audio", "track", "font", "fetch"), ReflectMissing="", ReflectInvalid=""] attribute DOMString as; |
Charlie Harrison
2017/05/28 22:22:43
Not an expert on idl, does this enforce case sensi
Yoav Weiss
2017/05/31 05:00:40
It enforces case-sensiticity on the output, but no
|
[CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-when-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", ReflectInvalid=""] attribute DOMString referrerPolicy; |
[CEReactions, PutForwards=value] readonly attribute DOMTokenList sizes; |