Closed jeluard closed 9 years ago
Yeah, that was a consequence of my updating the phantom/slimerjs runner @ 64459d4 to pull the content of all of the scripts/expressions to be loaded into a generated HTML page. In short, injectJs
(part of the phantom API) loads code within the browser page's context using various mechanisms (they're slightly different in phantom vs. slimerjs) that lead to security context violations in certain circumstances (most immediate being the new way core.async schedules go block state machine steps starting in one of the more recent builds there).
So, the new approach fixes the security context problem, but makes stack traces useless, as you've seen. A better approach would be for the test runner(s) to be written into /target
(they go into /tmp
right now), and then we can generate an HTML page to feed into the browser page context that loads all scripts named in the arguments to the test runner via relative paths. I think that will work, as long as there aren't other peculiarities about the security context when loading pages/resources from disk...
Sorry for the troubles, but I've deprecated this project. Please see the notice at the top of the repo's README. This is a good thing, fundamentally. :-)
It looks like release
0.3.3
introduced a change that makes stacktraces hard to decipher.Here is what I have with
0.3.2
:and with
0.3.3
Also note there is no error message shown, just the stacktrace.
Is this something we want to improve?