| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Preloading Decider Browser Test</title> | |
| <style> | |
| #container { | |
| height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| a { | |
| flex: auto; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <script type="speculationrules"> | |
| { | |
| "prefetch": [ | |
| {"source": "list", "urls": ["/preloading/preloading_decider.html?foo"]} | |
| ] | |
| } | |
| </script> | |
| <div id="container"> | |
| <a href="/preloading/preloading_decider.html?foo" id="foo">Foo</a> | |
| <a href="/preloading/preloading_decider.html?bar" id="bar">Bar</a> | |
| </div> | |
| </body> | |
| </html> |