Index: Source/bindings/tests/results/core/V8TestDictionary.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestDictionary.cpp b/Source/bindings/tests/results/core/V8TestDictionary.cpp |
index f10bccac13cbb1e83f36a3cf1f9b03d9c1c049a2..ecd5f24b9697fdc37aec2c673a0562a69d6062b0 100644 |
--- a/Source/bindings/tests/results/core/V8TestDictionary.cpp |
+++ b/Source/bindings/tests/results/core/V8TestDictionary.cpp |
@@ -125,7 +125,7 @@ void V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value |
} else { |
TOSTRING_VOID(V8StringResource<>, enumMember, enumMemberValue); |
String string = enumMember; |
- if (!(string == "foo" || string == "bar" || string == "baz")) { |
+ if (!(string == "" || string == "EnumValue1" || string == "EnumValue2" || string == "EnumValue3")) { |
exceptionState.throwTypeError("member enumMember ('" + string + "') is not a valid enum value."); |
return; |
} |