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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/compatMode-Compat.html

Issue 1469783002: Cleanup: Correctly spell success(ful). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format media Created 5 years 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function debug(str) { 4 function debug(str) {
5 pre = document.getElementById('console'); 5 pre = document.getElementById('console');
6 text = document.createTextNode(str + '\n'); 6 text = document.createTextNode(str + '\n');
7 pre.appendChild(text); 7 pre.appendChild(text);
8 } 8 }
9 9
10 function runTests() { 10 function runTests() {
11 if (window.testRunner) 11 if (window.testRunner)
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 13
14 if (document.compatMode == "BackCompat") 14 if (document.compatMode == "BackCompat")
15 debug('SUCCESS') 15 debug('SUCCESS')
16 else 16 else
17 debug('FAILURE') 17 debug('FAILURE')
18 } 18 }
19 19
20 </script> 20 </script>
21 </head> 21 </head>
22 <body onload="runTests();"> 22 <body onload="runTests();">
23 This tests that compatMode returns 'BackCompat' when we are in quirk mode. If th e test is sucessful, the text below should say "SUCCESS". 23 This tests that compatMode returns 'BackCompat' when we are in quirk mode. If th e test is successful, the text below should say "SUCCESS".
24 <pre id="console"> 24 <pre id="console">
25 </pre> 25 </pre>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698