Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: messageResponder.js

Issue 29544706: Noissue - Adapt check for devtools panel support for Firefox (Closed)
Patch Set: Created Sept. 14, 2017, 11:17 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
===================================================================
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -184,7 +184,9 @@
if (message.what == "features")
{
return {
- devToolsPanel: info.platform == "chromium"
+ devToolsPanel: info.platform == "chromium" ||
+ info.application == "firefox" &&
Sebastian Noack 2017/09/14 23:30:49 I explicitly check for `application == "firefox" h
Manish Jethani 2017/09/15 11:37:14 Acknowledged.
Manish Jethani 2017/09/15 11:37:14 We'll have to use parseInt here since the applicat
Thomas Greiner 2017/09/15 12:20:04 Well spotted. Note that we usually use `Services.v
Sebastian Noack 2017/09/15 16:51:47 Done.
+ info.applicationVersion >= 54
};
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld