gecko-dev/addon-sdk
Andrew McCreight 2b68b38709 Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa
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
2017-08-22 14:24:11 -07:00
..
source Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa 2017-08-22 14:24:11 -07:00
test Bug 1386694: Part 1 - Disable most SDK tests. r=Mossop 2017-08-02 10:46:19 -07:00
Makefile.in Bug 1256004 - Create the addon-sdk test addons directly under addon-sdk. r=gps 2016-08-16 08:32:54 +09:00
moz.build Bug 1350646: Part 21 - Remove SDK api-utils and dependent modules. r=Mossop 2017-08-05 22:54:47 -07:00