fune/addon-sdk/source/lib/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
..
addon Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn 2017-08-04 17:12:58 +09:00
console Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa 2017-08-22 14:24:11 -07:00
core Bug 1186409 - Fix Addon SDK JSM context detection. r=kmag 2017-06-06 16:09:10 -07:00
deprecated Bug 1390106 - Stop using versioned scripts in addon-sdk. r=mossop 2017-08-14 20:38:59 +09:00
event Bug 1314861: Lazily load most SDK module imports. r=rpl 2017-04-07 18:11:32 -07:00
frame Bug 1350646: Part 4 - Remove most modules which depend on sdk/addon/*. r=Mossop 2017-08-02 14:04:30 -07:00
io Bug 1350646: Part 13 - Remove most SDK io modules. r=Mossop 2017-08-05 22:05:06 -07:00
lang Bug 1390106 - Stop using versioned scripts in addon-sdk. r=mossop 2017-08-14 20:38:59 +09:00
net Bug 1350646: Part 14 - Remove SDK net/request modules. r=Mossop 2017-08-05 22:37:39 -07:00
platform Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
preferences Bug 1350646: Part 12 - Remove SDK simple-prefs module. r=Mossop 2017-08-05 21:39:28 -07:00
private-browsing Bug 1314861: Lazily load most SDK module imports. r=rpl 2017-04-07 18:11:32 -07:00
system Bug 1350646: Part 17 - Remove SDK DOM events modules. r=Mossop 2017-08-05 22:42:18 -07:00
test Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa 2017-08-22 14:24:11 -07:00
uri Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
url Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
util Bug 1390106 - Stop using versioned scripts in addon-sdk. r=mossop 2017-08-14 20:38:59 +09:00
window Bug 1350646: Part 10 - Remove SDK tabs/windows modules. r=Mossop 2017-08-05 22:02:47 -07:00
zip
base64.js Bug 1186409 - Use Cu.getGlobalForObject when importing properties off a JSM global. r=kmag 2017-06-23 13:51:14 -07:00
clipboard.js Merge inbound to m-c a=merge 2017-08-10 18:14:34 -07:00
private-browsing.js
querystring.js
self.js Bug 1314861: Lazily load most SDK module imports. r=rpl 2017-04-07 18:11:32 -07:00
system.js Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
test.js
timers.js Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
url.js Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00