diff options
Diffstat (limited to 'devtools/client/jsonview/converter-child.js')
-rw-r--r-- | devtools/client/jsonview/converter-child.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devtools/client/jsonview/converter-child.js b/devtools/client/jsonview/converter-child.js index 79fd4a68cd..e249de0180 100644 --- a/devtools/client/jsonview/converter-child.js +++ b/devtools/client/jsonview/converter-child.js @@ -65,14 +65,14 @@ Converter.prototype = { * 5. convert does nothing, it's just the synchronous version * of asyncConvertData */ - convert(fromStream, fromType, toType, ctx) { + convert(fromStream) { return fromStream; }, - asyncConvertData(fromType, toType, listener, ctx) { + asyncConvertData(fromType, toType, listener) { this.listener = listener; }, - getConvertedType(fromType, channel) { + getConvertedType() { return "text/html"; }, @@ -395,7 +395,7 @@ function keepThemeUpdated(win) { addThemeObserver(listener); win.addEventListener( "unload", - function (event) { + function () { removeThemeObserver(listener); win = null; }, |