gecko-dev/testing/specialpowers/content
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
..
MockColorPicker.jsm Bug 1367780 - Additional changes for eslint on testing/firefox-ui,mozbase,profiles,specialpowers; r=Standard8 2017-05-30 16:06:31 -06:00
MockFilePicker.jsm Bug 1387800 - Remove [deprecated] nsIFilePicker.show(). r=qdot 2017-08-06 13:15:31 +09:00
MockPermissionPrompt.jsm Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa 2017-08-22 14:24:11 -07:00
MozillaLogger.js Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
specialpowers.js Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug 2017-08-19 13:32:58 -07:00
specialpowersAPI.js Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug 2017-08-19 13:32:58 -07:00
SpecialPowersObserver.jsm Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop 2017-08-30 01:50:27 -07:00
SpecialPowersObserverAPI.js Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug 2017-08-19 13:32:58 -07:00