This tests the effect of a valid script-nonce value. It passes if no console warning is visible and the alerts are executed.