test(platform-browser): remove stray debugger
statement (#22167)
PR Close #22167
This commit is contained in:
parent
4a08745d3e
commit
1e08a945e1
@ -149,7 +149,6 @@ import {sanitizeHtml} from '../../src/security/html_sanitizer';
|
|||||||
// See https://github.com/cure53/DOMPurify/releases/tag/0.6.7
|
// See https://github.com/cure53/DOMPurify/releases/tag/0.6.7
|
||||||
it('should not allow JavaScript hidden in badly formed HTML to get through sanitization (Firefox bug)',
|
it('should not allow JavaScript hidden in badly formed HTML to get through sanitization (Firefox bug)',
|
||||||
() => {
|
() => {
|
||||||
debugger;
|
|
||||||
expect(sanitizeHtml(
|
expect(sanitizeHtml(
|
||||||
defaultDoc, '<svg><p><style><img src="</style><img src=x onerror=alert(1)//">'))
|
defaultDoc, '<svg><p><style><img src="</style><img src=x onerror=alert(1)//">'))
|
||||||
.toEqual(
|
.toEqual(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user