Skip to content

Commit

Permalink
xss_dom_script_context spec: Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Zapotek committed Dec 18, 2021
1 parent 7544bba commit a5e896e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/components/checks/active/xss_dom_script_context_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ def issue_count_per_element
expect(trace.first.function.source).to start_with 'function handleSubmit()'
expect(trace.first.function.name).to start_with 'handleSubmit'

when Element::LinkTemplate::DOM
expect(trace.first.url).to eq issue.page.dom.url

when Element::Link::DOM
expect(trace.first.url).to eq issue.page.dom.url
# when Element::LinkTemplate::DOM
# expect(trace.first.url).to eq issue.page.dom.url
#
# when Element::Link::DOM
# expect(trace.first.url).to eq issue.page.dom.url

when Element::Cookie::DOM
expect(trace.first.url).to eq issue.page.dom.url
Expand Down

0 comments on commit a5e896e

Please sign in to comment.