Bug 1169674 - Use originNoSuffix for permission event. r=fabrice, f=bholley

This commit is contained in:
Michael Henretty 2015-08-10 15:08:46 +02:00
parent d12c646ffd
commit e8c69576a6

View File

@ -413,7 +413,10 @@ ContentPermissionPrompt.prototype = {
type: type,
permissions: permissions,
id: requestId,
origin: principal.origin,
// This system app uses the origin from permission events to
// compare against the mozApp.origin of app windows, so we
// are not concerned with origin suffixes here (appId, etc).
origin: principal.originNoSuffix,
isApp: isApp,
remember: remember,
isGranted: isGranted,