0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-10 00:18:41 +00:00
phpv8/tests
Stefan Siegl 18b129b128 Trigger garbage collection within Isolate::Scope
Before the idle notifications to V8 were sent without a special
Isolate entered, which results in V8 using it's default isolate
(which we don't use at all).  Hence those were pretty useless
anyways (if they were called, which was unlikely).

Besides V8 seems to not trigger the weak object callbacks if
the isolate is destroyed, hence the PHP objects we add-ref'ed
before will leak.

Therefore this removes the previous idle notification logic
and forces garbage collection from the V8Js object destructor.
2013-10-27 00:41:47 +02:00
..
basic.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
callbacks.phpt Initial import 2012-04-27 16:26:15 +00:00
closures_basic.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
closures_dynamic.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
commonjs_modules.phpt Added a test for CommonJS modules. 2013-05-09 23:14:02 +01:00
construct.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
context_preserving.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
context_separation.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
context_temp_creation.phpt Add test for regression pointed out in pull request #14 2013-07-07 23:04:19 +02:00
derived_class_properties_extra.phpt Test export of undeclared properties in derived classes 2013-10-19 02:36:19 +02:00
derived_class_properties_init.phpt Add test on initially initialized properties on V8Js object. 2013-10-19 02:15:37 +02:00
derived_class_properties_protected.phpt Add test on protected & private properties on derived classes 2013-10-19 02:17:10 +02:00
derived_class_properties.phpt Add test from issue #54 2013-10-18 23:57:26 +02:00
exception_propagation_1.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
exception_propagation_2.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
exception_propagation_3.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
exception.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
execute_flags_args.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
execute_flags.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
extensions_basic.phpt Initial import 2012-04-27 16:26:15 +00:00
extensions_circular_dependency.phpt Initial import 2012-04-27 16:26:15 +00:00
function_call.phpt Create temporary HandleScope to get & call methods likewise, closes #33 2013-10-03 01:15:51 +02:00
function_passback2.phpt Create temporary HandleScope while reading properties 2013-10-03 01:05:03 +02:00
function_passback.phpt Make test PHP 5.3 compatible 2013-10-07 14:55:01 +02:00
get_accessor.phpt Initial import 2012-04-27 16:26:15 +00:00
js-construct-basic.phpt Add tests. 2013-07-12 20:23:12 +02:00
js-construct-direct-call.phpt Handle non-construct call 2013-07-12 20:23:12 +02:00
js-construct-protected-ctor.phpt Throw exception if __construct is not public 2013-07-12 20:23:12 +02:00
js-construct-with-ctor.phpt Add tests. 2013-07-12 20:23:12 +02:00
leak-php-object.phpt Trigger garbage collection within Isolate::Scope 2013-10-27 00:41:47 +02:00
magic_func.phpt Add a test of PHP magic functions. 2013-10-25 16:47:15 -04:00
memory_limit.phpt fixed tests using absolute urls 2013-05-19 17:56:54 +03:00
multi-object.phpt Add isolate to key of template cache. 2013-10-02 23:38:26 +02:00
multi.phpt Add tests with multiple V8Js instances 2013-09-29 23:46:19 +02:00
object_dom.phpt Add a test for issue 25 (native properties) 2013-10-25 16:47:15 -04:00
object_method_call.phpt Don't re-wrap PHP objects from V8 to V8Object 2013-10-21 20:00:58 +02:00
object_passback.phpt Don't re-wrap PHP objects from V8 to V8Object 2013-10-21 20:00:58 +02:00
object_prototype.phpt Rework JavaScript wrapper for PHP objects. 2013-10-25 16:47:15 -04:00
object_reuse.phpt Initial import 2012-04-27 16:26:15 +00:00
object.phpt Rework JavaScript wrapper for PHP objects. 2013-10-25 16:47:15 -04:00
property_exists.phpt Implement property_exists()/isset()/empty() on wrapped JavaScript objects. 2013-10-05 11:56:42 -04:00
return_value.phpt Unwrap PHP objects when passing them back from JavaScript to PHP. 2013-10-25 14:17:40 -04:00
skipif.inc Initial import 2012-04-27 16:26:15 +00:00
time_limit.phpt fixed tests using absolute urls 2013-05-19 17:56:54 +03:00
var_dump.phpt Rework JavaScript wrapper for PHP objects. 2013-10-25 16:47:15 -04:00
variable_passing.phpt Initial import 2012-04-27 16:26:15 +00:00