tests on webpage.injectJs
Webpage.injectJs: use the sandbox instead of a script element

The sandbox is also now used by all methods that evaluate some
JS code into the web page.

However, there is an issue: the only way to modify a variable
is to modify it via the window object. This is an issue with
the mozilla sandbox.