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
The discussion on SRA-SiliconValley/jalangi#19 is probably relevant. I'd like to see a fix to this issue as well. We should be able to do something simpler now that we don't need to support record-replay. I am personally still ok with just getting rid of the J$.I callback in general and just doing:
The negative effect is we lose the readPre() callback for undeclared variables, but to me that is not compelling given that we are currently breaking semantics.
Jalangi squelches the ReferenceError that would occur on a references to an undeclared variable through its use of
J$.I
.This breaks feature-detection with try-catch blocks as seen below:
Suggestion: the jalangi-instrumentation-pattern with
J$.I(...)
for undeclared variables should be disabled by default.Thoughts?
Small example that showcases the discrepancy between a jalangi-runtime and a node-runtime:
test.js:
test_jalangi_.js
The text was updated successfully, but these errors were encountered: