HTML Development
HTML Best Practices
Disabling Staged ES6 Features
1min
some es6 features have not been finalized and may still contain bugs in the chromium version(s) used by brightsign a crash may occur if your javascript application (or the framework code used to build the application) uses one of these features for example, this https //bugs chromium org/p/v8/issues/detail?id=3923 is a known issue in chromium version 45 that will cause a crash on brightsign xtx44 and xdx34 players to bypass such issues, you can disable all staged (i e experimental) es6 features using the disable javascript harmony shipping registry flag (which requires firmware version 7 1 49 or later) the following example shows how to set this registry flag using the registry docid\ txwoombd2 u12dfegx7ga javascript module (you can also use the roregistry docid\ ytpsfntswyfmxx8pcqjlf brightscript object) var registryclass = require("@brightsign/registry"); var registry = new registryclass(); var systemclass = require("@brightsign/system"); var system = new systemclass(); registry write("html", {js disable harmony shipping "1"}) then( function(){console log("write successful");}); system reboot() enabling this registry flag will limit the available javascript syntax however, for es6 features to be available, an application must be written to be compatible with both es5 and es6, so enabling this flag should not cause syntax errors or similar issues