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

Unified Diff: messageResponder.js

Issue 29595588: Issue 5952 - Clicking Cancel in the issue reporter doesn't close the tab (Closed) Base URL: https://hg.adblockplus.org/adblockplusui/
Patch Set: Created Nov. 2, 2017, 11:39 a.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
« issue-reporter.js ('K') | « issue-reporter.js ('k') | 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
@@ -202,16 +202,19 @@
{
return {
devToolsPanel: info.platform == "chromium" ||
info.application == "firefox" &&
parseInt(info.applicationVersion, 10) >= 54
};
}
+ if (message.what == "senderId")
+ return sender.page.id;
+
return info[message.what];
});
port.on("app.listen", (message, sender) =>
{
getListenerFilters(sender.page).app = message.filter;
});
« issue-reporter.js ('K') | « issue-reporter.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld