зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1168260 - Test: Promise methods should not be enumerable. r=till
This commit is contained in:
Родитель
87a47612e7
Коммит
822d12a14e
|
@ -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");
|
Загрузка…
Ссылка в новой задаче