mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 00:19:18 +00:00
Fixes external CSS being blocked on https://beatsaver.com/, where they have a `style-src` directive set to `'self' 'nonce-[value]'` Relates to #5643, but does not make the website load.
11 lines
351 B
HTML
11 lines
351 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<meta http-equiv="Content-Security-Policy" content="style-src 'nonce-value';">
|
|
<link rel="stylesheet" href="../body-background-color-red.css" nonce="value">
|
|
</head>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
println(window.getComputedStyle(document.body).backgroundColor);
|
|
});
|
|
</script>
|