Backed out 9 changesets (bug 1607172, bug 1609998, bug 1608799) for causing xpcshell failures in test_parser.js

CLOSED TREE

Backed out changeset 7753083b67dd (bug 1609998)
Backed out changeset e6f5aac734ab (bug 1608799)
Backed out changeset 90ea35966b73 (bug 1608799)
Backed out changeset 6fafa451b3f9 (bug 1608799)
Backed out changeset e07a4aea2ae1 (bug 1608799)
Backed out changeset d69d6dfdccad (bug 1607172)
Backed out changeset 93023b1b6153 (bug 1607172)
Backed out changeset 99ce7a56080e (bug 1607172)
Backed out changeset 20aa5934c785 (bug 1607172)
This commit is contained in:
Mihai Alexandru Michis 2020-01-21 21:44:03 +02:00
parent 0b56bf4029
commit 2dab66d06e
21 changed files with 761 additions and 869 deletions

View file

@ -1,13 +1,3 @@
# Please DO NOT add more third party files to this file.
# They should be added to tools/rewriting/ThirdPartyPaths.txt instead.
# The remaining third-party paths will be removed in bug 1608799.
# This file should only be used for exclusions where we have:
# - preprocessed files
# - generated files that are for some reason checked into source
# - intentionally invalid files
# - build directories and other items that we need to ignore
# Always ignore node_modules.
**/node_modules/
@ -30,6 +20,8 @@ browser/branding/**/firefox-branding.js
# Gzipped test file.
browser/base/content/test/general/gZipOfflineChild.html
browser/base/content/test/urlbar/file_blank_but_not_blank.html
# Third-party code.
browser/components/payments/res/vendor/
# Test files that are really json not js, and don't need to be linted.
browser/components/sessionstore/test/unit/data/sessionstore_valid.js
browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
@ -46,14 +38,18 @@ browser/extensions/pdfjs/content/build
browser/extensions/pdfjs/content/web
# generated or library files in pocket
browser/components/pocket/content/panels/js/tmpl.js
browser/components/pocket/content/panels/js/vendor/
# Ignore newtab files
# Kept in sync with browser/components/newtab/.eslintignore
browser/components/newtab/data/
browser/components/newtab/logs/
browser/components/newtab/vendor/
# The only file in browser/locales/ is pre-processed.
browser/locales/
# imported from chromium
browser/extensions/mortar/
# Generated data files
browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
@ -64,6 +60,19 @@ devtools/server/tests/browser/storage-*.html
!devtools/server/tests/browser/storage-unsecured-iframe.html
devtools/server/tests/browser/stylesheets-nested-iframes.html
devtools/client/webreplay/mochitest/examples/*.html
# Ignore devtools debugger files
# Keep in sync with devtools/client/debugger/.eslintignore
devtools/client/debugger/assets/*
devtools/client/debugger/src/test/examples/
devtools/client/debugger/src/test/integration/
devtools/client/debugger/src/test/unit-sources/
devtools/client/debugger/src/**/fixtures/
devtools/client/debugger/src/test/mochitest/
devtools/client/debugger/bin/
devtools/client/debugger/packages/**/fixtures/
devtools/client/debugger/node_modules
devtools/client/debugger/out
devtools/client/webreplay/mochitest/examples/
# Ignore devtools debugger files which aren't intended for linting, and also
@ -87,7 +96,29 @@ devtools/shared/css/generated/properties-db.js
devtools/client/webconsole/test/node/fixtures/stubs/*.js
!devtools/client/webconsole/test/node/fixtures/stubs/index.js
# Ignore devtools third-party libs
devtools/shared/jsbeautify/
devtools/shared/acorn/
devtools/shared/node-properties/
devtools/shared/pretty-fast/
devtools/shared/sourcemap/
devtools/shared/sprintfjs/
devtools/shared/storage/vendor/*
devtools/shared/qrcode/decoder/
devtools/shared/qrcode/encoder/
devtools/client/inspector/markup/test/lib_*
devtools/client/jsonview/lib/require.js
devtools/client/shared/demangle.js
devtools/client/shared/source-map/
devtools/client/shared/vendor/
devtools/client/shared/sourceeditor/codemirror/*.js
devtools/client/shared/sourceeditor/codemirror/**/*.js
devtools/client/shared/sourceeditor/test/cm_mode_ruby.js
devtools/client/shared/sourceeditor/test/codemirror/
devtools/server/actors/utils/automation-timeline.js
# Ignore devtools files testing sourcemaps / code style
devtools/client/debugger/test/mochitest/code_*.js
devtools/client/framework/test/code_*
devtools/client/inspector/markup/test/events_bundle.js
devtools/client/netmonitor/test/xhr_bundle.js
@ -102,11 +133,11 @@ devtools/client/webconsole/test/browser/test-syntaxerror-worklet.js
# devtools specific format test file
devtools/server/tests/xpcshell/xpcshell_debugging_script.js
# Generated
dom/canvas/test/webgl-conf/generated/
# Intentionally invalid/not parsable
dom/html/test/test_bug677658.html
# Third-party
dom/canvas/test/webgl-conf/
dom/imptests/
dom/media/webaudio/test/blink/
dom/media/webvtt/
dom/svg/test/test_nonAnimStrings.xhtml
dom/svg/test/test_SVG_namespace_ids.html
@ -116,6 +147,10 @@ dom/encoding/test/test_utf16_files.html
dom/encoding/test/file_utf16_be_bom.js
dom/encoding/test/file_utf16_le_bom.js
# Not parsable
dom/tests/mochitest/general/test_focusrings.xul
dom/html/test/test_bug677658.html
# Service workers fixtures which require specific resource caching.
dom/base/test/file_js_cache.js
dom/serviceworkers/test/file_js_cache.js
@ -137,13 +172,26 @@ dom/workers/test/importScripts_worker_imported3.js
dom/workers/test/invalid.js
dom/workers/test/threadErrors_worker1.js
# Third-party
editor/libeditor/tests/browserscope/
# Third-party
gfx/ots/
gfx/skia/
gfx/wgpu
gfx/wr/
# intl/ exclusions
intl/icu/
intl/locale/
intl/strres/
intl/uconv/
# Bug 1527075: This directory is linted in github repository
intl/l10n/
# Third-party
layout/mathml/imptests/
# Exclude everything but self-hosted JS
js/ductwork/
js/examples/
@ -151,11 +199,18 @@ js/ipc/
js/public/
js/xpconnect/
js/src/devtools/
js/src/octane/
js/src/jit-test/
js/src/jsapi-tests/binast/
js/src/tests/
js/src/Y.js
# Third-party
media/webrtc/trunk/
# mobile/android/ exclusions
mobile/android/tests/browser/chrome/tp5/
# Uses `#filter substitution`
mobile/android/app/mobile.js
mobile/android/app/geckoview-prefs.js
@ -174,8 +229,16 @@ python/
# Remote agent
remote/Protocol.jsm
remote/server/HTTPD.jsm
remote/server/Packet.jsm
remote/server/Socket.jsm
remote/server/Stream.jsm
remote/test/browser/chrome-remote-interface.js
remote/test/demo.js
remote/test/puppeteer/
# NSS / taskcluster only.
security/nss/
# services/ exclusions
@ -192,25 +255,44 @@ servo/
# Remote protocol exclusions
testing/marionette/atom.js
testing/marionette/legacyaction.js
testing/marionette/client
testing/marionette/doc
testing/marionette/harness
# other testing/ exclusions
# third party modules
testing/mochitest/tests/Harness_sanity/
testing/mochitest/MochiKit/
testing/mochitest/tests/MochiKit-1.4.2/
testing/mochitest/tests/SimpleTest/
testing/modules/ajv-4.1.1.js
testing/modules/sinon-7.2.7.js
# octothorpe used for pref file comment causes parsing error
testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
# Mozproxy third party
testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/
testing/talos/talos/scripts/jszip.min.js
testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
testing/talos/talos/tests/devtools/addon/content/pages/
testing/talos/talos/tests/dromaeo/
testing/talos/talos/tests/v8_7/
testing/talos/talos/tests/kraken/
# Runing Talos may extract data here, see bug 1435677.
testing/talos/talos/tests/tp5n/
testing/talos/talos/fis/tp5n/
testing/web-platform/
testing/xpcshell/moz-http2/
testing/xpcshell/node-http2/
testing/xpcshell/dns-packet/
testing/xpcshell/node-ip/
# Third party.
third_party/
# toolkit/ exclusions
@ -234,7 +316,9 @@ toolkit/modules/AppConstants.jsm
# Tests old non-star function generators
toolkit/modules/tests/xpcshell/test_task.js
# Uses special template formatting.
# Third party
toolkit/modules/third_party/
tools/tryselect/selectors/chooser/templates/chooser.html
# Ignore preprocessed *(P)refs.js files in update-packaging.

