https://github.com/web-platform-tests/wpt
Raw File
Tip revision: b14a1fbdea0e620d376cc3c2d119522ac6cde930 authored by James Graham on 24 October 2016, 10:36:58 UTC
Reduce logging coming from wptrunner in stability check
Tip revision: b14a1fb
inlineSuccessTest.js
var inlineRan = false;

onload = function() {
  test(function() {
        assert_true(inlineRan, 'Unsafe inline script ran.')},
        'Inline script in a script tag should  run with an unsafe-inline directive'
    );
}
back to top