Merge pull request #169 from dminor/bug-1039695-fix

Improve logging in webidl and permissions tests