Skip to content

Commit a560faf

Browse files
Jami CogswellJami Cogswell
Jami Cogswell
authored and
Jami Cogswell
committed
Update usages of FlowLabel
1 parent 72648d4 commit a560faf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

javascript/lib/browserextension/BrowserInjectionFieldCustomizations.qll

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ private import semmle.javascript.security.dataflow.XssThroughDomCustomizations::
99

1010
module BrowserInjection {
1111

12-
private import DataFlow::FlowLabel
1312
/**
1413
* A data flow source for Chrome API injection vulnerabilities.
1514
*/
1615
abstract class Source extends DataFlow::Node {
1716

1817

1918

20-
DataFlow::FlowLabel getFlowLabel() { result = "BrowserSource" }
19+
string getFlowLabel() { result = "BrowserSource" }
2120
}
2221

2322
/**

javascript/lib/browserextension/BrowserInjectionObjectCustomizations.qll

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ private import browserextension.BrowserAPI
88

99
module BrowserInjection {
1010

11-
private import DataFlow::FlowLabel
1211
/**
1312
* A data flow source for Chrome API injection vulnerabilities.
1413
*/
1514
abstract class Source extends DataFlow::Node {
1615

1716

1817

19-
DataFlow::FlowLabel getFlowLabel() { result = "BrowserSource" }
18+
string getFlowLabel() { result = "BrowserSource" }
2019
}
2120

2221
/**

0 commit comments

Comments
 (0)