* fix(desktop): run browser_evaluate on pages whose CSP omits 'unsafe-eval'
* test(desktop): browser_evaluate on pages that allow and forbid eval
* test(desktop): e2e opens a page under a CSP without 'unsafe-eval' and evaluates on it
* fix(desktop): preserve page globals in browser evaluation
Define the supplied function outside every wrapper binding so strict-policy evaluation keeps the original page scope.
Co-authored-by: Abdulhakeem Mustapha <abdulhakeemmustapha@gmail.com>
---------
Co-authored-by: Abdulhakeem Mustapha <abdulhakeemmustapha@gmail.com>
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>