run the autoformatter

This commit is contained in:
Erik Krogh Kristensen
2022-05-05 09:16:27 +02:00
parent 33e85f8db8
commit bf6663ab12

View File

@@ -218,7 +218,7 @@ module XssThroughDom {
}
/**
* Gets a reference to a value obtained by calling `window.getSelection()`.
* Gets a reference to a value obtained by calling `window.getSelection()`.
* https://developer.mozilla.org/en-US/docs/Web/API/Selection
*/
DataFlow::SourceNode getSelectionCall(DataFlow::TypeTracker t) {
@@ -233,7 +233,7 @@ module XssThroughDom {
or
exists(DataFlow::TypeTracker t2 | result = getSelectionCall(t2).track(t2, t))
}
/**
* A source for text from the DOM from calling `toString()` on a `Selection` object.
* The `toString()` method returns the currently selected text in the DOM.