Commit d6f46a4
src: make ModifyCodeGenerationFromStrings more robust
1. Fallback to true when the context is not (yet) initialized
with the kAllowCodeGenerationFromStrings field.
2. Fallback to true when the Environment isn't assigned to
the context or when the Environment cannot call into
JavaScript.
PR-URL: #50763
Refs: #50761
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>1 parent 37979d7 commit d6f46a4
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
611 | 618 | | |
612 | | - | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
613 | 623 | | |
614 | 624 | | |
615 | 625 | | |
| |||
0 commit comments