The V8int used in the bindings code is incorrect. > Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp:1740 > + EXCEPTION_BLOCK(int, intArg, V8int::HasInstance(MAYBE_MISSING_PARAMETER(args, 0, DefaultIsUndefined)) ? V8int::toNative(v8::Handle<v8::Object>::Cast(MAYBE_MISSING_PARAMETER(args, 0, DefaultIsUndefined))) : 0);
V8int isn't the problem. The problem is that you're using "int" in the IDL file, which is wrong. The correct type for integers in IDL is long.
Created attachment 154159 [details] Proposed Patch
Comment on attachment 154159 [details] Proposed Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154159&action=review > Source/WebCore/bindings/scripts/test/TestObj.idl:193 > + [V8EnabledAtRuntime=FeatureName] void enabledAtRuntimeMethod2(in long intArg); Let's rename to longArg. > Source/WebCore/bindings/scripts/test/TestObj.idl:198 > + [V8EnabledPerContext] void enabledPerContextMethod1(in long intArg); > + [V8EnabledPerContext=FeatureName] void enabledPerContextMethod2(in long intArg); Ditto.
Committed as http://trac.webkit.org/changeset/123550.