1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> </head> <body> <script> "use strict"; let req = new XMLHttpRequest(); req.open("GET", "/xhr_resource"); req.send(); </script> <img src="file_image_bad.png"/> <iframe src="file_simple_xhr_frame2.html"/> </body> </html>