gecko-dev/dom/promise
Kagami Sascha Rosylight 377f4a1431 Bug 1917665 - Return early on MaybeSomething if PromiseObj is null r=smaug
Promise::CreateInfallible allows not having PromiseObj but MaybeSomething still had an invalid assertion.

MaybeSomething eventually calls MaybeReject/Resolve which safely checks PromiseObj ultimately, but why go further when we can return early.

Differential Revision: https://phabricator.services.mozilla.com/D228465
2024-11-14 15:07:59 +00:00
..
gtest
tests Bug 1864896: Autofix unused function arguments (dom). r=emilio,media-playback-reviewers,dom-storage-reviewers,padenot,janv 2024-03-04 15:44:59 +00:00
moz.build
Promise-inl.h Bug 1896973 - Part 1: Tidy some JS::Heap methods r=sfink 2024-06-13 07:33:54 +00:00
Promise.cpp Bug 1923864 - Crash differently if not JS_IsThrowingOutOfMemory r=arai 2024-10-28 11:44:37 +00:00
Promise.h Bug 1917665 - Return early on MaybeSomething if PromiseObj is null r=smaug 2024-11-14 15:07:59 +00:00
PromiseDebugging.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
PromiseDebugging.h
PromiseNativeHandler.cpp
PromiseNativeHandler.h Bug 1891541 - [2/2] enforce that MozPromise only accepts static strings r=xpcom-reviewers,media-playback-reviewers,padenot,emilio 2024-04-24 17:02:49 +00:00
PromiseWorkerProxy.h Bug 1873573 - Rename PromiseWorkerProxy::WorkerPromise() to GetWorkerPromise(). r=dom-worker-reviewers,smaug 2024-01-26 10:48:56 +00:00