Closed Bug 1565217 Opened 5 years ago Closed 5 years ago

WebSockets panel should fetch payload only when selected

Categories

(DevTools :: Netmonitor, task, P2)

task

Tracking

(firefox70 fixed)

RESOLVED FIXED
Firefox 70
Tracking Status
firefox70 --- fixed

People

(Reporter: Honza, Assigned: tanhengyeow)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is a follow up for bug 1555625

Full WS frame payload is currently fetched when Data column is rendered in the Messages panel. It should happen only if the user actually selects the frame to see the payload in the preview panel.

We should also care about:

  • Sorting
  • Filtering

Does it work properly if the full payload isn't available?

Honza

Priority: -- → P3

Bugbug thinks this bug is a task, but please change it back in case of error.

Type: defect → task
Priority: P3 → P2

Display payload in FrameListColumnData up to 1000 characters

This is a follow up for bug 1555625

Full WS frame payload is currently fetched when Data column is rendered in the Messages panel. It should happen only if the user actually selects the frame to see the payload in the preview panel.

We should also care about:

  • Sorting
  • Filtering

Does it work properly if the full payload isn't available?

Honza

In the Phabricator patch attached, the payload would be displayed in the table as it is (cut off at 1000 characters if it is a LongString).

Filtering now does not take into account the full payload (by resolving the async function getLongString). We might need to file a new bug to take care of filtering through all frames' payload taking into account every frame's full payload.

Flags: needinfo?(odvarko)

(In reply to Heng Yeow (:tanhengyeow) from comment #3)

Filtering now does not take into account the full payload (by resolving the async function getLongString). We might need to file a new bug to take care of filtering through all frames' payload taking into account every frame's full payload.

Yes, filing a follow up sounds good to me.

Honza

Flags: needinfo?(odvarko)
Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1868911b8fbd
WebSockets panel should fetch payload only when selected. r=Honza
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Assignee: nobody → E0032242
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: