You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getFunction still returns a function. The problem seems to be that it returns a reference to the assert.ok function instead of the function being tested (created with new Function())
Activity
BridgeAR commentedon Dec 4, 2019
Just a guess: I believe the V8 team considered removing
stackframe.getFunction(). That function is necessary for this test to pass.targos commentedon Dec 4, 2019
getFunctionstill returns a function. The problem seems to be that it returns a reference to theassert.okfunction instead of the function being tested (created withnew Function())targos commentedon Dec 4, 2019
This is where it fails:
node-v8/test/parallel/test-assert.js
Lines 912 to 920 in 35eb057
BridgeAR commentedon Dec 4, 2019
That sounds like a breaking change? I guess it could also something that was not intentional and regressed?
targos commentedon Dec 4, 2019
/cc @nodejs/v8
ryzokuken commentedon Dec 4, 2019
@targos I guess it makes sense to open an issue on the V8 issue tracker?
targos commentedon Dec 4, 2019
@ryzokuken sure, would you like to do it? Best would be to have a repro using d8.
ryzokuken commentedon Dec 5, 2019
@targos on it.
targos commentedon Dec 6, 2019
Actually the solution is to revert nodejs/node@5981fb7