Closed Dr2n closed 5 years ago
Oof, sorry for the late response. I moved across the country in September and started a full-time job, so I've neglected my OSS projects a bit!
It looks like BLeak needs to store a reference to the browser's Object.create before your polyfill runs. This should be easy to fix. One moment...
I just pushed a fix to master. Can you give it a try and see if it fixes your issue?
I believe I've fixed this issue, so I'm going to close out this issue. I'll make a new release soon with the fix.
v1.2.2 has the fix.
Hi,
I'm trying to use BLeak and have a crash which keeps happening around the middle (52%) of a run.
The error message I get looks like this, and it looks like it's coming from Chrome:
$$$CREATE_SCOPE_OBJECT$$$
in bleak_agent.js looks like this:From devtools in the Chrome instance, the function at polyfills.js:4752 looks like this:
It appears that
Object.create
calls$$$CREATE_SCOPE_OBJECT$$$
and vice versa, and that this recursive calling is causing the call stack to exceed.If it helps, the pre-transformed version of
Object.create
looks like this:A quick google shows that the function is actually from zone.js in our Angular application.
Any help on this would be highly appreciated! Any leaks that you can help us find would be majorly helpful.