Yeah, that is the issue. We had to make this change for the Manifest 3 compatibility.
Solution is:
-
Use executeScript (no sandbox)
-
Or: Use ES5 Javascript inside executeScript_Sandbox. You can test this new Javascript engine here: JS-Interpreter Demo