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

Unified Diff: Source/modules/encoding/TextEncoder.idl

Issue 265773010: Add initial support for [Exposed=xx] extended IDL attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/modules/encoding/TextEncoder.idl
diff --git a/Source/modules/encoding/TextEncoder.idl b/Source/modules/encoding/TextEncoder.idl
index 30440ebd901bbff174673df5dc7791e7ce1a1ead..1914ba0b475f81c5193bfcacff82dd51dd839695 100644
--- a/Source/modules/encoding/TextEncoder.idl
+++ b/Source/modules/encoding/TextEncoder.idl
@@ -30,7 +30,7 @@
[
RuntimeEnabled=EncodingAPI,
- GlobalContext=Window&WorkerGlobalScope,
+ Exposed=Window&Worker,
Constructor([Default=NullString] optional DOMString utfLabel),
RaisesException=Constructor,
GarbageCollected

Powered by Google App Engine
This is Rietveld 408576698