mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
b8fe04f720
**Description:** This PR makes the error reporter print contexts. **Related issue:** - https://github.com/swc-project/swc/issues/6525.
138 lines
2.9 KiB
Plaintext
138 lines
2.9 KiB
Plaintext
|
|
x Document
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | ,-> <div>Hello</div>
|
|
2 | | <script>
|
|
3 | | console.log("FOO<span>BAR</span>BAZ");
|
|
4 | | </script>
|
|
5 | `-> <div>Bye</div>
|
|
`----
|
|
|
|
x Child
|
|
|
|
x Element
|
|
|
|
x Child
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
: ^^^^^^^^^^^^^^^^
|
|
2 | <script>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
: ^^^^^^^^^^^^^^^^
|
|
2 | <script>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
: ^^^^^
|
|
2 | <script>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
: ^^^^^
|
|
2 | <script>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
: ^
|
|
2 | <script>
|
|
3 | console.log("FOO<span>BAR</span>BAZ");
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
: ^
|
|
2 | <script>
|
|
3 | console.log("FOO<span>BAR</span>BAZ");
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
2 | ,-> <script>
|
|
3 | | console.log("FOO<span>BAR</span>BAZ");
|
|
4 | `-> </script>
|
|
5 | <div>Bye</div>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
2 | ,-> <script>
|
|
3 | | console.log("FOO<span>BAR</span>BAZ");
|
|
4 | `-> </script>
|
|
5 | <div>Bye</div>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
2 | ,-> <script>
|
|
3 | `-> console.log("FOO<span>BAR</span>BAZ");
|
|
4 | </script>
|
|
5 | <div>Bye</div>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:1:1]
|
|
1 | <div>Hello</div>
|
|
2 | ,-> <script>
|
|
3 | `-> console.log("FOO<span>BAR</span>BAZ");
|
|
4 | </script>
|
|
5 | <div>Bye</div>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:3:1]
|
|
3 | console.log("FOO<span>BAR</span>BAZ");
|
|
4 | </script>
|
|
: ^
|
|
5 | <div>Bye</div>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:3:1]
|
|
3 | console.log("FOO<span>BAR</span>BAZ");
|
|
4 | </script>
|
|
: ^
|
|
5 | <div>Bye</div>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:4:1]
|
|
4 | </script>
|
|
5 | <div>Bye</div>
|
|
: ^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:4:1]
|
|
4 | </script>
|
|
5 | <div>Bye</div>
|
|
: ^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:4:1]
|
|
4 | </script>
|
|
5 | <div>Bye</div>
|
|
: ^^^
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/html5lib-tests-fixture/webkit01_dat.6.html:4:1]
|
|
4 | </script>
|
|
5 | <div>Bye</div>
|
|
: ^^^
|
|
`----
|