https://codereview.chromium.org/701093003/diff/1/src/v8natives.js
File src/v8natives.js (left):
https://codereview.chromium.org/701093003/diff/1/src/v8natives.js#oldcode1862
src/v8natives.js:1862: %FunctionMarkNameShouldPrintAsAnonymous(f);
you should also update src/generator.js
https://codereview.chromium.org/701093003/diff/1/test/mjsunit/regress/regress-crbug-109362.js
File test/mjsunit/regress/regress-crbug-109362.js (right):
https://codereview.chromium.org/701093003/diff/1/test/mjsunit/regress/regress-crbug-109362.js#newcode5
test/mjsunit/regress/regress-crbug-109362.js:5: var g = new Function('1
+ reference_error //@ sourceURL=evaltest');
could you also test that:
eval('(function () {\n 1 + reference_error //@ sourceURL=evaltest2
\n})')
throws at line 2 (not 1)?
https://codereview.chromium.org/701093003/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.