[
https://issues.apache.org/jira/browse/COUCHDB-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874907#action_12874907
]
Sean Bartell commented on COUCHDB-564:
--------------------------------------
Actually, it is a bug in CouchDB. The function patchTest in
share/www/script/couch_test_runner.js is run on every test function; it
converts the function to a string, changes calls like "T(...);", and converts
the string back into a function. The problem is that several statements inside
view_collation(_raw) have a call like "T(...)" with no semicolon, which causes
an infinite loop in patchTest.
This isn't a problem for Firefox or other browsers because (as allowed by
ECMA-262 15.3.4.2) they add semicolons into the string representations of
functions.
> view_collation and view_collation_raw tests hang Chrome (Dev Channel, OS X)
> browser
> -----------------------------------------------------------------------------------
>
> Key: COUCHDB-564
> URL: https://issues.apache.org/jira/browse/COUCHDB-564
> Project: CouchDB
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 0.11
> Environment: OS X 10.6.1, Macbook Pro, 64 bit, Core2Duo; Google
> Chrome Dev Channel Release 4.0.229.1; CouchDB tr...@833219
> Reporter: Glenn Rempe
> Attachments: 0001-fix-view_collation-tests-on-Chromium.patch
>
>
> When running the test suite in the Chrome browser on OS X all tests pass
> until the view_collation test is reached. It begins running but hangs the
> browser and pegs the CPU. Eventually the specific browser process (specific
> tab) will need to be killed.
> This also happens if either the view_collation or view_collation_raw tests
> are run individually.
> All of the tests after view_collation and view_collation_raw run cleanly when
> run manually later so it appears that only these two cause trouble.
> Nothing is shown in the developer tools console in Chrome.
> The same test suite runs clean all the way through when run immediately after
> in a Safari 4.0.3 browser without any restart of CouchDB required.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.