Closed Bug 1676476 Opened 4 years ago Closed 4 years ago

Stop exposing promiseState in grips and instead add a previewer for promises

Categories

(DevTools :: Console, task)

task

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: Oriol, Assigned: Oriol)

References

Details

Attachments

(1 file)

Get rid of https://searchfox.org/mozilla-central/rev/02cb78667e87ccc42fea5edc6f3f2dd2edd6ecd5/devtools/server/actors/object.js#168-170

    if (g.class == "Promise") {
      g.promiseState = this._createPromiseState();
    }

Instead, add a promise previewer in devtools/server/actors/object/previewers.js

Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/51115684d88b
Replace grip.promiseState with a preview. r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Regressions: 1678613
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: