mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Tests: Remove imported WPT tests that have been deleted upstream
This commit is contained in:
committed by
Shannon Booth
parent
504a8e6d1d
commit
eb8943cd55
Notes:
github-actions[bot]
2026-04-04 21:38:08 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/eb8943cd55b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8776 Reviewed-by: https://github.com/shannonbooth ✅
@@ -1,20 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<title>Mutation events are suppressed during moveBefore()</title>
|
||||
<script src="../../../resources/testharness.js"></script>
|
||||
<script src="../../../resources/testharnessreport.js"></script>
|
||||
|
||||
<body>
|
||||
<p id=reference>reference</p>
|
||||
<p id=target>target</p>
|
||||
|
||||
<script>
|
||||
const reference = document.querySelector('#reference');
|
||||
const target = document.querySelector('#target');
|
||||
|
||||
test(() => {
|
||||
target.addEventListener('DOMNodeInserted', () => assert_unreached('DOMNodeInserted not called'));
|
||||
target.addEventListener('DOMNodeRemoved', () => assert_unreached('DOMNodeRemoved not called'));
|
||||
document.body.moveBefore(target, reference);
|
||||
}, "MutationEvents (if supported by the UA) are suppressed during `moveBefore()`");
|
||||
</script>
|
||||
</body>
|
||||
Reference in New Issue
Block a user