Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassThe integrity attribute must have no affect on inline module scripts
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/integrity.html:28:3)
PassThe integrity attribute must be verified on the top-level of a module and allow it to execute when it matches
Asserts run
Pass
assert_array_equals(["integrity-matches-inner", "integrity-matches"], ["integrity-matches-inner", "integrity-matches"], "The module and its dependency must have executed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/integrity.html:32:3)
Pass
assert_array_equals(["load"], ["load"], "The load event must have fired")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/integrity.html:33:3)
PassThe integrity attribute must be verified on the top-level of a module and not allow it to execute when there's a mismatch
Asserts run
Pass
assert_array_equals([], [], "The module and its dependency must not have executed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/integrity.html:37:3)
Pass
assert_array_equals(["error"], ["error"], "The error event must have fired")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/integrity.html:38:3)