Open Bug 1765278 Opened 2 years ago Updated 2 years ago

[META] Add support for Record and Tuples in DevTools

Categories

(DevTools :: Console, task)

task

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Depends on 7 open bugs, Blocks 1 open bug)

Details

(Keywords: meta, Whiteboard: dt-platform-impact)

See the proposal: https://github.com/tc39/proposal-record-tuple

This is currently (partially?) implemented behind a config flag in SpiderMonkey (--enable-record-tuple)

There's probably a few things we need to do:

  • Make sure the babel parser can consume scripts with record/tuples (as it introduces a new syntax)
  • Check that pretty-print in the debugger isn't broken
  • Check that beautifier in console editor isn't broken
  • Add new Reps for Record and Tuple
  • Ensure we can inspect those in DevTools

Matthew, do you know approximately when we want to enable Records/Tuples for good?
I want to know if/when we should prioritize this so at least DevTools aren't broken when people try them in Firefox (at the moment, evaluating a record makes the tab crash)

Flags: needinfo?(mgaudet)

I'm not sure of the hoped-for timeline; given JIT support isn't done, certainly not for a release or two.

Regardless, crashes in devtools would block shipping. I tried to reproduce, but was blocked by Bug 1765359; would you be able to open a bug for the tab crash for us?

Flags: needinfo?(mgaudet)

(In reply to Matthew Gaudet (he/him) [:mgaudet] from comment #2)

I'm not sure of the hoped-for timeline; given JIT support isn't done, certainly not for a release or two.

Okay that's good to know, this gives us some time to add nice DevTools support

Regardless, crashes in devtools would block shipping. I tried to reproduce, but was blocked by Bug 1765359; would you be able to open a bug for the tab crash for us?

Sure, I opened Bug 1765477

Depends on: 1772157
Depends on: 1774358
Depends on: 1774360
Depends on: 1774368
Depends on: 1774369
Depends on: 1774371
Depends on: 1774373
Whiteboard: dt-platform-impact
You need to log in before you can comment on or make changes to this bug.