Pass | The integrity attribute must have no affect on inline module scripts | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/integrity.html:28:3) |
|
Pass | The integrity attribute must be verified on the top-level of a module and allow it to execute when it matches | Asserts runPass | 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) |
|
Pass | The integrity attribute must be verified on the top-level of a module and not allow it to execute when there's a mismatch | Asserts runPass | 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) |
|