Bug 762007 - mozIDOMApplication* interfaces shouldn't inherit builtinclass interfaces, r=fabrice

--HG--
extra : rebase_source : 8d5a71cde92635ee84ec022f3edddc19156f6bc8
This commit is contained in:
Olli Pettay 2012-06-06 19:42:54 +03:00
Родитель 8111d06371
Коммит 161f46fe5b
2 изменённых файлов: 5 добавлений и 8 удалений

Просмотреть файл

@ -24,14 +24,14 @@ interface mozIDOMApplication : nsISupports
nsIDOMDOMRequest uninstall();
};
[scriptable, uuid(870bfbdc-3e13-4042-99dd-18e25720782d)]
interface mozIDOMApplicationEvent : nsIDOMEvent
[scriptable, uuid(f1dd58d8-5211-46ce-8470-d54dde596725)]
interface mozIDOMApplicationEvent : nsISupports
{
readonly attribute mozIDOMApplication application;
};
[scriptable, uuid(a82771f6-ba46-4073-9e6e-f1ad3f42b1f6)]
interface mozIDOMApplicationMgmt : nsIDOMEventTarget
[scriptable, uuid(bd304874-d532-4e13-8034-544211445583)]
interface mozIDOMApplicationMgmt : nsISupports
{
/**
* the request will return the all the applications installed. Only accessible

Просмотреть файл

@ -28,10 +28,7 @@ var expectedMethods = ['navigator.mozApps.QueryInterface',
'navigator.mozApps.getSelf',
'navigator.mozApps.install',
'navigator.mozApps.mgmt.QueryInterface',
'navigator.mozApps.mgmt.addEventListener',
'navigator.mozApps.mgmt.dispatchEvent',
'navigator.mozApps.mgmt.getAll',
'navigator.mozApps.mgmt.removeEventListener'];
'navigator.mozApps.mgmt.getAll'];
var actualMethods = [];
actualMethods = actualMethods.concat(iterateMethods("navigator.mozApps.", navigator.mozApps, ['setApplicationChooser', 'setRepoOrigin', 'setMockResponse']));