File: README.Debian

package info (click to toggle)
phantomjs 2.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 9,268 kB
  • ctags: 7,827
  • sloc: cpp: 6,363; ansic: 4,601; java: 2,041; python: 1,244; sh: 395; ruby: 48; cs: 27; xml: 14; makefile: 12
file content (28 lines) | stat: -rw-r--r-- 950 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Limitations

Unlike original "phantomjs" binary that is statically linked with modified
QT+WebKit, Debian package is built with system libqt5webkit5. Unfortunately
the latter do not have webSecurity extensions therefore "--web-security=no"
is expected to fail.

  https://github.com/ariya/phantomjs/issues/13727#issuecomment-155609276

---

Ghostdriver is crippled due to removed source-less pre-built blobs:

  src/ghostdriver/third_party/webdriver-atoms/*

Therefore all PDF functionality is broken.

---

PhantomJS cannot run in headless mode (if there is no X server available).

Unfortunately it can not be fixed in Debian. To achieve headless-ness
upstream statically link with customised QT + Webkit. We don't want to ship
forks of those projects. It would be great to eventually convince upstream
to use standard libraries.
Meanwhile one can use "xvfb-run" from "xvfb" package:

    xvfb-run --server-args="-screen 0 640x480x16" phantomjs