Tests that webInspector.inspectedWindow.reload() successfully injects and preprocesses user's code upon reload
Started extension.
Running tests...
RUNNING TEST: extension_testReloadInjectsCode
Page reloaded.
Page reloaded.
With injected code: foo = 42
Without injected code: foo = undefined
RUNNING TEST: extension_testReloadInjectsCodeWithMessage
Page reloaded.
Source received:
console.log(42)
All tests done.