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
90 errors and 9 warnings
Proxy detections › should handle setPrototype.apply with undefined:
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)
|
Proxy detections › should handle a null prototype:
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)
|
Should handle undefined in toString call:
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:1153)
+ at a (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:1714)
+ at Proxy.apply (<anonymous>:1:1973)
+ at Object.External (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:57:18)
|
should handle a null prototype:
<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.7488410049357614 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<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)
|
should not have too much recursion in prototype:
<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)
|
should not have too much recursion in prototype test 2:
<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)
|
cannot detect a proxy of args passed into a proxied function:
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 a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Function.apply (<anonymous>:1:1973)
+ at Internal-0.7624340420178983 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:2542)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:114:18)
|
should handle proxied setPrototype:
<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.980290644766781 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Proxy.apply (<anonymous>:1:1973)
at script (<anonymous>:24:31)
at safeScript (<anonymous>:25:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:153:18)
|
should correctly bubble up thisArg used in setPrototypeOf with apply:
<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 q (<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)
|
should handle setPrototype.apply with cyclic proto:
<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:172:18)
|
Proxy detections › should handle setPrototype.apply with undefined:
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)
|
Proxy detections › should handle a null prototype:
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)
|
Should handle undefined in toString call:
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:1153)
+ at a (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:1714)
+ at Proxy.apply (<anonymous>:1:1973)
+ at Object.External (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:57:18)
|
should handle a null prototype:
<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.14781701837260175 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<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)
|
should not have too much recursion in prototype:
<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)
|
should not have too much recursion in prototype test 2:
<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)
|
cannot detect a proxy of args passed into a proxied function:
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 q (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Function.apply (<anonymous>:1:1973)
+ at Internal-0.7754327581198617 (<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)
|
should handle proxied setPrototype:
<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.4718709707174744 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Proxy.apply (<anonymous>:1:1973)
at script (<anonymous>:24:31)
at safeScript (<anonymous>:25:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:153:18)
|
should correctly bubble up thisArg used in setPrototypeOf with apply:
<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 q (<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)
|
should handle setPrototype.apply with cyclic proto:
<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:172:18)
|
Proxy detections › should handle setPrototype.apply with undefined:
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)
|
Proxy detections › should handle a null prototype:
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)
|
Should handle undefined in toString call:
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:1153)
+ at a (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:1714)
+ at Proxy.apply (<anonymous>:1:1973)
+ at Object.External (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:57:18)
|
should handle a null prototype:
<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.8874792160788527 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<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)
|
should not have too much recursion in prototype:
<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)
|
should not have too much recursion in prototype test 2:
<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)
|
cannot detect a proxy of args passed into a proxied function:
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 a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Function.apply (<anonymous>:1:1973)
+ at Internal-0.19350593816143125 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:2542)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:114:18)
|
should handle proxied setPrototype:
<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.7871025244758219 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Proxy.apply (<anonymous>:1:1973)
at script (<anonymous>:24:31)
at safeScript (<anonymous>:25:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:153:18)
|
should correctly bubble up thisArg used in setPrototypeOf with apply:
<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 a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<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)
|
should handle setPrototype.apply with cyclic proto:
<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:172:18)
|
Proxy detections › should handle setPrototype.apply with undefined:
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)
|
Proxy detections › should handle a null prototype:
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)
|
Should handle undefined in toString call:
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:1153)
+ at a (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:1714)
+ at Proxy.apply (<anonymous>:1:1973)
+ at Object.External (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:57:18)
|
should handle a null prototype:
<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.8113967228620784 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<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)
|
should not have too much recursion in prototype:
<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)
|
should not have too much recursion in prototype test 2:
<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)
|
cannot detect a proxy of args passed into a proxied function:
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 a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Function.apply (<anonymous>:1:1973)
+ at Internal-0.003638056654518662 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:2542)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:114:18)
|
should handle proxied setPrototype:
<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.7645998498869027 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Proxy.apply (<anonymous>:1:1973)
at script (<anonymous>:24:31)
at safeScript (<anonymous>:25:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:153:18)
|
should correctly bubble up thisArg used in setPrototypeOf with apply:
<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 a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<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)
|
should handle setPrototype.apply with cyclic proto:
<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:172:18)
|
Proxy detections › should handle setPrototype.apply with undefined:
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)
|
Proxy detections › should handle a null prototype:
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)
|
Should handle undefined in toString call:
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:1153)
+ at a (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:1714)
+ at Proxy.apply (<anonymous>:1:1973)
+ at Object.External (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:57:18)
|
should handle a null prototype:
<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.5716153885265554 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<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)
|
should not have too much recursion in prototype:
<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)
|
should not have too much recursion in prototype test 2:
<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)
|
cannot detect a proxy of args passed into a proxied function:
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 a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Function.apply (<anonymous>:1:1973)
+ at Internal-0.5489608634435634 (<anonymous>:1:1153)
+ at a (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:2542)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:114:18)
|
should handle proxied setPrototype:
<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.2846819809245331 (<anonymous>:1:1153)
+ at i (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at q (<anonymous>:1:3421)
+ at Object.apply (<anonymous>:1:2976)
+ at Proxy.apply (<anonymous>:1:1973)
at script (<anonymous>:24:31)
at safeScript (<anonymous>:25:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:153:18)
|
should correctly bubble up thisArg used in setPrototypeOf with apply:
<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 a (<anonymous>:1:1170)
+ at <anonymous>:1:5468
+ at M (<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)
|
should handle setPrototype.apply with cyclic proto:
<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:172:18)
|
Proxy detections › should handle setPrototype.apply with undefined:
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)
|
Proxy detections › should handle a null prototype:
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)
|
Should handle undefined in toString call:
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 c (<anonymous>:1:1165)
+ at Object.apply (<anonymous>:1:1709)
+ at Proxy.apply (<anonymous>:1:1968)
+ at Object.External (<anonymous>:1:1148)
+ at c (<anonymous>:1:1165)
+ at <anonymous>:1:4422
+ at v (<anonymous>:1:3412)
+ at Object.apply (<anonymous>:1:2971)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:57:18)
|
should handle a null prototype:
<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:2226)
at Function.setPrototypeOf (<anonymous>)
+ at Object.External (<anonymous>:1:1148)
+ at c (<anonymous>:1:1165)
+ at <anonymous>:1:4422
+ at v (<anonymous>:1:3412)
+ at Object.apply (<anonymous>:1:2971)
+ at Proxy.apply (<anonymous>:1:1968)
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)
|
should not have too much recursion in prototype:
<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:83:18)
|
should not have too much recursion in prototype test 2:
<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:93:18)
|
cannot detect a proxy of args passed into a proxied function:
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:1148)
+ at l (<anonymous>:1:1165)
+ at <anonymous>:1:4422
+ at f (<anonymous>:1:3412)
+ at Object.apply (<anonymous>:1:2971)
+ at Function.apply (<anonymous>:1:1968)
+ at Internal-0.3363664059789442 (<anonymous>:1:1148)
+ at l (<anonymous>:1:1165)
+ at Object.apply (<anonymous>:1:2537)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:114:18)
|
should handle proxied setPrototype:
<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.7791918908153164 (<anonymous>:1:1148)
+ at c (<anonymous>:1:1165)
+ at <anonymous>:1:4422
+ at v (<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)
|
should correctly bubble up thisArg used in setPrototypeOf with apply:
<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:2226)
at Object.setPrototypeOf (<anonymous>)
+ at Object.External (<anonymous>:1:1148)
+ at c (<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>: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)
|
should handle setPrototype.apply with cyclic proto:
<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)
|
Proxy detections › should handle setPrototype.apply with undefined:
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)
|
Proxy detections › should handle a null prototype:
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)
|
Should handle undefined in toString call:
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 c (<anonymous>:1:1165)
+ at Object.apply (<anonymous>:1:1709)
+ at Proxy.apply (<anonymous>:1:1968)
+ at Object.External (<anonymous>:1:1148)
+ at c (<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)
|
should handle a null prototype:
<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:2226)
at Function.setPrototypeOf (<anonymous>)
+ at Object.External (<anonymous>:1:1148)
+ at c (<anonymous>:1:1165)
+ at <anonymous>:1:4422
+ at g (<anonymous>:1:3412)
+ at Object.apply (<anonymous>:1:2971)
+ at Proxy.apply (<anonymous>:1:1968)
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)
|
should not have too much recursion in prototype:
<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:83:18)
|
should not have too much recursion in prototype test 2:
<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:93:18)
|
cannot detect a proxy of args passed into a proxied function:
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:1148)
+ at c (<anonymous>:1:1165)
+ at <anonymous>:1:4422
+ at f (<anonymous>:1:3412)
+ at Object.apply (<anonymous>:1:2971)
+ at Function.apply (<anonymous>:1:1968)
+ at Internal-0.193414437137726 (<anonymous>:1:1148)
+ at c (<anonymous>:1:1165)
+ at Object.apply (<anonymous>:1:2537)",
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:114:18)
|
should handle proxied setPrototype:
<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.4106322559276445 (<anonymous>:1:1148)
+ at c (<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)
|
should correctly bubble up thisArg used in setPrototypeOf with apply:
<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:2226)
at Object.setPrototypeOf (<anonymous>)
+ at Object.External (<anonymous>:1:1148)
+ at l (<anonymous>:1:1165)
+ at <anonymous>:1:4422
+ at g (<anonymous>:1:3412)
+ at Object.apply (<anonymous>:1:2971)
+ at Proxy.apply (<anonymous>:1:1968)
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)
|
should handle setPrototype.apply with cyclic proto:
<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)
|
Proxy detections › should handle setPrototype.apply with undefined:
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)
|
Proxy detections › should handle a null prototype:
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)
|
Should handle undefined in toString call:
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:1153)
+ at i (<anonymous>:1:1170)
+ at Object.apply (<anonymous>:1:1714)
+ at Proxy.apply (<anonymous>:1:1973)
+ 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 Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:57:18)
|
should handle a null prototype:
<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:2226)
at Function.setPrototypeOf (<anonymous>)
+ 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 Proxy.apply (<anonymous>:1:1968)
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)
|
should not have too much recursion in prototype:
<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:83:18)
|
should not have too much recursion in prototype test 2:
<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)
|
cannot detect a proxy of args passed into a proxied function:
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.5224280179251579 (<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)
|
should handle proxied setPrototype:
<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.6300257814140837 (<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>:24:31)
at safeScript (<anonymous>:25:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:153:18)
|
should correctly bubble up thisArg used in setPrototypeOf with apply:
<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 K (<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)
|
should handle setPrototype.apply with cyclic proto:
<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:172:18)
|
Proxy detections › should handle setPrototype.apply with undefined:
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)
|
Proxy detections › should handle a null prototype:
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)
|
Should handle undefined in toString call:
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)
|
should handle a null prototype:
<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)
|
should not have too much recursion in prototype:
<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)
|
should not have too much recursion in prototype test 2:
<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)
|
cannot detect a proxy of args passed into a proxied function:
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)
|
should handle proxied setPrototype:
<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)
|
should correctly bubble up thisArg used in setPrototypeOf with apply:
<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)
|
should handle setPrototype.apply with cyclic proto:
<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)
|
Test node-18, ubuntu-latest, latest
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
|
Test node-20.x, ubuntu-latest, chrome-120-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
|
Test node-20, ubuntu-latest, latest
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
|
Test node-20.x, ubuntu-latest, chrome-115-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
|
Test node-20.x, ubuntu-latest, chrome-114-0
Restore cache failed: Dependencies file is not found in /home/runner/work/unblocked/unblocked. Supported file pattern: go.sum
|
Test node-18, macos-13, latest
Restore cache failed: Dependencies file is not found in /Users/runner/work/unblocked/unblocked. Supported file pattern: go.sum
|
Test node-20, macos-13, latest
Restore cache failed: Dependencies file is not found in /Users/runner/work/unblocked/unblocked. Supported file pattern: go.sum
|
Test node-18, windows-latest, latest
Restore cache failed: Dependencies file is not found in D:\a\unblocked\unblocked. Supported file pattern: go.sum
|
Test node-20, windows-latest, latest
Restore cache failed: Dependencies file is not found in D:\a\unblocked\unblocked. Supported file pattern: go.sum
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-logs-macos-13-18-main
Expired
|
2.47 MB |
|
test-logs-macos-13-20-main
Expired
|
2.44 MB |
|
test-logs-ubuntu-latest-18-main
Expired
|
2.39 MB |
|
test-logs-ubuntu-latest-20-main
Expired
|
2.39 MB |
|
test-logs-ubuntu-latest-20.x-chrome-114-0
Expired
|
2.37 MB |
|
test-logs-ubuntu-latest-20.x-chrome-115-0
Expired
|
2.36 MB |
|
test-logs-ubuntu-latest-20.x-chrome-120-0
Expired
|
2.38 MB |
|
test-logs-windows-latest-18-main
Expired
|
2.36 MB |
|
test-logs-windows-latest-20-main
Expired
|
2.37 MB |
|