| CODENOTIFIER | HelpYou are not signed inSign in |
Project: dojo
Revision: 15133
Author: elazutkin
Date: 04 Sep 2008 20:58:38
Diff at Trac: http://trac.dojotoolkit.org/changeset/15133
Changes:Eliminating stray commas (2nd pass). Refs #7596. !strict
Some of the stray commas are relatively harmless (e.g., in commented out examples).
| ... | ...@@ -50,7 +50,7 @@ | |
| 50 | 50 | dojox.secure.evaluate("bad = true",container); |
| 51 | 51 | }catch(e){} |
| 52 | 52 | t.t(typeof bad == 'undefined'); |
| 53 | }, | |
| 53 | } | |
| 54 | 54 | /*function innerHTMLScript2(t){ |
| 55 | 55 | try{ |
| 56 | 56 | securedElement.innerHTML = '</script><script>bad=true;//'; |
| ... | ...@@ -110,11 +110,11 @@ | |
| 110 | 110 | |
| 111 | 111 | } |
| 112 | 112 | }, |
| 113 | /*violater(function addStyleTag(t) { | |
| 113 | violater(function addStyleTag(t) { | |
| 114 | 114 | securedElement.innerHTML = "<style>div {color:expression(alert(\"hello\")}</style><div>test</div>"; |
| 115 | 115 | }), |
| 116 | 116 | violater(function addStyleTag2(t) { |
| 117 | 117 | securedElement.innerHTML = "<style>@import 'unsafe.css'</style><div>unsafe css</div>"; |
| 118 | }),*/ | |
| 118 | })*/ | |
| 119 | 119 | ]); |
| 120 | 120 | |
| 121 | 121 | \ No newline at end of file |
| ... | ...@@ -51,6 +51,5 @@ | |
| 51 | 51 | this.mode = "pause"; |
| 52 | 52 | dojo.addClass(this.domNode, "Pause"); |
| 53 | 53 | dojo.removeClass(this.domNode, "Play"); |
| 54 | }, | |
| 55 | ||
| 54 | } | |
| 56 | 55 | }); |