1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00
serenity/Libraries/LibJS
Andreas Kling 4ffac713b9 LibWeb: Add XMLHttpRequest object :^)
This patch adds very basic XMLHttpRequest support to LibWeb. Here's an
example that currently works:

    var callback = function() { alert(this.responseText); }
    var xhr = new XMLHttpRequest();
    xhr.addEventListener("load", callback);
    xhr.open("GET", "http://serenityos.org/~kling/test/example.txt");
    xhr.send();

There are many limitations and bugs, but it's pretty dang awesome that
we have XHR. :^)
2020-04-08 21:46:43 +02:00
..
Heap LibJS: Do a garbage collection every N allocations (N=10'000) 2020-04-06 15:54:46 +02:00
Runtime LibWeb: Add XMLHttpRequest object :^) 2020-04-08 21:46:43 +02:00
Tests LibJS: Handle empty values in Array.prototype.toString() 2020-04-08 20:01:42 +02:00
AST.cpp LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
AST.h LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Forward.h LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Interpreter.cpp LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Interpreter.h LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Lexer.cpp LibJS: Report the start position of a token as its line column 2020-04-05 16:11:13 +02:00
Lexer.h LibJS: Allow lexer to run without logging errors 2020-04-05 16:11:13 +02:00
Makefile LibJS: Add Number() 2020-04-07 17:25:50 +02:00
Parser.cpp LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Parser.h LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +02:00
Token.cpp LibJS: Add numeric literal parsing for different bases and exponents 2020-04-05 16:01:22 +02:00
Token.h LibJS: Plumb line and column information through Lexer / Parser 2020-04-05 12:43:39 +02:00