4 <title>Test UDPSocket BFCache
</title>
7 <script type=
"application/javascript">
9 window.addEventListener('load', function() {
10 let remotePort = parseInt(window.location.search.substring(
1),
10);
11 let socket = new UDPSocket();
12 socket.addEventListener('message', function () {
13 socket.send('fail', '
127.0.0.1', remotePort);
16 socket.opened.then(function() {
17 socket.send('ready', '
127.0.0.1', remotePort);