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

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

Issue 499293003: IDL: Avoid generating empty ConstantConfiguration arrays (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 4 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/V8TestInterface2.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestInterface2.idl
diff --git a/Source/bindings/tests/idls/TestInterface2.idl b/Source/bindings/tests/idls/TestInterface2.idl
index a941db67b3a0a13accb88af64ba105291fa99c5c..8bb30a6e7400a3655887d81c5886b296836956fd 100644
--- a/Source/bindings/tests/idls/TestInterface2.idl
+++ b/Source/bindings/tests/idls/TestInterface2.idl
@@ -40,6 +40,9 @@
SetWrapperReferenceFrom=ownerNode, // Conflicts with [SetWrapperReferenceTo]
SpecialWrapFor=(TestInterface,TestInterfaceEmpty), // Conflicts with [Custom=ToV8]
] interface TestInterface2 {
+ // This interface has only runtime enabled constants.
+ [RuntimeEnabled=FeatureName] const unsigned short CONST_VALUE_1 = 1;
+
// Indexed property operations with an identifier
[RaisesException] getter TestInterfaceEmpty item(unsigned long index);
[RaisesException] setter DOMString setItem(unsigned long index, DOMString value);
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | Source/bindings/tests/results/V8TestInterface2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698