Add failing immutable slice test

This commit is contained in:
Chinedu Francis Nwafili
2019-01-17 13:20:53 -05:00
parent 459639137c
commit e6971cee34
4 changed files with 34 additions and 0 deletions

View File

@@ -151,6 +151,11 @@ export function new_title() {
return document.createElement("title");
}
export function new_webgl_rendering_context() {
const canvas = document.createElement('canvas');
return canvas.getContext('webgl');
}
export function new_xpath_result() {
let xmlDoc = new DOMParser().parseFromString("<root><value>tomato</value></root>", "application/xml");
let xpathResult = xmlDoc.evaluate("/root//value", xmlDoc, null, XPathResult.ANY_TYPE, null);