mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
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. :^)
This commit is contained in:
parent
b3c62d0bc8
commit
4ffac713b9
Notes:
sideshowbarker
2024-07-19 07:47:27 +09:00
Author: https://github.com/awesomekling
Commit: 4ffac713b9
13 changed files with 546 additions and 3 deletions
|
@ -51,6 +51,7 @@ class StyleResolver;
|
|||
class StyleRule;
|
||||
class StyleSheet;
|
||||
class Window;
|
||||
class XMLHttpRequest;
|
||||
|
||||
namespace Bindings {
|
||||
|
||||
|
@ -66,8 +67,10 @@ class NodeWrapper;
|
|||
class WindowObject;
|
||||
class Wrappable;
|
||||
class Wrapper;
|
||||
class XMLHttpRequestConstructor;
|
||||
class XMLHttpRequestPrototype;
|
||||
class XMLHttpRequestWrapper;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue