File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
javascript/ql/lib/semmle/javascript/security/dataflow Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ module XssThroughDom {
218
218
}
219
219
220
220
/**
221
- * Gets a reference to a value obtained by calling `window.getSelection()`.
221
+ * Gets a reference to a value obtained by calling `window.getSelection()`.
222
222
* https://developer.mozilla.org/en-US/docs/Web/API/Selection
223
223
*/
224
224
DataFlow:: SourceNode getSelectionCall ( DataFlow:: TypeTracker t ) {
@@ -233,7 +233,7 @@ module XssThroughDom {
233
233
or
234
234
exists ( DataFlow:: TypeTracker t2 | result = getSelectionCall ( t2 ) .track ( t2 , t ) )
235
235
}
236
-
236
+
237
237
/**
238
238
* A source for text from the DOM from calling `toString()` on a `Selection` object.
239
239
* The `toString()` method returns the currently selected text in the DOM.
You can’t perform that action at this time.
0 commit comments