mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-31 20:11:55 +00:00
Whitelist send_with_u8_array slice (#2015)
* Whitelist send_with_u8_array slice Fixes #2014 * Fix send slice * Remove chromedriver comment * Get slice tests running in CI
This commit is contained in:
committed by
GitHub
parent
1e75e415b3
commit
bab83a7ff4
@@ -151,16 +151,6 @@ 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_webgl2_rendering_context() {
|
||||
const canvas = document.createElement('canvas');
|
||||
return canvas.getContext('webgl2');
|
||||
}
|
||||
|
||||
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);
|
||||
|
Reference in New Issue
Block a user