User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Ubuntu/10.10 Chromium/15.0.874.106 Chrome/15.0.874.106 Safari/535.2 Steps to reproduce: Suppose a web developer wanted to allow scripts in an HTML sandbox, but had a typo and ended up saying allw-scripts, for example, or made some other mistake. It is useful to debug that during testing if the console shows a warning "refused to execute scripts". Actual results: Currently, disallowed scripts are simply ignored with no warning (see bug 341604 comment 201). This might apply to things other than scripts, I'm not sure. Expected results: Ensure that there is an entry in the error console when any attempt to do something is disallowed by the sandbox.
see comment 271 in bug 341604 for some more ideas around logging things blocked by sandboxing to the web console
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to David-Sarah Hopwood from comment #0): > It is useful to debug that during testing if the console shows a > warning "refused to execute scripts". Ugh, don't know that got past my proofreading for English usage. 'In order to debug that during testing, it would be useful if the console were to show a warning such as "refused to execute scripts".' (and the warning should specifically mention HTML5 sandbox as the reason).
You need to log in before you can comment on or make changes to this bug.