- 20 Jun, 2013 1 commit
-
-
the navigationRequested boolean should be false when the new URL has only a difference on the hash part with the previous URL, because in this case we don't have a loadStarted/loadFinished event (at least with Gecko) and then navigationRequested cannot be turn into false. The consequence is that checkStep doesn't execute the next step because of its test on navigationRequested.
Laurent Jouanneau authored
-
- 18 Jun, 2013 2 commits
-
-
In SlimerJS, the webpage object has no type 'qtruntimeobject' written in the string form of the object. But it has a __type property. The function should check this property when the engine is not PhantomJS.
Laurent Jouanneau authored
-
- 13 Jun, 2013 1 commit
-
-
stackArray is not a standard property of the Error object. It is added by PhantomJS (modification in the sources of QTWebkit). We should use the stack property if stackArray is not present (like in SlimerJS)
Laurent Jouanneau authored
-
- 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 9 commits
-
-