From 57094c84edeb3540e13121dea742b1ae484d468b Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 25 May 2019 20:11:52 +0100 Subject: Expose NaN on Window Signed-off-by: Daniel Silverstone --- content/handlers/javascript/duktape/Window.bnd | 1 + 1 file changed, 1 insertion(+) (limited to 'content') diff --git a/content/handlers/javascript/duktape/Window.bnd b/content/handlers/javascript/duktape/Window.bnd index cbf283f79..865d07421 100644 --- a/content/handlers/javascript/duktape/Window.bnd +++ b/content/handlers/javascript/duktape/Window.bnd @@ -249,6 +249,7 @@ prototype Window() EXPOSE(Error); EXPOSE(encodeURI); EXPOSE(encodeURIComponent); + EXPOSE(NaN); #undef EXPOSE /* Add s3kr1t method to close the compartment */ duk_dup(ctx, 0); -- cgit v1.2.3