Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Side by Side Diff: content/test/data/data_url_navigations.html

Issue 2889003002: Change NavigationEntry to use virtual URL in error pages for blocked navigations (Closed)
Patch Set: rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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(&quot;NAVIGATION_SUCCESSFUL&quot;)</script>`'> 7 <script>console.log(&quot;NAVIGATION_SUCCESSFUL&quot;)</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(&quot;NAVIGATION_SUCCESSFUL&quot;)</script>`);'> 13 <script>console.log(&quot;NAVIGATION_SUCCESSFUL&quot;)</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(&quot;NAVIGATION_SUCCESSFUL&quot;)</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
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>
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698