Revision: 5034
Author:   [email protected]
Date:     Tue Sep  4 16:41:22 2012
Log:      Enable domado-special testOpaqueNodes in ES5 mode.
http://codereview.appspot.com/6488082

The test passes with no changes needed.

[email protected]

http://code.google.com/p/google-caja/source/detail?r=5034

Modified:
 /trunk/tests/com/google/caja/plugin/es53-test-domado-special-guest.html

=======================================
--- /trunk/tests/com/google/caja/plugin/es53-test-domado-special-guest.html Tue Aug 14 09:36:54 2012 +++ /trunk/tests/com/google/caja/plugin/es53-test-domado-special-guest.html Tue Sep 4 16:41:22 2012
@@ -273,11 +273,8 @@
 </script>

 <script type="text/javascript">
- // TODO(kpreid): Enable for ES5 mode. Fails due to HtmlEmitter not currently
-  // generating <script> nodes.
-  jsunitRegisterIf(!inES5Mode,
-                   'testOpaqueNodes',
-                   function testOpaqueNodes() {
+  jsunitRegister('testOpaqueNodes',
+                 function testOpaqueNodes() {
     var noText = document.createTextNode('');
     // See bug 589.  We need to keep unsafe nodes in the DOM so that DOM
// navigation works, but we can't allow inspection or editing of such nodes.

Reply via email to