This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
Feat(browser emulator) Improve error stacks and a lot more #742
Annotations
10 errors and 1 warning
plugins/default-browser-emulator/test/detection.test.ts#L966
expect(received).toBeNull()
Received: ["at Proxy.setPrototypeOf"]
at Object.<anonymous> (../plugins/default-browser-emulator/test/detection.test.ts:966:59)
|
plugins/default-browser-emulator/test/detection.test.ts#L1166
expect(received).toBe(expected) // Object.is equality
Expected: null
Received: ["Object.apply"]
at Object.<anonymous> (../plugins/default-browser-emulator/test/detection.test.ts:1166:48)
|
plugins/default-browser-emulator/test/proxyLeak.test.ts#L57
expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 9
Object {
"message": "Function.prototype.toString requires that 'this' be a Function",
"name": "TypeError",
"stack": "TypeError: Function.prototype.toString requires that 'this' be a Function
at toString (<anonymous>)
- at script (<anonymous>:10:44)
- at safeScript (<anonymous>:11:7)
- at <anonymous>:19:7",
+ at Object.External (<anonymous>:1:1148)
+ at l (<anonymous>:1:1165)
+ at Object.apply (<anonymous>:1:1709)
+ at Proxy.apply (<anonymous>:1:1968)
+ at Object.External (<anonymous>:1:1148)
+ at l (<anonymous>:1:1165)
+ at <anonymous>:1:4422
+ at f (<anonymous>:1:3412)
+ at Object.apply (<anonymous>:1:2971)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:57:18)
|
<anonymous>#L15
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 8
Object {
"message": "Cyclic __proto__ value",
"name": "TypeError",
"stack": "TypeError: Cyclic __proto__ value
+ at Proxy.setPrototypeOf (<anonymous>:1:2231)
at Function.setPrototypeOf (<anonymous>)
+ at Internal-0.391799579026588 (<anonymous>:1:1153)
+ at i (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at C (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Proxy.apply (<anonymous>:1:1973)
at script (<anonymous>:15:31)
- at safeScript (<anonymous>:16:7)
- at <anonymous>:24:7",
+ at safeScript (<anonymous>:16:7)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:73:18)
|
<anonymous>#L10
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"message": "Cyclic __proto__ value",
"name": "TypeError",
"stack": "TypeError: Cyclic __proto__ value
+ at Proxy.setPrototypeOf (<anonymous>:1:2231)
at Function.setPrototypeOf (<anonymous>)
at script (<anonymous>:10:16)
at safeScript (<anonymous>:11:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:83:18)
|
<anonymous>#L10
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"message": "Cyclic __proto__ value",
"name": "TypeError",
"stack": "TypeError: Cyclic __proto__ value
+ at Proxy.setPrototypeOf (<anonymous>:1:2231)
at Function.setPrototypeOf (<anonymous>)
at script (<anonymous>:10:16)
at safeScript (<anonymous>:11:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:93:18)
|
plugins/default-browser-emulator/test/proxyLeak.test.ts#L114
expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 9
Object {
"path": " at Object.get (<anonymous>:12:24)
- at script (<anonymous>:19:41)
- at safeScript (<anonymous>:21:7)
- at <anonymous>:29:7",
+ at Object.External (<anonymous>:1:1153)
+ at i (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at C (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Function.apply (<anonymous>:1:1973)
+ at Internal-0.37805465973271435 (<anonymous>:1:1153)
+ at i (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:2542)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:114:18)
|
<anonymous>#L24
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 6
Object {
"message": "Object.setPrototypeOf called on null or undefined",
"name": "TypeError",
"stack": "TypeError: Object.setPrototypeOf called on null or undefined
at Function.setPrototypeOf (<anonymous>)
+ at Internal-0.30240947305937316 (<anonymous>:1:1148)
+ at l (<anonymous>:1:1165)
+ at <anonymous>:1:4422
+ at f (<anonymous>:1:3412)
+ at Object.apply (<anonymous>:1:2971)
+ at Proxy.apply (<anonymous>:1:1968)
at script (<anonymous>:24:31)
at safeScript (<anonymous>:25:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:153:18)
|
<anonymous>#L9
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 8
Object {
"message": "Cyclic __proto__ value",
"name": "TypeError",
"stack": "TypeError: Cyclic __proto__ value
+ at Proxy.setPrototypeOf (<anonymous>:1:2231)
at Object.setPrototypeOf (<anonymous>)
+ at Object.External (<anonymous>:1:1153)
+ at i (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at C (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Proxy.apply (<anonymous>:1:1973)
at script (<anonymous>:9:38)
- at safeScript (<anonymous>:10:7)
- at <anonymous>:18:7",
+ at safeScript (<anonymous>:10:7)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:162:18)
|
<anonymous>#L10
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"message": "Cyclic __proto__ value",
"name": "TypeError",
"stack": "TypeError: Cyclic __proto__ value
+ at Proxy.setPrototypeOf (<anonymous>:1:2226)
at Function.setPrototypeOf (<anonymous>)
at script (<anonymous>:10:16)
at safeScript (<anonymous>:11:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:172:18)
|
|
This job failed
Loading