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

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

Issue 871443002: IDL: Further improve indexed/named property setter type checking (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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/V8TestInterface2.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/core/TestInterface2.idl
diff --git a/Source/bindings/tests/idls/core/TestInterface2.idl b/Source/bindings/tests/idls/core/TestInterface2.idl
index 5a70a1aebfa77a22a38f1db5efaa20a11b1ba04d..02de68e29664a71e36300530d76c6c301c373c3d 100644
--- a/Source/bindings/tests/idls/core/TestInterface2.idl
+++ b/Source/bindings/tests/idls/core/TestInterface2.idl
@@ -46,12 +46,12 @@
// Indexed property operations with an identifier
[RaisesException] getter TestInterfaceEmpty item(unsigned long index);
- [RaisesException] setter DOMString setItem(unsigned long index, DOMString value);
+ [RaisesException, TypeChecking=Interface] setter TestInterfaceEmpty setItem(unsigned long index, TestInterfaceEmpty value);
[RaisesException] deleter boolean deleteItem(unsigned long index);
// Named property operations with an identifier
[RaisesException] getter TestInterfaceEmpty namedItem(DOMString name);
- [RaisesException] setter DOMString setNamedItem(DOMString name, DOMString value);
+ [RaisesException, TypeChecking=Interface] setter TestInterfaceEmpty setNamedItem(DOMString name, TestInterfaceEmpty? value);
[RaisesException] deleter boolean deleteNamedItem(DOMString name);
stringifier DOMString stringifierMethod();
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | Source/bindings/tests/results/core/V8TestInterface2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698