Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js_objects.phpt test fails #4

Open
ryandesign opened this issue May 21, 2012 · 0 comments
Open

js_objects.phpt test fails #4

ryandesign opened this issue May 21, 2012 · 0 comments

Comments

@ryandesign
Copy link

Using the spidermonkey PHP extension 1.0.0, and spidermonkey 1.8.5-1.0.0, on OS X 10.6.8, the js_objects.phpt test fails:

=====================================================================
PHP         : /opt/local/bin/php 
PHP_SAPI    : cli
PHP_VERSION : 5.3.12
ZEND_VERSION: 2.3.0
PHP_OS      : Darwin - Darwin 808.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
INI actual  : /opt/local/var/macports/build/_Users_rschmidt_macports_dports_php_php5-spidermonkey/php5-spidermonkey/work/spidermonkey-1.0.0/tmp-php.ini
More .INIs  :  
CWD         : /opt/local/var/macports/build/_Users_rschmidt_macports_dports_php_php5-spidermonkey/php5-spidermonkey/work/spidermonkey-1.0.0
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2012-05-21 11:36:28
=====================================================================
PASS Regression test for bug 16866 ( Returning empty string from static function causes segmentation fault ) [tests/bug16866.phpt] 
PASS Regression test for bug 16876 ( Empty string as a parameter causes segfault ) [tests/bug16876.phpt] 
PASS Regression test for bug 16890 ( Variable is cleaned while being used in JS ) [tests/bug16890.phpt] 
PASS Regression test for bug 16983 ( Problems with registering classes containing __get() ) [tests/bug16983.phpt] 
PASS Regression test for bug 22838 ( Segfault when calling exit from PHP ) [tests/bug22838.phpt] 
PASS register callbacks and closures in JS [tests/js_functions.phpt] 
FAIL complex usage of objects/classes in JS [tests/js_objects.phpt] 
PASS register callbacks and closures in JS [tests/js_streams.phpt] 
PASS basic test for conversion JS <-> PHP [tests/js_types.phpt] 
=====================================================================
TIME END 2012-05-21 11:36:36

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   29
---------------------------------------------------------------------

Number of tests :    9                 9
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 ( 11.1%) ( 11.1%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :    8 ( 88.9%) ( 88.9%)
---------------------------------------------------------------------
Time taken      :    8 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
complex usage of objects/classes in JS [tests/js_objects.phpt]
=====================================================================

The contents of js_objects.diff is:

005- string(33) "Trying to reference global object"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant