0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-19 20:05:22 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Stefan Siegl
645b0df999 Add test from issue #54 2013-10-18 23:57:26 +02:00
C. Scott Ananian
f85675f169 Make JavaScript function wrappers typesafe.
Use the v8::Signature parameter to FunctionTemplate::New to guarantee that
the info->Holder() is of the proper type when `php_v8js_php_callback` is
invoked.

Add test case demonstrating the segfault (which is now prevented).
2013-10-11 23:28:21 -04:00
Stefan Siegl
4f3cbd412b Make test PHP 5.3 compatible 2013-10-07 14:55:01 +02:00
C. Scott Ananian
035e6faa8b Implement property_exists()/isset()/empty() on wrapped JavaScript objects.
Fixes issue #32.
2013-10-05 11:56:42 -04:00
Stefan Siegl
f90650d630 Create temporary HandleScope to get & call methods likewise, closes #33 2013-10-03 01:15:51 +02:00
Stefan Siegl
1f4caaeead Create temporary HandleScope while reading properties 2013-10-03 01:05:03 +02:00
Stefan Siegl
662e491e1f Pass back v8 functions, don't re-wrap 2013-10-03 00:34:50 +02:00
Stefan Siegl
bc82d13658 Add isolate to key of template cache. 2013-10-02 23:38:26 +02:00
Stefan Siegl
e57e3eed1d Add tests with multiple V8Js instances 2013-09-29 23:46:19 +02:00
Stefan Siegl
286b0d8ac0 Handle non-construct call 2013-07-12 20:23:12 +02:00
Stefan Siegl
5987d5d3da Throw exception if __construct is not public 2013-07-12 20:23:12 +02:00
Stefan Siegl
35e9fd849d Add tests. 2013-07-12 20:23:12 +02:00
Stefan Siegl
a3957f3844 Add test for regression pointed out in pull request #14 2013-07-07 23:04:19 +02:00
Andrew Tch
de2479aca6 fixed tests using absolute urls 2013-05-19 17:56:54 +03:00
Simon Best
91b1a2fbd2 Added a test for CommonJS modules. 2013-05-09 23:14:02 +01:00
Simon Best
916728fa8a Added simple tests for time limit and memory limit. 2013-04-14 12:31:35 +01:00
Simon Best
7e90439cdf Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
Chris Johnson
68eb4c5d8b Fixed failing tests with timezone independent equivalents 2013-03-17 20:50:48 -07:00
Patrick Reilly
8fcbf0a9e7 Fixed build in 5.4+ 2012-07-06 17:21:44 -07:00
preilly
30e1d22863 Initial import 2012-04-27 16:26:15 +00:00