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. # Always ignore node_modules.
**/node_modules/ **/node_modules/
@ -30,6 +20,8 @@ browser/branding/**/firefox-branding.js
# Gzipped test file. # Gzipped test file.
browser/base/content/test/general/gZipOfflineChild.html browser/base/content/test/general/gZipOfflineChild.html
browser/base/content/test/urlbar/file_blank_but_not_blank.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. # 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_valid.js
browser/components/sessionstore/test/unit/data/sessionstore_invalid.js browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
@ -46,14 +38,18 @@ browser/extensions/pdfjs/content/build
browser/extensions/pdfjs/content/web browser/extensions/pdfjs/content/web
# generated or library files in pocket # generated or library files in pocket
browser/components/pocket/content/panels/js/tmpl.js browser/components/pocket/content/panels/js/tmpl.js
browser/components/pocket/content/panels/js/vendor/
# Ignore newtab files # Ignore newtab files
# Kept in sync with browser/components/newtab/.eslintignore # Kept in sync with browser/components/newtab/.eslintignore
browser/components/newtab/data/ browser/components/newtab/data/
browser/components/newtab/logs/ browser/components/newtab/logs/
browser/components/newtab/vendor/
# The only file in browser/locales/ is pre-processed. # The only file in browser/locales/ is pre-processed.
browser/locales/ browser/locales/
# imported from chromium
browser/extensions/mortar/
# Generated data files # Generated data files
browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm 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/storage-unsecured-iframe.html
devtools/server/tests/browser/stylesheets-nested-iframes.html devtools/server/tests/browser/stylesheets-nested-iframes.html
devtools/client/webreplay/mochitest/examples/*.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/ devtools/client/webreplay/mochitest/examples/
# Ignore devtools debugger files which aren't intended for linting, and also # 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/*.js
!devtools/client/webconsole/test/node/fixtures/stubs/index.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 # Ignore devtools files testing sourcemaps / code style
devtools/client/debugger/test/mochitest/code_*.js
devtools/client/framework/test/code_* devtools/client/framework/test/code_*
devtools/client/inspector/markup/test/events_bundle.js devtools/client/inspector/markup/test/events_bundle.js
devtools/client/netmonitor/test/xhr_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 specific format test file
devtools/server/tests/xpcshell/xpcshell_debugging_script.js devtools/server/tests/xpcshell/xpcshell_debugging_script.js
# Generated # Third-party
dom/canvas/test/webgl-conf/generated/ dom/canvas/test/webgl-conf/
dom/imptests/
# Intentionally invalid/not parsable dom/media/webaudio/test/blink/
dom/html/test/test_bug677658.html dom/media/webvtt/
dom/svg/test/test_nonAnimStrings.xhtml dom/svg/test/test_nonAnimStrings.xhtml
dom/svg/test/test_SVG_namespace_ids.html 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_be_bom.js
dom/encoding/test/file_utf16_le_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. # Service workers fixtures which require specific resource caching.
dom/base/test/file_js_cache.js dom/base/test/file_js_cache.js
dom/serviceworkers/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/invalid.js
dom/workers/test/threadErrors_worker1.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/ exclusions
intl/icu/
intl/locale/ intl/locale/
intl/strres/ intl/strres/
intl/uconv/ intl/uconv/
# Bug 1527075: This directory is linted in github repository # Bug 1527075: This directory is linted in github repository
intl/l10n/ intl/l10n/
# Third-party
layout/mathml/imptests/
# Exclude everything but self-hosted JS # Exclude everything but self-hosted JS
js/ductwork/ js/ductwork/
js/examples/ js/examples/
@ -151,11 +199,18 @@ js/ipc/
js/public/ js/public/
js/xpconnect/ js/xpconnect/
js/src/devtools/ js/src/devtools/
js/src/octane/
js/src/jit-test/ js/src/jit-test/
js/src/jsapi-tests/binast/ js/src/jsapi-tests/binast/
js/src/tests/ js/src/tests/
js/src/Y.js js/src/Y.js
# Third-party
media/webrtc/trunk/
# mobile/android/ exclusions
mobile/android/tests/browser/chrome/tp5/
# Uses `#filter substitution` # Uses `#filter substitution`
mobile/android/app/mobile.js mobile/android/app/mobile.js
mobile/android/app/geckoview-prefs.js mobile/android/app/geckoview-prefs.js
@ -174,8 +229,16 @@ python/
# Remote agent # Remote agent
remote/Protocol.jsm 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/browser/chrome-remote-interface.js
remote/test/demo.js remote/test/demo.js
remote/test/puppeteer/
# NSS / taskcluster only.
security/nss/
# services/ exclusions # services/ exclusions
@ -192,25 +255,44 @@ servo/
# Remote protocol exclusions # Remote protocol exclusions
testing/marionette/atom.js testing/marionette/atom.js
testing/marionette/legacyaction.js testing/marionette/legacyaction.js
testing/marionette/client
testing/marionette/doc
testing/marionette/harness testing/marionette/harness
# other testing/ exclusions # other testing/ exclusions
# third party modules # third party modules
testing/mochitest/tests/Harness_sanity/ testing/mochitest/tests/Harness_sanity/
testing/mochitest/MochiKit/
testing/mochitest/tests/MochiKit-1.4.2/
testing/mochitest/tests/SimpleTest/ 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 # octothorpe used for pref file comment causes parsing error
testing/mozbase/mozprofile/tests/files/prefs_with_comments.js 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/scripts/jszip.min.js
testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
testing/talos/talos/tests/devtools/addon/content/pages/ 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. # Runing Talos may extract data here, see bug 1435677.
testing/talos/talos/tests/tp5n/ testing/talos/talos/tests/tp5n/
testing/talos/talos/fis/tp5n/ testing/talos/talos/fis/tp5n/
testing/web-platform/ testing/web-platform/
testing/xpcshell/moz-http2/ testing/xpcshell/moz-http2/
testing/xpcshell/node-http2/
testing/xpcshell/dns-packet/
testing/xpcshell/node-ip/
# Third party.
third_party/
# toolkit/ exclusions # toolkit/ exclusions
@ -234,7 +316,9 @@ toolkit/modules/AppConstants.jsm
# Tests old non-star function generators # Tests old non-star function generators
toolkit/modules/tests/xpcshell/test_task.js toolkit/modules/tests/xpcshell/test_task.js
# Uses special template formatting. # Third party
toolkit/modules/third_party/
tools/tryselect/selectors/chooser/templates/chooser.html tools/tryselect/selectors/chooser/templates/chooser.html
# Ignore preprocessed *(P)refs.js files in update-packaging. # 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 browserTestConfig = require("eslint-plugin-mozilla/lib/configs/browser-test.js");
const mochitestTestConfig = require("eslint-plugin-mozilla/lib/configs/mochitest-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 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, * Some configurations have overrides, which can't be specified within overrides,
@ -33,19 +32,7 @@ const chromeTestPaths = [
"**/test*/chrome/", "**/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 = { module.exports = {
ignorePatterns,
// New rules and configurations should generally be added in // New rules and configurations should generally be added in
// tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js to // tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js to
// allow external repositories that use the plugin to pick them up as well. // allow external repositories that use the plugin to pick them up as well.

View file

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

View file

@ -1,3 +1,5 @@
# Keep in sync with top-level .eslintignore
assets/* assets/*
src/test/examples/** src/test/examples/**
src/test/integration/** src/test/integration/**
@ -7,4 +9,4 @@ src/test/mochitest/**
bin/ bin/
packages/**/fixtures/** packages/**/fixtures/**
node_modules node_modules
out out

View file

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

View file

@ -2,18 +2,22 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * 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 // Nothing
} }
WebVTTParserWrapper.prototype = { WebVTTParserWrapper.prototype =
loadParser(window) { {
this.parser = new WebVTT.Parser(window, new TextDecoder("utf8")); 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 // We can safely translate the string data to a Uint8Array as we are
// guaranteed character codes only from \u0000 => \u00ff // guaranteed character codes only from \u0000 => \u00ff
var buffer = new Uint8Array(data.length); var buffer = new Uint8Array(data.length);
@ -24,30 +28,34 @@ WebVTTParserWrapper.prototype = {
this.parser.parse(buffer); this.parser.parse(buffer);
}, },
flush() { flush: function()
{
this.parser.flush(); this.parser.flush();
}, },
watch(callback) { watch: function(callback)
{
this.parser.oncue = callback.onCue; this.parser.oncue = callback.onCue;
this.parser.onregion = callback.onRegion; this.parser.onregion = callback.onRegion;
this.parser.onparsingerror = function(e) { this.parser.onparsingerror = function(e) {
// Passing the just the error code back is enough for our needs. // 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.oncue = null;
this.parser.onregion = null; this.parser.onregion = null;
this.parser.onparsingerror = null; this.parser.onparsingerror = null;
}, },
convertCueToDOMTree(window, cue) { convertCueToDOMTree: function(window, cue)
{
return WebVTT.convertCueToDOMTree(window, cue.text); return WebVTT.convertCueToDOMTree(window, cue.text);
}, },
processCues(window, cues, overlay, controls) { processCues: function(window, cues, overlay, controls)
{
WebVTT.processCues(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"; "use strict";
const { WebVTT } = ChromeUtils.import("resource://gre/modules/vtt.jsm"); const {WebVTT} = ChromeUtils.import("resource://gre/modules/vtt.jsm");
let fakeWindow = { let fakeWindow = {
VTTCue() {}, VTTCue: function() {},
VTTRegion() {}, VTTRegion: function() {},
}; };
// We have a better parser check in WPT. Here I want to check that incomplete // We have a better parser check in WPT. Here I want to check that incomplete
// lines are correctly parsable. // lines are correctly parsable.
let tests = [ let tests = [
// Signature // Signature
{ input: ["WEBVTT"], cue: 0, region: 0 }, { input: [ "WEBVTT" ], cue: 0, region: 0 },
{ input: ["", "WE", "BVT", "T"], 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", " - ", "This file has no cues."], cue: 0, region: 0 }, { input: [ "WEBVTT", " - ", "This file has no cues." ], cue: 0, region: 0 },
// Body with IDs // Body with IDs
{ { input: [ "WEB", "VTT - This file has cues.\n", "\n", "14\n",
input: [ "00:01:14", ".815 --> 00:0", "1:18.114\n", "- What?\n", "- Where are we now?\n", "\n",
"WEB", "15\n", "00:01:18.171 --> 00:01:20.991\n", "- T", "his is big bat country.\n", "\n",
"VTT - This file has cues.\n", "16\n", "00:01:21.058 --> 00:01:23.868\n", "- [ Bat", "s Screeching ]\n",
"\n", "- They won't get in your hair. They're after the bug", "s.\n", ],
"14\n", cue: 3, region: 0 },
"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 // Body without IDs
{ { input: [ "WEBVTT - This file has c", "ues.\n", "\n",
input: [ "00:01:14.815 --> 00:01:18.114\n", "- What?\n", "- Where are we now?\n", "\n",
"WEBVTT - This file has c", "00:01:18.171 --> 00:01:2", "0.991\n", "- ", "This is big bat country.\n", "\n",
"ues.\n", "00:01:21.058 --> 00:01:23.868\n", "- [ Bats S", "creeching ]\n",
"\n", "- They won't get in your hair. They're after the bugs.\n", ],
"00:01:14.815 --> 00:01:18.114\n", cue: 3, region: 0 },
"- 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 // Note
{ { input: [ "WEBVTT - This file has no cues.\n", "\n", "NOTE what" ],
input: ["WEBVTT - This file has no cues.\n", "\n", "NOTE what"], cue: 0, region: 0 },
cue: 0,
region: 0,
},
// Regions - This vtt is taken from a WPT // Regions - This vtt is taken from a WPT
{ { input: [ "WE", "BVTT\n", "\n", "REGION\n", "id:0\n", "\n", "REGION\n", "id:1\n",
input: [ "region", "an", "chor:0%,0%\n", "\n", "R", "EGION\n", "id:2\n",
"WE", "regionanchor:18446744073709552000%,18446744", "073709552000%\n", "\n",
"BVTT\n", "REGION\n", "id:3\n", "regionanchor: 100%,100%\n", "regio", "nanchor :100%,100%\n",
"\n", "regionanchor:100% ,100%\n", "regionanchor:100%, 100%\n",
"REGION\n", "regionanchor:100 %,100%\n", "regionanchor:10", "0%,100 %\n", "\n",
"id:0\n", "00:00:00.000 --> 00:00:01.000", " region:0\n", "text\n", "\n",
"\n", "00:00:00.000 --> 00:00:01.000 region:1\n", "text\n", "\n",
"REGION\n", "00:00:00.000 --> 00:00:01.000 region:3\n", "text\n" ], cue: 3, region: 4 },
"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() { function run_test() {
tests.forEach(test => { tests.forEach(test => {
let parser = new WebVTT.Parser(fakeWindow, null); let parser = new WebVTT.Parser(fakeWindow, null);
ok(!!parser, "Ok... this is a good starting point"); ok(!!parser, "Ok... this is a good starting point");
let cue = 0; let cue = 0;
parser.oncue = () => { parser.oncue = () => { ++cue; };
++cue;
};
let region = 0; let region = 0;
parser.onregion = () => { parser.onregion = () => { ++region; };
++region;
};
parser.onparsingerror = () => { parser.onparsingerror = () => {
ok(false, "No error accepted"); ok(false, "No error accepted");
}; }
test.input.forEach(input => { test.input.forEach(input => {
parser.parse(new TextEncoder().encode(input)); parser.parse(new TextEncoder().encode(input));

View file

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

View file

@ -7,7 +7,7 @@ BrowserScope richtext category tests
<title>BrowserScope Richtext Tests</title> <title>BrowserScope Richtext Tests</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script> <script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<script src="/tests/SimpleTest/EventUtils.js"></script> <script src="/tests/SimpleTest/EventUtils.js"></script>
<script type="text/javascript" src="lib/richtext/currentStatus.js"></script> <script type="text/javascript" src="lib/richtext/currentStatus.js"></script>
</head> </head>
<body> <body>
@ -27,7 +27,7 @@ function sendScore(results, continueParams) {
ok(results.length > 1, "At least one test should have been run"); ok(results.length > 1, "At least one test should have been run");
for (var i = 1; i < results.length; ++i) { for (var i = 1; i < results.length; ++i) {
var result = results[i]; var result = results[i];
let [type, command, param, success] = result.split(/[\-=]/); [type, command, param, success] = result.split(/[\-=]/);
var comp = is; var comp = is;
if (isKnownFailure(type, command, param)) { if (isKnownFailure(type, command, param)) {
comp = todo_is; comp = todo_is;

View file

@ -14,7 +14,7 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
<title>BrowserScope Richtext2 Tests</title> <title>BrowserScope Richtext2 Tests</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script> <script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<script src="/tests/SimpleTest/EventUtils.js"></script> <script src="/tests/SimpleTest/EventUtils.js"></script>
<!-- utility scripts --> <!-- utility scripts -->
<script type="text/javascript" src="lib/richtext2/richtext2/static/js/variables.js"></script> <script type="text/javascript" src="lib/richtext2/richtext2/static/js/variables.js"></script>
@ -68,13 +68,10 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
); );
} }
/* eslint-disable-next-line complexity */
function runTest() { function runTest() {
initVariables(); initVariables();
initEditorDocs(); initEditorDocs();
// These are all globals in the js and py files above */
/* eslint-disable no-undef */
const tests = [ const tests = [
SELECTION_TESTS, SELECTION_TESTS,
APPLY_TESTS, APPLY_TESTS,
@ -92,9 +89,8 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
QUERYSTATE_TESTS, QUERYSTATE_TESTS,
QUERYVALUE_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]); 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">) // 'body' (test within a <body contenteditable="true">)
if (UPDATE_TEST_RESULTS) { if (UPDATE_TEST_RESULTS) {
let newKnownFailures = {value: {}, select: {}}; var newKnownFailures = {value: {}, select: {}};
for (let i = 0; i < tests.length; ++i) { for (var i = 0; i < tests.length; ++i) {
let category = tests[i]; var category = tests[i];
for (let group in results[category.id]) { for (var group in results[category.id]) {
switch (group) { switch (group) {
// Skip the known properties // Skip the known properties
case "count": case "count":
@ -148,7 +144,7 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
case "time": case "time":
break; break;
default: default:
for (let test_id in results[category.id][group]) { for (var test_id in results[category.id][group]) {
switch (test_id) { switch (test_id) {
// Skip the known properties // Skip the known properties
case "count": case "count":
@ -156,7 +152,7 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
case "selscore": case "selscore":
break; break;
default: default:
for (let structure in results[category.id][group][test_id]) { for (var structure in results[category.id][group][test_id]) {
switch (structure) { switch (structure) {
// Only look at each test structure // Only look at each test structure
case "dM": case "dM":
@ -179,9 +175,9 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
resultContainer.style.display = ""; resultContainer.style.display = "";
resultContainer.textContent = JSON.stringify(newKnownFailures); resultContainer.textContent = JSON.stringify(newKnownFailures);
} else { } else {
for (let i = 0; i < tests.length; ++i) { for (var i = 0; i < tests.length; ++i) {
let category = tests[i]; var category = tests[i];
for (let group in results[category.id]) { for (var group in results[category.id]) {
switch (group) { switch (group) {
// Skip the known properties // Skip the known properties
case "count": case "count":
@ -190,7 +186,7 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
case "time": case "time":
break; break;
default: default:
for (let test_id in results[category.id][group]) { for (var test_id in results[category.id][group]) {
switch (test_id) { switch (test_id) {
// Skip the known properties // Skip the known properties
case "count": case "count":
@ -198,7 +194,7 @@ http://code.google.com/p/browserscope/source/browse/trunk/categories/richtext2/u
case "selscore": case "selscore":
break; break;
default: default:
for (let structure in results[category.id][group][test_id]) { for (var structure in results[category.id][group][test_id]) {
switch (structure) { switch (structure) {
// Only look at each test structure // Only look at each test structure
case "dM": case "dM":

307
package-lock.json generated
View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

@ -5,26 +5,14 @@ browser/extensions/formautofill/content/third-party/
browser/extensions/screenshots/build/raven.js browser/extensions/screenshots/build/raven.js
build/pymake build/pymake
devtools/client/debugger/flow-typed/npm/ 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/build/babel.js
devtools/client/shared/source-map/
devtools/client/shared/sourceeditor/codemirror/ 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/client/shared/vendor/
devtools/shared/acorn/ devtools/shared/acorn/
devtools/shared/heapsnapshot/CoreDump.pb.cc devtools/shared/heapsnapshot/CoreDump.pb.cc
devtools/shared/heapsnapshot/CoreDump.pb.h devtools/shared/heapsnapshot/CoreDump.pb.h
devtools/shared/jsbeautify/ 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/canvas/test/webgl-conf/checkout/
dom/imptests/
dom/media/gmp/rlz/ dom/media/gmp/rlz/
dom/media/gmp/widevine-adapter/content_decryption_module_export.h dom/media/gmp/widevine-adapter/content_decryption_module_export.h
dom/media/gmp/widevine-adapter/content_decryption_module_ext.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/libav53/
dom/media/platforms/ffmpeg/libav54/ dom/media/platforms/ffmpeg/libav54/
dom/media/platforms/ffmpeg/libav55/ dom/media/platforms/ffmpeg/libav55/
dom/media/webaudio/test/blink/
dom/media/webspeech/recognition/endpointer.cc dom/media/webspeech/recognition/endpointer.cc
dom/media/webspeech/recognition/endpointer.h dom/media/webspeech/recognition/endpointer.h
dom/media/webspeech/recognition/energy_endpointer.cc dom/media/webspeech/recognition/energy_endpointer.cc
dom/media/webspeech/recognition/energy_endpointer.h dom/media/webspeech/recognition/energy_endpointer.h
dom/media/webspeech/recognition/energy_endpointer_params.cc dom/media/webspeech/recognition/energy_endpointer_params.cc
dom/media/webspeech/recognition/energy_endpointer_params.h dom/media/webspeech/recognition/energy_endpointer_params.h
dom/media/webvtt/vtt.jsm
dom/tests/mochitest/ajax/ dom/tests/mochitest/ajax/
dom/tests/mochitest/dom-level1-core/ dom/tests/mochitest/dom-level1-core/
dom/tests/mochitest/dom-level2-core/ dom/tests/mochitest/dom-level2-core/
@ -121,18 +107,12 @@ netwerk/srtp/src/
nsprpub/ nsprpub/
other-licenses/ other-licenses/
parser/expat/ parser/expat/
remote/test/puppeteer/
security/nss/ security/nss/
security/sandbox/chromium/ security/sandbox/chromium/
security/sandbox/chromium-shim/ security/sandbox/chromium-shim/
testing/gtest/gmock/ testing/gtest/gmock/
testing/gtest/gtest/ testing/gtest/gtest/
testing/mochitest/MochiKit/
testing/mochitest/pywebsocket 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/dromaeo/
testing/talos/talos/tests/kraken/ testing/talos/talos/tests/kraken/
testing/talos/talos/tests/v8_7/ testing/talos/talos/tests/v8_7/
@ -140,7 +120,6 @@ testing/web-platform/tests/resources/webidl2/
testing/web-platform/tests/tools/third_party/ testing/web-platform/tests/tools/third_party/
testing/xpcshell/dns-packet/ testing/xpcshell/dns-packet/
testing/xpcshell/node-ip/ testing/xpcshell/node-ip/
testing/xpcshell/node-http2/
third_party/ third_party/
toolkit/components/certviewer/content/vendor/ toolkit/components/certviewer/content/vendor/
toolkit/components/jsoncpp/ toolkit/components/jsoncpp/