spiegel-keyman/common/test/keyboards/invalid/engine/javascript_error/README.md
Marc Durdin cb8f9584cf fix(android): improve clarity of keyboard script error popup
* Remove irrelevant context from toast and add more context for Sentry
  report.
* Add a test keyboard with a script error that will trigger the toast on
  first keystroke.
* Rearrange common/test/keyboards/invalid to make a good place for
  compiled invalid keyboards.

Fixes: #16145
Test-bot: skip
2026-07-13 11:21:42 +02:00

361 B

javascript_error keyboard

Description

Keyboard with a script error in gs(), taken originally from release/b/banne

The .js and .kmp files in modified_build/ have been manually tweaked to throw the error:

  this.gs=function(t,e) {
    throw new Error("javascript_error.js - runtime error");
    // return this.g_main_0(t,e);
  };