| Index: tools/vulcanize/node_modules/vulcanize/node_modules/cheerio/node_modules/htmlparser2/tests/Events/11-script_in_script.json
|
| diff --git a/tools/vulcanize/node_modules/vulcanize/node_modules/cheerio/node_modules/htmlparser2/tests/Events/11-script_in_script.json b/tools/vulcanize/node_modules/vulcanize/node_modules/cheerio/node_modules/htmlparser2/tests/Events/11-script_in_script.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ddbb87c876f887e21181ee9e4e962430fa59c3fc
|
| --- /dev/null
|
| +++ b/tools/vulcanize/node_modules/vulcanize/node_modules/cheerio/node_modules/htmlparser2/tests/Events/11-script_in_script.json
|
| @@ -0,0 +1,54 @@
|
| +{
|
| + "name": "Scripts creating other scripts",
|
| + "options": {
|
| + "handler": {},
|
| + "parser": {}
|
| + },
|
| + "html": "<p><script>var str = '<script></'+'script>';</script></p>",
|
| + "expected": [
|
| + {
|
| + "event": "opentagname",
|
| + "data": [
|
| + "p"
|
| + ]
|
| + },
|
| + {
|
| + "event": "opentag",
|
| + "data": [
|
| + "p",
|
| + {}
|
| + ]
|
| + },
|
| + {
|
| + "event": "opentagname",
|
| + "data": [
|
| + "script"
|
| + ]
|
| + },
|
| + {
|
| + "event": "opentag",
|
| + "data": [
|
| + "script",
|
| + {}
|
| + ]
|
| + },
|
| + {
|
| + "event": "text",
|
| + "data": [
|
| + "var str = '<script></'+'script>';"
|
| + ]
|
| + },
|
| + {
|
| + "event": "closetag",
|
| + "data": [
|
| + "script"
|
| + ]
|
| + },
|
| + {
|
| + "event": "closetag",
|
| + "data": [
|
| + "p"
|
| + ]
|
| + }
|
| + ]
|
| +}
|
|
|