Bug 1219837 - Part 3: Remove use of expression closure from devtools/. r=jryans

--HG--
extra : commitid : DcepCnPCAx3
extra : rebase_source : 74750fbedbb2e9355a81b0512e584f5a262117c6
extra : amend_source : bfb6559eaefb5d12478b8ae7f849aef049488c81
This commit is contained in:
Tooru Fujisawa 2015-10-30 02:48:29 +09:00
parent da0d85ff8c
commit c519459b12
2 changed files with 6 additions and 2 deletions

View File

@ -52,7 +52,9 @@ var Converter = Class({
"nsIRequestObserver"
],
get wrappedJSObject() this,
get wrappedJSObject() {
return this;
},
/**
* This component works as such:

View File

@ -39,7 +39,9 @@ var Sniffer = Class({
"nsIContentSniffer",
],
get wrappedJSObject() this,
get wrappedJSObject() {
return this;
},
getMIMETypeFromContent: function(aRequest, aData, aLength) {
// JSON View is enabled only for top level loads only.