• Will Chen's avatar
    Enable iframe sandbox (#1178) · 1c0255ab
    Will Chen 提交于
    This allows almost all the iframe sandbox tokens
    https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#sandbox
    except notably for allow-top-navigation*
    
    Note: allow-same-origin should be OK because the main window is under
    the `file://` origin while the iframe window is served on
    `localhost:####`
    
        
    <!-- This is an auto-generated description by cubic. -->
    ---
    
    ## Summary by cubic
    Enable sandboxing on the preview iframe to isolate preview content while
    preserving needed capabilities (allow-same-origin, scripts, forms,
    popups, modals, orientation/pointer lock, presentation, downloads).
    Top-level navigation remains disallowed; allow-same-origin is safe
    because the app is file:// and the iframe runs on localhost.
    
    <!-- End of auto-generated description by cubic. -->
    1c0255ab
名称
最后提交
最后更新
..
__tests__ 正在载入提交数据...
app 正在载入提交数据...
atoms 正在载入提交数据...
client_logic 正在载入提交数据...
components 正在载入提交数据...
constants 正在载入提交数据...
contexts 正在载入提交数据...
db 正在载入提交数据...
hooks 正在载入提交数据...
ipc 正在载入提交数据...
lib 正在载入提交数据...
main 正在载入提交数据...
neon_admin 正在载入提交数据...
pages 正在载入提交数据...
paths 正在载入提交数据...
prompts 正在载入提交数据...
routes 正在载入提交数据...
shared 正在载入提交数据...
store 正在载入提交数据...
styles 正在载入提交数据...
supabase_admin 正在载入提交数据...
utils 正在载入提交数据...
backup_manager.ts 正在载入提交数据...
main.ts 正在载入提交数据...
preload.ts 正在载入提交数据...
renderer.tsx 正在载入提交数据...
router.ts 正在载入提交数据...