Bug 1168260 - Test: Promise methods should not be enumerable. r=till

This commit is contained in:
Tom Schuster 2016-08-06 16:15:54 +02:00
Родитель 87a47612e7
Коммит 822d12a14e
1 изменённых файлов: 9 добавлений и 0 удалений

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

@ -0,0 +1,9 @@
if (!this.Promise) {
reportCompare(true,true);
quit(0);
}
assertEq(Object.keys(Promise).length, 0);
assertEq(Object.keys(Promise.prototype).length, 0);
reportCompare(0, 0, "ok");