@silent
    def test_pass(self):

        self.run_script("""
        var x = foo;
        foo.bar.whateverElement("script");
        """)
Tests that createElement and createElementNS throw errors.
dataset/ETHPy150Open mozilla/app-validator/tests/js/test_csp.py/TestCreateElement.test_pass