зеркало из https://github.com/mozilla/gecko-dev.git
JavaScript Test - fix automatic e4x detection, no bug not part of the build
This commit is contained in:
Родитель
cd22c4371f
Коммит
73168ba864
|
@ -46,7 +46,8 @@ var VERBOSE = false;
|
|||
var SECT_PREFIX = 'Section ';
|
||||
var SECT_SUFFIX = ' of test -';
|
||||
|
||||
if (typeof options != 'undefined')
|
||||
if (typeof options != 'undefined' &&
|
||||
options().indexOf('xml') < 0)
|
||||
{
|
||||
// automatically turn on e4x support
|
||||
options('xml');
|
||||
|
|
Загрузка…
Ссылка в новой задаче