mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[test] Added domparser.html
This commit is contained in:
parent
815c8f684b
commit
4cb9d10cb1
6
test/ecmascript/assert/domparser.html
Normal file
6
test/ecmascript/assert/domparser.html
Normal file
@ -0,0 +1,6 @@
|
||||
<script>
|
||||
console.error('DOMParser.html');
|
||||
var a = new DOMParser().parseFromString("<html><body><div id='aa'>AAA</div></body></html>", "text/html");
|
||||
console.assert(a.getElementById('aa').innerText === 'AAA', 'AAA');
|
||||
console.exit();
|
||||
</script>
|
@ -24,6 +24,7 @@ took = [
|
||||
'document.links.html',
|
||||
'document.querySelectorAll.html',
|
||||
'document.querySelector.html',
|
||||
'domparser.html',
|
||||
'element.appendChild.html',
|
||||
'element.attributes.html',
|
||||
'element.checked.html',
|
||||
|
Loading…
Reference in New Issue
Block a user