Use textContent instead of innerText.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 23 Apr 2014 19:18:15 +0000 (19:18 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 23 Apr 2014 19:18:15 +0000 (19:18 +0000)
BUG=skia:
R=mtklein@google.com

Author: jcgregorio@google.com

Review URL: https://codereview.chromium.org/249113004

git-svn-id: http://skia.googlecode.com/svn/trunk@14331 2bbb7eff-a529-9590-31e7-b0007b416f81

experimental/webtry/js/run.js

index d44e818..9f1e803 100644 (file)
@@ -72,9 +72,9 @@
     }
 
     function clearOutput() {
-      output.innerText = "";
+      output.textContent = "";
       if (stdout) {
-        stdout.innerText = "";
+        stdout.textContent = "";
       }
       embed.style.display='none';
     }
       endWait();
       console.log(e.target.response);
       body = JSON.parse(e.target.response);
-      output.innerText = body.message;
+      output.textContent = body.message;
       if (stdout) {
-        stdout.innerText = body.stdout;
+        stdout.textContent = body.stdout;
       }
       if (body.hasOwnProperty('img')) {
         img.src = 'data:image/png;base64,' + body.img;