View file

@ -4,7 +4,6 @@ const xpcshellTestConfig = require("eslint-plugin-mozilla/lib/configs/xpcshell-t
const browserTestConfig = require("eslint-plugin-mozilla/lib/configs/browser-test.js");
const mochitestTestConfig = require("eslint-plugin-mozilla/lib/configs/mochitest-test.js");
const chromeTestConfig = require("eslint-plugin-mozilla/lib/configs/chrome-test.js");
const fs = require("fs");
/**
* Some configurations have overrides, which can't be specified within overrides,
@ -33,19 +32,7 @@ const chromeTestPaths = [
"**/test*/chrome/",
];
const ignorePatterns = [
...fs.readFileSync("tools/rewriting/ThirdPartyPaths.txt")
.toString("utf-8")
.split("\n"),
...fs.readFileSync("devtools/client/debugger/.eslintignore")
.toString("utf-8")
.split("\n")
.filter(p => p && !p.startsWith("#"))
.map(p => `devtools/client/debugger/${p}`),
]
module.exports = {
ignorePatterns,
// New rules and configurations should generally be added in
// tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js to
// allow external repositories that use the plugin to pick them up as well.

View file

@ -135,7 +135,6 @@
// Force an initial build.
if (this.place) {
// eslint-disable-next-line no-self-assign
this.place = this.place;
}
}
@ -184,7 +183,6 @@
this.setAttribute("flatList", val);
// reload with the last place set
if (this.place) {
// eslint-disable-next-line no-self-assign
this.place = this.place;
}
}

View file

