web-report-sdk icon indicating copy to clipboard operation
web-report-sdk copied to clipboard

A complet sound web performance report plug-in.

Results 29 web-report-sdk issues
Sort by recently updated
recently updated
newest added

看了一下报错信息是因为Sentry会监听fetch Api的报错 https://github.com/getsentry/sentry-javascript/blob/master/packages/browser/src/integrations/breadcrumbs.ts ``` /** JSDoc */ private _instrumentFetch() ... const fetchData: { method: string; url: string; status_code?: number; } = { method: isString(method) ? method.toUpperCase() : method, url, };...

Uncaught (in promise) TypeError: Failed to execute 'json' on 'Response': body stream is locked

在空目录里`npm i jquery web-report`然后创建以下页面: ``` Performance({ domain: '/', }); var request = $.ajax("/"); request.abort(); ``` 就会 ``` defaultReport.js:1 Uncaught TypeError: Cannot read property 'apply' of null ``` 好像是patch `XMLHttpRequest`对象弄坏的?

![image](https://user-images.githubusercontent.com/35132623/59986087-b12fab80-9667-11e9-8800-9b412b7b908a.png) 修改建议: 转 -----> 专

onreadystatechange未过滤url 使得loadNum增加导致后续请求上报失败 如图: ![image](https://user-images.githubusercontent.com/6613538/59190086-67968980-8bae-11e9-8422-80127df64e47.png) https://github.com/wangweianger/web-report-sdk/blob/ef1afc85baee53ccdc683c920256f1bb9f1026f2/src/web-report-default.js#L120

请问如果判断首屏渲染时间

浏览器:WebKit,浏览器版本:605.1.15,系统:iOS,系统版本:12.2 报错:"window.performance.getEntriesByType is not a function. (In 'window.performance.getEntriesByType('resource')', 'window.performance.getEntriesByType' is undefined)" stack: "perforResource "

Uncaught (in promise) DOMException: Failed to execute 'postMessage' on 'Worker': TypeError: ReadableStreamReader constructor can only accept readable streams that are not yet locked to a reader could not be cloned....