Reviewers: ihab.awad,
Description:
Previously, all test drivers always configured caja.js with
'debug: true', which disables using minified source files. Therefore,
the minified files are never exercised. While our minifier for those
does not do identifier renaming like Closure does to caja.js and is
therefore not as hazardous, we should still be testing what we expect
to be deployed.
* In test drivers, set caja config option 'debug' (which currently
controls only minification) to the negation of the 'minified' URL
parameter.
* For test drivers which do nothing special in this area,
browser-test-case.js now provieds 'basicCajaConfig' which gives
cajaServer, debug, and forceES5Mode appropriate values.
* Fix a pattern match in es53-test-scan-guest to be compatible with
minified code.
See <https://code.google.com/p/google-caja/issues/detail?id=1774>.
Please review this at https://codereview.appspot.com/10450043/
Affected files:
M tests/com/google/caja/plugin/browser-test-case.js
M tests/com/google/caja/plugin/cajajs-bare-test.html
M tests/com/google/caja/plugin/default-test-driver.js
M tests/com/google/caja/plugin/es53-test-apitaming.js
M tests/com/google/caja/plugin/es53-test-automode1.js
M tests/com/google/caja/plugin/es53-test-automode2.js
M tests/com/google/caja/plugin/es53-test-automode3.js
M tests/com/google/caja/plugin/es53-test-automode4.js
M tests/com/google/caja/plugin/es53-test-cajajs-invocation.js
M
tests/com/google/caja/plugin/es53-test-cajajs-minor-version-skew-cajoled-module.js
M
tests/com/google/caja/plugin/es53-test-cajajs-version-skew-cajoled-module.js
M tests/com/google/caja/plugin/es53-test-client-uri-rewriting.js
M tests/com/google/caja/plugin/es53-test-container-overflow.js
M
tests/com/google/caja/plugin/es53-test-custom-cajoling-service-client.js
M tests/com/google/caja/plugin/es53-test-defensible-objects.js
M tests/com/google/caja/plugin/es53-test-domado-events.js
M tests/com/google/caja/plugin/es53-test-domado-foreign.js
M tests/com/google/caja/plugin/es53-test-domado-global.js
M tests/com/google/caja/plugin/es53-test-domado-special.js
M tests/com/google/caja/plugin/es53-test-mitigating-url-rewriter.js
M tests/com/google/caja/plugin/es53-test-proxies.js
M tests/com/google/caja/plugin/es53-test-relative-urls.js
M tests/com/google/caja/plugin/es53-test-scan-guest.js
M tests/com/google/caja/plugin/es53-test-taming-advice.js
M tests/com/google/caja/plugin/es53-test-taming-errors.js
M tests/com/google/caja/plugin/es53-test-taming-inout.js
M tests/com/google/caja/plugin/es53-test-taming-primitives.js
M tests/com/google/caja/plugin/es53-test-taming-tamed.js
M tests/com/google/caja/plugin/es53-test-taming-untamed.js
M tests/com/google/caja/plugin/es53-test-unicode.js
M tests/com/google/caja/plugin/qunit-test-driver.js
--
---
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/groups/opt_out.