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

Side by Side Diff: chrome/test/data/prerender/prerender_register_protocol_handler.html

Issue 10636034: Cancel prerender when a site tries to register a protocol handler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Change strings Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <!--
3 This test checks that registering a protocol handler cancels prerendering.
4 -->
5 <head>
6 <title>Prerender register protocol handler cancellation</title>
7
8 <script language="javascript" type="text/javascript">
9 window.onload = function() {
10 navigator.registerProtocolHandler('mailto',
11 document.location.href + '%s',
12 'Mail to Santa');
13 };
14 </script>
15 </head>
16 <body></body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698