|
|
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>.
@r5458
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+79 lines, -139 lines) |
Patch |
 |
M |
tests/com/google/caja/plugin/browser-test-case.js
|
View
|
1
|
3 chunks |
+27 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/cajajs-bare-test.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/default-test-driver.js
|
View
|
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-apitaming.js
|
View
|
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-automode1.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-automode2.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-automode3.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-automode4.js
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-cajajs-invocation.js
|
View
|
1
|
3 chunks |
+6 lines, -18 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-cajajs-minor-version-skew-cajoled-module.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-cajajs-version-skew-cajoled-module.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-client-uri-rewriting.js
|
View
|
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-container-overflow.js
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-custom-cajoling-service-client.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-defensible-objects.js
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-domado-events.js
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-domado-foreign.js
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-domado-global.js
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-domado-special.js
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-mitigating-url-rewriter.js
|
View
|
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-proxies.js
|
View
|
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-relative-urls.js
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-scan-guest.js
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-taming-advice.js
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-taming-errors.js
|
View
|
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-taming-inout.js
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-taming-primitives.js
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-taming-tamed.js
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-taming-untamed.js
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/es53-test-unicode.js
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
tests/com/google/caja/plugin/qunit-test-driver.js
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
Total messages: 5
|