Closed
Bug 1544936
Opened 7 years ago
Closed 7 years ago
Support sending queries (messages with replies) for JSWindowActor
Categories
(Core :: DOM: Content Processes, defect, P2)
Core
DOM: Content Processes
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
References
Details
Attachments
(2 files)
This adds a single new method, which acts like sendAsyncMessage, but also returns a promise. This promise is fulfilled when the promise returned from the receiveMessage callback is resolved.
partial interface JSWindowActor {
[Throws]
Promise<any> sendQuery(DOMString messageName,
optional any obj,
optional any transfers);
}
| Assignee | ||
Comment 1•7 years ago
|
||
This adds a single new method, which acts like sendAsyncMessage, but
also returns a promise. This promise is fulfilled when the promise
returned from the receiveMessage callback is resolved.
partial interface JSWindowActor {
[Throws]
Promise<any> sendQuery(DOMString messageName,
optional any obj,
optional any transfers);
}
| Assignee | ||
Comment 2•7 years ago
|
||
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5a351207ac3e
Part 1: Add a sendQuery method to send an async message with a response to JSWindowActor, r=mconley,jdai
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d5a31398065
Part 2: Add a test for the new sendQuery method, r=jdai
Comment 5•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5a351207ac3e
https://hg.mozilla.org/mozilla-central/rev/1d5a31398065
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in
before you can comment on or make changes to this bug.
Description
•