Stop using property shapes directly in a few more places
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(13 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
| Assignee | ||
Comment 1•4 years ago
|
||
In the future it would be nice to have a NativeObjectShape subtype so we can use the
type system for this.
| Assignee | ||
Comment 2•4 years ago
|
||
For the methods where the caller needs to know the property's slot, add a slotOut
out-parameter.
Depends on D112706
| Assignee | ||
Comment 3•4 years ago
|
||
I noticed this assertion that's no longer valid because getter/setter properties
now also go through addProperty. It's not an actual problem because we never call
this overload for getter/setter properties.
We could change the assertion to check for custom-data-properties, but that's
already asserted by addPropertyInternal that we end up calling.
Depends on D112707
| Assignee | ||
Comment 4•4 years ago
|
||
Depends on D112708
| Assignee | ||
Comment 5•4 years ago
|
||
Depends on D112709
| Assignee | ||
Comment 6•4 years ago
|
||
Depends on D112710
| Assignee | ||
Comment 7•4 years ago
|
||
Depends on D112711
| Assignee | ||
Comment 8•4 years ago
|
||
Also changes ShapeProperty(shape) to shape->property() so that we don't have
to make ShapeProperty a friend class of Shape.
Depends on D112712
| Assignee | ||
Comment 9•4 years ago
|
||
Depends on D112713
| Assignee | ||
Comment 10•4 years ago
|
||
Depends on D112714
| Assignee | ||
Comment 11•4 years ago
|
||
This adds NativeObject::getLastProperty. The similar lastProperty method returning
a Shape* still exists, at some point we will probably have to replace that with shape.
Depends on D112715
| Assignee | ||
Comment 12•4 years ago
|
||
Depends on D112716
| Assignee | ||
Comment 13•4 years ago
|
||
Typing the JS:: prefix every time this type is used was getting annoying.
Comment 14•4 years ago
|
||
Comment 15•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d64fc4982a1f
https://hg.mozilla.org/mozilla-central/rev/bfcf4ea6c9cb
https://hg.mozilla.org/mozilla-central/rev/2c4e250e1044
https://hg.mozilla.org/mozilla-central/rev/84de16f0eef0
https://hg.mozilla.org/mozilla-central/rev/35a05f35c5d3
https://hg.mozilla.org/mozilla-central/rev/f2a924fbff12
https://hg.mozilla.org/mozilla-central/rev/99c96a3a9035
https://hg.mozilla.org/mozilla-central/rev/b1687a16412f
https://hg.mozilla.org/mozilla-central/rev/c3b575e3743b
https://hg.mozilla.org/mozilla-central/rev/64ba87437c1c
https://hg.mozilla.org/mozilla-central/rev/74b9df174503
https://hg.mozilla.org/mozilla-central/rev/c06d59d617cc
https://hg.mozilla.org/mozilla-central/rev/fd63d706e30a
Description
•