Revision: 5714
Author: [email protected]
Date: Fri Feb 27 00:26:12 2015 UTC
Log: Make test-success actually test minified mode.
https://codereview.appspot.com/202420043
The test catalog specified running test-success.js in both minified
and unminified mode, but it did not pass on the flag to caja.initialize,
so any problems with minification of the iframe JS would not be caught.
[email protected]
https://code.google.com/p/google-caja/source/detail?r=5714
Modified:
/trunk/tests/com/google/caja/plugin/test-success.js
=======================================
--- /trunk/tests/com/google/caja/plugin/test-success.js Wed Feb 19 01:17:43
2014 UTC
+++ /trunk/tests/com/google/caja/plugin/test-success.js Fri Feb 27 00:26:12
2015 UTC
@@ -24,7 +24,7 @@
caja.initialize(
{
cajaServer: '/caja',
- debug: true,
+ debug: !minifiedMode,
maxAcceptableSeverity: 'NO_KNOWN_EXPLOIT_SPEC_VIOLATION'
},
function() {},
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.