mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
run the autoformatter
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user