<commit_before>/* globals content, sendAsyncMessage */

"use strict";
function DOMFetcher() {
  this.cfmm = null;
}

/*
 * This a frame script that gets injected into web pages as they are opened.
 * It collects the raw DOM, as well as it's respective url once the content is
 * loaded. It uses the Content Frame Message Manager to send a message to
 * whoever is registered, sending the DOM and the url as it's payload.
 */
DOMFetcher.prototype = {
  init(cfmm) {
    this.cfmm = cfmm;
    this.cfmm.addEventListener("DOMContentLoaded", (this._addWindowListeners.bind(this)));
  },<commit_msg>Grammar fix in comment<commit_after>/* globals content, sendAsyncMessage */

"use strict";
function DOMFetcher() {
  this.cfmm = null;
}

/*
 * This a frame script that gets injected into web pages as they are opened.
 * It collects the raw DOM, as well as its respective url once the content is
 * loaded. It uses the Content Frame Message Manager to send a message to
 * whoever is registered, sending the DOM and the url as its payload.
 */
DOMFetcher.prototype = {
  init(cfmm) {
    this.cfmm = cfmm;
    this.cfmm.addEventListener("DOMContentLoaded", (this._addWindowListeners.bind(this)));
  },
{'fraction_non_alphanumeric': 0.09539748953974896, 'fraction_numerical': 0.0, 'mean_word_length': 3.9421487603305785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2996928', 'n_tokens_mistral': 346, 'n_tokens_neox': 345, 'n_words': 143}