Stefan Siegl
3257a86bef
hold extra reference on v8 instance as long as we call into V8, closes #472
2022-05-29 21:48:47 +02:00
Stefan Siegl
403435d0c0
relax expectations on V8 toString conversions (broken by V8 8.4), refs #444
2020-08-21 10:10:56 +02:00
Stefan Siegl
fcd78f830a
use EXPECTREGEX to handle different PHP version's output well
2019-06-23 19:09:12 +02:00
Stefan Siegl
5f7bf9900b
add test, refs #410
2019-06-22 18:59:41 +02:00
Stefan Siegl
a67253477b
disable timezones.phpt test, currently known broken, refs #378
2018-11-06 12:02:25 +01:00
Stefan Siegl
90b6b31f06
break recursion immediately on PHP <= 7.2 as well
2018-07-13 15:52:41 +02:00
Stefan Siegl
42e907c31e
Merge pull request #365 from Jan-E/appveyor_3_tests
...
Appveyor enable 3 extra tests
2018-07-13 14:30:17 +02:00
Jan-E
61f98e2a4a
extensions_error.phpt runs fine on Windows
2018-07-07 05:18:31 +02:00
Jan-E
c87ddb8ebf
Fix tests for added method DateTime::createFromImmutable()
2018-07-05 11:45:03 +02:00
Stefan Siegl
48a763d6db
pass module_base directly via FunctionTemplate, closes #349
2018-02-01 19:39:26 +01:00
Stefan Siegl
7663fb6888
support native modules
2018-01-05 21:44:40 +01:00
Stefan Siegl
f1e2c36a0a
Merge remote-tracking branch 'stesie/remove-compat-exceptions' into php7
2017-11-26 12:27:02 +01:00
Stefan Siegl
b12a2fb4e3
Merge remote-tracking branch 'stesie/require-exception-handling' into php7
2017-11-26 12:24:46 +01:00
Stefan Siegl
278b4fbedb
Merge remote-tracking branch 'remotes/stesie/global-object' into php7
2017-11-26 12:21:50 +01:00
Stefan Siegl
302bf1d0ff
remove v8js.compat_php_exceptions
2017-11-26 11:48:52 +01:00
Stefan Siegl
6a2f53a9f1
test "delete module.exports"
2017-11-12 16:27:50 +01:00
Stefan Siegl
1c7e355937
allow modules to return arbitrary values
2017-11-12 16:26:18 +01:00
Stefan Siegl
384ec9b1b6
use "this = module.exports" for modules
2017-11-12 16:20:24 +01:00
Stefan Siegl
f3a46ff833
re-use global context for modules + provide module.exports
2017-11-12 16:14:32 +01:00
Stefan Siegl
c20c19c126
add test so that 'this === global'
2017-11-12 15:28:44 +01:00
Stefan Siegl
e4ab07de03
Add Node.js-style "global" to global scope
2017-11-12 15:26:34 +01:00
Stefan Siegl
4e687c3950
Merge pull request #332 from stesie/unicode-test
...
Unicode test
2017-09-25 17:35:57 +02:00
Stefan Siegl
3afd98ba3a
Merge pull request #331 from stesie/mark-pending-exceptions-deprecated
...
Mark pending exceptions deprecated
2017-09-25 15:08:33 +02:00
Stefan Siegl
289e382e63
re-add module focused unicode test
2017-09-25 15:08:23 +02:00
Stefan Siegl
d6561fe7dc
fix test filename
2017-09-25 15:03:46 +02:00
Stefan Siegl
ec49c03c0f
fix test-file syntax
2017-09-25 15:03:34 +02:00
Stefan Siegl
ef90ad7065
Revert "Create unicode.php"
...
This reverts commit 3559f1797e
.
2017-09-25 15:01:37 +02:00
Stefan Siegl
33b3ff5e1f
Revert "Renamed to unicode.phpt"
...
This reverts commit 202f0beefa
.
2017-09-25 15:01:21 +02:00
Stefan Siegl
eba01e1088
Merge branch 'patch-2' of https://github.com/HoffmannP/v8js into php7
2017-09-25 14:50:42 +02:00
Stefan Siegl
82930c9ea9
Create deprecated warning if setting $report_uncaught_exceptions != true
2017-09-25 14:35:46 +02:00
Stefan Siegl
56e83a9fbb
mark clearPendingException & getPendingException functions deprecated
2017-09-25 14:28:16 +02:00
Stefan Siegl
22bcf85348
Write deprecation warning on non-empty $extensions array passed to V8Js::__construct
2017-09-25 14:06:33 +02:00
Stefan Siegl
9734466105
mark registerExtension & getExtensions deprecated + adapt test output
2017-09-25 13:45:19 +02:00
Peter Hoffmann
202f0beefa
Renamed to unicode.phpt
...
added test for commonJS modules
2017-06-12 11:20:11 +02:00
Peter Hoffmann
3559f1797e
Create unicode.php
...
Create compatibility with versions compiled without snapshot support
2017-06-12 10:37:54 +02:00
Peter Hoffmann
2c60547ece
Update unicode.php
...
removed flagg that was misplaced and would've been useless
2017-06-12 10:11:02 +02:00
Peter Hoffmann
2fbd780771
Create test for unicode symbols
...
This test is created b/c the same test with extensions would fail (see #317 )
2017-06-09 14:45:45 +02:00
Stefan Siegl
36f52e84d1
Add test for #316
2017-06-08 23:15:06 +02:00
Stefan Siegl
09f69caf64
Relax test to work on V8 without i18n support
2017-04-14 22:48:39 +02:00
Stefan Siegl
c957be8b2a
Initialize ICU as (meanwhile) needed
2017-04-14 21:00:31 +02:00
Stefan Siegl
54e3a07bc8
make exception_start_column.phpt green again, closes #302
...
Test began to fail with V8 ~5.9.35 which started to report different
column numbers of errors. Adapt test so it works well with older
and newer versions of V8.
2017-03-14 07:28:24 +01:00
Stefan Siegl
397c5f0e09
load ext-dom for test, if available, refs #270
2017-03-12 10:09:59 +01:00
Stefan Siegl
346c47b657
skip long_int64 test on 32bit PHP versions
2017-03-08 07:58:38 +01:00
Stefan Siegl
b45bef46de
pick up int64 export test from issue #287
2017-03-08 07:54:48 +01:00
Stefan Siegl
3970fdebc7
Adapt test output to V8 5.7
2017-01-22 14:18:26 +01:00
Stefan Siegl
de71f83b7f
Merge pull request #252 from stesie/issue-246
...
Handle Z_TYPE == IS_REFERENCE well, fixes #246
2016-08-12 15:42:40 +02:00
Stefan Siegl
9d3ff2868c
Remove hard-coded pathname from test
2016-08-12 01:11:51 +02:00
Stefan Siegl
5ae48bbda7
Fix refcounting, use zval_ptr_dtor, closes #250
2016-08-12 01:02:56 +02:00
Stefan Siegl
8126fc4928
Handle Z_TYPE == IS_REFERENCE well, fixes #246
2016-08-11 18:54:38 +02:00
Stefan Siegl
9fd201eb16
forward exceptions thrown in module normaliser
2016-07-03 22:57:11 +02:00