summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dom/nested-script-exceptions.html
blob: 9ab9cdd7deab6e6d7f570a816813bf550e28ddcb (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<title>Exceptions in nested scripts</title>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<p>This test checks that exceptions in nested scripts are logged
properly. An exception named "Badness 10,000" should be logged properly.</p>

<script>document.write("<script>throw 'Badness 10,000'</scr" + "ipt>");</script>