DOM Panel should display longString full text

NEW
Unassigned

Status

()

Firefox
Developer Tools: DOM
P3
normal
a year ago
6 days ago

People

(Reporter: nchevobbe, Unassigned)

Tracking

49 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
longString (i.e. actor with type "longString") are not handled by the Reps, and thus, not displayed in the DOM Panel.
When Bug 1302982 lands, there will be a longString rep that would display a longString grip, but there will still be some work to be done in the DOM Panel.

A longString property should have an expand arrow (like string > 50 characters in the panel), and when clicking on it (or the row), we should retrieve the longString full text using a LongStringClient.

This means there should be a separate action to retrieve the full text when the actor we try to expand is a longString. For now, we only call getPrototypeAndProperties on the actor, which does not get us what we want.
(Reporter)

Comment 1

6 months ago
STR:

1. Open console
2. Enter `window.foo = "aaaaaaaaa ".repeat(10000)`
3. Go to the DOM Panel
4. search/filter for `foo`
5. Click on the ellipsis

ER:
It shows the whole content of the string

AR: 
It shows only the `initial` property of the longString
(Reporter)

Comment 2

6 days ago
Not working on this at the moment. Feel free to take it :)
Assignee: nchevobbe → nobody
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.