From 609ee9b71c6c3965451261924e57538f03d80ae2 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 2 Aug 2019 09:27:06 +0100 Subject: Window: Provide a little more info on why not EXPOSE()ing some stuff Signed-off-by: Daniel Silverstone --- content/handlers/javascript/duktape/Window.bnd | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'content/handlers/javascript') diff --git a/content/handlers/javascript/duktape/Window.bnd b/content/handlers/javascript/duktape/Window.bnd index fc1ce244b..e7d45c80d 100644 --- a/content/handlers/javascript/duktape/Window.bnd +++ b/content/handlers/javascript/duktape/Window.bnd @@ -328,14 +328,14 @@ prototype Window() EXPOSE(Uint32Array); EXPOSE(Float32Array); EXPOSE(Float64Array); - /* EXPOSE(BigInt64Array); */ /* Duktape seems to lack this */ - /* EXPOSE(BigUint64Array); */ /* Duktape seems to lack this */ + /* EXPOSE(BigInt64Array); */ /* Duktape lacks this - nonstandard API */ + /* EXPOSE(BigUint64Array); */ /* Duktape lacks this - nonstandard API */ /* ** Keyed Collections */ - /* EXPOSE(Map); */ - /* EXPOSE(Set); */ - /* EXPOSE(WeakMap); */ - /* EXPOSE(WeakSet); */ + /* EXPOSE(Map); */ /* Duktape lacks this - ES6 */ + /* EXPOSE(Set); */ /* Duktape lacks this - ES6 */ + /* EXPOSE(WeakMap); */ /* Duktape lacks this - ES6 */ + /* EXPOSE(WeakSet); */ /* Duktape lacks this - ES6 */ /* Structured Data */ EXPOSE(ArrayBuffer); @@ -345,9 +345,9 @@ prototype Window() EXPOSE(JSON); /* ** Control abstraction properties */ - /* EXPOSE(Promise); */ /* Probably ought to be one of ours? */ - /* EXPOSE(Generator); */ /* Duktape and async? */ - /* EXPOSE(GeneratorFunction); */ /* Duktape and async? */ + /* EXPOSE(Promise); */ /* Probably ought to be one of ours? Also ES6 */ + /* EXPOSE(Generator); */ /* Duktape and async? ES6 */ + /* EXPOSE(GeneratorFunction); */ /* Duktape and async? ES6 */ /* EXPOSE(AsyncFunction); */ /* Duktape lacks this - experimental API */ /* Reflection */ @@ -356,6 +356,7 @@ prototype Window() /* ** Internationalisation */ /* Duktape lacks Intl - Maybe polyfill it? */ + /* There is suggestion that cdn.polyfill.io exists for it */ /* ** WebAssembly */ /* As yet, Duktape lacks WA */ -- cgit v1.2.3