 Issue 29573905:
  Issue 4580 - Replace ext.devtools with devtools 
  Base URL: https://hg.adblockplus.org/adblockplusui/
    
  
    Issue 29573905:
  Issue 4580 - Replace ext.devtools with devtools 
  Base URL: https://hg.adblockplus.org/adblockplusui/| Index: background.js | 
| =================================================================== | 
| --- a/background.js | 
| +++ b/background.js | 
| @@ -536,18 +536,22 @@ | 
| whitelisted: isWhitelisted | 
| } | 
| ] | 
| } | 
| }, "*"); | 
| }, 1000); | 
| } | 
| - ext.devtools.onCreated.addListener((panel) => | 
| + let {port} = require("messaging"); | 
| + | 
| + port.on("devtools.ready", (message, sender) => | 
| 
Manish Jethani
2017/10/11 23:37:33
There's no API called devtools.onCreated. This is
 | 
| { | 
| + let panel = sender.page; | 
| + | 
| // blocked request | 
| panel.sendMessage({ | 
| type: "add-record", | 
| request: { | 
| url: "http://adserver.example.com/ad_banner.png", | 
| type: "IMAGE", | 
| docDomain: "example.com" | 
| }, |