mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Make HTMLIFrameElement.sandbox.supports() not throw
We have to list the set of allowed values for the DOMTokenList to not throw when asking if one is supported. This fixes an issue where YouTube embeds would hang indefinitely trying to report an endless series of exceptions, seen on https://null.com/
This commit is contained in:
committed by
Andreas Kling
parent
b1796ebd2c
commit
a7b3360fb6
Notes:
github-actions[bot]
2024-12-03 14:31:06 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/a7b3360fb6d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2729
@@ -2,6 +2,7 @@ Harness status: OK
|
||||
|
||||
Found 2 tests
|
||||
|
||||
2 Fail
|
||||
Fail iframe 'sandbox' ASCII case insensitive, allow-same-orİgin
|
||||
1 Pass
|
||||
1 Fail
|
||||
Pass iframe 'sandbox' ASCII case insensitive, allow-same-orİgin
|
||||
Fail iframe 'sandbox' ASCII case insensitive, allow-ſcripts
|
||||
Reference in New Issue
Block a user