OLD | NEW |
1 <html> | 1 <html> |
2 | 2 |
3 <h3>HTML mimetype</h3> | 3 <h3>HTML mimetype</h3> |
4 | 4 |
5 <button id='navigate-top-frame-to-html' | 5 <button id='navigate-top-frame-to-html' |
6 onclick='top.location.href=`data:text/html, | 6 onclick='top.location.href=`data:text/html, |
7 <script>console.log("NAVIGATION_SUCCESSFUL")</script>`'> | 7 <script>console.log("NAVIGATION_SUCCESSFUL")</script>`'> |
8 Navigate top frame to data URL HTML | 8 Navigate top frame to data URL HTML |
9 </button> | 9 </button> |
10 <br> | 10 <br> |
11 <button id='window-open-html' | 11 <button id='window-open-html' |
12 onclick='window.open(`data:text/html, | 12 onclick='window.open(`data:text/html, |
13 <script>console.log("NAVIGATION_SUCCESSFUL")</script>`);'> | 13 <script>console.log("NAVIGATION_SUCCESSFUL")</script>`);'> |
14 Open new window with a data URL HTML | 14 Open new window with a data URL HTML |
15 </button> | 15 </button> |
| 16 <button id='window-open-redirect' |
| 17 onclick='window.open(`/server-redirect?data:text/html, |
| 18 <script>console.log("NAVIGATION_SUCCESSFUL")</script>`);'> |
| 19 Open new window with a redirect to data URL |
| 20 </button> |
16 <br> | 21 <br> |
17 <form method="post" action="data:text/html, | 22 <form method="post" action="data:text/html, |
18 <script>console.log('NAVIGATION_SUCCESSFUL')</script>"> | 23 <script>console.log('NAVIGATION_SUCCESSFUL')</script>"> |
19 <input type=submit id='form-post-to-html' | 24 <input type=submit id='form-post-to-html' |
20 value="Submit form to data URL HTML"> | 25 value="Submit form to data URL HTML"> |
21 </form> | 26 </form> |
22 | 27 |
23 <h3>octet-stream mimetype</h3> | 28 <h3>octet-stream mimetype</h3> |
24 | 29 |
25 <button id='navigate-top-frame-to-octetstream' | 30 <button id='navigate-top-frame-to-octetstream' |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 <button id='window-open-unknown-mimetype' | 97 <button id='window-open-unknown-mimetype' |
93 onclick='window.open(`data:unknown/mimetype,test`)'> | 98 onclick='window.open(`data:unknown/mimetype,test`)'> |
94 Open new window with a data URL unknown mimetype | 99 Open new window with a data URL unknown mimetype |
95 </button> | 100 </button> |
96 <form method="post" action="data:unknown/mimetype,test"> | 101 <form method="post" action="data:unknown/mimetype,test"> |
97 <input type=submit id='form-post-to-unknown-mimetype' | 102 <input type=submit id='form-post-to-unknown-mimetype' |
98 value='Submit form to data URL unkown mimetype'> | 103 value='Submit form to data URL unkown mimetype'> |
99 </form> | 104 </form> |
100 | 105 |
101 </html> | 106 </html> |
OLD | NEW |