1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-14 23:32:27 +00:00

[xhr] Implementation of xhr for quickjs. Compiles, but does not work.

This commit is contained in:
Witold Filipczyk 2022-10-23 19:50:48 +02:00
parent 5f682c5a71
commit 0fb0f8d020
4 changed files with 1052 additions and 614 deletions

View File

@ -36,6 +36,7 @@
#include "ecmascript/quickjs/screen.h"
#include "ecmascript/quickjs/unibar.h"
#include "ecmascript/quickjs/window.h"
#include "ecmascript/quickjs/xhr.h"
#include "intl/libintl.h"
#include "main/select.h"
#include "osdep/newwin.h"
@ -117,6 +118,7 @@ quickjs_get_interpreter(struct ecmascript_interpreter *interpreter)
js_console_init(ctx);
js_localstorage_init(ctx);
js_element_init(ctx);
js_xhr_init(ctx);
interpreter->document_obj = js_document_init(ctx);
interpreter->location_obj = js_location_init(ctx);

View File

@ -3,6 +3,6 @@ include $(top_builddir)/Makefile.config
OBJS = attr.obj attributes.obj collection.obj console.obj document.obj element.obj form.obj \
forms.obj heartbeat.obj history.obj implementation.obj input.obj location.obj \
localstorage.obj navigator.obj nodelist.obj screen.obj unibar.obj window.obj
localstorage.obj navigator.obj nodelist.obj screen.obj unibar.obj window.obj xhr.obj
include $(top_srcdir)/Makefile.lib

View File

@ -1,2 +1,2 @@
srcs += files('attr.cpp', 'attributes.cpp', 'collection.cpp', 'console.cpp', 'document.cpp', 'element.cpp', 'form.cpp', 'forms.cpp', 'heartbeat.cpp', 'history.cpp', 'implementation.cpp',
'input.cpp', 'localstorage.cpp', 'location.cpp', 'navigator.cpp', 'nodelist.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp')
'input.cpp', 'localstorage.cpp', 'location.cpp', 'navigator.cpp', 'nodelist.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp', 'xhr.cpp')

File diff suppressed because it is too large Load Diff