mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Tests: Import WPTs to prevent optional string argument regressions
This commit is contained in:
parent
a25ff8d46e
commit
f2a406f8cc
Notes:
github-actions[bot]
2024-11-29 20:23:57 +00:00
Author: https://github.com/shlyakpavel
Commit: f2a406f8cc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2630
Reviewed-by: https://github.com/tcl3 ✅
10 changed files with 325 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Document.title and DOMImplementation.createHTMLDocument</title>
|
||||
<script src="../../../../resources/testharness.js"></script>
|
||||
<script src="../../../../resources/testharnessreport.js"></script>
|
||||
<script src="../../../../dom/nodes/DOMImplementation-createHTMLDocument.js"></script>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
createHTMLDocuments(function(doc, expectedtitle, normalizedtitle) {
|
||||
assert_equals(doc.title, normalizedtitle)
|
||||
})
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue