I am trying to add a break-point to the source JavaScript file using a chrome Extension. But it says the
chrome.browserAction.onClicked.addListener(function
The documentation says the parameter name is location
, not Location.
In javascript Capitalized identifiers denote classes commonly, while the variables/parameters use lower camelCase.
P.S. to see what actually happens it's very useful to "sniff" the debugger protocol while doing the action manually in devtools.