зеркало из https://github.com/mozilla/gecko-dev.git
2b68b38709
This patch gently removes support for __exposedProps__ by changing ExposedPropertiesOnly::check() to always return false, while still failing silently in deny for some kinds of access. The tests that I changed all involve testing the behavior with __exposedProps__. I adjusted them to expect it to fail, or to adjust the error message they get when they fail. That seemed better than deleting them entirely. Note that test_bug1065185.html had a bug, so that it never executed the first case. I fixed that, and then fixed up the test to work when __exposedProps__ is not supported. This also removes various bits of the test framework that use __exposedProps__, but don't actually need to. MozReview-Commit-ID: 8fvkAmITmXY --HG-- extra : rebase_source : ef7e2c55adc12511f17f3865ebb46c343875f0b3 |
||
---|---|---|
.. | ||
BrowserTestUtils | ||
MochiKit | ||
chrome | ||
dynamic | ||
embed | ||
manifests | ||
pywebsocket | ||
ssltunnel | ||
static | ||
tests | ||
Makefile.in | ||
README.txt | ||
ShutdownLeaksCollector.jsm | ||
__init__.py | ||
bisection.py | ||
bootstrap.js | ||
browser-harness.xul | ||
browser-test-overlay.xul | ||
browser-test.js | ||
chrome-harness.js | ||
chunkifyTests.js | ||
gen_template.pl | ||
harness.xul | ||
install.rdf | ||
jar.mn | ||
jetpack-addon-harness.js | ||
jetpack-addon-overlay.xul | ||
jetpack-package-harness.js | ||
jetpack-package-overlay.xul | ||
leaks.py | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
manifest.webapp | ||
manifestLibrary.js | ||
mochitest-e10s-utils.js | ||
mochitest_options.py | ||
moz.build | ||
nested_setup.js | ||
pywebsocket_wrapper.py | ||
redirect.html | ||
rungeckoview.py | ||
runrobocop.py | ||
runtests.py | ||
runtestsremote.py | ||
server.js | ||
shutdown-leaks-collector.js | ||
start_desktop.js |
README.txt
See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.