upload file not working with PhantomJS 2.1.1

Bug #1605628 reported by Alexander Todorov
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
phantomjs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

See the following upstream issue:
https://github.com/ariya/phantomjs/issues/12506

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://github.com/ariya/phantomjs/issues/12506#issuecomment-61698339

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.

Revision history for this message
Alexander Todorov (atodorov-a) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in phantomjs (Ubuntu):
status: New → Confirmed
Revision history for this message
prusswan (prusswan) wrote :

Can this ever be fixed at the system package level? Otherwise it makes more sense to recommend people to use the prebuilt binary

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.