parent
cf8770f3cc
commit
b9854e582f
|
@ -143,8 +143,7 @@ if (process.env['WEB_TEST_METADATA']) {
|
|||
binary: chromeBin,
|
||||
args: args,
|
||||
}
|
||||
},
|
||||
'is determined by the browsers attribute');
|
||||
});
|
||||
}
|
||||
if (webTestNamedFiles['FIREFOX']) {
|
||||
// TODO(gmagolan): implement firefox support for protractor
|
||||
|
|
|
@ -146,7 +146,7 @@ module.exports.stringify = function(obj, quoteKeys) {
|
|||
objStack.push(obj_part);
|
||||
for (var prop in obj_part) {
|
||||
if (obj_part.hasOwnProperty(prop)) {
|
||||
var value = internalStringify(obj_part, prop, false);
|
||||
var value = internalStringify(obj_part, prop);
|
||||
if (typeof value !== 'undefined' && value !== null) {
|
||||
nonEmpty = true;
|
||||
key = isWord(prop) && !quoteKeys ? prop : escapeString(prop, quoteKeys);
|
||||
|
@ -173,7 +173,7 @@ module.exports.stringify = function(obj, quoteKeys) {
|
|||
// but when top-level, return undefined
|
||||
var topLevelHolder = {'': obj};
|
||||
if (obj === undefined) {
|
||||
return getReplacedValueOrUndefined(topLevelHolder, '', true);
|
||||
return getReplacedValueOrUndefined(topLevelHolder, '');
|
||||
}
|
||||
return internalStringify(topLevelHolder, '');
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue