Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassScript moved between documents during evaluation
Asserts run
Pass
assert_equals(Element node <script id="outerScript"> "use strict";  async_test(t => ..., Element node <script id="outerScript"> "use strict";  async_test(t => ...)
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/moving-between-documents-during-evaluation.html:15:3)
Pass
assert_equals(Element node <script><br>    window.innerScriptEvaluated = true;<br>  ..., Element node <script><br>    window.innerScriptEvaluated = true;<br>  ..., "[1] Before move: currentScript of source Document")
    at <anonymous>:1:87
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "[1] Before move: ownerDocument")
    at <anonymous>:1:202
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "[2] Just after move: ownerDocument")
    at <anonymous>:1:429
Pass
assert_equals(Element node <script><br>    window.innerScriptEvaluated = true;<br>  ..., Element node <script><br>    window.innerScriptEvaluated = true;<br>  ..., "[2] Just after move: currentScript of source Document")
    at <anonymous>:1:536
Pass
assert_equals(null, null, "[2] Just after move: currentScript of destination Document")
    at <anonymous>:1:655
Pass
assert_true(true, "Inner script should be evaluated synchronously")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/moving-between-documents-during-evaluation.html:43:3)
Pass
assert_equals(Element node <script id="outerScript"> "use strict";  async_test(t => ..., Element node <script id="outerScript"> "use strict";  async_test(t => ..., "[3] After inner script: currentScript of source Document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/moving-between-documents-during-evaluation.html:46:3)
Pass
assert_equals(null, null, "[3] After inner script: currentScript of destination Document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/moving-between-documents-during-evaluation.html:48:3)
Pass
assert_equals(null, null, "[4] After outer script: currentScript of source Document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/moving-between-documents-during-evaluation.html:52:5)
Pass
assert_equals(null, null, "[4] After outer script: currentScript of destination Document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/moving-between-documents-during-evaluation.html:54:5)