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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl

Issue 1839913002: Implement PaintWorkletGlobalScope#registerPaint() for the CSS Paint API (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/modules/csspaint/PaintWorkletGlobalScope.idl
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl
index ee716fa06d6860b62f1265ca9822521d67f5b4d9..60d3f9fe96f282183dad7b5d32d0382a2a2f919b 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl
@@ -10,5 +10,5 @@
RuntimeEnabled=CSSPaintAPI,
WillBeGarbageCollected,
] interface PaintWorkletGlobalScope : WorkletGlobalScope {
- void registerPaint(DOMString name, Function paintCtor);
+ [RaisesException] void registerPaint(DOMString name, Function paintCtor);
};

Powered by Google App Engine
This is Rietveld 408576698