Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassTest that unresolvable cycles lead to SyntaxError events on window and load events on script
Asserts run
Pass
assert_equals(function "function SyntaxError() { [native code] }", function "function SyntaxError() { [native code] }")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/instantiation-error-3.html:15:28)
Pass
assert_equals(function "function SyntaxError() { [native code] }", function "function SyntaxError() { [native code] }")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/instantiation-error-3.html:15:28)
Pass
assert_equals(function "function SyntaxError() { [native code] }", function "function SyntaxError() { [native code] }")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/instantiation-error-3.html:15:28)
Pass
assert_equals(6, 6, "Log length")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/instantiation-error-3.html:20:7)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/instantiation-error-3.html:21:7)
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/instantiation-error-3.html:22:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/instantiation-error-3.html:23:7)
Pass
assert_not_equals("Uncaught SyntaxError: Detected cycle while resolving name 'x' in './cycle-unresolvable-a.js'", "Uncaught SyntaxError: Detected cycle while resolving name 'x' in './cycle-unresolvable.js'", "Instantiation error objects for different root scripts")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/instantiation-error-3.html:24:7)
Pass
assert_equals("Uncaught SyntaxError: Detected cycle while resolving name 'x' in './cycle-unresolvable-a.js'", "Uncaught SyntaxError: Detected cycle while resolving name 'x' in './cycle-unresolvable-a.js'", "Instantiation error objects for the same root script")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/instantiation-error-3.html:26:7)