JS: Shift line numbers in test

This commit is contained in:
Asger F
2023-04-26 14:29:28 +02:00
parent cb04df49eb
commit 4df05b4e74
2 changed files with 10 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
import { Component } from "@angular/core";
import { Component,ElementRef } from "@angular/core";
import { DomSanitizer } from '@angular/platform-browser';
@Component({
@@ -9,6 +9,7 @@ export class Source {
taint: string;
taintedArray: string[];
safeArray: string[];
elementRef: ElementRef;
constructor(private sanitizer: DomSanitizer) {
this.taint = source();

View File

@@ -24,13 +24,13 @@ pipeClassRef
taintFlow
| inline.component.ts:15:22:15:29 | source() | sink.component.ts:28:48:28:57 | this.sink7 |
| inline.component.ts:15:22:15:29 | source() | sink.component.ts:30:48:30:57 | this.sink9 |
| source.component.ts:14:22:14:29 | source() | TestPipe.ts:6:31:6:35 | value |
| source.component.ts:14:22:14:29 | source() | sink.component.ts:22:48:22:57 | this.sink1 |
| source.component.ts:14:22:14:29 | source() | sink.component.ts:25:48:25:57 | this.sink4 |
| source.component.ts:14:22:14:29 | source() | sink.component.ts:26:48:26:57 | this.sink5 |
| source.component.ts:14:22:14:29 | source() | sink.component.ts:27:48:27:57 | this.sink6 |
| source.component.ts:14:22:14:29 | source() | sink.component.ts:29:48:29:57 | this.sink8 |
| source.component.ts:14:22:14:29 | source() | source.component.ts:20:48:20:48 | x |
| source.component.ts:15:33:15:40 | source() | sink.component.ts:22:48:22:57 | this.sink1 |
| source.component.ts:15:22:15:29 | source() | TestPipe.ts:6:31:6:35 | value |
| source.component.ts:15:22:15:29 | source() | sink.component.ts:22:48:22:57 | this.sink1 |
| source.component.ts:15:22:15:29 | source() | sink.component.ts:25:48:25:57 | this.sink4 |
| source.component.ts:15:22:15:29 | source() | sink.component.ts:26:48:26:57 | this.sink5 |
| source.component.ts:15:22:15:29 | source() | sink.component.ts:27:48:27:57 | this.sink6 |
| source.component.ts:15:22:15:29 | source() | sink.component.ts:29:48:29:57 | this.sink8 |
| source.component.ts:15:22:15:29 | source() | source.component.ts:21:48:21:48 | x |
| source.component.ts:16:33:16:40 | source() | sink.component.ts:22:48:22:57 | this.sink1 |
testAttrSourceLocation
| inline.component.ts:8:43:8:60 | [testAttr]=taint | inline.component.ts:8:55:8:59 | <toplevel> |