Change Object.defineProperties to $jscomp.global.Object.defineProperties to avoid conflicts if there's a variable named 'Object'.
Integration tests optimized size report:
**************************************
-There are 0 size changes.
-Total size (of already existing tests) did not change.
+There are 3 size changes.
+Total size (of already existing tests) changed from
+ 692128 to 692250 bytes (100%->100.02%) and from
+ 263865 to 263904 bytes (100%->100.01%) gzipped.
New reports:
@@ -16,7 +18,10 @@ Shrinkage report highlights:
Expansion report highlights:
**************************************
- none
+ old new
+ 1146 1183 jsproperties (3.23%)
+ 3063 3064 jstypevarargs (0.03%)
+ 11224 11225 jsinteroptests (0.01%)
All reports:
@@ -129,13 +134,13 @@ All reports:
1289 1289 jsfunctionbridge (unchanged)
2005 2005 jsfunctiontypeannotation (unchanged)
904 904 jsinnerclass (unchanged)
- 11224 11224 jsinteroptests (unchanged)
+ 11224 11225 jsinteroptests (0.01%)
906 906 jsmethodoverride (unchanged)
834 834 jsoverlay (unchanged)
838 838 jsoverlaystaticrefs (unchanged)
62 62 jsoverlaywithjsfunction (unchanged)
- 1146 1146 jsproperties (unchanged)
- 3063 3063 jstypevarargs (unchanged)
+ 1146 1183 jsproperties (3.23%)
+ 3063 3064 jstypevarargs (0.03%)
882 882 labeledstatement (unchanged)
1183 1183 lambdas (unchanged)
1125 1125 lambdaserializable (unchanged)
