Bug 878814 - Add WebIDL support to permission tests; r=baku