Open Bug 1769846 Opened 3 years ago Updated 3 years ago

Support for ShadowRealm objects for DevTools

Categories

(DevTools :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: mgaudet, Unassigned)

References

(Blocks 1 open bug)

Details

Bug 1566145 is tracking the implementation of the Stage 3 TC39 feature Shadow Realms

I'm opening this bug to track any work related to this proposal that might come out of it.

One example that might be nice would be inspection of the ShadowRealm's contained global: So

var sr = new ShadowRealm();
sr.evaluate(`var x = 10`) 

perhaps through devtools it should be possible to see the binding of x existing on the ShadowRealm global.

Blocks: 1566145
You need to log in before you can comment on or make changes to this bug.