Description* caja.policy.net.NO_NETWORK.fetch now invokes its callback rather than
ignoring it.
Fixes <https://code.google.com/p/google-caja/issues/detail?id=1579>.
* test-cajajs-invocation testBuilderApiNetNone checks that <script src>
and XHR fail sensibly under NO_NETWORK.
* In default test driver, use domain "caja-test-url.test" instead of
"example.com" for rewriting, and don't fetch any such urls if
they go to the fetcher (not all do). The TLD ".test" is reserved
by RFC 2606.
Fixes <https://code.google.com/p/google-caja/issues/detail?id=1680>.
@r5419
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 2
|
||||||||||||||||||||||||||||||||||||||||||||||