gecko-dev/dom
Peter Van der Beken 3e507adf99 Bug 1788969 - Align async iterable code more closely with the spec. r=edgar
Implement the common steps for the next method from
https://webidl.spec.whatwg.org/#es-asynchronous-iterator-prototype-object in
a base class, that all async iterable iterator objects inherit from. Natives
that implement an async iterable only need to implement the "getting the
next iteration result" part in their GetNextPromise method. This means they
don't have to create the object according to "CreateIterResultObject"
themselves, but can just create promise and often resolve it with a native
value directly. We've switched to a special JS::Value to signal "end of
iteration", but that's hidden inside the
iterator_utils::ResolvePromiseForFinished helper.
The WebIDL parser now uses the right return type for the generated "next"
method, which means that any exceptions in the binding code itself will
actually be correctly converted to a rejected promise instead of being
rethrown.
This also uses a class for the generated iterable iterator that's not
exposed outside the binding code. No other code should create and/or
wrap these anyway.

Differential Revision: https://phabricator.services.mozilla.com/D156323
2022-09-22 18:28:15 +00:00
..
abort Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop 2022-08-03 11:16:20 +00:00
animation Bug 1789447 - Part 1: Drop the usage of @scroll-timeline from animation builder. r=hiro 2022-09-22 03:47:11 +00:00
audiochannel
base Bug 1689816 - Flush style in moveFocus. r=smaug 2022-09-22 18:10:50 +00:00
battery Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop 2022-08-03 11:16:20 +00:00
bindings Bug 1788969 - Align async iterable code more closely with the spec. r=edgar 2022-09-22 18:28:15 +00:00
broadcastchannel Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE 2022-09-22 19:13:01 +03:00
browser-element
cache Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE 2022-09-22 19:13:01 +03:00
canvas Bug 1779800 - Fix WebGL instancing in some cases on Mac. r=gfx-reviewers,lsalzman 2022-09-15 00:47:03 +00:00
chrome-webidl Bug 1659158 - Switch WebIDL from void to undefined. r=edgar 2022-09-21 07:44:58 +00:00
clients Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
commandhandler
console Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
credentialmanagement Bug 1782085, part 11 - Implement CreateCredential, r=timhuang 2022-09-14 02:02:49 +00:00
crypto Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
debugger Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
docs Bug 1659158 - Switch WebIDL from void to undefined. r=edgar 2022-09-21 07:44:58 +00:00
encoding Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
events Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
fetch Bug 1697421 - update error logging for mime type parsing failures in web assembly. r=necko-reviewers,valentin,tschuster 2022-09-20 11:07:46 +00:00
file Backed out 2 changesets (bug 1771423) for causing webcompat regressions CLOSED TREE 2022-09-13 16:26:16 +03:00
filehandle
filesystem Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
flex Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
fs Bug 1788969 - Align async iterable code more closely with the spec. r=edgar 2022-09-22 18:28:15 +00:00
gamepad Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
geolocation Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
grid Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
html Bug 1308080 - Make <details> use a shadow tree as per spec. r=TYLin,smaug 2022-09-16 14:54:12 +00:00
imptests
indexedDB Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
interfaces Bug 1787079 - Implement nsIDOMWindowUtils.setHiDPiMode and restoreHiDPIMode on Windows. r=rkraesig 2022-09-15 10:13:14 +00:00
ipc Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE 2022-09-22 19:13:01 +03:00
jsurl Bug 1790451 - make nsIChannel.securityInfo concrete as nsITransportSecurityInfo r=kershaw,necko-reviewers,valentin,geckoview-reviewers,owlish 2022-09-20 03:58:49 +00:00
l10n Bug 1777925: Replaced MutationObserver array container type with linked list. r=smaug 2022-09-21 11:31:44 +00:00
locales Bug 1791245 - More cleanup for the <mfenced> element. r=emilio 2022-09-20 03:53:50 +00:00
localstorage Bug 1788368 - Audit RemoteLazyInputStreamThread singleton uses. r=dom-storage-reviewers,asuth 2022-09-03 07:59:56 +00:00
locks Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
manifest Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop 2022-08-03 11:16:20 +00:00
mathml Backed out 2 changesets (bug 1667090, bug 1788605) for causing Xpcshell failures on test_css-properties-db.js. CLOSED TREE 2022-09-15 12:13:28 +03:00
media Bug 1666703 - Assert that we have more than one voice r=eeejay 2022-09-22 06:55:52 +00:00
messagechannel Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
midi Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
network Bug 1784098 - make nsISocketTransport.securityInfo explicit as nsISSLSocketControl r=necko-reviewers,kershaw 2022-08-23 03:37:17 +00:00
notification Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE 2022-09-22 19:13:01 +03:00
offline
origin-trials
payments Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
performance Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
permission Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
plugins Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt 2022-09-02 11:05:17 +00:00
power
prio
promise Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE 2022-09-22 19:13:01 +03:00
prototype
push Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
quota Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
reporting Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
res Bug 1787381 - Use standards mode in hiddenWindow.html. r=hsivonen 2022-08-29 12:02:32 +00:00
script Bug 1777925: Replaced MutationObserver array container type with linked list. r=smaug 2022-09-21 11:31:44 +00:00
security Bug 1694993 - Part 6: Preserve precursor principal through LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL, r=ckerschb,smaug 2022-09-20 23:29:08 +00:00
serializers Backed out changeset a50d707b3bbc (bug 1769534) for causing debugger frame failures. CLOSED TREE 2022-09-14 17:05:11 +03:00
serviceworkers Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE 2022-09-22 19:13:01 +03:00
simpledb
smil Bug 1780800 - Clamp current time to handle integer overflow in SMILTimeContainer. r=dholbert 2022-09-17 05:50:37 +00:00
storage Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
streams Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
svg Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
system Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
tests Bug 1780219 - Migrate Android emulator tests from AWS to GCP r=ahal,jmaher,webdriver-reviewers,whimboo,gbrown 2022-09-15 23:34:38 +00:00
u2f Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
url Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
vr Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
webauthn Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt 2022-09-02 11:05:17 +00:00
webbrowserpersist
webgpu Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
webidl Bug 1788969 - Align async iterable code more closely with the spec. r=edgar 2022-09-22 18:28:15 +00:00
webscheduling Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
webshare
websocket Bug 1760580 - P1: Make nsIRequest support to store canceled reason, r=necko-reviewers,valentin 2022-09-08 09:11:18 +00:00
workers Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE 2022-09-22 19:13:01 +03:00
worklet Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE 2022-09-22 19:13:01 +03:00
xhr Bug 1697421 - Make XMLHttpRequest/fetch to support multiple content-length and content-type headers. r=necko-reviewers,valentin 2022-09-20 11:07:44 +00:00
xml Bug 1786185 - Migrate XMLPrettyPrint from DTD to FTL. r=gregtatum,smaug,fluent-reviewers,flod 2022-09-10 08:24:25 +00:00
xslt Bug 1760580 - P1: Make nsIRequest support to store canceled reason, r=necko-reviewers,valentin 2022-09-08 09:11:18 +00:00
xul Bug 1791473 - Really fix test_bug398289 on Windows. DONTBUILD 2022-09-20 04:39:28 +00:00
jar.mn
metrics.yaml
moz.build Bug 1784397 - Remove Core:: Plug-ins from BUG_COMPONENT. r=handyman DONTBUILD 2022-08-12 22:39:41 +00:00