File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export default defineConfig({
3636 name : 'firefox' ,
3737 use : { ...devices [ 'Desktop Firefox' ] } ,
3838 } ,
39- // FIXME: Broken in both CI and on local dev machines.
39+ // FIXME: Webkit is broken in both CI and on local dev machines.
4040 // {
4141 // name: 'webkit',
4242 // use: { ...devices['Desktop Safari'] },
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ export function Editor(): EditorComponent {
3737 root . setContent = ( code ) => {
3838 // TODO: Using innerHTML could be a security issue so consider a refactor
3939 // to use textContent/innerText and DOM methods
40+ // nosemgrep: javascript.browser.security.insecure-document-method.insecure-document-method
4041 root . innerHTML = code
4142 . split ( '\n' )
4243 . map ( ( line ) => `<li>${ line || '<br>' } </li>` )
You can’t perform that action at this time.
0 commit comments