mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
spec: Check existence of webview before removing it
This commit is contained in:
@@ -11,7 +11,7 @@ describe '<webview> tag', ->
|
||||
beforeEach ->
|
||||
webview = new WebView
|
||||
afterEach ->
|
||||
document.body.removeChild webview
|
||||
document.body.removeChild(webview) if document.body.contains(webview)
|
||||
|
||||
describe 'src attribute', ->
|
||||
it 'specifies the page to load', (done) ->
|
||||
|
||||
Reference in New Issue
Block a user