mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 15:41:48 +00:00
Add Script get/set nonce
This commit is contained in:
@@ -11,4 +11,8 @@
|
||||
|
||||
script.defer = true;
|
||||
testing.expectEqual(true, script.defer);
|
||||
|
||||
testing.expectEqual('', script.nonce);
|
||||
script.nonce = 'hello';
|
||||
testing.expectEqual('hello', script.nonce);
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user