gecko-dev/dom/bindings
Tooru Fujisawa e157d102bc Bug 1925835 - Resolve DOM interface constructor name and length properties in Xray. r=peterv,extension-reviewers,robwu
This reorders DOMInterfaceInfo fields in order to pack them.
It had 9 bytes (2 bytes + 7 bytes) of hole and padding.
The additional fields mConstructorArgs and mConstructorName fit the holes
with the reorder, without increasing the struct size.

Also this changes the legacy factory function's reserved slot to hold
LegacyFactoryFunction struct instead of JSNativeHolder struct,
so that the LegacyFactoryFunction::{mName,mNargs} fields are accessible from
the legacy factory function object.

Differential Revision: https://phabricator.services.mozilla.com/D226333
2024-10-31 03:29:20 +00:00
..
crashtests
docs
mozwebidlcodegen
parser
test
AtomList.h
BindingCallContext.h
BindingDeclarations.h
BindingIPCUtils.h
Bindings.conf Bug 1921083: feat(webgpu): stub out GPU.wgslLanguageFeatures r=webgpu-reviewers,webidl,jimb,saschanaz 2024-09-27 14:42:24 +00:00
BindingUtils.cpp Bug 1925835 - Resolve DOM interface constructor name and length properties in Xray. r=peterv,extension-reviewers,robwu 2024-10-31 03:29:20 +00:00
BindingUtils.h Bug 1925835 - Resolve DOM interface constructor name and length properties in Xray. r=peterv,extension-reviewers,robwu 2024-10-31 03:29:20 +00:00
CallbackFunction.h
CallbackInterface.cpp
CallbackInterface.h
CallbackObject.cpp
CallbackObject.h
Codegen.py Bug 1925835 - Resolve DOM interface constructor name and length properties in Xray. r=peterv,extension-reviewers,robwu 2024-10-31 03:29:20 +00:00
Configuration.py
DOMExceptionNames.h
DOMJSClass.h
DOMJSProxyHandler.cpp Bug 1920718 - Annotate all global variable with runtime initialization attributes r=glandium,application-update-reviewers,media-playback-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,gfx-reviewers,aosmond,lina,nalexander,aabh,geckoview-reviewers,win-reviewers,gstoll,m_kato 2024-10-30 11:05:24 +00:00
DOMJSProxyHandler.h
DOMString.h
ErrorIPCUtils.h
ErrorResult.h
Errors.msg
Exceptions.cpp
Exceptions.h
FakeString.h
GenerateCSSPropListWebIDL.py
IterableIterator.cpp
IterableIterator.h
JSSlots.h Bug 1925835 - Resolve DOM interface constructor name and length properties in Xray. r=peterv,extension-reviewers,robwu 2024-10-31 03:29:20 +00:00
mach_commands.py
Makefile.in
moz.build Bug 1921707 - (MOZ) moz.build files point to new location for abseil-cpp r=ng 2024-10-10 13:42:41 +00:00
NonRefcountedDOMObject.h
nsIScriptError.idl
nsScriptError.cpp
nsScriptError.h
nsScriptErrorWithStack.cpp
Nullable.h
ObservableArrayProxyHandler.cpp
ObservableArrayProxyHandler.h
PinnedStringId.h
PrimitiveConversions.h
ProxyHandlerUtils.h
Record.h
RemoteObjectProxy.cpp
RemoteObjectProxy.h
RootedDictionary.h
RootedOwningNonNull.h
RootedRecord.h
RootedRefPtr.h
RootedSequence.h
SimpleGlobalObject.cpp
SimpleGlobalObject.h
SpiderMonkeyInterface.h
ToJSValue.cpp
ToJSValue.h
TypedArray.h Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang 2024-10-28 08:21:19 +00:00
UnionMember.h
WebIDLGlobalNameHash.cpp
WebIDLGlobalNameHash.h
XrayExpandoClass.h