upload file not working with PhantomJS 2.1.1
Bug #1605628 reported by
Alexander Todorov
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phantomjs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
See the following upstream issue:
https:/
this is supposedly fixed in 2.1.1 and indeed if I use 2.1.1 compiled from source everything appears to work fine. However if I used 2.1.1 from Xenial deb package I get errors b/c file upload doesn't work.
On GitHub they describe a workaround in QTWebKit sources
https:/
and even an upstream webkit issue which was forgotten. I've tried looking for this workaround in the phantomjs git history but wasn't able to find it.
IMO you will have to patch the .deb package when it builds against the libqt5webkit5-dev deb package.
To post a comment you must log in.
Hi guys,
here's what upstream says:
> Yes, that's correct. We need additional functionality that vanilla QtWebKit doesn't have. That's why we use custom version.
At the moment their qtwebkit fork is 28 commits ahead, 39 commits behind qt:dev.
I propose you bundle all of their git submodules inside the source archive and build the libs locally before building PhantomJS. This is sub-optimal but looks like the only way to go.