Skip to content

Verify+copy JS behaviour when script tags are fighting #12

@daurnimator

Description

@daurnimator

e.g. Two script tags are added to document, they both contain code to remove the other. Do both run?

<script id="a">
console.log("A")
var b = document.getElementById("b");
b.parentNode.removeChild(b);
</script>
<script id="b">
console.log("B")
var a = document.getElementById("a");
a.parentNode.removeChild(a);
</script>

Need to check on load and after document ready.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions