mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
This allows Promises (including internal ones, like in Streams) and FinalizationRegistry to work while scripting is disabled. These were removed in the spec in support of WebDriver BiDi being able to enable and disable scripting. https://github.com/whatwg/html/commit/905b7218 This allows Fetch to work while scripting is disabled, due to its use of Streams. This was noticeable if you disabled scripting in the UI, or had a sandboxed iframe with scripting disabled. There is more work to use job settings instead of realm inside these hooks, but that's a separate issue. Fixes https://github.com/LadybirdBrowser/ladybird/issues/7409 Fixes https://github.com/LadybirdBrowser/ladybird/issues/3729
12 lines
301 B
HTML
12 lines
301 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<link rel="match" href="../expected/can-load-images-in-sandboxed-iframe-with-no-scripting-ref.html" />
|
|
<style>
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<iframe sandbox="allow-popups" width=100% height=644 style=border:none srcdoc="
|
|
<img src="../../Assets/120.png">
|
|
"></iframe>
|
|
</body>
|