mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-01 10:18:35 +08:00
Add: Console api doc
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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));
|
||||
Reference in New Issue
Block a user