зеркало из https://github.com/mozilla/gecko-dev.git
Followup fixes to misplaced test for bug 648471, seems I made them in the patch in a tree I didn't push. :-\ r=orange
--HG-- extra : rebase_source : cb9b119601b30fd3d66e0699f5c66bac850ec1c7
This commit is contained in:
Родитель
8f2ae0223f
Коммит
4bac585224
|
@ -30,11 +30,11 @@ assertEq(JSON.stringify({ 3: 3, 4: 4 }, [S]),
|
|||
|
||||
Number.prototype.toString = function() { return new String(42); };
|
||||
assertEq(JSON.stringify({ 3: 3, 4: 4 }, [N]),
|
||||
'{"3":3}');
|
||||
'{"4":4}');
|
||||
|
||||
String.prototype.toString = function() { return new Number(17); };
|
||||
assertEq(JSON.stringify({ 3: 3, 4: 4 }, [S]),
|
||||
'{"4":4}');
|
||||
'{"3":3}');
|
||||
|
||||
Number.prototype.toString = null;
|
||||
assertEq(JSON.stringify({ 3: 3, 4: 4 }, [N]),
|
||||
|
|
Загрузка…
Ссылка в новой задаче