mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision d3cf77a7b8c20c678b725238eaa8a72eca3787ae
This commit is contained in:
parent
880f3b8b7a
commit
efca990ffe
541 changed files with 8000 additions and 2276 deletions
|
@ -7,6 +7,7 @@
|
|||
var scriptWithEndTagRan = false;
|
||||
var scriptWithoutEndTagRan = false;
|
||||
var scriptWithBogusEndTagInsideRan = false;
|
||||
var scriptWithBreakout = false;
|
||||
</script>
|
||||
<svg>
|
||||
<script>scriptWithEndTagRan = true;</script>
|
||||
|
@ -17,6 +18,10 @@
|
|||
<svg>
|
||||
<script>scriptWithBogusEndTagInsideRan = true;</g></script>
|
||||
</svg>
|
||||
<svg>
|
||||
<script>scriptWithBreakout = true;<s></script>
|
||||
</svg>
|
||||
</s>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(scriptWithEndTagRan);
|
||||
|
@ -27,4 +32,7 @@
|
|||
test(function() {
|
||||
assert_true(scriptWithBogusEndTagInsideRan);
|
||||
}, "SVG scripts with bogus end tag inside should run");
|
||||
test(function() {
|
||||
assert_false(scriptWithBreakout);
|
||||
}, "SVG scripts ended by HTML breakout should not run");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue