Open Bug 1646677 Opened 5 years ago Updated 5 months ago

Make devtools/server/tests/xpcshell/test_logpoint-*.js tests listen to console messages from client API instead of hacking server

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

Bug 1646143 highlighted that these tests were hacking server side API, whereas they could instead use ResourceWatcher.watch on the client side in order to listen for the expected console message.
By hacking the server side API, we don't really guarantee that the client will receive the logpoint console messages.

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.