зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1339031 - Part 1: Use the default JavaScript version in standard tests. r=evilpie
This commit is contained in:
Родитель
23bfe02cd8
Коммит
4662d3495a
|
@ -533,18 +533,6 @@ function jsTestDriverBrowserInit()
|
|||
{
|
||||
properties.version = '1.8';
|
||||
}
|
||||
else if (properties.test.match(/^ecma_6\/LexicalEnvironment/))
|
||||
{
|
||||
properties.version = '1.8';
|
||||
}
|
||||
else if (properties.test.match(/^ecma_6\/Class/))
|
||||
{
|
||||
properties.version = '1.8';
|
||||
}
|
||||
else if (properties.test.match(/^ecma_6\/extensions/))
|
||||
{
|
||||
properties.version = '1.8';
|
||||
}
|
||||
}
|
||||
|
||||
// default to language=type;text/javascript. required for
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
// NOTE: This only turns on 1.8.5 in shell builds. The browser requires the
|
||||
// futzing in js/src/tests/browser.js (which only turns on 1.8, the most
|
||||
// the browser supports).
|
||||
if (typeof version != 'undefined')
|
||||
version(185);
|
||||
|
||||
function assertThrownErrorContains(thunk, substr) {
|
||||
try {
|
||||
thunk();
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
// NOTE: This only turns on 1.8.5 in shell builds. The browser requires the
|
||||
// futzing in js/src/tests/browser.js (which only turns on 1.8, the most
|
||||
// the browser supports).
|
||||
if (typeof version != 'undefined')
|
||||
version(185);
|
|
@ -1,5 +0,0 @@
|
|||
// NOTE: This only turns on 1.8.5 in shell builds. The browser requires the
|
||||
// futzing in js/src/tests/browser.js (which only turns on 1.8, the most
|
||||
// the browser supports).
|
||||
if (typeof version != 'undefined')
|
||||
version(185);
|
Загрузка…
Ссылка в новой задаче