Skip to content

Commit f9ddd58

Browse files
minor documentation fixes
Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
1 parent 8f17db6 commit f9ddd58

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/StandardLibrary.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private class PromiseFlowStep extends DataFlow::AdditionalFlowStep {
211211

212212
/**
213213
* A data flow edge from the exceptional return of the promise executor to the promise catch handler.
214-
* This only adds an edge from the exceptional return of the promise Executor and to a `.catch()` handler.
214+
* This only adds an edge from the exceptional return of the promise executor to a `.catch()` handler.
215215
* Missing are (at least):
216216
* Exceptional flow from promise executor (and handlers) to exceptional return of an `await` expression.
217217
* Flow from calls to `reject` to exceptional return of an `await` expression.

javascript/ql/src/semmle/javascript/security/dataflow/ExceptionXss.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ module ExceptionXss {
8787

8888
/**
8989
* Gets the error parameter for a callback that is supplied to the same call as `pred` is an argument to.
90-
* E.g: `outerCall(foo, <pred>, bar, (<result>, val) => { ... })`.
90+
* For example: `outerCall(foo, <pred>, bar, (<result>, val) => { ... })`.
9191
*/
9292
DataFlow::Node getCallbackErrorParam(DataFlow::Node pred) {
9393
exists(DataFlow::CallNode call, Callback callback |

0 commit comments

Comments
 (0)