mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 16:28:58 +00:00
migrate more tests to htmlRunner
This commit is contained in:
7
src/tests/html/navigator.html
Normal file
7
src/tests/html/navigator.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<script src="../testing.js"></script>
|
||||
|
||||
<script id=navigator>
|
||||
testing.expectEqual('Lightpanda/1.0', navigator.userAgent);
|
||||
testing.expectEqual('1.0', navigator.appVersion);
|
||||
testing.expectEqual('en-US', navigator.language);
|
||||
</script>
|
||||
Reference in New Issue
Block a user