Comment 2 for bug 1026614

Revision history for this message
Daniel Manrique (roadmr) wrote :

Awesome, I triaged my own bug :)
The problem is when reading the xslt file, which in the submission.xml file is referenced through a file:// url. Chromium doesn't like this :(

//By default, file:// URIs cannot read other file:// URIs. This is an
// override for developers who need the old behavior for testing.

Running it like this works:

chromium-browser --allow-file-access-from-files submission.xml

The simplistic way to solve this would be adding this command-line parameter to the browser invocation command in checkbox/user_interface.py if the browser turns out to be chrome or chromium-browser. I still need to read up on why this isn't enabled by default and whether we will incur users' wrath if we turn this on.