- 09 Jun, 2013 4 commits
-
-
-
One test of clitests loads about:blank. However, there is no navigationRequested event and so our new browserInitializing flag is not toggled to false, and then checkStep() is blocking tests. Let's toggle it inside onLoadStarted too.
Laurent Jouanneau authored -
PhantomJS has a strange behavior on fs.read: it seems it reads file always as binary file. However SlimerJS's fs.read strictly respect the 'b' flag. So the web server of selftest should return content of binary files as... binary data. Else images are not sent correctly to the browser and Gecko cannot display them. and then some tests fail, like tests on assertVisible.
Laurent Jouanneau authored
-
- 08 Jun, 2013 1 commit
-
-
- 07 Jun, 2013 1 commit
-
-
The call of webpage.open() (or openUrl()) is synchronous in PhantomJS, but is asynchronous in SlimerJS (it needs to open a real window etc..). So CasperJS should not launch the next step just after the call of webpage.openUrl(). A flag is set to true before this call, and then set to false when receiving the first event from the page loader. And this flag has to be checked before to execute the next step.
Laurent Jouanneau authored
-
- 04 Jun, 2013 1 commit
-
-
- 02 Jun, 2013 4 commits
-
-
- 28 May, 2013 1 commit
-
-
refs #490 - checking for ANSICON on colorizer.js to have colors on Windows
Nicolas Perriault authored
-
- 27 May, 2013 4 commits
-
-
- 23 May, 2013 2 commits
-
- 22 May, 2013 1 commit
-
-
- 21 May, 2013 4 commits
-
-
This options allows to use SlimerJS (gecko) instead of PhantomJS (webkit)
Laurent Jouanneau authored -
SlimerJS provides an API to indicate paths where modules can be found: require.paths (CommonJS specification). So patchRequire is not needed for SlimerJS.
Laurent Jouanneau authored -
In a javascript context, all JS function are not all attached to the window object. This is the case of 'native' functions. In SlimerJS, the 'require' function is not attached to the window object. It is a standalone function.
Laurent Jouanneau authored
-
- 13 May, 2013 2 commits
-
-
- 12 May, 2013 1 commit
-
-
- 10 May, 2013 1 commit
-
-
- 09 May, 2013 13 commits
-
-