Closed Bug 1722453 Opened 2 months ago Closed 2 months ago

Remove remaining private slot uses outside the JS engine

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(5 files)

After we stop using private slots outside the JS engine, we can remove JS::SetPrivate and make private slots only usable inside the JS engine.

This will help prevent new uses.

Depends on D120939

Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a8cb6499a37b
part 1 - Use a reserved slot instead of private slot for CTypes CDataFinalizer. r=jonco
https://hg.mozilla.org/integration/autoland/rev/385f462e70b9
part 2 - Use a reserved slot instead of private slot for telemetry histogram objects. r=jonco,mccr8
https://hg.mozilla.org/integration/autoland/rev/21a34ba39e98
part 3 - Use a reserved slot instead of private slot for XPCWrappedNativeProto. r=jonco,mccr8
https://hg.mozilla.org/integration/autoland/rev/c7bbd484becf
part 4 - Use a reserved slot instead of private slot for XPCWrappedNativeTearOff. r=jonco,mccr8
https://hg.mozilla.org/integration/autoland/rev/55840ec461aa
part 5 - Remove some APIs for private slots. r=jonco
You need to log in before you can comment on or make changes to this bug.