Commit ea6d0260 authored by wang's avatar wang

收集环境部分

parent 24726db0
let fonts = [{"font": "50px sans-serif", "text": "0-_{w."}, {
let fonts = [
{"font": "50px sans-serif", "text": "0-_{w."}, {
"font": "50px serif",
"text": "0-_{w."
}, {"font": "50px 'Andale Mono', sans-serif", "text": "0-_{w."}, {
......@@ -579,11 +580,11 @@ for (let i = 0; i < fonts.length; i++) {
}
fontsRes[fonts[i].font][fonts[i].text] = {
width: met.width,
actualBoundingBoxAscent: met.actualBoundingBoxAscent,
actualBoundingBoxLeft: met.actualBoundingBoxLeft,
actualBoundingBoxRight: met.actualBoundingBoxRight,
fontBoundingBoxAscent: met.fontBoundingBoxAscent,
actualBoundingBoxDescent: met.actualBoundingBoxDescent,
actualboundingboxascent: met.actualBoundingBoxAscent,
actualboundingboxleft: met.actualBoundingBoxLeft,
actualboundingboxright: met.actualBoundingBoxRight,
fontboundingboxascent: met.fontBoundingBoxAscent,
actualboundingboxdescent: met.actualBoundingBoxDescent,
}
}
......@@ -694,26 +695,26 @@ for (let i = 0; i < glARgs.length; i++) {
delete canvas
let navigatorparams = {
appName: navigator.appName,
appVersion: navigator.appVersion,
hardwareConcurrency: navigator.hardwareConcurrency,
maxTouchPoints: navigator.maxTouchPoints,
appname: navigator.appName,
appversion: navigator.appVersion,
hardwareconcurrency: navigator.hardwareConcurrency,
maxtouchpoints: navigator.maxTouchPoints,
platform: navigator.platform,
product: navigator.product,
productSub: navigator.productSub,
userAgent: navigator.userAgent,
productsub: navigator.productSub,
useragent: navigator.userAgent,
vendor: navigator.vendor,
vendorSub: navigator.vendorSub,
doNotTrack: navigator.doNotTrack,
vendorsub: navigator.vendorSub,
donottrack: navigator.doNotTrack,
}
let screenparams = {
height: screen.height,
width: screen.width,
availHeight: screen.availHeight,
availWidth: screen.availWidth,
pixelDepth: screen.pixelDepth,
colorDepth: screen.colorDepth,
availheight: screen.availHeight,
availwidth: screen.availWidth,
pixeldepth: screen.pixelDepth,
colordepth: screen.colorDepth,
}
......@@ -721,18 +722,18 @@ let featurePolicy;
if (document.featurePolicy) {
featurePolicy = {
features: document.featurePolicy.features(),
allowedFeatures: document.featurePolicy.allowedFeatures(),
allowedfeatures: document.featurePolicy.allowedFeatures(),
}
}
let windowparams = {
innerHeight: window.innerHeight,
innerWidth: window.innerWidth,
outerHeight: window.outerHeight,
outerWidth: window.outerWidth,
screenX: window.screenX,
screenY: window.screenY,
pageYOffset: window.pageYOffset,
devicePixelRatio: window.devicePixelRatio,
innerheight: window.innerHeight,
innerwidth: window.innerWidth,
outerheight: window.outerHeight,
outerwidth: window.outerWidth,
screenx: window.screenX,
screeny: window.screenY,
pageyoffset: window.pageYOffset,
devicepixelratio: window.devicePixelRatio,
}
......@@ -960,7 +961,7 @@ setTimeout(function (){
glres: glArgs,
jpg: getDataUrl(),
jpg2: getDataUrl2(),
canPlay: canplay(),
canplay: canplay(),
useragentdata: userAgentData,
webglimg: webglImg,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment