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

Side by Side Diff: third_party/WebKit/LayoutTests/bug574272/test.html

Issue 2066403002: Step 5 for debugging crbug.com/574272 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « third_party/WebKit/LayoutTests/TestExpectations ('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 <script> 1 <script>
2 onload = function() { 2 onload = function() {
3 if (navigator.platform.indexOf('Linux') != -1) 3 var ua = navigator.userAgent;
4 document.body.appendChild(document.createTextNode('Linux')); 4 var textToAppend;
5 else if (navigator.platform.indexOf('Win') != -1) 5 if (ua.indexOf('Linux') != -1) {
6 document.body.appendChild(document.createTextNode('Windows')); 6 textToAppend = 'Linux';
7 } else if (ua.indexOf('Win') != -1) {
8 textToAppend = 'Windows';
9 // Make result on win7 special.
10 if (ua.indexOf('NT 6.0') != -1 || ua.indexOf('NT 6.1') != -1)
11 textToAppend = ' Vista or 7';
12 } else if (ua.indexOf('Mac OS X 10_11') != -1) {
13 // Make result on Mac 10.11 (the default fallback on mac) special.
14 textToAppend = 'Mac 10.11';
15 }
16 if (textToAppend)
17 document.body.appendChild(document.createTextNode(textToAppend));
7 }; 18 };
8 if (window.testRunner) 19 if (window.testRunner)
9 testRunner.dumpAsText(); 20 testRunner.dumpAsText();
10 </script> 21 </script>
11 Common new result 22 Common new result
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698