but the guarantees that the packets are delivered without error can be done well by the browser and server.if a packet has error the browser can detect it and ask the server resend.when i study network protocol,i was told that the guarantees of udp packets can achieve by application layer(7 layer).