You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-58Lines changed: 7 additions & 58 deletions
Original file line number
Diff line number
Diff line change
@@ -7,73 +7,22 @@ Its commandline syntax is simply this:
7
7
Internally, we use Leprechaun to run our JavaScript unit tests. The way this works is that we run a small JavaScript script which opens a new browser frame, attaches some hooks to listen for error conditions and console messages, and points it at the test.
8
8
9
9
# Disclaimers
10
-
This is very young software. It has a lot of rough edges just now. We think it works, but consider yourself warned.
10
+
Leprechaun has a lot of rough edges right now. We've been using it for years, and it works, but consider yourself warned.
11
11
12
12
# FAQ
13
13
### How is Leprechaun different from PhantomJS?
14
-
[PhantomJS](http://phantomjs.org/) is built atop QtWebKit, which is about a year and a half behind what you get in Chrome today. It therefore lacks a bunch of useful things, like Float64Array.
15
14
16
-
It is also a lot less mature than PhantomJS. If stability is more important than the latest browser features, PhantomJS is terrific.
15
+
The long and the short of it is that we need WebGL, which the PhantomJS team are not interested in implementing.
17
16
18
-
Leprechaun (as of this writing) embeds Chrome 43.0.2357.81 via the thoroughly excellent [CEF](https://bitbucket.org/chromiumembedded/cef). Leprechaun supports everything that modern Chrome supports.
17
+
If you don't need WebGL and you'd rather use something that is under active development, give [PhantomJS](http://phantomjs.org/) a try. It's pretty great.
18
+
19
+
Leprechaun (as of this writing) embeds Chrome 56.0.2924.76 via the thoroughly excellent [CEF](https://bitbucket.org/chromiumembedded/cef). Leprechaun supports everything that modern Chrome supports.
19
20
20
21
---
21
22
22
23
# Compiling
23
-
Leprechaun has been tested to build on Linux Ubuntu Precise (12.04), Windows 7, and OSX 10.9. No other configurations have been tested.
24
-
25
-
First, download the appropriate [compiled CEF binary](http://opensource.spotify.com/cefbuilds/index.html) or [build CEF from source](https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding) using the automated build process. We are using Branch 2357. Building Leprechaun on Linux Ubuntu Precise cannot use the pre-built CEF binaries because of an incompatibility with the default libstdc++ package.
26
-
* Linux 64bit CEF 3.2357.1276
27
-
* Mac 64bit CEF 3.2357.1276
28
-
* Windows 32bit CEF 3.2357.1280
29
-
30
-
If building CEF from source (requires ~24GB of space):
0 commit comments