Closed Bug 1529757 Opened 9 months ago Closed 7 months ago

Need a public GetFunctionRealm API

Categories

(Core :: JavaScript Engine, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox67 --- wontfix
firefox68 --- fixed

People

(Reporter: bzbarsky, Assigned: jandem)

References

Details

Attachments

(1 file)

This is needed to fix things like bug 1317658 and in general align with the spec finally being written in https://github.com/heycam/webidl/pull/635/

This may be related to bug 1515167, which may be adding a way to do GetFunctionRealm at all; right now I don't think we have a way to do it.

Blocks: 1317658
No longer depends on: 1317658
<jorendorff> bz: Do you need someone to work on bug 1529757, or did you file it for yourself, or...
<bz> I would appreciate someone fixing it for me
<jorendorff> bz: i'll mark it P1 and ni?jandem
Flags: needinfo?(jdemooij)
Priority: -- → P1
Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Flags: needinfo?(jdemooij)
Blocks: 1288457
Blocks: 1546189
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/99b3585a6840
Add JS::GetFunctionRealm and use it in GetPrototypeFromConstructor. r=jorendorff,bzbarsky
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.