<!DOCTYPE html>
<html><head>
        <title> scheduler: appending code to initially non-empty SCRIPT tag in DOM after removing its initial child </title>
        <script src="/resources/testharness.js"></script>
        <script src="/resources/testharnessreport.js"></script>
        <script src="testlib/testlib.js"></script>
        <script>/**/</script>
</head>
<body>

        <div id="log">FAILED (This TC requires JavaScript enabled)</div>

        <script>log('inline script #1');
                var scri