File: remove_object_element_with_invalid_data.html

package info (click to toggle)
chromium 131.0.6778.204-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,525,896 kB
  • sloc: cpp: 33,478,049; ansic: 7,047,153; javascript: 3,856,427; python: 1,440,824; asm: 821,132; xml: 707,353; pascal: 179,575; sh: 105,031; objc: 91,109; perl: 86,801; cs: 43,811; sql: 42,172; makefile: 28,712; fortran: 24,137; php: 21,557; ruby: 17,806; tcl: 10,142; yacc: 8,614; lisp: 3,056; lex: 1,327; ada: 727; awk: 329; jsp: 267; sed: 36
file content (17 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
<script>

function DoLoad() {
  let test_div = document.getElementById("test_div");
  document.body.removeChild(test_div);
}

</script>
</head>
<body onload="DoLoad();">
<div id="test_div">
  <object data="INVALID"></object>
</div>
</body>
</html>