Files
firefox/devtools/shared/tests/unit/xpcshell.ini
T
Alexandre Poirot 5647e40cff Bug 1513028 - Throw exception with stack and message when a module doesn't exists. r=jdescottes
loadSubScript throws a string, without any stack/location.
Consider all string exceptions as coming from loadSubScript and re-throw a real error
object, coming with the stack of the require call.
Also handle wrong require path with a more explicit error message.

Differential Revision: https://phabricator.services.mozilla.com/D14139
2018-12-18 13:35:42 +00:00

46 lines
1.2 KiB
INI

[DEFAULT]
tags = devtools
head = head_devtools.js
firefox-appdir = browser
skip-if = toolkit == 'android'
support-files =
exposeLoader.js
throwing-module-1.js
throwing-module-2.js
[test_assert.js]
[test_csslexer.js]
[test_css-properties-db.js]
# This test only enforces that the CSS database is up to date with nightly. The DB is
# only used when inspecting a target that doesn't support the getCSSDatabase actor.
# CSS properties are behind compile-time flags, and there is no automatic rebuild
# process for uplifts, so this test breaks on uplift.
run-if = nightly_build
[test_eventemitter_basic.js]
[test_eventemitter_static.js]
[test_eventsource.js]
[test_fetch-bom.js]
[test_fetch-chrome.js]
[test_fetch-file.js]
[test_fetch-http.js]
[test_fetch-resource.js]
[test_flatten.js]
[test_indentation.js]
[test_independent_loaders.js]
[test_invisible_loader.js]
[test_isSet.js]
[test_safeErrorString.js]
[test_defineLazyPrototypeGetter.js]
[test_console_filtering.js]
[test_pluralForm-english.js]
[test_pluralForm-makeGetter.js]
[test_prettifyCSS.js]
[test_require_lazy.js]
[test_require_raw.js]
[test_require.js]
[test_sprintfjs.js]
[test_stack.js]
[test_defer.js]
[test_executeSoon.js]
[test_protocol_index.js]