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

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

Issue 860353002: IDL: Add toRestricted{Float,Double}() helpers to V8Binding.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add FIXME comment 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
Index: Source/bindings/tests/idls/core/TestDictionary.idl
diff --git a/Source/bindings/tests/idls/core/TestDictionary.idl b/Source/bindings/tests/idls/core/TestDictionary.idl
index d94e6af7039d02f39c9a35b086c9d747036bdcea..89717c875110633de582518b3d404d133e728422 100644
--- a/Source/bindings/tests/idls/core/TestDictionary.idl
+++ b/Source/bindings/tests/idls/core/TestDictionary.idl
@@ -8,6 +8,8 @@ dictionary TestDictionary {
DOMString stringMember;
TestInterface testInterfaceMember;
double? doubleOrNullMember = null;
+ [TypeChecking=Unrestricted] double restrictedDoubleMember = 3.14;
+ unrestricted double unrestrictedDoubleMember = 3.14;
DOMString? stringOrNullMember = "default string value";
TestInterface? testInterfaceOrNullMember;
TestInterfaceGarbageCollected testInterfaceGarbageCollectedMember;

Powered by Google App Engine
This is Rietveld 408576698