We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33e85f8 commit bf6663aCopy full SHA for bf6663a
1 file changed
javascript/ql/lib/semmle/javascript/security/dataflow/XssThroughDomCustomizations.qll
@@ -218,7 +218,7 @@ module XssThroughDom {
218
}
219
220
/**
221
- * Gets a reference to a value obtained by calling `window.getSelection()`.
+ * Gets a reference to a value obtained by calling `window.getSelection()`.
222
* https://developer.mozilla.org/en-US/docs/Web/API/Selection
223
*/
224
DataFlow::SourceNode getSelectionCall(DataFlow::TypeTracker t) {
@@ -233,7 +233,7 @@ module XssThroughDom {
233
or
234
exists(DataFlow::TypeTracker t2 | result = getSelectionCall(t2).track(t2, t))
235
236
-
+
237
238
* A source for text from the DOM from calling `toString()` on a `Selection` object.
239
* The `toString()` method returns the currently selected text in the DOM.
0 commit comments