swellrt
swellrt copied to clipboard
Error in phantom.js
When loading swellrt in phantom.js, the following erros appears:
2016-10-02T09:47:58.913Z getting https://staging.teem.works/teems/cHJvdG90eXBlLnAycHZhbHVlLmV1L3MrbTNYVXBxNTVEZ0E
Atmosphere callback 200
Atmosphere callback 200
TypeError: Function.caller used to retrieve strict caller
https://swellrt.staging.teem.works/swellrt/5DD6799DBD533E8AD639C0D7159FD847.cache.js:13148 in collect
https://swellrt.staging.teem.works/swellrt/5DD6799DBD533E8AD639C0D7159FD847.cache.js:13032 in captureStackTrace_0
https://swellrt.staging.teem.works/swellrt/5DD6799DBD533E8AD639C0D7159FD847.cache.js:21870 in toJava
https://swellrt.staging.teem.works/swellrt/5DD6799DBD533E8AD639C0D7159FD847.cache.js:47237 in onMessage_1
https://swellrt.staging.teem.works/swellrt/5DD6799DBD533E8AD639C0D7159FD847.cache.js:47003 in onMessage_0
https://swellrt.staging.teem.works/swellrt/5DD6799DBD533E8AD639C0D7159FD847.cache.js:47123 in onMessage
https://swellrt.staging.teem.works/atmosphere/atmosphere.js:2454 in _f
https://swellrt.staging.teem.works/atmosphere/atmosphere.js:2444 in _invokeFunction
https://swellrt.staging.teem.works/atmosphere/atmosphere.js:2540 in _invokeCallback
https://swellrt.staging.teem.works/atmosphere/atmosphere.js:1278 in onmessage
Atmosphere callback 200
Atmosphere callback 200
Would you mind, please, walking through the steps to replicate this issue? Environments, process, steps taken... these are important so that we can help.
Thanks!
It seems it's related with JS strict mode. @atd is there any JS module involved in the execution? e.g a test library?
Not sure.. We are using https://github.com/prerender/prerender with the script at https://github.com/P2Pvalue/docker-prerender/blob/master/server.js
This seems to be one of the offending functions
I have searched arguments.callee.caller
and cannot find the string in SwellRT code
Seems to be related with https://github.com/gwtproject/gwt/issues/9132