mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[libdom] xhr.cpp
This commit is contained in:
parent
6cbbc877ed
commit
984f7c9fe7
@ -2,6 +2,6 @@ top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||
|
||||
OBJS = localstorage.obj unibar.obj
|
||||
OBJS = localstorage.obj unibar.obj xhr.obj
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
||||
|
@ -1 +1 @@
|
||||
srcs += files('localstorage.cpp', 'unibar.cpp')
|
||||
srcs += files('localstorage.cpp', 'unibar.cpp', 'xhr.cpp')
|
||||
|
1789
src/ecmascript/libdom/spidermonkey/xhr.cpp
Normal file
1789
src/ecmascript/libdom/spidermonkey/xhr.cpp
Normal file
File diff suppressed because it is too large
Load Diff
@ -60,6 +60,8 @@
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
#ifndef CONFIG_LIBDOM
|
||||
|
||||
const unsigned short UNSENT = 0;
|
||||
const unsigned short OPENED = 1;
|
||||
const unsigned short HEADERS_RECEIVED = 2;
|
||||
@ -1787,3 +1789,4 @@ xhr_set_property_withCredentials(JSContext *ctx, unsigned int argc, JS::Value *v
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user