backgroundparser: Relax assert a bit
A file with just a space as file name is fine -- let's rather make sure
we don't pass a folder instead of a file as url
CCBUG: 378933
nalvarez |
kfunk | Apr 19 2017, 9:56 AM |
This change broke test_qmljscontexts and test_qmljsdeclarations at least in master (I didn't check 5.1). The error is:
INVALID URL ENCOUNTERED: "/internal/1993918864-functionContext.js" QUrl("file:///internal/1993918864-functionContext.js")