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

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

Issue 1781783002: Implement support for link type serviceworker in link elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 1d19a864b8a314db3c13667583ad367acb33b99b..939b43d40c1adeed3eb4c1230380950ca1d8b3fe 100644
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.idl
@@ -52,4 +52,8 @@ interface HTMLLinkElement : HTMLElement {
// Subresource Integrity
// http://w3c.github.io/webappsec/specs/subresourceintegrity/#htmllinkelement-1
[Reflect] attribute DOMString integrity;
+
+ // Service workers
+ // http://mkruisselbrink.github.io/ServiceWorker/spec/service_worker/#link-element-interface-section
+ [Reflect, RuntimeEnabled=LinkServiceworker] attribute USVString scope;
};

Powered by Google App Engine
This is Rietveld 408576698