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

Side by Side Diff: ios/testing/data/http_server_files/user_agent_test_page.html

Issue 2789433006: Implement request mobile site. (Closed)
Patch Set: Fix failing eg tests on iPad. Created 3 years, 8 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 | « ios/testing/data/http_server_files/request_desktop_test_page.html ('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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <!-- Copyright 2016 The Chromium Authors. All rights reserved. 3 <!-- Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. --> 5 found in the LICENSE file. -->
6 6
7 <html> 7 <html>
8 <head> 8 <head>
9 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 9 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
10 <title>Test Request Desktop Script Layer</title> 10 <title>Test Request Desktop/Mobile Script</title>
11 </head> 11 </head>
12 <body> 12 <body>
13 <script type="text/javascript"> 13 <script type="text/javascript">
14 if (navigator.appVersion.toLowerCase().indexOf("mobile") > -1) 14 if (navigator.appVersion.toLowerCase().indexOf("mobile") > -1)
15 document.write('Mobile'); 15 document.write('Mobile');
16 else 16 else
17 document.write('Desktop'); 17 document.write('Desktop');
18 </script> 18 </script>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW
« no previous file with comments | « ios/testing/data/http_server_files/request_desktop_test_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698