зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1007334 - Followup: Fix bogus test for new behavior on a CLOSED TREE. (r=jwalden over IRC)
This commit is contained in:
Родитель
58426e8e0c
Коммит
1300f98f3b
|
@ -1,4 +1,4 @@
|
|||
// Return the names returned by the trap
|
||||
// Cull non-existent names returned by the trap.
|
||||
var names = Object.keys(new Proxy(Object.create(Object.create(null, {
|
||||
a: {
|
||||
enumerable: true,
|
||||
|
@ -22,5 +22,4 @@ var names = Object.keys(new Proxy(Object.create(Object.create(null, {
|
|||
return [ 'e' ];
|
||||
}
|
||||
}));
|
||||
assertEq(names.length, 1);
|
||||
assertEq(names[0], 'e');
|
||||
assertEq(names.length, 0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче