Reviewers: jasvir, ihab.awad,

Description:
domita-es53-minified.js is not used anywhere except in a size benchmark.

This change removes domita-es53-minified.js, and changes the size
benchmark to use es53-taming-frame.js instead.  (The size benchmark
probably needs more revision to track es53 size accurately, but this
change is a close approximation to what it's been doing already.)

'ant benchmark' runs, and doesn't have new failures.

Please review this at http://codereview.appspot.com/4590043/

Affected files:
  M     build.xml
  M     tests/com/google/caja/demos/benchmarks/BenchmarkSize.java


Index: tests/com/google/caja/demos/benchmarks/BenchmarkSize.java
===================================================================
--- tests/com/google/caja/demos/benchmarks/BenchmarkSize.java (revision 4495)
+++ tests/com/google/caja/demos/benchmarks/BenchmarkSize.java   (working copy)
@@ -63,7 +63,7 @@
         + plain(fromResource("../../plugin/valija.out.js"));

     String plainES53 =
-      plain(fromResource("../../plugin/domita-es53-minified.js"));
+      plain(fromResource("../../plugin/es53-taming-frame.opt.js"));

     byte[] plainCajitaBytes = charset(plainCajita);
     byte[] plainValijaBytes = charset(plainValija);
Index: build.xml
===================================================================
--- build.xml   (revision 4495)
+++ build.xml   (working copy)
@@ -794,23 +794,6 @@
       <input file="${src}/com/google/caja/plugin/domita.js"/>
     </transform>
     <transform>
-      <output file="${lib}/com/google/caja/plugin/domita-es53-minified.js"
-       language="javascript" renderer="minify"/>
-      <input file="${third_party}/js/json_sans_eval/json_sans_eval.js"/>
-      <input file="${src}/com/google/caja/es53.js"/>
-      <input file="${src}/com/google/caja/plugin/unicode.js"/>
-      <input file="${lib}/com/google/caja/plugin/css-defs.js"/>
-      <input file="${lib}/com/google/caja/plugin/html4-defs.js"/>
-      <input file="${src}/com/google/caja/plugin/html-sanitizer.js"/>
-      <input file="${src}/com/google/caja/plugin/html-emitter.js"/>
-      <input file="${src}/com/google/caja/plugin/bridal.js"/>
-      <input file="${src}/com/google/caja/plugin/cssparser.js"/>
-      <input file="${src}/com/google/caja/plugin/domita.js"/>
-      <input file="${src}/com/google/caja/plugin/uri.js"/>
-      <input file="${src}/com/google/caja/cajita-module-orig.js"/>
-      <input file="${src}/com/google/caja/cajita-promise.js"/>
-    </transform>
-    <transform>
       <output file="${lib}/com/google/caja/plugin/es53-taming-frame.opt.js"
        language="javascript" renderer="minify"/>
       <output file="${lib}/com/google/caja/plugin/es53-taming-frame.js"


Reply via email to