diff options
| author | Mikko Rapeli <mikko.rapeli@bmw.de> | 2022-06-13 09:12:05 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-06-30 13:39:27 -0400 |
| commit | 461ceffc48e28dc8f04b8a982b3a4a2db22b718b (patch) | |
| tree | 9771a7d2e08a2348660c68de0979b450e05d39a2 /meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch | |
| parent | 783c13097674b3518039cb76651aa34bf00cf701 (diff) | |
| download | meta-openembedded-461ceffc48e28dc8f04b8a982b3a4a2db22b718b.tar.gz | |
polkit: switch back to mozjs but leave duktape as PACKAGECONFIG option
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14829 reports
that duktape isn't fully compatible with mozjs as the supported
javascript features are different. duktape supports
ECMAScript standard version 5 while mozjs supports a lot more.
See https://kangax.github.io/compat-table/es5/ for the differences.
Thus the change from mozjs to duktape may break some rules
which rely on javascript features which duktape doesn't support,
for example array.includes() function,
https://kangax.github.io/compat-table/es6/
https://262.ecma-international.org/7.0/#sec-array.prototype.includes
For many embedded systems which care about fast boot times and smaller
rootfs using duktape is recommended but rules must be written in reduced
set of ECMA script language features. For array.includes() one alternative
is "array.indexOf(search) >= 0".
[YOCTO #14829]
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch')
0 files changed, 0 insertions, 0 deletions
