mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
fix test
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script id=dispatch>
|
<script id=dispatch>
|
||||||
const startTime = new Date().getTime();
|
const startTime = new Event('x').timeStamp;
|
||||||
|
|
||||||
let content = $('#content');
|
let content = $('#content');
|
||||||
// let para = document.getElementById('para');
|
// let para = document.getElementById('para');
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
testing.expectEqual(true, evt.cancelable);
|
testing.expectEqual(true, evt.cancelable);
|
||||||
testing.expectEqual(true, evt.defaultPrevented);
|
testing.expectEqual(true, evt.defaultPrevented);
|
||||||
testing.expectEqual(true, evt.isTrusted);
|
testing.expectEqual(true, evt.isTrusted);
|
||||||
testing.expectEqual(true, evt.timeStamp >= Math.floor(startTime/1000));
|
testing.expectEqual(true, evt.timeStamp >= Math.floor(startTime));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script id=propogate>
|
<script id=propogate>
|
||||||
|
|||||||
Reference in New Issue
Block a user