- 12 Jul, 2013 4 commits
-
-
-
-
-
Since setting the viewport forces a redraw of the rendering, in an asynchronous manner, it should wait a bit of time. At least SlimerJS needs this delay to redraw its window.
Laurent Jouanneau authored
-
- 10 Jul, 2013 1 commit
-
-
- 03 Jul, 2013 1 commit
-
-
- 02 Jul, 2013 4 commits
-
-
Original http headers should be set only after the query append, not immediately after calling webpage.openUrl. The request initialization may take time, and so customHeaders are not send because they are erased by the original value before the request initialization. (at least in Gecko)
Laurent Jouanneau authored -
Error message for a ReferenceError is not equal between Gecko and Webkit.
Laurent Jouanneau authored -
In gecko, value of <input type=file> is only the filename. It does not contain this c:\fakepath\ path.
Laurent Jouanneau authored -
It seems that Gecko has a different behavior than Phantomjs's webkit on some HTTP response: 102, 118 and 408. Let's do not tests on these http code with Gecko.
Laurent Jouanneau authored
-
- 01 Jul, 2013 1 commit
- 27 Jun, 2013 1 commit
-
-
- Type of window is "window", not "domwindow" in Gecko - The name of an exception for a syntax error is "SyntaxError" in gecko - fixes utils.mergeObjects: it seems that the object constructor is undefined because of a bug in the security layer of sandboxes or a bug in slimerjs? Didn't really found the origin of this issue.
Laurent Jouanneau authored
-
- 24 Jun, 2013 3 commits
-
-
With SlimerJS, checkStep turns into an infinite loop when clicking on an <a target="_blank"> links, because navigationRequested is staying always at true. In fact, it should not be modify to true. In this case, onNavigationRequested is called with isMainFrame=true instead of false. This is an issue of SlimerJS, that needs a patch on Gecko. https://github.com/laurentj/slimerjs/issues/48 This is a "bypass" patch, and should be removed when SlimerJS will be released with its own patched Gecko.
Laurent Jouanneau authored -
When an assertion fails, casperjs stops any steps in the current suite. This could cause issues in a test suite. For example, "withFrame" generates some steps: - one to switch to the given frame - one to execute the given tests - one to switch to the main frame. If tests fail, the third step is not executed, and then next tests fail because they are not executed in the main frame. we can saw this issue in selftests: if a test fails in tests/suites/casper/frame.js, tests in tests/suites/casper/global.js fail too.
Laurent Jouanneau authored -
-
- 21 Jun, 2013 1 commit
-
-
- skip tests about javascript: links, because they are executed asynchronously so tests about them fails. - event.x and event.y don't exist in Gecko. The standard way is event.clientX and event.clientY
Laurent Jouanneau authored
-
- 20 Jun, 2013 4 commits
-
-
-
-
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 1 commit