Skip to content

Commit

Permalink
fix: catching config parsing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
saintsebastian committed Sep 19, 2017
1 parent 5552269 commit 1c4ffd8
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 14 deletions.
239 changes: 239 additions & 0 deletions .tags
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.8 //
CoverageReporter tests/coverage-reporter.js /^module.exports = function CoverageReporter(runner) {$/;" f
addons-linter package.json /^ "addons-linter": "0.25.1",$/;" f
applications tests/fixtures/minimal-web-ext/manifest.json /^ "applications": {$/;" f
author package.json /^ "author": "Kumar McMillan",$/;" f
babel-core package.json /^ "babel-core": "6.26.0",$/;" f
babel-eslint package.json /^ "babel-eslint": "7.2.3",$/;" f
babel-istanbul package.json /^ "babel-istanbul": "0.12.2",$/;" f
babel-istanbul-loader package.json /^ "babel-istanbul-loader": "0.1.0",$/;" f
babel-loader package.json /^ "babel-loader": "6.4.1",$/;" f
babel-plugin-transform-class-properties package.json /^ "babel-plugin-transform-class-properties": "6.24.1",$/;" f
babel-plugin-transform-es2015-modules-commonjs package.json /^ "babel-plugin-transform-es2015-modules-commonjs": "6.24.1",$/;" f
babel-plugin-transform-flow-strip-types package.json /^ "babel-plugin-transform-flow-strip-types": "6.22.0",$/;" f
babel-plugin-transform-runtime package.json /^ "babel-plugin-transform-runtime": "6.15.0",$/;" f
babel-polyfill package.json /^ "babel-polyfill": "6.20.0",$/;" f
babel-preset-es2015 package.json /^ "babel-preset-es2015": "6.24.1",$/;" f
babel-preset-stage-2 package.json /^ "babel-preset-stage-2": "6.24.1",$/;" f
babel-runtime package.json /^ "babel-runtime": "6.25.0",$/;" f
background tests/fixtures/minimal-web-ext/manifest.json /^ "background": {$/;" f
bin package.json /^ "bin": {$/;" f
boolean-negation package.json /^ "boolean-negation": false$/;" f
browser_action tests/fixtures/minimal-web-ext/manifest.json /^ "browser_action": {},$/;" f
bugs package.json /^ "bugs": {$/;" f
build package.json /^ "build": "grunt build",$/;" f
bunyan package.json /^ "bunyan": "1.8.10",$/;" f
camelcase package.json /^ "camelcase": "4.1.0",$/;" f
chai package.json /^ "chai": "3.5.0",$/;" f
changelog package.json /^ "changelog": "conventional-changelog -p angular -u",$/;" f
changelog-lint package.json /^ "changelog-lint": "conventional-changelog-lint --from master",$/;" f
changelog-lint-from-stdin package.json /^ "changelog-lint-from-stdin": "conventional-changelog-lint",$/;" f
changelogLint tasks/travis-pr-title-lint.js /^var changelogLint = changelogLintPkg.default;$/;" v
changelogLintPkg tasks/travis-pr-title-lint.js /^var changelogLintPkg = require('conventional-changelog-lint');$/;" v
const.addon tests/functional/fake-firefox-binary.js /^ from: 'fakeAddonsActor',$/;" p
const.addon tests/unit/test-cmd/test.run.js /^const tempInstallResult = {$/;" p
const.addon tests/unit/test-extension-runners/test.firefox-desktop.js /^const tempInstallResult = {$/;" p
const.addon tests/unit/test-extension-runners/test.firefox-desktop.js /^const tempInstallResultMissingAddonId = {$/;" p
const.addonPath tests/functional/fake-firefox-binary.js /^ type: 'installTemporaryAddon',$/;" p
const.addonsActor tests/functional/fake-firefox-binary.js /^const REPLY_LIST_TABS = {from: 'root', addonsActor: 'fakeAddonsActor'};$/;" p
const.app.update.enabled src/firefox/preferences.js /^ 'extensions.autoDisableScopes': 10,$/;" p
const.browser.console.showInPanel src/firefox/preferences.js /^const prefsFennec: FirefoxPreferences = {$/;" p
const.browser.dom.window.dump.enabled src/firefox/preferences.js /^const prefsCommon: FirefoxPreferences = {$/;" p
const.browser.firstrun.show.uidiscovery src/firefox/preferences.js /^ 'browser.console.showInPanel': true,$/;" p
const.browser.reader.detectedFirstArticle src/firefox/preferences.js /^ 'browser.selfsupport.url': 'https:\/\/localhost\/selfrepair',$/;" p
const.browser.safebrowsing.provider.0.gethashURL src/firefox/preferences.js /^ 'urlclassifier.updateinterval': 172800,$/;" p
const.browser.safebrowsing.provider.0.keyURL src/firefox/preferences.js /^ 'http:\/\/localhost\/safebrowsing-dummy\/gethash',$/;" p
const.browser.safebrowsing.provider.0.updateURL src/firefox/preferences.js /^ 'http:\/\/localhost\/safebrowsing-dummy\/newkey',$/;" p
const.browser.selfsupport.url src/firefox/preferences.js /^ 'http:\/\/localhost\/safebrowsing-dummy\/update',$/;" p
const.browser.startup.homepage src/firefox/preferences.js /^const prefsFirefox: FirefoxPreferences = {$/;" p
const.common src/firefox/preferences.js /^const prefs = {$/;" p
const.createProfile tests/unit/helpers.js /^ const allImplementations = {$/;" p
const.devtools.chrome.enabled src/firefox/preferences.js /^ 'devtools.errorconsole.enabled': true,$/;" p
const.devtools.debugger.prompt-connection src/firefox/preferences.js /^ 'devtools.debugger.remote-enabled': true,$/;" p
const.devtools.debugger.remote-enabled src/firefox/preferences.js /^ 'javascript.options.showInConsole': true,$/;" p
const.devtools.errorconsole.enabled src/firefox/preferences.js /^ 'startup.homepage_welcome_url.additional': '',$/;" p
const.extensions src/cmd/run.js /^ const firefoxDesktopRunnerParams = {$/;" p
const.extensions tests/unit/test-extension-runners/test.firefox-desktop.js /^ const runnerParams: FirefoxDesktopExtensionRunnerParams = {$/;" p
const.extensions.autoDisableScopes src/firefox/preferences.js /^ 'extensions.installDistroAddons': false,$/;" p
const.extensions.checkCompatibility.nightly src/firefox/preferences.js /^ 'extensions.logging.enabled': false,$/;" p
const.extensions.enabledScopes src/firefox/preferences.js /^ 'extensions.update.notifyUser': false,$/;" p
const.extensions.getAddons.cache.enabled src/firefox/preferences.js /^ 'extensions.enabledScopes': 5,$/;" p
const.extensions.installDistroAddons src/firefox/preferences.js /^ 'extensions.getAddons.cache.enabled': false,$/;" p
const.extensions.logging.enabled src/firefox/preferences.js /^ 'devtools.debugger.prompt-connection': false,$/;" p
const.extensions.update.enabled src/firefox/preferences.js /^ 'extensions.checkCompatibility.nightly': false,$/;" p
const.extensions.update.notifyUser src/firefox/preferences.js /^ 'extensions.update.enabled': false,$/;" p
const.fennec src/firefox/preferences.js /^ common: prefsCommon,$/;" p
const.firefox src/firefox/preferences.js /^ fennec: prefsFennec,$/;" p
const.from tests/functional/fake-firefox-binary.js /^const REPLY_INITIAL = {from: 'root'};$/;" p
const.from tests/functional/fake-firefox-binary.js /^const REPLY_INSTALL_ADDON = {$/;" p
const.from tests/functional/fake-firefox-binary.js /^const REPLY_LIST_TABS = {from: 'root', addonsActor: 'fakeAddonsActor'};$/;" p
const.javascript.options.showInConsole src/firefox/preferences.js /^ 'javascript.options.strict': true,$/;" p
const.javascript.options.strict src/firefox/preferences.js /^ 'browser.dom.window.dump.enabled': true,$/;" p
const.startup.homepage_welcome_url src/firefox/preferences.js /^ 'browser.startup.homepage': 'about:blank',$/;" p
const.startup.homepage_welcome_url.additional src/firefox/preferences.js /^ 'startup.homepage_welcome_url': 'about:blank',$/;" p
const.to tests/functional/fake-firefox-binary.js /^const REQUEST_INSTALL_ADDON = {$/;" p
const.to tests/functional/fake-firefox-binary.js /^const REQUEST_LIST_TABS = {to: 'root', type: 'listTabs'};$/;" p
const.type tests/functional/fake-firefox-binary.js /^ to: 'fakeAddonsActor',$/;" p
const.type tests/functional/fake-firefox-binary.js /^const REQUEST_LIST_TABS = {to: 'root', type: 'listTabs'};$/;" p
const.urlclassifier.updateinterval src/firefox/preferences.js /^ 'devtools.chrome.enabled': true,$/;" p
const.xpinstall.signatures.required src/firefox/preferences.js /^ 'app.update.enabled': false,$/;" p
context tests/functional/runner.js /^var context = require.context('.', true, \/.*?test\\..*?.js$\/);$/;" v
context tests/unit/runner.js /^var context = require.context('.', true, \/.*?test\\..*?.js$\/);$/;" v
conventional-changelog-cli package.json /^ "conventional-changelog-cli": "1.3.1",$/;" f
conventional-changelog-lint package.json /^ "conventional-changelog-lint": "1.1.9",$/;" f
copy-dir package.json /^ "copy-dir": "0.3.0",$/;" f
coveralls package.json /^ "coveralls": "2.13.1",$/;" f
createFakeProfileFinder tests/unit/test-firefox/test.firefox.js /^function createFakeProfileFinder(profilesDirPath) {$/;" f
debounce package.json /^ "debounce": "1.0.2",$/;" f
decamelize package.json /^ "decamelize": "1.2.0",$/;" f
deepcopy package.json /^ "deepcopy": "0.6.3",$/;" f
default_locale tests/fixtures/minimal-localizable-web-ext/manifest.json /^ "default_locale": "en"$/;" f
dependencies package.json /^ "dependencies": {$/;" f
description package.json /^ "description": "A command line tool to help build, run, and test web extensions",$/;" f
description tests/fixtures/minimal-localizable-web-ext/_locales/en/messages.json /^ "description": "This is an example of a minimal extension that does nothing"$/;" f
description tests/fixtures/minimal-localizable-web-ext/manifest.json /^ "description": "__MSG_extensionDescription__",$/;" f
description tests/fixtures/minimal-web-ext/manifest.json /^ "description": "This is an example of a minimal extension that does nothing",$/;" f
devDependencies package.json /^ "devDependencies": {$/;" f
doctoc package.json /^ "doctoc": "1.3.0",$/;" f
engine-strict package.json /^ "engine-strict": true,$/;" f
engines package.json /^ "engines": {$/;" f
es6-error package.json /^ "es6-error": "4.0.2",$/;" f
es6-promisify package.json /^ "es6-promisify": "5.0.0",$/;" f
eslint-plugin-async-await package.json /^ "eslint-plugin-async-await": "0.0.0",$/;" f
eslint-plugin-flowtype package.json /^ "eslint-plugin-flowtype": "2.35.0",$/;" f
eslint-plugin-import package.json /^ "eslint-plugin-import": "2.3.0",$/;" f
event-to-promise package.json /^ "event-to-promise": "0.8.0",$/;" f
exec tasks/travis-pr-title-lint.js /^var exec = require('child_process').exec;$/;" v
exitKeypressLoop tests/unit/test-extension-runners/test.extension-runners.js /^function exitKeypressLoop(stdin) {$/;" f
export.NS_TRACE_MALLOC_DISABLE_STACKS src/firefox/index.js /^ XPCOM_DEBUG_BREAK: 'stack',$/;" p
export.XPCOM_DEBUG_BREAK src/firefox/index.js /^export const defaultFirefoxEnv = {$/;" p
export.applications tests/unit/helpers.js /^ version: '0.0.1',$/;" p
export.debug src/util/logger.js /^export type Logger = {$/;" p
export.name src/util/updates.js /^ const pkg = {name: 'web-ext', version};$/;" p
export.name tests/unit/helpers.js /^export const basicManifest = {$/;" p
export.version tests/unit/helpers.js /^ name: 'the extension',$/;" p
extensionName tests/fixtures/minimal-localizable-web-ext/_locales/en/messages.json /^ "extensionName": {$/;" f
firefox-client package.json /^ "firefox-client": "0.3.0",$/;" f
firefox-profile package.json /^ "firefox-profile": "0.5.0",$/;" f
flow-bin package.json /^ "flow-bin": "0.53.1",$/;" f
flow-check package.json /^ "flow-check": "grunt flowbin:check",$/;" f
format tasks/travis-pr-title-lint.js /^var format = changelogLintPkg.format;$/;" v
fs tasks/travis-pr-title-lint.js /^var fs = require('mz').fs;$/;" v
fs webpack.config.js /^var fs = require('fs');$/;" v
fx-runner package.json /^ "fx-runner": "1.0.7",$/;" f
gecko tests/fixtures/minimal-web-ext/manifest.json /^ "gecko": {$/;" f
gen-contributing-toc package.json /^ "gen-contributing-toc": "doctoc CONTRIBUTING.md"$/;" f
getConfiguration tasks/travis-pr-title-lint.js /^var getConfiguration = changelogLintPkg.getConfiguration;$/;" v
getPreset tasks/travis-pr-title-lint.js /^var getPreset = changelogLintPkg.getPreset;$/;" v
git-rev-sync package.json /^ "git-rev-sync": "1.9.1",$/;" f
grunt package.json /^ "grunt": "1.0.1",$/;" f
grunt-contrib-clean package.json /^ "grunt-contrib-clean": "1.1.0",$/;" f
grunt-contrib-copy package.json /^ "grunt-contrib-copy": "1.0.0",$/;" f
grunt-contrib-watch package.json /^ "grunt-contrib-watch": "1.0.0",$/;" f
grunt-coveralls package.json /^ "grunt-coveralls": "1.0.1",$/;" f
grunt-eslint package.json /^ "grunt-eslint": "19.0.0",$/;" f
grunt-flowbin package.json /^ "grunt-flowbin": "0.2.0",$/;" f
grunt-mocha-test package.json /^ "grunt-mocha-test": "0.13.2",$/;" f
grunt-newer package.json /^ "grunt-newer": "1.3.0",$/;" f
grunt-webpack package.json /^ "grunt-webpack": "3.0.0",$/;" f
homepage package.json /^ "homepage": "https:\/\/github.com\/mozilla\/web-ext",$/;" f
https tasks/travis-pr-title-lint.js /^var https = require('https');$/;" v
id tests/fixtures/minimal-web-ext/manifest.json /^ "id": "minimal-example@web-ext-test-suite"$/;" f
keywords package.json /^ "keywords": [$/;" f
license package.json /^ "license": "MPL-2.0",$/;" f
lint package.json /^ "lint": "grunt lint",$/;" f
load-grunt-configs package.json /^ "load-grunt-configs": "1.0.0",$/;" f
load-grunt-tasks package.json /^ "load-grunt-tasks": "3.5.2",$/;" f
main package.json /^ "main": "dist\/web-ext.js",$/;" f
makeArgv tests/unit/test.config.js /^function makeArgv({$/;" f
manifest_version tests/fixtures/minimal-localizable-web-ext/manifest.json /^ "manifest_version": 2,$/;" f
manifest_version tests/fixtures/minimal-web-ext/manifest.json /^ "manifest_version": 2,$/;" f
message tests/fixtures/minimal-localizable-web-ext/_locales/en/messages.json /^ "message": "Name of the extension",$/;" f
minimatch package.json /^ "minimatch": "3.0.4",$/;" f
mkdirp package.json /^ "mkdirp": "0.5.1",$/;" f
mocha package.json /^ "mocha": "3.4.2",$/;" f
mocha-multi package.json /^ "mocha-multi": "0.11.0",$/;" f
module.exports Gruntfile.js /^\/*eslint prefer-template: 0*\/$/;" f
module.exports tasks/travis-pr-title-lint.js /^ '\/CONTRIBUTING.md#writing-commit-messages';$/;" f
module.exports tests/coverage-reporter.js /^module.exports = function CoverageReporter(runner) {$/;" f
module.exports.all tasks/configs/coveralls.js /^module.exports = {$/;" p
module.exports.build tasks/configs/webpack.js /^ options: webpackConfig,$/;" p
module.exports.dist tasks/configs/clean.js /^module.exports = {$/;" p
module.exports.entry webpack.config.js /^module.exports = {$/;" p
module.exports.findMergeBase tasks/travis-pr-title-lint.js /^ function findMergeBase() {$/;" f
module.exports.getGitBranchCommits tasks/travis-pr-title-lint.js /^ function getGitBranchCommits() {$/;" f
module.exports.getGitCommitMessage tasks/travis-pr-title-lint.js /^ function getGitCommitMessage(commitSha1) {$/;" f
module.exports.getPullRequestTitle tasks/travis-pr-title-lint.js /^ function getPullRequestTitle() {$/;" f
module.exports.js tasks/configs/eslint.js /^module.exports = {$/;" p
module.exports.lintMessage tasks/travis-pr-title-lint.js /^ function lintMessage(message) {$/;" f
module.exports.node webpack.config.js /^ target: 'node',$/;" p
module.exports.options tasks/configs/mochaTest.js /^module.exports = {$/;" p
module.exports.options tasks/configs/watch.js /^module.exports = {$/;" p
module.exports.options tasks/configs/webpack.js /^module.exports = {$/;" p
module.exports.start tasks/configs/flowbin.js /^module.exports = {$/;" p
module.exports.target webpack.config.js /^ entry: '.\/src\/main.js',$/;" p
mz package.json /^ "mz": "2.6.0",$/;" f
name package.json /^ "name": "web-ext",$/;" f
name tests/fixtures/minimal-localizable-web-ext/manifest.json /^ "name": "__MSG_extensionName__",$/;" f
name tests/fixtures/minimal-web-ext/manifest.json /^ "name": "Minimal Extension",$/;" f
node package.json /^ "node": ">=6.0.0",$/;" f
node-firefox-connect package.json /^ "node-firefox-connect": "1.2.0",$/;" f
node-notifier package.json /^ "node-notifier": "5.1.2",$/;" f
npm package.json /^ "npm": ">=3.0.0"$/;" f
nsp package.json /^ "nsp": "2.8.0",$/;" f
nsp-check package.json /^ "nsp-check": "nsp check -o summary",$/;" f
obj tests/unit/helpers.js /^ var obj = original;$/;" v
object.entries package.json /^ "object.entries": "1.0.4",$/;" f
object.values package.json /^ "object.values": "1.0.4",$/;" f
objectEntries tasks/travis-pr-title-lint.js /^var objectEntries = require('object.entries');$/;" v
objectValues tasks/travis-pr-title-lint.js /^var objectValues = require('object.values');$/;" v
open package.json /^ "open": "0.0.5",$/;" f
parse-json package.json /^ "parse-json": "2.2.0",$/;" f
path tasks/configs/webpack.js /^var path = require('path');$/;" v
path tasks/travis-pr-title-lint.js /^var path = require('path');$/;" v
path webpack.config.js /^var path = require('path');$/;" v
permissions tests/fixtures/minimal-web-ext/manifest.json /^ "permissions": [$/;" f
prepareExtensionRunnerParams tests/unit/test-extension-runners/test.extension-runners.js /^function prepareExtensionRunnerParams(params) {$/;" f
prepareExtensionRunnerParams tests/unit/test-extension-runners/test.firefox-desktop.js /^function prepareExtensionRunnerParams({$/;" f
prettyjson package.json /^ "prettyjson": "1.2.1",$/;" f
props tests/unit/helpers.js /^ var props = [];$/;" v
publish-coverage package.json /^ "publish-coverage": "grunt coveralls",$/;" f
regenerator-runtime package.json /^ "regenerator-runtime": "0.10.5",$/;" f
replyIndex tests/functional/fake-amo-server.js /^var replyIndex = 0;$/;" v
repository package.json /^ "repository": {$/;" f
require-uncached package.json /^ "require-uncached": "1.0.3",$/;" f
scripts package.json /^ "scripts": {$/;" f
scripts tests/fixtures/minimal-web-ext/manifest.json /^ "scripts": ["background-script.js"]$/;" f
sign-addon package.json /^ "sign-addon": "0.2.1",$/;" f
sinon package.json /^ "sinon": "3.2.1",$/;" f
source-map-support package.json /^ "source-map-support": "0.4.18",$/;" f
start package.json /^ "start": "grunt develop",$/;" f
stream-to-promise package.json /^ "stream-to-promise": "2.2.0",$/;" f
test package.json /^ "test": "grunt test",$/;" f
tmp package.json /^ "tmp": "0.0.30",$/;" f
toRDP tests/functional/fake-firefox-binary.js /^function toRDP(msg) {$/;" f
travis-pr-title-lint package.json /^ "travis-pr-title-lint": "grunt travis-pr-title-lint",$/;" f
type package.json /^ "type": "git",$/;" f
update-notifier package.json /^ "update-notifier": "2.2.0",$/;" f
url package.json /^ "url": "git:\/\/github.com\/mozilla\/web-ext.git"$/;" f
url package.json /^ "url": "http:\/\/github.com\/mozilla\/web-ext\/issues"$/;" f
version package.json /^ "version": "2.0.0",$/;" f
version tests/fixtures/minimal-localizable-web-ext/manifest.json /^ "version": "1.0",$/;" f
version tests/fixtures/minimal-web-ext/manifest.json /^ "version": "1.0",$/;" f
watchpack package.json /^ "watchpack": "1.3.0",$/;" f
web-ext package.json /^ "web-ext": "bin\/web-ext"$/;" f
webpack package.json /^ "webpack": "3.5.5",$/;" f
webpack webpack.config.js /^var webpack = require('webpack');$/;" v
webpack-dev-server package.json /^ "webpack-dev-server": "2.5.0",$/;" f
webpackConfig tasks/configs/webpack.js /^var webpackConfig = require('..\/..\/webpack.config.js');$/;" v
withBaseProfile tests/unit/test-firefox/test.firefox.js /^function withBaseProfile(callback) {$/;" f
writeCommitMessagesDocURL tasks/travis-pr-title-lint.js /^var writeCommitMessagesDocURL =$/;" v
yargs package.json /^ "yargs": "6.6.0",$/;" f
yargs package.json /^ "yargs": {$/;" f
yauzl package.json /^ "yauzl": "2.8.0"$/;" f
zip-dir package.json /^ "zip-dir": "1.0.2"$/;" f

0 comments on commit 1c4ffd8

Please sign in to comment.