Open Bug 1456634 Opened 7 years ago Updated 3 years ago

Running devtools' shared xpcshell-tests fails to catch console errors/messages (and 36 errors currently being raised)

Categories

(DevTools :: Shared Components, defect)

defect

Tracking

(firefox61 affected)

Tracking Status
firefox61 --- affected

People

(Reporter: standard8, Unassigned)

References

Details

I discovered this whilst looking at enabling ESLint's no-undef rule for devtools/shared/tests/unit/. The listener code is currently broken for a couple of reasons: 30:12 error 'scriptErrorFlagsToKind' is not defined. no-undef (eslint) 44:12 error 'DebuggerServer' is not defined. no-undef (eslint) 45:7 error 'DebuggerServer' is not defined. no-undef (eslint) As a result, console errors aren't being caught. I counted over 36 messages "DebuggerServer is not defined" messages when running xpcshell-tests on that directory.
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.