No Bug - Ensure that ion/bug1185957.js won't permafail on uplift. (r=me)

This commit is contained in:
Eric Faust 2015-09-13 20:16:56 -07:00
Родитель 962c356c98
Коммит 2fd667967b
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -11,5 +11,8 @@ class test {
})();
`;
// Throw, even if we cannot run the test
if (classesEnabled())
eval(test);
else
throw new TypeError();