1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:58:12 +00:00
serenity/Libraries/LibWeb
Andreas Kling 7c4e53f31e LibJS: Rework how native functions are called to improve |this| value
Native functions now only get the Interpreter& as an argument. They can
then extract |this| along with any indexed arguments it wants from it.

This forces functions that want |this| to actually deal with calling
interpreter.this_value().to_object(), and dealing with the possibility
of a non-object |this|.

This is still not great but let's keep massaging it forward.
2020-03-28 22:51:09 +01:00
..
Bindings LibJS: Rework how native functions are called to improve |this| value 2020-03-28 22:51:09 +01:00
CodeGenerators AK: Add FlyString, a simple flyweight string class 2020-03-22 13:03:43 +01:00
CSS LibWeb: CSS: Add "position: absolute" with top and left 2020-03-23 20:17:29 +01:00
DOM LibJS: Rework how native functions are called to improve |this| value 2020-03-28 22:51:09 +01:00
Layout LibWeb: CSS: Add "position: absolute" with top and left 2020-03-23 20:17:29 +01:00
Parser LibWeb: Commit uncommitted text at the end of HTML parse 2020-03-25 18:50:10 +01:00
Scripts LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DOMTreeModel.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DOMTreeModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Dump.cpp Base: Replace <!DOCTYPE> with <!DOCTYPE html> in a few files (#1511) 2020-03-26 07:37:12 +01:00
Dump.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Forward.h LibWeb: Implement getting and setting element.innerHTML 2020-03-25 18:53:20 +01:00
Frame.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Frame.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
HtmlView.cpp LibWeb: Move get_element_by_id() to a NonElementParentNode mixin class 2020-03-28 09:13:29 +01:00
HtmlView.h LibWeb: Give MouseEvents the correct offsetX and offsetY values 2020-03-21 18:27:06 +01:00
Makefile LibWeb: Implement getting and setting element.innerHTML 2020-03-25 18:53:20 +01:00
RenderingContext.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
ResourceLoader.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
ResourceLoader.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StylePropertiesModel.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StylePropertiesModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
TreeNode.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00