-
Notifications
You must be signed in to change notification settings - Fork 52
Capturing blob images support #1966
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
document.body.innerHTML = ` | ||
<a href="${blobUrl}">Download</a> | ||
<link href="${blobUrl}" rel="stylesheet"> | ||
`; |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.browser.security.insecure-document-method.insecure-document-method Error test
document.body.innerHTML = ` | ||
<img src="${blobUrl}" alt="blob image"> | ||
<video src="${blobUrl}"></video> | ||
`; |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.browser.security.insecure-document-method.insecure-document-method Error test
document.body.innerHTML = ` | ||
<div style="background-image: url('${blobUrl}')">Test div</div> | ||
`; |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.browser.security.insecure-document-method.insecure-document-method Error test
canvas.toBlob(blob => { | ||
const blobUrl = URL.createObjectURL(blob); | ||
|
||
document.body.innerHTML = `<img src="${blobUrl}" alt="blob">`; |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.browser.security.insecure-document-method.insecure-document-method Error test
canvas.height = 1; | ||
canvas.toBlob(blob => { | ||
const blobUrl = URL.createObjectURL(blob); | ||
document.body.innerHTML = `<img src="${blobUrl}" alt="test">`; |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.browser.security.insecure-document-method.insecure-document-method Error test
canvas.height = 1; | ||
canvas.toBlob(blob => { | ||
const blobUrl = URL.createObjectURL(blob); | ||
document.body.innerHTML = `<img src="${blobUrl}" alt="test">`; |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.browser.security.insecure-document-method.insecure-document-method Error test
canvas.height = 1; | ||
canvas.toBlob(blob => { | ||
const blobUrl = URL.createObjectURL(blob); | ||
document.body.innerHTML = `<img src="${blobUrl}" alt="test">`; |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.browser.security.insecure-document-method.insecure-document-method Error test
document.body.innerHTML = ` | ||
<div style="background-image: url('${blobUrl1}'), url('${blobUrl2}')">Test</div> | ||
`; |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.browser.security.insecure-document-method.insecure-document-method Error test
No description provided.