blob: ca2bc0f27e90f911e4e8ccb4e6e35a8bbaad264d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!DOCTYPE html>
<html>
<head>
<title>webChannelWithBadString</title>
</head>
<body>
<script src="qrc:/qtwebchannel/qwebchannel.js"></script>
<script type="text/javascript">
new QWebChannel(qt.webChannelTransport, (channel) => {
channel.objects.host.text = String.fromCharCode(0xD800);
});
</script>
</body>
</html>
|