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

Side by Side Diff: options.js

Issue 29338939: Issue 3761 - Make the new options page stop listening for app.error (Closed)
Patch Set: Created March 22, 2016, 2:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2016 Eyeo GmbH 3 * Copyright (C) 2006-2016 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 break; 1097 break;
1098 case "subscriptions.listen": 1098 case "subscriptions.listen":
1099 onSubscriptionMessage(message.action, message.args[0]); 1099 onSubscriptionMessage(message.action, message.args[0]);
1100 break; 1100 break;
1101 } 1101 }
1102 }); 1102 });
1103 1103
1104 ext.backgroundPage.sendMessage( 1104 ext.backgroundPage.sendMessage(
1105 { 1105 {
1106 type: "app.listen", 1106 type: "app.listen",
1107 filter: ["addSubscription", "error"] 1107 filter: ["addSubscription"]
1108 }); 1108 });
1109 ext.backgroundPage.sendMessage( 1109 ext.backgroundPage.sendMessage(
1110 { 1110 {
1111 type: "filters.listen", 1111 type: "filters.listen",
1112 filter: ["added", "loaded", "removed"] 1112 filter: ["added", "loaded", "removed"]
1113 }); 1113 });
1114 ext.backgroundPage.sendMessage( 1114 ext.backgroundPage.sendMessage(
1115 { 1115 {
1116 type: "prefs.listen", 1116 type: "prefs.listen",
1117 filter: ["notifications_ignoredcategories", "notifications_showui", 1117 filter: ["notifications_ignoredcategories", "notifications_showui",
1118 "safari_contentblocker", "show_devtools_panel", 1118 "safari_contentblocker", "show_devtools_panel",
1119 "shouldShowBlockElementMenu"] 1119 "shouldShowBlockElementMenu"]
1120 }); 1120 });
1121 ext.backgroundPage.sendMessage( 1121 ext.backgroundPage.sendMessage(
1122 { 1122 {
1123 type: "subscriptions.listen", 1123 type: "subscriptions.listen",
1124 filter: ["added", "disabled", "homepage", "lastDownload", "removed", 1124 filter: ["added", "disabled", "homepage", "lastDownload", "removed",
1125 "title"] 1125 "title"]
1126 }); 1126 });
1127 1127
1128 window.addEventListener("DOMContentLoaded", onDOMLoaded, false); 1128 window.addEventListener("DOMContentLoaded", onDOMLoaded, false);
1129 })(); 1129 })();
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld