diff --git a/web/src/test/manual/web/core/load-keyboard-blob.js b/web/src/test/manual/web/core/load-keyboard-blob.js new file mode 100644 index 0000000000..527f0e7203 --- /dev/null +++ b/web/src/test/manual/web/core/load-keyboard-blob.js @@ -0,0 +1,9 @@ +export async function loadKeyboardBlob(uri) { + const response = await fetch(uri); + if (!response.ok) { + throw new Error(`HTTP ${response.status} ${response.statusText}`); + } + + const buffer = await response.arrayBuffer(); + return new Uint8Array(buffer); +} diff --git a/web/src/test/manual/web/core/paths.js b/web/src/test/manual/web/core/paths.js new file mode 100644 index 0000000000..5b595711fa --- /dev/null +++ b/web/src/test/manual/web/core/paths.js @@ -0,0 +1 @@ +export const CORE_WASM = '../../../../../build/engine/core-processor/obj/import/core'; diff --git a/web/src/test/manual/web/core/stress.html b/web/src/test/manual/web/core/stress.html new file mode 100644 index 0000000000..fed4dfeaa0 --- /dev/null +++ b/web/src/test/manual/web/core/stress.html @@ -0,0 +1,65 @@ + + + + + + + + + + KeymanWeb Core Stress Test + + + + + + + + +

KeymanWeb Sample Page - Core Testing

+

This page is designed to stress-test the loading a KMX keyboard from blob. It will repeatedly load a .kmx using the KM_Core loader.

+

Be sure to reference the developer console for additional feedback.

+ +
+

Return to testing home page

+ + + \ No newline at end of file diff --git a/web/src/test/manual/web/core/test_8568_deadkeys.kmx b/web/src/test/manual/web/core/test_8568_deadkeys.kmx new file mode 100644 index 0000000000..88f00e8baf Binary files /dev/null and b/web/src/test/manual/web/core/test_8568_deadkeys.kmx differ diff --git a/web/src/test/manual/web/index.html b/web/src/test/manual/web/index.html index 6d608b08d3..04ad2a84fc 100644 --- a/web/src/test/manual/web/index.html +++ b/web/src/test/manual/web/index.html @@ -45,6 +45,9 @@

Light test for touch-based MutationObserver functionality

Test/stress-test touch-based MutationObserver functionality

+

Keyman Core tests

+

Stress-test kmx blob loader

+

Issue Testing

Tests OSK handling of empty rows

Tests keyboard error-handling functionality