Chrome changed the devtools url

chrome-devtools:// to devtools://
28b21a67f0
This commit is contained in:
Nitish Sakhawalkar 2019-05-17 15:37:09 -07:00
parent aa00b19c92
commit cf5224140b
13 changed files with 14 additions and 16 deletions

View file

@ -787,7 +787,7 @@ describe('<webview> tag', function () {
// Its WebContents should be a DevTools.
const devtools = webview2.getWebContents()
assert.ok(devtools.getURL().startsWith('chrome-devtools://devtools'))
assert.ok(devtools.getURL().startsWith('devtools://devtools'))
const name = await devtools.executeJavaScript('InspectorFrontendHost.constructor.name')
document.body.removeChild(webview2)