Lines Matching refs:CreateFrozen
33 function CreateFrozen(handler, callTrap, constructTrap) { class
190 var f = CreateFrozen({}, callTrap)
251 TestCall(false, CreateFrozen(handler, function(x, y) {
290 var f = CreateFrozen({}, callTrap)
306 TestCallThrow(CreateFrozen({}, function() { throw "myexn" }))
372 var f = CreateFrozen(handler, function() {}, constructTrap)
385 TestConstruct(Object.prototype, CreateFrozen(handler, ReturnNew))
386 TestConstruct(prototype, CreateFrozen(handler, ReturnNewWithProto))
406 var g = CreateFrozen(handler, callTrap)
428 TestConstructFromCall(Object.prototype, true, CreateFrozen({}, ReturnUndef))
429 TestConstructFromCall(Object.prototype, true, CreateFrozen({}, ReturnThis))
430 TestConstructFromCall(Object.prototype, false, CreateFrozen({}, ReturnNew))
431 TestConstructFromCall(prototype, false, CreateFrozen({}, ReturnNewWithProto))
463 CreateFrozen(handlerWithPrototype, ReturnUndef))
465 CreateFrozen(handlerWithPrototype, ReturnThis))
467 CreateFrozen(handlerWithPrototype, ReturnNew))
469 CreateFrozen(handlerWithPrototype, ReturnNewWithProto))
491 TestConstructThrow(CreateFrozen({}, function() { throw "myexn" }))
606 CreateFrozen({}, function() { receiver = this; return 42 }),
607 CreateFrozen({}, function(x) { receiver = this; value = x })
624 TestHigherOrder(CreateFrozen({}, function(x) { return x }))