Closed Bug 1648795 Opened 3 months ago Closed 3 months ago

Make devtools/shared/resources/tests/browser_resources_several_resources.js better

Categories

(DevTools :: Framework, task, P1)

task

Tracking

(firefox79 fixed)

RESOLVED FIXED
Firefox 79
Tracking Status
firefox79 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

At the moment the test is only checking a number of received messages, and as it is listening on the parent process, any error messages emitted by the platform would hinder the test.
We should rather expecting specific resources, with known attributes.

We were only checking a number of received resources, and as we're listening to
the parent process, any error messages emitted by the platform would hinder the
test. This patch changes the test to expect specific resources instead.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1309eb0dccce
Fix devtools/shared/resources/tests/browser_resources_several_resources.js. r=jdescottes.
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
You need to log in before you can comment on or make changes to this bug.