mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
minor documentation fixes
Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8f17db6670
commit
f9ddd5891a
@@ -211,7 +211,7 @@ private class PromiseFlowStep extends DataFlow::AdditionalFlowStep {
|
||||
|
||||
/**
|
||||
* A data flow edge from the exceptional return of the promise executor to the promise catch handler.
|
||||
* This only adds an edge from the exceptional return of the promise Executor and to a `.catch()` handler.
|
||||
* This only adds an edge from the exceptional return of the promise executor to a `.catch()` handler.
|
||||
* Missing are (at least):
|
||||
* Exceptional flow from promise executor (and handlers) to exceptional return of an `await` expression.
|
||||
* Flow from calls to `reject` to exceptional return of an `await` expression.
|
||||
|
||||
@@ -87,7 +87,7 @@ module ExceptionXss {
|
||||
|
||||
/**
|
||||
* Gets the error parameter for a callback that is supplied to the same call as `pred` is an argument to.
|
||||
* E.g: `outerCall(foo, <pred>, bar, (<result>, val) => { ... })`.
|
||||
* For example: `outerCall(foo, <pred>, bar, (<result>, val) => { ... })`.
|
||||
*/
|
||||
DataFlow::Node getCallbackErrorParam(DataFlow::Node pred) {
|
||||
exists(DataFlow::CallNode call, Callback callback |
|
||||
|
||||
Reference in New Issue
Block a user