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

Unified Diff: Source/bindings/tests/idls/core/TestObject.idl

Issue 968573004: [bindings] Support extended attribute '[CallWith=ScriptState ]' for getter/setter/deleter. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@972153002
Patch Set: Patch for landing. Created 5 years, 10 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
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | Source/bindings/tests/results/core/V8TestObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/core/TestObject.idl
diff --git a/Source/bindings/tests/idls/core/TestObject.idl b/Source/bindings/tests/idls/core/TestObject.idl
index ef3fad70276fc7fe0d0149250b0a15a0d154079b..4a785bcdc9d44c964107af2a82973d80dc81e024 100644
--- a/Source/bindings/tests/idls/core/TestObject.idl
+++ b/Source/bindings/tests/idls/core/TestObject.idl
@@ -476,8 +476,12 @@ interface TestObject {
static void overloadedStaticMethod(long longArg1, long longArg2);
// Special operations
- getter any item(unsigned long index);
- getter object(DOMString name);
+ [CallWith=ScriptState] getter any item(unsigned long index);
+ [CallWith=ScriptState] getter object(DOMString name);
+ [CallWith=ScriptState] setter DOMString setItem(unsigned long index, DOMString value);
+ [CallWith=ScriptState] setter DOMString(DOMString name, DOMString value);
+ [RaisesException, CallWith=ScriptState] deleter boolean(unsigned long index);
+ [CallWith=ScriptState] deleter boolean(DOMString name);
// Extended attributes for arguments
// [Clamp]
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | Source/bindings/tests/results/core/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698