<commit_before>const assert = require('assert')
const path = require('path')
const http = require('http')
const url = require('url')
const {app, session, ipcMain, BrowserWindow} = require('electron').remote

describe('<webview> tag', function () {
  this.timeout(10000)

  var fixtures = path.join(__dirname, 'fixtures')
  var webview = null

  beforeEach(function () {
    webview = new WebView()
  })

  afterEach(function () {
    if (document.body.contains(webview)) {
      document.body.removeChild(webview)
    }
  })

  it('works without script tag in page', function (done) {
    let w = new BrowserWindow({show: false})
    ipcMain.once('pong', function () {
      w.destroy()
      done()
    })
    w.loadURL('file://' + fixtures + '/pages/webview-no-script.html')
  })<commit_msg>And increase timeout for the rest<commit_after>const assert = require('assert')
const path = require('path')
const http = require('http')
const url = require('url')
const {app, session, ipcMain, BrowserWindow} = require('electron').remote

describe('<webview> tag', function () {
  this.timeout(20000)

  var fixtures = path.join(__dirname, 'fixtures')
  var webview = null

  beforeEach(function () {
    webview = new WebView()
  })

  afterEach(function () {
    if (document.body.contains(webview)) {
      document.body.removeChild(webview)
    }
  })

  it('works without script tag in page', function (done) {
    let w = new BrowserWindow({show: false})
    ipcMain.once('pong', function () {
      w.destroy()
      done()
    })
    w.loadURL('file://' + fixtures + '/pages/webview-no-script.html')
  })
{'fraction_non_alphanumeric': 0.15940224159402241, 'fraction_numerical': 0.0062266500622665, 'mean_word_length': 3.698830409356725, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2184682', 'n_tokens_mistral': 524, 'n_tokens_neox': 496, 'n_words': 119}