mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-19 02:18:10 +00:00
migrate more tests to htmlRunner
This commit is contained in:
14
src/tests/html/script/script.html
Normal file
14
src/tests/html/script/script.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<script src="../../testing.js"></script>
|
||||
|
||||
<script id=script>
|
||||
let script = document.createElement('script')
|
||||
script.src = 'foo.bar';
|
||||
|
||||
script.async = true;
|
||||
testing.expectEqual(true, script.async);
|
||||
script.async = false;
|
||||
testing.expectEqual(false, script.async);
|
||||
|
||||
script.defer = true;
|
||||
testing.expectEqual(true, script.defer);
|
||||
</script>
|
||||
Reference in New Issue
Block a user