Add: Console api doc

This commit is contained in:
surunzi
2016-09-04 14:55:44 +08:00
parent 5611e3a264
commit 0baafbd4c6
5 changed files with 26 additions and 12 deletions

View File

@@ -220,7 +220,7 @@ export default class Network extends Tool
data.push(getData('Total', navigationStart, loadEventEnd));
data.push(getData('Network/Server', navigationStart, responseStart));
data.push(getData('App cache', fetchStart, domainLookupStart));
data.push(getData('App Cache', fetchStart, domainLookupStart));
data.push(getData('DNS', domainLookupStart, domainLookupEnd));
data.push(getData('TCP', connectStart, connectEnd));
data.push(getData('Time to First Byte', requestStart, responseStart));

View File

@@ -126,6 +126,6 @@ function createEl(key, val, firstLevel)
}
const LIGHTER_KEY = ['__proto__', 'constructor', 'toString', 'valueOf'];
const LIGHTER_KEY = ['__proto__', 'constructor', 'toString', 'valueOf', 'length'];
var encode = str => util.escape(util.toStr(str));