Closed Bug 1623033 Opened 4 years ago Closed 4 years ago

Introduce DAMP test for the response panel

Categories

(DevTools :: Netmonitor, task, P3)

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
Firefox 77
Tracking Status
firefox77 --- fixed

People

(Reporter: Honza, Assigned: bomsy)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

We should have a DAMP test that covers rendering of the Response panel. We are specifically interested in how long it takes to render response bodies.

Test logic should be something like as follows:

  1. Open DevTools and select the Network panel
  2. Execute request on the page
  3. Select the request and open the Response panel for it.
  4. Wait till the response panel is rendered

Some more comments

  • We are interested in the time between step #3 and #4
  • The size of the response body should be equal to devtools.netmonitor.requestBodyLimit
  • If rendering of the Response panel is too fast, we should execute it multiple times.

Honza

Assignee: nobody → hmanilla
  • Added test for html preview
    • First pass at damp test for rendering response sidepanel
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba6d3ccb74ad
Added response panel damp tests r=ochameau
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: