Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
type="text/css"?>
<!--
-->
<window title="Mozilla Bug 1092477"
<!-- test results are displayed in the html:body -->
target="_blank">Mozilla Bug 1092477</a>
</body>
<!-- test code goes here -->
<script type="application/javascript"><![CDATA[
var exn;
try {
Services.scriptloader.loadSubScript(url);
ok(false, "This line should never be reached!");
}
catch (e) {
exn = String(e);
}
var msg = "loadSubScript should throw an exception for trying to load a non-existent script"
is(exn, "Error opening input stream (invalid filename?): " + url, msg);
]]></script>
</window>