@ -1,3 +1,5 @@
# Keep in sync with top-level .eslintignore
assets/*
src/test/examples/**
src/test/integration/**

View file

@ -17,7 +17,7 @@ var frameElem = document.getElementById('test-frame');
////////////////////////////////////////////////////////////////////////
window.webglTestHarness = {
reportResults(pathname, success, message) {
reportResults: function(pathname, success, message) {
if (parent) {
parent.ok(success, message);
} else {
@ -25,7 +25,7 @@ window.webglTestHarness = {
}
},
notifyFinished(testPath) {
notifyFinished: function(testPath) {
if (parent) {
parent.SimpleTest.finish();
} else {

View file

@ -2,18 +2,22 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
const { WebVTT } = ChromeUtils.import("resource://gre/modules/vtt.jsm");
const {WebVTT} = ChromeUtils.import("resource://gre/modules/vtt.jsm");
function WebVTTParserWrapper() {
function WebVTTParserWrapper()
{
// Nothing
}
WebVTTParserWrapper.prototype = {
loadParser(window) {
WebVTTParserWrapper.prototype =
{
loadParser: function(window)
{
this.parser = new WebVTT.Parser(window, new TextDecoder("utf8"));
},
parse(data) {
parse: function(data)
{
// We can safely translate the string data to a Uint8Array as we are
// guaranteed character codes only from \u0000 => \u00ff
var buffer = new Uint8Array(data.length);
@ -24,30 +28,34 @@ WebVTTParserWrapper.prototype = {
this.parser.parse(buffer);
},
flush() {
flush: function()
{
this.parser.flush();
},
watch(callback) {
watch: function(callback)
{
this.parser.oncue = callback.onCue;
this.parser.onregion = callback.onRegion;
this.parser.onparsingerror = function(e) {
// Passing the just the error code back is enough for our needs.
callback.onParsingError("code" in e ? e.code : -1);
callback.onParsingError(("code" in e) ? e.code : -1);
};
},
cancel() {
cancel: function() {
this.parser.oncue = null;
this.parser.onregion = null;
this.parser.onparsingerror = null;
},
convertCueToDOMTree(window, cue) {
convertCueToDOMTree: function(window, cue)
{
return WebVTT.convertCueToDOMTree(window, cue.text);
},
processCues(window, cues, overlay, controls) {
processCues: function(window, cues, overlay, controls)
{
WebVTT.processCues(window, cues, overlay, controls);
},

View file

@ -1,7 +0,0 @@
"use strict";
module.exports = {
"extends": [
"plugin:mozilla/xpcshell-test",
]
};

View file

@ -1,146 +1,68 @@
"use strict";
const { WebVTT } = ChromeUtils.import("resource://gre/modules/vtt.jsm");
const {WebVTT} = ChromeUtils.import("resource://gre/modules/vtt.jsm");
let fakeWindow = {
VTTCue() {},
VTTRegion() {},
VTTCue: function() {},
VTTRegion: function() {},
};
// We have a better parser check in WPT. Here I want to check that incomplete
// lines are correctly parsable.
let tests = [
// Signature
{ input: ["WEBVTT"], cue: 0, region: 0 },
{ input: ["", "WE", "BVT", "T"], cue: 0, region: 0 },
{ input: ["WEBVTT - This file has no cues."], cue: 0, region: 0 },
{ input: ["WEBVTT", " - ", "This file has no cues."], cue: 0, region: 0 },
{ input: [ "WEBVTT" ], cue: 0, region: 0 },
{ input: [ "", "WE", "BVT", "T" ], cue: 0, region: 0 },
{ input: [ "WEBVTT - This file has no cues." ], cue: 0, region: 0 },
{ input: [ "WEBVTT", " - ", "This file has no cues." ], cue: 0, region: 0 },
// Body with IDs
{
input: [
"WEB",
"VTT - This file has cues.\n",
"\n",
"14\n",
"00:01:14",
".815 --> 00:0",
"1:18.114\n",
"- What?\n",
"- Where are we now?\n",
"\n",
"15\n",
"00:01:18.171 --> 00:01:20.991\n",
"- T",
"his is big bat country.\n",
"\n",
"16\n",
"00:01:21.058 --> 00:01:23.868\n",
"- [ Bat",
"s Screeching ]\n",
"- They won't get in your hair. They're after the bug",
"s.\n",
],
cue: 3,
region: 0,
},
{ input: [ "WEB", "VTT - This file has cues.\n", "\n", "14\n",
"00:01:14", ".815 --> 00:0", "1:18.114\n", "- What?\n", "- Where are we now?\n", "\n",
"15\n", "00:01:18.171 --> 00:01:20.991\n", "- T", "his is big bat country.\n", "\n",
"16\n", "00:01:21.058 --> 00:01:23.868\n", "- [ Bat", "s Screeching ]\n",
"- They won't get in your hair. They're after the bug", "s.\n", ],
cue: 3, region: 0 },
// Body without IDs
{
input: [
"WEBVTT - This file has c",
"ues.\n",
"\n",
"00:01:14.815 --> 00:01:18.114\n",
"- What?\n",
"- Where are we now?\n",
"\n",
"00:01:18.171 --> 00:01:2",
"0.991\n",
"- ",
"This is big bat country.\n",
"\n",
"00:01:21.058 --> 00:01:23.868\n",
"- [ Bats S",
"creeching ]\n",
"- They won't get in your hair. They're after the bugs.\n",
],
cue: 3,
region: 0,
},
{ input: [ "WEBVTT - This file has c", "ues.\n", "\n",
"00:01:14.815 --> 00:01:18.114\n", "- What?\n", "- Where are we now?\n", "\n",
"00:01:18.171 --> 00:01:2", "0.991\n", "- ", "This is big bat country.\n", "\n",
"00:01:21.058 --> 00:01:23.868\n", "- [ Bats S", "creeching ]\n",
"- They won't get in your hair. They're after the bugs.\n", ],
cue: 3, region: 0 },
// Note
{
input: ["WEBVTT - This file has no cues.\n", "\n", "NOTE what"],
cue: 0,
region: 0,
},
{ input: [ "WEBVTT - This file has no cues.\n", "\n", "NOTE what" ],
cue: 0, region: 0 },
// Regions - This vtt is taken from a WPT
{
input: [
"WE",
"BVTT\n",
"\n",
"REGION\n",
"id:0\n",
"\n",
"REGION\n",
"id:1\n",
"region",
"an",
"chor:0%,0%\n",
"\n",
"R",
"EGION\n",
"id:2\n",
"regionanchor:18446744073709552000%,18446744",
"073709552000%\n",
"\n",
"REGION\n",
"id:3\n",
"regionanchor: 100%,100%\n",
"regio",
"nanchor :100%,100%\n",
"regionanchor:100% ,100%\n",
"regionanchor:100%, 100%\n",
"regionanchor:100 %,100%\n",
"regionanchor:10",
"0%,100 %\n",
"\n",
"00:00:00.000 --> 00:00:01.000",
" region:0\n",
"text\n",
"\n",
"00:00:00.000 --> 00:00:01.000 region:1\n",
"text\n",
"\n",
"00:00:00.000 --> 00:00:01.000 region:3\n",
"text\n",
],
cue: 3,
region: 4,
},
{ input: [ "WE", "BVTT\n", "\n", "REGION\n", "id:0\n", "\n", "REGION\n", "id:1\n",
"region", "an", "chor:0%,0%\n", "\n", "R", "EGION\n", "id:2\n",
"regionanchor:18446744073709552000%,18446744", "073709552000%\n", "\n",
"REGION\n", "id:3\n", "regionanchor: 100%,100%\n", "regio", "nanchor :100%,100%\n",
"regionanchor:100% ,100%\n", "regionanchor:100%, 100%\n",
"regionanchor:100 %,100%\n", "regionanchor:10", "0%,100 %\n", "\n",
"00:00:00.000 --> 00:00:01.000", " region:0\n", "text\n", "\n",
"00:00:00.000 --> 00:00:01.000 region:1\n", "text\n", "\n",
"00:00:00.000 --> 00:00:01.000 region:3\n", "text\n" ], cue: 3, region: 4 },
];
function run_test() {
tests.forEach(test => {
let parser = new WebVTT.Parser(fakeWindow, null);
ok(!!parser, "Ok... this is a good starting point");
let cue = 0;
parser.oncue = () => {
++cue;
};
parser.oncue = () => { ++cue; };
let region = 0;
parser.onregion = () => {
++region;
};
parser.onregion = () => { ++region; };
parser.onparsingerror = () => {
ok(false, "No error accepted");
};
}
test.input.forEach(input => {
parser.parse(new TextEncoder().encode(input));

View file

@ -1,29 +1,25 @@
#!/usr/bin/env node
/* eslint-env node */
var gift = require("gift"),
fs = require("fs"),
argv = require("optimist")
.usage(
"Update vtt.jsm with the latest from a vtt.js directory.\nUsage:" +
" $0 -d [dir]"
)
.demand("d")
.options("d", {
alias: "dir",
describe: "Path to WebVTT directory.",
var gift = require('gift'),
fs = require('fs'),
argv = require('optimist')
.usage('Update vtt.jsm with the latest from a vtt.js directory.\nUsage:' +
' $0 -d [dir]')
.demand('d')
.options('d', {
alias: 'dir',
describe: 'Path to WebVTT directory.'
})
.options("r", {
alias: "rev",
describe: "Revision to update to.",
default: "master",
.options('r', {
alias: 'rev',
describe: 'Revision to update to.',
default: 'master'
})
.options("w", {
alias: "write",
describe: "Path to file to write to.",
default: "./vtt.jsm",
}).argv;
.options('w', {
alias: 'write',
describe: 'Path to file to write to.',
default: "./vtt.jsm"
})
.argv;
var repo = gift(argv.d);
repo.status(function(err, status) {
@ -33,29 +29,27 @@ repo.status(function(err, status) {
}
repo.checkout(argv.r, function() {
repo.commits(argv.r, 1, function(err, commits) {
var vttjs = fs.readFileSync(argv.d + "/lib/vtt.js", "utf8");
var vttjs = fs.readFileSync(argv.d + "/lib/vtt.js", 'utf8');
// Remove settings for VIM and Emacs.
vttjs = vttjs.replace(/\/\* -\*-.*-\*- \*\/\n/, "");
vttjs = vttjs.replace(/\/\* vim:.* \*\/\n/, "");
vttjs = vttjs.replace(/\/\* -\*-.*-\*- \*\/\n/, '');
vttjs = vttjs.replace(/\/\* vim:.* \*\/\n/, '');
// Concatenate header and vttjs code.
vttjs =
"/* This Source Code Form is subject to the terms of the Mozilla Public\n" +
" * License, v. 2.0. If a copy of the MPL was not distributed with this\n" +
" * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n\n" +
'/* This Source Code Form is subject to the terms of the Mozilla Public\n' +
' * License, v. 2.0. If a copy of the MPL was not distributed with this\n' +
' * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n\n' +
'this.EXPORTED_SYMBOLS = ["WebVTT"];\n\n' +
"/**\n" +
" * Code below is vtt.js the JS WebVTT implementation.\n" +
" * Current source code can be found at http://github.com/mozilla/vtt.js\n" +
" *\n" +
" * Code taken from commit " +
commits[0].id +
"\n" +
" */\n" +
'/**\n' +
' * Code below is vtt.js the JS WebVTT implementation.\n' +
' * Current source code can be found at http://github.com/mozilla/vtt.js\n' +
' *\n' +
' * Code taken from commit ' + commits[0].id + '\n' +
' */\n' +
vttjs;
fs.writeFileSync(argv.w, vttjs);
});
});
});
});

View file

@ -27,7 +27,7 @@ function sendScore(results, continueParams) {
ok(results.length > 1, "At least one test should have been run");
for (var i = 1; i < results.length; ++i) {
var result = results[i];
let [type, command, param, success] = result.split(/[\-=]/);
[type, command, param, success] = result.split(/[\-=]/);
var comp = is;
if (isKnownFailure(type, command, param)) {
comp = todo_is;

View file

@ -68,13 +68,10 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
);
}
/* eslint-disable-next-line complexity */
function runTest() {
initVariables();
initEditorDocs();
// These are all globals in the js and py files above */
/* eslint-disable no-undef */
const tests = [
SELECTION_TESTS,
APPLY_TESTS,
@ -92,9 +89,8 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
QUERYSTATE_TESTS,
QUERYVALUE_TESTS,
];
/* eslint-enable no-undef */
for (let i = 0; i < tests.length; ++i) {
for (var i = 0; i < tests.length; ++i) {
runTestSuite(tests[i]);
}
@ -136,10 +132,10 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
// 'body' (test within a <body contenteditable="true">)
if (UPDATE_TEST_RESULTS) {
let newKnownFailures = {value: {}, select: {}};
for (let i = 0; i < tests.length; ++i) {
let category = tests[i];
for (let group in results[category.id]) {
var newKnownFailures = {value: {}, select: {}};
for (var i = 0; i < tests.length; ++i) {
var category = tests[i];
for (var group in results[category.id]) {
switch (group) {
// Skip the known properties
case "count":
@ -148,7 +144,7 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
case "time":
break;
default:
for (let test_id in results[category.id][group]) {
for (var test_id in results[category.id][group]) {
switch (test_id) {
// Skip the known properties
case "count":
@ -156,7 +152,7 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
case "selscore":
break;
default:
for (let structure in results[category.id][group][test_id]) {
for (var structure in results[category.id][group][test_id]) {
switch (structure) {
// Only look at each test structure
case "dM":
@ -179,9 +175,9 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
resultContainer.style.display = "";
resultContainer.textContent = JSON.stringify(newKnownFailures);
} else {
for (let i = 0; i < tests.length; ++i) {
let category = tests[i];
for (let group in results[category.id]) {
for (var i = 0; i < tests.length; ++i) {
var category = tests[i];
for (var group in results[category.id]) {
switch (group) {
// Skip the known properties
case "count":
@ -190,7 +186,7 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
case "time":
break;
default:
for (let test_id in results[category.id][group]) {
for (var test_id in results[category.id][group]) {
switch (test_id) {
// Skip the known properties
case "count":
@ -198,7 +194,7 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
case "selscore":
break;
default:
for (let structure in results[category.id][group][test_id]) {
for (var structure in results[category.id][group][test_id]) {
switch (structure) {
// Only look at each test structure
case "dM":

307
package-lock.json generated
View file

@ -4,59 +4,59 @@
"lockfileVersion": 1,
"dependencies": {
"@babel/code-frame": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.0.tgz",
"integrity": "sha512-AN2IR/wCUYsM+PdErq6Bp3RFTXl8W0p9Nmymm7zkpsCmh+r/YYcckaCGpU8Q/mEKmST19kkGRaG42A/jxOWwBA==",
"version": "7.5.5",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz",
"integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==",
"dev": true,
"requires": {
"@babel/highlight": "^7.8.0"
"@babel/highlight": "^7.0.0"
}
},
"@babel/generator": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.0.tgz",
"integrity": "sha512-2Lp2e02CV2C7j/H4n4D9YvsvdhPVVg9GDIamr6Tu4tU35mL3mzOrzl1lZ8ZJtysfZXh+y+AGORc2rPS7yHxBUg==",
"version": "7.7.7",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.7.7.tgz",
"integrity": "sha512-/AOIBpHh/JU1l0ZFS4kiRCBnLi6OTHzh0RPk3h9isBxkkqELtQNFi1Vr/tiG9p1yfoUdKVwISuXWQR+hwwM4VQ==",
"dev": true,
"requires": {
"@babel/types": "^7.8.0",
"@babel/types": "^7.7.4",
"jsesc": "^2.5.1",
"lodash": "^4.17.13",
"source-map": "^0.5.0"
}
},
"@babel/helper-function-name": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.0.tgz",
"integrity": "sha512-x9psucuU0Xalw+0Vpr2FYJMLB7/KnPSLZhlkUyOGbYAWRDfmtZBrguYpJYiaNCRV7vGkYjO/gF6/J6yMvdWTDw==",
"version": "7.7.4",
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz",
"integrity": "sha512-AnkGIdiBhEuiwdoMnKm7jfPfqItZhgRaZfMg1XX3bS25INOnLPjPG1Ppnajh8eqgt5kPJnfqrRHqFqmjKDZLzQ==",
"dev": true,
"requires": {
"@babel/helper-get-function-arity": "^7.8.0",
"@babel/template": "^7.8.0",
"@babel/types": "^7.8.0"
"@babel/helper-get-function-arity": "^7.7.4",
"@babel/template": "^7.7.4",
"@babel/types": "^7.7.4"
}
},
"@babel/helper-get-function-arity": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.0.tgz",
"integrity": "sha512-eUP5grliToMapQiTaYS2AAO/WwaCG7cuJztR1v/a1aPzUzUeGt+AaI9OvLATc/AfFkF8SLJ10d5ugGt/AQ9d6w==",
"version": "7.7.4",
"resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz",
"integrity": "sha512-QTGKEdCkjgzgfJ3bAyRwF4yyT3pg+vDgan8DSivq1eS0gwi+KGKE5x8kRcbeFTb/673mkO5SN1IZfmCfA5o+EA==",
"dev": true,
"requires": {
"@babel/types": "^7.8.0"
"@babel/types": "^7.7.4"
}
},
"@babel/helper-split-export-declaration": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.0.tgz",
"integrity": "sha512-YhYFhH4T6DlbT6CPtVgLfC1Jp2gbCawU/ml7WJvUpBg01bCrXSzTYMZZXbbIGjq/kHmK8YUATxTppcRGzj31pA==",
"version": "7.7.4",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz",
"integrity": "sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug==",
"dev": true,
"requires": {
"@babel/types": "^7.8.0"
"@babel/types": "^7.7.4"
}
},
"@babel/highlight": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.0.tgz",
"integrity": "sha512-OsdTJbHlPtIk2mmtwXItYrdmalJ8T0zpVzNAbKSkHshuywj7zb29Y09McV/jQsQunc/nEyHiPV2oy9llYMLqxw==",
"version": "7.5.0",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz",
"integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==",
"dev": true,
"requires": {
"chalk": "^2.0.0",
@ -65,24 +65,24 @@
}
},
"@babel/parser": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.0.tgz",
"integrity": "sha512-VVtsnUYbd1+2A2vOVhm4P2qNXQE8L/W859GpUHfUcdhX8d3pEKThZuIr6fztocWx9HbK+00/CR0tXnhAggJ4CA==",
"version": "7.7.7",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.7.7.tgz",
"integrity": "sha512-WtTZMZAZLbeymhkd/sEaPD8IQyGAhmuTuvTzLiCFM7iXiVdY0gc0IaI+cW0fh1BnSMbJSzXX6/fHllgHKwHhXw==",
"dev": true
},
"@babel/runtime": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.0.tgz",
"integrity": "sha512-Z7ti+HB0puCcLmFE3x90kzaVgbx6TRrYIReaygW6EkBEnJh1ajS4/inhF7CypzWeDV3NFl1AfWj0eMtdihojxw==",
"version": "7.7.7",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.7.tgz",
"integrity": "sha512-uCnC2JEVAu8AKB5do1WRIsvrdJ0flYx/A/9f/6chdacnEZ7LmavjdsDXr5ksYBegxtuTPR5Va9/+13QF/kFkCA==",
"dev": true,
"requires": {
"regenerator-runtime": "^0.13.2"
}
},
"@babel/runtime-corejs3": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.8.0.tgz",
"integrity": "sha512-5XaME/D4hTkUclw4BW+FeDyfUcxN5/Fox/+9UiWUqdyU33zsLxDAE74IexAmLccuHSQyFbIzF5+Yb4E6obVOSg==",
"version": "7.7.7",
"resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.7.7.tgz",
"integrity": "sha512-kr3W3Fw8mB/CTru2M5zIRQZZgC/9zOxNSoJ/tVCzjPt3H1/p5uuGbz6WwmaQy/TLQcW31rUhUUWKY28sXFRelA==",
"dev": true,
"requires": {
"core-js-pure": "^3.0.0",
@ -90,37 +90,37 @@
}
},
"@babel/template": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.0.tgz",
"integrity": "sha512-0NNMDsY2t3ltAVVK1WHNiaePo3tXPUeJpCX4I3xSKFoEl852wJHG8mrgHVADf8Lz1y+8al9cF7cSSfzSnFSYiw==",
"version": "7.7.4",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz",
"integrity": "sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.8.0",
"@babel/parser": "^7.8.0",
"@babel/types": "^7.8.0"
"@babel/code-frame": "^7.0.0",
"@babel/parser": "^7.7.4",
"@babel/types": "^7.7.4"
}
},
"@babel/traverse": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.0.tgz",
"integrity": "sha512-d/6sPXFLGlJHZO/zWDtgFaKyalCOHLedzxpVJn6el1cw+f2TZa7xZEszeXdOw6EUemqRFBAn106BWBvtSck9Qw==",
"version": "7.7.4",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.7.4.tgz",
"integrity": "sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.8.0",
"@babel/generator": "^7.8.0",
"@babel/helper-function-name": "^7.8.0",
"@babel/helper-split-export-declaration": "^7.8.0",
"@babel/parser": "^7.8.0",
"@babel/types": "^7.8.0",
"@babel/code-frame": "^7.5.5",
"@babel/generator": "^7.7.4",
"@babel/helper-function-name": "^7.7.4",
"@babel/helper-split-export-declaration": "^7.7.4",
"@babel/parser": "^7.7.4",
"@babel/types": "^7.7.4",
"debug": "^4.1.0",
"globals": "^11.1.0",
"lodash": "^4.17.13"
}
},
"@babel/types": {
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.0.tgz",
"integrity": "sha512-1RF84ehyx9HH09dMMwGWl3UTWlVoCPtqqJPjGuC4JzMe1ZIVDJ2DT8mv3cPv/A7veLD6sgR7vi95lJqm+ZayIg==",
"version": "7.7.4",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
"integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
"dev": true,
"requires": {
"esutils": "^2.0.2",
@ -200,18 +200,15 @@
}
},
"ansi-escapes": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz",
"integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==",
"dev": true,
"requires": {
"type-fest": "^0.8.1"
}
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
"integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",
"dev": true
},
"ansi-regex": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
"dev": true
},
"ansi-styles": {
@ -329,12 +326,12 @@
"dev": true
},
"cli-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
"integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
"integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
"dev": true,
"requires": {
"restore-cursor": "^3.1.0"
"restore-cursor": "^2.0.0"
}
},
"cli-width": {
@ -377,9 +374,9 @@
"dev": true
},
"core-js-pure": {
"version": "3.6.3",
"resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.6.3.tgz",
"integrity": "sha512-4LhJ4fw0sC4/8X5krM9hI5oQ3cgYHYojWwwWnQKjC6k6vf/qIVS9d0r3+Bdn+FUADgRpD0xzPFQ9P7cOeuIwlA==",
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.6.0.tgz",
"integrity": "sha512-+YSSo7UFDFuVvMUr1HVFYArb22pYIKRDISBo6V50kRuS0MsXgsuDWmJYFu6dJsJupr77S486xRnDkr/BWQQonw==",
"dev": true
},
"cross-spawn": {
@ -492,9 +489,9 @@
}
},
"emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
"integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
"dev": true
},
"entities": {
@ -549,9 +546,9 @@
"dev": true
},
"eslint": {
"version": "6.8.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz",
"integrity": "sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==",
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-6.2.2.tgz",
"integrity": "sha512-mf0elOkxHbdyGX1IJEUsNBzCDdyoUgljF3rRlgfyYh0pwGnreLc0jjD6ZuleOibjmnUWZLY2eXwSooeOgGJ2jw==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
@ -561,19 +558,19 @@
"debug": "^4.0.1",
"doctrine": "^3.0.0",
"eslint-scope": "^5.0.0",
"eslint-utils": "^1.4.3",
"eslint-utils": "^1.4.2",
"eslint-visitor-keys": "^1.1.0",
"espree": "^6.1.2",
"espree": "^6.1.1",
"esquery": "^1.0.1",
"esutils": "^2.0.2",
"file-entry-cache": "^5.0.1",
"functional-red-black-tree": "^1.0.1",
"glob-parent": "^5.0.0",
"globals": "^12.1.0",
"globals": "^11.7.0",
"ignore": "^4.0.6",
"import-fresh": "^3.0.0",
"imurmurhash": "^0.1.4",
"inquirer": "^7.0.0",
"inquirer": "^6.4.1",
"is-glob": "^4.0.0",
"js-yaml": "^3.13.1",
"json-stable-stringify-without-jsonify": "^1.0.1",
@ -582,7 +579,7 @@
"minimatch": "^3.0.4",
"mkdirp": "^0.5.1",
"natural-compare": "^1.4.0",
"optionator": "^0.8.3",
"optionator": "^0.8.2",
"progress": "^2.0.0",
"regexpp": "^2.0.1",
"semver": "^6.1.2",
@ -591,17 +588,6 @@
"table": "^5.2.3",
"text-table": "^0.2.0",
"v8-compile-cache": "^2.0.3"
},
"dependencies": {
"globals": {
"version": "12.3.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz",
"integrity": "sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw==",
"dev": true,
"requires": {
"type-fest": "^0.8.1"
}
}
}
},
"eslint-config-prettier": {
@ -614,13 +600,13 @@
}
},
"eslint-import-resolver-node": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz",
"integrity": "sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg==",
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz",
"integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==",
"dev": true,
"requires": {
"debug": "^2.6.9",
"resolve": "^1.13.1"
"resolve": "^1.5.0"
},
"dependencies": {
"debug": {
@ -641,9 +627,9 @@
}
},
"eslint-module-utils": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.2.tgz",
"integrity": "sha512-LGScZ/JSlqGKiT8OC+cYRxseMjyqt6QO54nl281CK93unD89ijSeRV6An8Ci/2nvWVKe8K/Tqdm75RQoIOCr+Q==",
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.0.tgz",
"integrity": "sha512-kCo8pZaNz2dsAW7nCUjuVoI11EBXXpIzfNxmaoLhXoRDOnqXLC4iSGVRdZPhOitfbdEfMEfKOiENaK6wDPZEGw==",
"dev": true,
"requires": {
"debug": "^2.6.9",
@ -776,14 +762,6 @@
"emoji-regex": "^7.0.2",
"has": "^1.0.3",
"jsx-ast-utils": "^2.2.1"
},
"dependencies": {
"emoji-regex": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
"integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
"dev": true
}
}
},
"eslint-plugin-mozilla": {
@ -956,9 +934,9 @@
"dev": true
},
"figures": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz",
"integrity": "sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
"integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
"dev": true,
"requires": {
"escape-string-regexp": "^1.0.5"
@ -1153,22 +1131,22 @@
"dev": true
},
"inquirer": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.3.tgz",
"integrity": "sha512-+OiOVeVydu4hnCGLCSX+wedovR/Yzskv9BFqUNNKq9uU2qg7LCcCo3R86S2E7WLo0y/x2pnEZfZe1CoYnORUAw==",
"version": "6.5.2",
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz",
"integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==",
"dev": true,
"requires": {
"ansi-escapes": "^4.2.1",
"ansi-escapes": "^3.2.0",
"chalk": "^2.4.2",
"cli-cursor": "^3.1.0",
"cli-cursor": "^2.1.0",
"cli-width": "^2.0.0",
"external-editor": "^3.0.3",
"figures": "^3.0.0",
"lodash": "^4.17.15",
"mute-stream": "0.0.8",
"figures": "^2.0.0",
"lodash": "^4.17.12",
"mute-stream": "0.0.7",
"run-async": "^2.2.0",
"rxjs": "^6.5.3",
"string-width": "^4.1.0",
"rxjs": "^6.4.0",
"string-width": "^2.1.0",
"strip-ansi": "^5.1.0",
"through": "^2.3.6"
}
@ -1198,9 +1176,9 @@
"dev": true
},
"is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
"integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
"dev": true
},
"is-glob": {
@ -1352,9 +1330,9 @@
}
},
"mimic-fn": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
"integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
"integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
"dev": true
},
"minimatch": {
@ -1388,9 +1366,9 @@
"dev": true
},
"mute-stream": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",
"version": "0.0.7",
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",
"integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
"dev": true
},
"natural-compare": {
@ -1501,12 +1479,12 @@
}
},
"onetime": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz",
"integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==",
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
"integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
"dev": true,
"requires": {
"mimic-fn": "^2.1.0"
"mimic-fn": "^1.0.0"
}
},
"optionator": {
@ -1714,9 +1692,9 @@
"dev": true
},
"resolve": {
"version": "1.14.2",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.2.tgz",
"integrity": "sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==",
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.1.tgz",
"integrity": "sha512-fn5Wobh4cxbLzuHaE+nphztHy43/b++4M6SsGFC2gB8uYwf0C8LcarfCz1un7UTW8OFQg9iNjZ4xpcFVGebDPg==",
"dev": true,
"requires": {
"path-parse": "^1.0.6"
@ -1729,12 +1707,12 @@
"dev": true
},
"restore-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
"integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
"integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
"dev": true,
"requires": {
"onetime": "^5.1.0",
"onetime": "^2.0.0",
"signal-exit": "^3.0.2"
}
},
@ -1757,9 +1735,9 @@
}
},
"rxjs": {
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz",
"integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==",
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz",
"integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==",
"dev": true,
"requires": {
"tslib": "^1.9.0"
@ -1819,14 +1797,6 @@
"ansi-styles": "^3.2.0",
"astral-regex": "^1.0.0",
"is-fullwidth-code-point": "^2.0.0"
},
"dependencies": {
"is-fullwidth-code-point": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
"integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
"dev": true
}
}
},
"source-map": {
@ -1874,23 +1844,22 @@
"dev": true
},
"string-width": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
"integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
"integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
"dev": true,
"requires": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.0"
"is-fullwidth-code-point": "^2.0.0",
"strip-ansi": "^4.0.0"
},
"dependencies": {
"strip-ansi": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
"integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
"integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
"dev": true,
"requires": {
"ansi-regex": "^5.0.0"
"ansi-regex": "^3.0.0"
}
}
}
@ -1974,18 +1943,6 @@
"string-width": "^3.0.0"
},
"dependencies": {
"emoji-regex": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
"integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
"dev": true
},
"is-fullwidth-code-point": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
"integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
"dev": true
},
"string-width": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
@ -2041,12 +1998,6 @@
"prelude-ls": "~1.1.2"
}
},
"type-fest": {
"version": "0.8.1",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
"integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
"dev": true
},
"uri-js": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",

