summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/inspector-wrappers/console-alert-object.html
blob: 5caab2b895b20983c48c9c0782e971b153490295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<html>
<head>
<script src="inspector-wrappers-test-utils.js"></script>
<script>
window.alert = function(msg) {
  msg.__proto__.toString = doAttack;
  return msg;
}
</script>
</head>
<body>
<script>instructions({console: true, trigger: "alert({})"});</script>
</body>
</html>