mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Unfortunately this is a bit of a pain to test as it is surprisingly difficult to create a non secure context in our test harness. This is because both file scheme URLs and localhost are considered secure contexts. To test this, add a very specific internals setter to change the top level origin of the environment for the current realm.
6 lines
79 B
Plaintext
6 lines
79 B
Plaintext
{
|
|
"SubtleCrypto": false,
|
|
"Clipboard": false,
|
|
"CookieChangeEvent": true
|
|
}
|