W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2010

html5/tests/submission/Microsoft/windowobject security_location_0.htm,1.1,1.2

From: Kris Krueger via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 12 Jan 2010 04:19:19 +0000
To: public-html-commits@w3.org
Message-Id: <E1NUYDv-0005ZQ-6r@lionel-hutz.w3.org>
Update of /sources/public/html5/tests/submission/Microsoft/windowobject
In directory hutz:/tmp/cvs-serv20883

Modified Files:
	security_location_0.htm 
Log Message:
Update to use innerHTML vs innerText
Test is not testing who does or doesn't support innerText, so use innerHTML



Index: security_location_0.htm
===================================================================
RCS file: /sources/public/html5/tests/submission/Microsoft/windowobject/security_location_0.htm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- security_location_0.htm	10 Jan 2010 23:49:18 -0000	1.1
+++ security_location_0.htm	12 Jan 2010 04:19:17 -0000	1.2
@@ -19,10 +19,10 @@
                 
                 if (ExpectedPasses == ActualPasses)
                 {
-                    document.getElementById('testresult').innerText = 'Pass';
+                    document.getElementById('testresult').innerHTML = 'Pass';
                 }
 
-                document.getElementById('testspassed').innerText = ActualPasses + "/" + ExpectedPasses;
+                document.getElementById('testspassed').innerHTML = ActualPasses + "/" + ExpectedPasses;
 
             }
             function locationObjectTest()
@@ -46,4 +46,4 @@
         <span id='testspassed'>0</span>
         <iframe id='testframe' src="http://www.w3.org/" style="visibility: hidden; width: 0px; height:0px;" onload="RunTest()">Test Frame</iframe>
     </body>
-</html> 
\ No newline at end of file
+</html> 
Received on Tuesday, 12 January 2010 04:19:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 12 January 2010 04:19:25 GMT