gecko-dev/dom/chrome-webidl
Ben Dean-Kawamura 703dbdfe3a Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-03 13:48:27 +00:00
..
BrowserSessionStore.webidl Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre,peterv 2022-07-15 20:44:55 +00:00
BrowsingContext.webidl Bug 1773811 - Fix APZ autoscroll coordinates. r=tnikkel 2022-06-13 00:54:33 +00:00
ChannelWrapper.webidl Bug 1773695 - Part 4: Add email tracking flags to webrequest. r=mixedpuppy 2022-07-18 21:48:16 +00:00
ChromeUtils.webidl Bug 1782623 - Set select color-scheme based on child background. r=dholbert 2022-08-02 15:49:13 +00:00
ClonedErrorHolder.webidl
DebuggerNotification.webidl
DebuggerNotificationObserver.webidl
DebuggerUtils.webidl
DocumentL10n.webidl
DOMCollectedFrames.webidl
DominatorTree.webidl
Flex.webidl
Fluent.webidl
FrameLoader.webidl Bug 1766130 - Mark throwing Promise-returning methods that create a new Promise as NewObject. r=smaug 2022-05-02 07:44:24 +00:00
Glean.webidl
GleanPings.webidl
HeapSnapshot.webidl
ImageText.webidl Bug 1759504 - Return the ImageText results from recognizeCurrentImageText r=emilio,nordzilla 2022-06-03 16:01:33 +00:00
InspectorUtils.webidl
IOUtils.webidl Bug 1773186 - Add IOUtils::ComputeHexDigest r=nika,keeler 2022-06-28 19:42:34 +00:00
IteratorResult.webidl
JSActor.webidl Bug 1766130 - Mark throwing Promise-returning methods that create a new Promise as NewObject. r=smaug 2022-05-02 07:44:24 +00:00
JSProcessActor.webidl Bug 1771092 - Part 1: Add esModuleURI key to ProcessActorSidedOptions/WindowActorSidedOptions and support loading system ESM. r=kmag 2022-06-17 09:11:13 +00:00
JSWindowActor.webidl Bug 1771092 - Part 1: Add esModuleURI key to ProcessActorSidedOptions/WindowActorSidedOptions and support loading system ESM. r=kmag 2022-06-17 09:11:13 +00:00
L10nOverlays.webidl
L10nRegistry.webidl Bug 1766130 - Mark throwing Promise-returning methods that create a new Promise as NewObject. r=smaug 2022-05-02 07:44:24 +00:00
MatchGlob.webidl
MatchPattern.webidl
MediaController.webidl
MessageManager.webidl
moz.build Bug 1766045 - Initial work for UniFFI JS bindings r=nika 2022-08-03 13:48:27 +00:00
MozDocumentObserver.webidl
MozSharedMap.webidl
MozStorageAsyncStatementParams.webidl
MozStorageStatementParams.webidl
MozStorageStatementRow.webidl
NetDashboard.webidl Bug 1613629 - Show extra DNS flags in about:networking#dns r=nhnt11,fluent-reviewers,flod 2021-10-20 14:21:16 +00:00
PathUtils.webidl Bug 1766130 - Mark throwing Promise-returning methods that create a new Promise as NewObject. r=smaug 2022-05-02 07:44:24 +00:00
PlacesEvent.webidl Bug 1556427 - Add node.title to bookmarks.onRemoved event r=Standard8,willdurand,markh 2022-03-30 12:57:28 +00:00
PlacesObservers.webidl
PrecompiledScript.webidl
PrioEncoder.webidl
PromiseDebugging.webidl
SessionStoreUtils.webidl Bug 1766130 - Mark throwing Promise-returning methods that create a new Promise as NewObject. r=smaug 2022-05-02 07:44:24 +00:00
StructuredCloneHolder.webidl
TelemetryStopwatch.webidl
UniFFI.webidl Bug 1766045 - Initial work for UniFFI JS bindings r=nika 2022-08-03 13:48:27 +00:00
UserInteraction.webidl
WebExtensionContentScript.webidl Bug 1774641 - Run content scripts on action click with ungranted host permission r=robwu 2022-06-23 21:08:56 +00:00
WebExtensionPolicy.webidl Bug 1711168 support extension matching in webAccessibleResources r=zombie,smaug,rpl 2022-08-02 17:08:58 +00:00
WindowGlobalActors.webidl Bug 1774641 - Expose isInProcess and windowGlobalChild on the WindowContext webidl r=nika 2022-06-23 21:07:35 +00:00
XULFrameElement.webidl
XULMenuElement.webidl
XULTextElement.webidl
XULTreeElement.webidl