mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
JS: Address PR review comments
- Fix misplaced semicolons in test files (was inside comment, moved before it) - Update QLdoc comments to reference new browser source kind names - Update docs to list browser source kinds and fix outdated 'only remote' note Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -24,5 +24,5 @@ export function MyComponent() {
|
||||
request(window.location.href + '?q=123');
|
||||
|
||||
const custom = require('testlib').getBrowserSource(); // $ Source[js/client-side-request-forgery]
|
||||
request(custom) // $ Alert[js/client-side-request-forgery];
|
||||
request(custom); // $ Alert[js/client-side-request-forgery]
|
||||
}
|
||||
|
||||
@@ -148,4 +148,4 @@ var server2 = http.createServer(function (req, res) {
|
||||
});
|
||||
|
||||
const custom = require('testlib').getServerSource(); // $ Source[js/request-forgery]
|
||||
request(custom) // $ Alert[js/request-forgery];
|
||||
request(custom); // $ Alert[js/request-forgery]
|
||||
|
||||
Reference in New Issue
Block a user