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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.idl

Issue 2903653005: [preload] Mandatory `as` value and related spec alignments (Closed)
Patch Set: style Created 3 years, 7 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: 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;

Powered by Google App Engine
This is Rietveld 408576698