Searched refs:EvilExceptionObject (Results 1 - 2 of 2) sorted by relevance

/external/webkit/Source/JavaScriptCore/API/tests/
H A Dtestapi.js236 EvilExceptionObject.hasInstance = function f() { return f(); };
237 EvilExceptionObject.__proto__ = undefined;
238 shouldThrow("undefined instanceof EvilExceptionObject");
239 EvilExceptionObject.hasInstance = function () { return true; };
240 shouldBe("undefined instanceof EvilExceptionObject", true);
242 EvilExceptionObject.toNumber = function f() { return f(); }
243 shouldThrow("EvilExceptionObject*5");
244 EvilExceptionObject.toStringExplicit = function f() { return f(); }
245 shouldThrow("String(EvilExceptionObject)");
H A Dtestapi.c409 "EvilExceptionObject",
930 JSObjectRef EvilExceptionObject = JSObjectMake(context, EvilExceptionObject_class(context), NULL); local
931 JSStringRef EvilExceptionObjectIString = JSStringCreateWithUTF8CString("EvilExceptionObject");
932 JSObjectSetProperty(context, globalObject, EvilExceptionObjectIString, EvilExceptionObject, kJSPropertyAttributeNone, NULL);

Completed in 80 milliseconds