Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassTest for loading external script from href when setting href and then xlink:href
Asserts run
Pass
assert_equals("testScripts/externalScript1.js", "testScripts/externalScript1.js")
    at Test.<anonymous> ( /svg/linking/scripted/href-script-element.html:33:3)
Pass
assert_equals("externalScript1", "externalScript1", "Link to correct external script")
    at  /svg/linking/scripted/href-script-element.html:36:5
Pass
assert_equals("testScripts/externalScript1.js", "testScripts/externalScript1.js")
    at  /svg/linking/scripted/href-script-element.html:47:5
Pass
assert_equals("externalScript1", "externalScript1", "Still link to the external script from href")
    at  /svg/linking/scripted/href-script-element.html:48:5
PassTest for loading external script from xlnk:href by adding xlink:href and then href
Asserts run
Pass
assert_equals("testScripts/externalScript2.js", "testScripts/externalScript2.js")
    at Test.<anonymous> ( /svg/linking/scripted/href-script-element.html:61:3)
Pass
assert_equals("externalScript2", "externalScript2", "Link to the external script from xlink:href")
    at  /svg/linking/scripted/href-script-element.html:64:5
Pass
assert_equals("testScripts/externalScript1.js", "testScripts/externalScript1.js", "href() should prefer href attribute over xlink:href")
    at  /svg/linking/scripted/href-script-element.html:74:5
Pass
assert_equals("externalScript2", "externalScript2", "Still link to the external script from xlink:href")
    at  /svg/linking/scripted/href-script-element.html:76:5
PassTest for loading external script from href by adding href and then xlink:href, and then removing href
Asserts run
Pass
assert_equals("testScripts/externalScript1.js", "testScripts/externalScript1.js")
    at Test.<anonymous> ( /svg/linking/scripted/href-script-element.html:90:3)
Pass
assert_equals("externalScript1", "externalScript1", "Link to the external script by href")
    at  /svg/linking/scripted/href-script-element.html:93:5
Pass
assert_equals("testScripts/externalScript2.js", "testScripts/externalScript2.js", "href() returns xlink:href attribute because href was unset")
    at  /svg/linking/scripted/href-script-element.html:97:5
Pass
assert_equals("externalScript1", "externalScript1", "The external script loaded from href is still loaded")
    at  /svg/linking/scripted/href-script-element.html:105:5