Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Ted Campbell b172dd415c Bug 1716250 - Remove JS_FRIEND_API. r=jandem,sfink
Convert all JS_FRIEND_API to JS_PUBLIC_API. At this point, the JS_PUBLIC_API has
no formal curation process and in practice we add a lot of new features to
JS_FRIEND_API without giving much thought to if they should be public. The
result is that all embedders need to use the friend API in some form and the
distinction has lost meaning.

Going forward, we should continue to use the js/public/experimental directory as
a place to expose new APIs, and in general should strive for high quality of the
APIs that are exposed. If a particular API is tricky or discouraged, comments
explaining that will be more helpful that a losely applied FRIEND_API marker.

Differential Revision: https://phabricator.services.mozilla.com/D117607
2021-06-16 19:38:10 +00:00
Jan de Mooij 44e73e7ae9 Bug 1689413 part 8 - Remove shadow::ObjectGroup. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D106978
2021-03-06 01:05:22 +00:00
Jan de Mooij 2204818bf0 Bug 1689413 part 6 - Move Realm* from ObjectGroup to BaseShape. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D106976
2021-03-06 01:05:21 +00:00
Jan de Mooij dbd6f24a18 Bug 1689413 part 5 - Remove JSClass* from ObjectGroup. r=jonco
BaseShape stores the JSClass* too so this patch changes the code to get the JSClass*
from there instead of from the ObjectGroup.

Differential Revision: https://phabricator.services.mozilla.com/D106975
2021-03-06 01:05:20 +00:00
Narcis Beleuzu c21715e694 Backed out 18 changesets (bug 1689413) for wpt failures on Event-subclasses-constructors.html CLOSED TREE
Backed out changeset 2fe249306030 (bug 1689413)
Backed out changeset 4d4d052bf8d3 (bug 1689413)
Backed out changeset a11a96dce11b (bug 1689413)
Backed out changeset d1411da6c254 (bug 1689413)
Backed out changeset 8262ed245e27 (bug 1689413)
Backed out changeset ed3ef7b5c8c8 (bug 1689413)
Backed out changeset 63eb8f93c6d8 (bug 1689413)
Backed out changeset 558e0b0af7b7 (bug 1689413)
Backed out changeset 5595064ffb60 (bug 1689413)
Backed out changeset e15f1a6f5a38 (bug 1689413)
Backed out changeset 95fa0ec36f7a (bug 1689413)
Backed out changeset 80d594d926ad (bug 1689413)
Backed out changeset 22854b710fbf (bug 1689413)
Backed out changeset 4531d5c25694 (bug 1689413)
Backed out changeset f1bb16079c0e (bug 1689413)
Backed out changeset 211c4f80a286 (bug 1689413)
Backed out changeset 6f7514b0a657 (bug 1689413)
Backed out changeset 76db3b04dedd (bug 1689413)
2021-03-06 01:11:29 +02:00
Jan de Mooij fdae645a41 Bug 1689413 part 8 - Remove shadow::ObjectGroup. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D106978
2021-03-05 19:10:08 +00:00
Jan de Mooij 66e41f2096 Bug 1689413 part 6 - Move Realm* from ObjectGroup to BaseShape. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D106976
2021-03-05 19:10:07 +00:00
Jan de Mooij 18ae30e38d Bug 1689413 part 5 - Remove JSClass* from ObjectGroup. r=jonco
BaseShape stores the JSClass* too so this patch changes the code to get the JSClass*
from there instead of from the ObjectGroup.

Differential Revision: https://phabricator.services.mozilla.com/D106975
2021-03-05 19:10:06 +00:00
Jon Coppeard 2ba10005f8 Bug 1674126 - Store native object's private slot using PrivateValue r=jandem
This means all native object slots are JS::Values and removes a bunch of
dubious casting.

One wrinkle was that we now have to initialize both words of the value on
32-bit platforms; previously JIT code got away with leaving one word
uninitialized.

Differential Revision: https://phabricator.services.mozilla.com/D96436
2020-11-11 11:22:04 +00:00
Jeff Walden 6d5beafab1 Bug 1663365 - Move various Object-related functions to a new js/public/Object.h header. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D89333
2020-09-08 22:55:38 +00:00