We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cd6dcc commit 880e3e1Copy full SHA for 880e3e1
javascript/ql/lib/semmle/javascript/security/dataflow/XssThroughDomCustomizations.qll
@@ -236,7 +236,8 @@ module XssThroughDom {
236
}
237
238
/**
239
- * A source for text from the DOM from a Selection object toString method call
+ * A source for text from the DOM from calling `toString()` on a `Selection` object.
240
+ * The `toString()` method returns the currently selected text in the DOM.
241
* https://developer.mozilla.org/en-US/docs/Web/API/Selection
242
*/
243
class SelectionSource extends Source {
0 commit comments