Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/7417da3a3452f3dac5eba0f79ce8f0610535cdb6
...commit
http://git.netsurf-browser.org/netsurf.git/commit/7417da3a3452f3dac5eba0f79ce8f0610535cdb6
...tree
http://git.netsurf-browser.org/netsurf.git/tree/7417da3a3452f3dac5eba0f79ce8f0610535cdb6
The branch, dsilvers/eventtarget has been updated
via 7417da3a3452f3dac5eba0f79ce8f0610535cdb6 (commit)
from 546ed22b553eb380e906816cdf81a0b267a79837 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=7417da3a3452f3dac5eba0f79ce8f0610535cdb6
commit 7417da3a3452f3dac5eba0f79ce8f0610535cdb6
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
foldme: fix some null->undefined
diff --git a/content/handlers/javascript/duktape/dukky.c
b/content/handlers/javascript/duktape/dukky.c
index 638430a..6e1d533 100644
--- a/content/handlers/javascript/duktape/dukky.c
+++ b/content/handlers/javascript/duktape/dukky.c
@@ -1031,7 +1031,7 @@ bool dukky_event_target_push_listeners(duk_context *ctx,
bool dont_create)
bool ret = false;
/* ... type this */
duk_get_prop_string(ctx, -1, EVENT_LISTENER_JS_MAGIC);
- if (duk_is_null(ctx, -1)) {
+ if (duk_is_undefined(ctx, -1)) {
/* ... type this null */
duk_pop(ctx);
duk_push_object(ctx);
@@ -1049,7 +1049,7 @@ bool dukky_event_target_push_listeners(duk_context *ctx,
bool dont_create)
/* ... listeners type type */
duk_get_prop(ctx, -3);
/* ... listeners type ??? */
- if (duk_is_null(ctx, -1)) {
+ if (duk_is_undefined(ctx, -1)) {
/* ... listeners type ??? */
if (dont_create == true) {
duk_pop_3(ctx);
-----------------------------------------------------------------------
Summary of changes:
content/handlers/javascript/duktape/dukky.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/handlers/javascript/duktape/dukky.c
b/content/handlers/javascript/duktape/dukky.c
index 638430a..6e1d533 100644
--- a/content/handlers/javascript/duktape/dukky.c
+++ b/content/handlers/javascript/duktape/dukky.c
@@ -1031,7 +1031,7 @@ bool dukky_event_target_push_listeners(duk_context *ctx,
bool dont_create)
bool ret = false;
/* ... type this */
duk_get_prop_string(ctx, -1, EVENT_LISTENER_JS_MAGIC);
- if (duk_is_null(ctx, -1)) {
+ if (duk_is_undefined(ctx, -1)) {
/* ... type this null */
duk_pop(ctx);
duk_push_object(ctx);
@@ -1049,7 +1049,7 @@ bool dukky_event_target_push_listeners(duk_context *ctx,
bool dont_create)
/* ... listeners type type */
duk_get_prop(ctx, -3);
/* ... listeners type ??? */
- if (duk_is_null(ctx, -1)) {
+ if (duk_is_undefined(ctx, -1)) {
/* ... listeners type ??? */
if (dont_create == true) {
duk_pop_3(ctx);
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org