I am building a devtool extension, which uses several protocol functions. However, the recent update to Chrome causes any use of Profiler to throw an exception.
For instance:
chrome.debugger.sendCommand({tabId:xxxx},"Profiler.start").then(e=> console.log(e))
output
index.html:1 Uncaught (in promise) Error: {"code":-32601,"message":"'Profiler.start' wasn't found"}
I am building a devtool extension, which uses several protocol functions. However, the recent update to Chrome causes any use of Profiler to throw an exception.
For instance:
chrome.debugger.sendCommand({tabId:xxxx},"Profiler.start").then(e=> console.log(e))
output
index.html:1 Uncaught (in promise) Error: {"code":-32601,"message":"'Profiler.start' wasn't found"}
But Profiler.start is in the mapping here. Has this changed and not been updated yet here? https://github.com/ChromeDevTools/devtools-protocol/blob/ced9091036a6202c5892cd9499dd22d374241144/types/protocol-mapping.d.ts#L1053
Thanks