View file

@ -6,7 +6,7 @@
"dependencies": {},
"devDependencies": {
"babel-eslint": "10.0.3",
"eslint": "6.8.0",
"eslint": "6.2.2",
"eslint-config-prettier": "6.1.0",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-fetch-options": "0.0.5",

View file

@ -113,6 +113,7 @@ add_task(async function() {
info("Loading tracking scripts and tracking images");
await SpecialPowers.spawn(browser, [{ trackingURL }], async function(obj) {
{
let src = content.document.createElement("script");
let p = new content.Promise(resolve => {
src.onload = resolve;
@ -120,6 +121,7 @@ add_task(async function() {
content.document.body.appendChild(src);
src.src = obj.trackingURL;
await p;
}
});
checkAltSvcCache(1, [true]);

View file

@ -450,7 +450,6 @@
}
// ensure that hitting enter triggers the default button command
// eslint-disable-next-line no-self-assign
this.defaultButton = this.defaultButton;
// if there is a special button configuration, use it

View file

@ -129,7 +129,6 @@
this._timer = null;
// Ensure the button state is up to date:
// eslint-disable-next-line no-self-assign
this.searchButton = this.searchButton;
this.initializeAttributeInheritance();

View file

@ -4,7 +4,7 @@
"visibility": "public",
"filename": "eslint-plugin-mozilla.tar.gz",
"unpack": true,
"digest": "ceb5b7d0271126794e0852225cfd2696a148723f81eb3f909b5f9b8ffe6dc47cd4ec509cc077ae473f809fc3dcecef733e8a98ebb314edb8b902d3b7c8488ab9",
"size": 4989928
"digest": "61df1df001b4e67300f318f2fce08c961e1f2cf4531414b7beaff71885928ab4d47ecebcd7e56fe39c5ef4682d81e6cbe16efa50168460b1b6ed7eb53804c6b0",
"size": 4779661
}
]

File diff suppressed because it is too large Load diff

View file

@ -25,8 +25,8 @@
"htmlparser2": "3.10.1"
},
"devDependencies": {
"eslint": "6.8.0",
"mocha": "7.0.0"
"eslint": "6.2.2",
"mocha": "6.2.0"
},
"peerDependencies": {
"eslint-config-prettier": "^6.0.0",

View file

@ -4,7 +4,7 @@
"visibility": "public",
"filename": "eslint.tar.gz",
"unpack": true,
"digest": "bc515d2d6b8d294590b3f26c15e7a303789650db4900681646a606c5fc4ba4f5a4465ab41150b7e535b8624f5774173dd55fb728e1a7b71c3cd31028687ecf78",
"size": 9807561
"digest": "7c95b403f87d1e9628dd9522353d6c304c421131eaabb5fbd730b19c07a1bc7637c45470847cd358a6d66588d8b84e770651ada6d744bd7735921401ae55f3c2",
"size": 9730634
}
]

View file

@ -5,26 +5,14 @@ browser/extensions/formautofill/content/third-party/
browser/extensions/screenshots/build/raven.js
build/pymake
devtools/client/debugger/flow-typed/npm/
devtools/client/inspector/markup/test/lib_*
devtools/client/jsonview/lib/require.js
devtools/client/shared/demangle.js
devtools/client/shared/build/babel.js
devtools/client/shared/source-map/
devtools/client/shared/sourceeditor/codemirror/
devtools/client/shared/sourceeditor/test/cm_mode_ruby.js
devtools/client/shared/sourceeditor/test/codemirror/
devtools/client/shared/vendor/
devtools/shared/acorn/
devtools/shared/heapsnapshot/CoreDump.pb.cc
devtools/shared/heapsnapshot/CoreDump.pb.h
devtools/shared/jsbeautify/
devtools/shared/node-properties/
devtools/shared/qrcode/decoder/
devtools/shared/qrcode/encoder/
devtools/shared/sprintfjs/
devtools/shared/storage/vendor/
dom/canvas/test/webgl-conf/checkout/
dom/imptests/
dom/media/gmp/rlz/
dom/media/gmp/widevine-adapter/content_decryption_module_export.h
dom/media/gmp/widevine-adapter/content_decryption_module_ext.h
@ -35,14 +23,12 @@ dom/media/platforms/ffmpeg/ffmpeg58/
dom/media/platforms/ffmpeg/libav53/
dom/media/platforms/ffmpeg/libav54/
dom/media/platforms/ffmpeg/libav55/
dom/media/webaudio/test/blink/
dom/media/webspeech/recognition/endpointer.cc
dom/media/webspeech/recognition/endpointer.h
dom/media/webspeech/recognition/energy_endpointer.cc
dom/media/webspeech/recognition/energy_endpointer.h
dom/media/webspeech/recognition/energy_endpointer_params.cc
dom/media/webspeech/recognition/energy_endpointer_params.h
dom/media/webvtt/vtt.jsm
dom/tests/mochitest/ajax/
dom/tests/mochitest/dom-level1-core/
dom/tests/mochitest/dom-level2-core/
@ -121,18 +107,12 @@ netwerk/srtp/src/
nsprpub/
other-licenses/
parser/expat/
remote/test/puppeteer/
security/nss/
security/sandbox/chromium/
security/sandbox/chromium-shim/
testing/gtest/gmock/
testing/gtest/gtest/
testing/mochitest/MochiKit/
testing/mochitest/pywebsocket
testing/mochitest/tests/MochiKit-1.4.2/
testing/modules/ajv-4.1.1.js
testing/modules/sinon-7.2.7.js
testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/
testing/talos/talos/tests/dromaeo/
testing/talos/talos/tests/kraken/
testing/talos/talos/tests/v8_7/
@ -140,7 +120,6 @@ testing/web-platform/tests/resources/webidl2/
testing/web-platform/tests/tools/third_party/
testing/xpcshell/dns-packet/
testing/xpcshell/node-ip/
testing/xpcshell/node-http2/
third_party/
toolkit/components/certviewer/content/vendor/
toolkit/components/jsoncpp/