Skip to content

Instantly share code, notes, and snippets.

View lexborisov's full-sized avatar

Alexander lexborisov

View GitHub Profile
#include <lexbor/html/html.h>
#include <lexbor/css/css.h>
#include <lexbor/selectors/selectors.h>
lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx)
{
printf("%.*s", (int) len, (const char *) data);
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1632499826 -10800
# Fri Sep 24 19:10:26 2021 +0300
# Node ID 53c99c659d82d35e9b21d56c27954652fe404e51
# Parent 6feba0e602eeaa963aaf878dc6aa84b8ce2a668e
Added default values support for function arguments.
diff -r 6feba0e602ee -r 53c99c659d82 src/njs_disassembler.c
--- a/src/njs_disassembler.c Fri Sep 17 18:29:40 2021 +0000
--- test262_njs_0.3.0_02.log 2021-04-14 10:53:35.000000000 +0300
+++ test262_njs_0.3.0_03.log 2021-04-14 20:08:18.000000000 +0300
@@ -2348,7 +2348,8 @@
=== built-ins/Array/prototype/flat/proxy-access-count failed in strict mode ===
--- errors ---
Thrown:
-InternalError: Generator failed: unknown token===
+ReferenceError: "Proxy" is not defined
+ at main (:151)===
=== built-ins/Array/prototype/flat/symbol-object-create-null-depth-throws failed in strict mode ===
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1618387451 -10800
# Wed Apr 14 11:04:11 2021 +0300
# Node ID 6bf705fdd330a19464a56975b975d37808e653ed
# Parent 4fe7806089fda7867900437d01bc4fc7d1d85a25
Introduced let implementation.
diff -r 4fe7806089fd -r 6bf705fdd330 src/njs_builtin.c
--- a/src/njs_builtin.c Wed Apr 14 10:05:12 2021 +0300
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1618321041 -10800
# Tue Apr 13 16:37:21 2021 +0300
# Node ID a2df4932cccdb061f83f89ba2b5c02d787125f20
# Parent a5130fb2d37a80520214ce7ceae3b9b0336a23da
Introduced let implementation.
diff -r a5130fb2d37a -r a2df4932cccd src/njs_builtin.c
--- a/src/njs_builtin.c Tue Apr 13 15:16:21 2021 +0300
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1618311294 -10800
# Tue Apr 13 13:54:54 2021 +0300
# Node ID 5ea7552a65bad3f3cc4e11a37fa340a05dbaad15
# Parent eaea20523f77b83caf2fb242a6a1850c23c6989c
Introduced let implementation.
diff -r eaea20523f77 -r 5ea7552a65ba src/njs_builtin.c
--- a/src/njs_builtin.c Tue Apr 13 13:51:15 2021 +0300
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1618311075 -10800
# Tue Apr 13 13:51:15 2021 +0300
# Node ID eaea20523f77b83caf2fb242a6a1850c23c6989c
# Parent d25d92370bfd197326336b9fcec912d369e86c27
Scopes refactoring.
diff -r d25d92370bfd -r eaea20523f77 auto/sources
--- a/auto/sources Tue Mar 30 13:58:27 2021 +0000
--- test262_njs_0.3.0_01.log 2021-04-05 10:50:43.000000000 +0300
+++ test262_njs_0.3.0_02.log 2021-04-12 10:03:43.000000000 +0300
@@ -466,10 +466,7 @@
--- errors ---
Thrown:
SyntaxError: pcre_compile("\b(\w+) \2\b") failed: reference to non-existent subpattern in 122===
-=== annexB/built-ins/RegExp/RegExp-invalid-control-escape-character-class-range failed in strict mode ===
---- errors ---
- Thrown:
-SyntaxError: Token "let" not supported in this version in 122===
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1618211209 -10800
# Mon Apr 12 10:06:49 2021 +0300
# Node ID c77b6d6fdfee365deb8bf3180ee8b00918619905
# Parent 8583f3bdaeb94e039de420d1cdeba302ab5fcdd4
Introduced let implementation.
diff -r 8583f3bdaeb9 -r c77b6d6fdfee src/njs_builtin.c
--- a/src/njs_builtin.c Mon Apr 12 10:05:59 2021 +0300
# HG changeset patch
# User Alexander Borisov <alexander.borisov@nginx.com>
# Date 1618211159 -10800
# Mon Apr 12 10:05:59 2021 +0300
# Node ID 8583f3bdaeb94e039de420d1cdeba302ab5fcdd4
# Parent d25d92370bfd197326336b9fcec912d369e86c27
Scopes refactoring.
diff -r d25d92370bfd -r 8583f3bdaeb9 auto/sources
--- a/auto/sources Tue Mar 30 13:58:27 2021 +0000